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

Side by Side Diff: src/plugin/AdblockPlusClient.h

Issue 29330618: Issue #1234 - Eliminate CString from PluginSettings.* and PluginUserSettings.* (Closed)
Patch Set: Created Nov. 20, 2015, 6:37 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/plugin/PluginClass.cpp » ('j') | src/plugin/PluginSettings.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 void RemoveFilter(const std::wstring& text); 86 void RemoveFilter(const std::wstring& text);
87 void RemoveFilter(const std::string& text); 87 void RemoveFilter(const std::string& text);
88 void SetPref(const std::wstring& name, const std::wstring& value); 88 void SetPref(const std::wstring& name, const std::wstring& value);
89 void SetPref(const std::wstring& name, const int64_t& value); 89 void SetPref(const std::wstring& name, const int64_t& value);
90 void SetPref(const std::wstring& name, bool value); 90 void SetPref(const std::wstring& name, bool value);
91 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu e = L""); 91 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu e = L"");
92 std::wstring GetPref(const std::wstring& name, const wchar_t* defaultValue); 92 std::wstring GetPref(const std::wstring& name, const wchar_t* defaultValue);
93 bool GetPref(const std::wstring& name, bool defaultValue = false); 93 bool GetPref(const std::wstring& name, bool defaultValue = false);
94 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0); 94 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0);
95 void CheckForUpdates(HWND callbackWindow); 95 void CheckForUpdates(HWND callbackWindow);
96 std::wstring GetAppLocale();
Eric 2015/11/20 18:46:04 Dead code.
97 std::wstring GetDocumentationLink(); 96 std::wstring GetDocumentationLink();
98 bool TogglePluginEnabled(); 97 bool TogglePluginEnabled();
99 std::wstring GetHostFromUrl(const std::wstring& url); 98 std::wstring GetHostFromUrl(const std::wstring& url);
100 int CompareVersions(const std::wstring& v1, const std::wstring& v2); 99 int CompareVersions(const std::wstring& v1, const std::wstring& v2);
101 100
102 bool IsFirstRun(); 101 bool IsFirstRun();
103 }; 102 };
104 103
105 typedef CAdblockPlusClient CPluginClient; 104 typedef CAdblockPlusClient CPluginClient;
106 105
107 #endif // _ADBLOCK_PLUS_CLIENT_H_ 106 #endif // _ADBLOCK_PLUS_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | src/plugin/PluginClass.cpp » ('j') | src/plugin/PluginSettings.h » ('J')

Powered by Google App Engine
This is Rietveld