Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 #pragma once | 1 #pragma once |
2 #include <string> | 2 #include <string> |
3 | 3 |
4 class BString | 4 class BString |
5 { | 5 { |
6 public: | 6 public: |
7 BString(const std::wstring& value); | 7 BString(const std::wstring& value); |
8 ~BString(); | 8 ~BString(); |
Felix Dahlke
2013/06/04 07:08:39
Needs a custom copy constructor and copy assignmen
Wladimir Palant
2013/06/04 09:17:29
Done
| |
9 operator BSTR(); | 9 operator BSTR(); |
10 private: | 10 private: |
11 BSTR value; | 11 BSTR value; |
12 BString(const BString&); | |
13 BString& operator=(const BString&); | |
12 }; | 14 }; |
13 | 15 |
14 std::wstring DllDir(); | 16 std::wstring DllDir(); |
15 std::wstring UserSettingsFileUrl(); | 17 std::wstring UserSettingsFileUrl(); |
16 std::wstring FileUrl(const std::wstring& url); | 18 std::wstring FileUrl(const std::wstring& url); |
LEFT | RIGHT |