OLD | NEW |
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(); |
9 operator BSTR(); | 9 operator BSTR(); |
10 private: | 10 private: |
11 BSTR value; | 11 BSTR value; |
12 BString(const BString&); | 12 BString(const BString&); |
13 BString& operator=(const BString&); | 13 BString& operator=(const BString&); |
14 }; | 14 }; |
15 | 15 |
16 std::wstring HtmlFolderPath(); | 16 std::wstring HtmlFolderPath(); |
17 std::wstring UserSettingsFileUrl(); | 17 std::wstring UserSettingsFileUrl(); |
18 std::wstring FirstRunPageFileUrl(); | 18 std::wstring FirstRunPageFileUrl(); |
19 std::wstring FileUrl(const std::wstring& url); | 19 std::wstring FileUrl(const std::wstring& url); |
20 void ReplaceString(std::wstring& input, const std::wstring placeholder, const st
d::wstring replacement); | |
OLD | NEW |