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

Unified Diff: src/plugin/PluginSettings.cpp

Issue 29323611: Issue #1234, #2058 - Rewrite log facility, improving thread implementation
Patch Set: rebase only Created Nov. 26, 2015, 1:07 p.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/PluginSettings.h ('k') | src/plugin/PluginSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginSettings.cpp
===================================================================
--- a/src/plugin/PluginSettings.cpp
+++ b/src/plugin/PluginSettings.cpp
@@ -71,19 +71,6 @@
}
-bool CPluginSettings::HasInstance()
-{
- bool hasInstance = true;
-
- s_criticalSectionLocal.Lock();
- {
- hasInstance = s_instance != NULL;
- }
- s_criticalSectionLocal.Unlock();
-
- return hasInstance;
-}
-
bool CPluginSettings::IsPluginEnabled() const
{
return GetPluginEnabled();
@@ -111,11 +98,6 @@
return CPluginClient::GetInstance()->GetPref(L"enabled", true);
}
-void CPluginSettings::AddError(const CString& error, const CString& errorCode)
-{
- DEBUG_SETTINGS(L"SettingsTab::AddError error:" + error + " code:" + errorCode)
-}
-
// ============================================================================
// Whitelist settings
// ============================================================================
« no previous file with comments | « src/plugin/PluginSettings.h ('k') | src/plugin/PluginSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld