Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginUtil.h

Issue 10825021: Move settings page into the application directory (Closed)
Patch Set: Created June 3, 2013, 11:40 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld