Index: src/plugin/PluginUtil.h |
=================================================================== |
--- a/src/plugin/PluginUtil.h |
+++ b/src/plugin/PluginUtil.h |
@@ -1,6 +1,18 @@ |
-#pragma once |
- |
-const CString& DllDir(); |
-const CString& HtmlDir(); |
-const CString& UserSettingsFileUrl(); |
-CString FileUrl(const CString& url); |
+#pragma once |
+#include <string> |
+ |
+class BString |
+{ |
+public: |
+ BString(const std::wstring& value); |
+ ~BString(); |
+ operator BSTR(); |
+private: |
+ BSTR value; |
+ BString(const BString&); |
+ BString& operator=(const BString&); |
+}; |
+ |
+std::wstring DllDir(); |
+std::wstring UserSettingsFileUrl(); |
+std::wstring FileUrl(const std::wstring& url); |