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