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: Fixed nit and removed copying of html directory Created June 4, 2013, 9:15 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
« no previous file with comments | « src/plugin/PluginTabBase.cpp ('k') | src/plugin/PluginUtil.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/plugin/PluginTabBase.cpp ('k') | src/plugin/PluginUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld