Index: src/plugin/PluginSettings.cpp |
=================================================================== |
--- a/src/plugin/PluginSettings.cpp |
+++ b/src/plugin/PluginSettings.cpp |
@@ -41,7 +41,7 @@ |
CPluginSettings* CPluginSettings::s_instance = NULL; |
CComAutoCriticalSection CPluginSettings::s_criticalSectionLocal; |
-CPluginSettings::CPluginSettings() : m_dwWorkingThreadId(0) |
+CPluginSettings::CPluginSettings() |
{ |
s_instance = NULL; |
m_WindowsBuildNumber = 0; |
@@ -85,11 +85,6 @@ |
return hasInstance; |
} |
-std::wstring GetDataPath(const std::wstring& filename) |
-{ |
- return GetAppDataPath() + L"\\" + filename; |
-} |
- |
bool CPluginSettings::IsPluginEnabled() const |
{ |
return GetPluginEnabled(); |
@@ -108,25 +103,6 @@ |
return filterList; |
} |
-bool CPluginSettings::IsWorkingThread(DWORD dwThreadId) const |
-{ |
- if (dwThreadId == 0) |
- { |
- dwThreadId = ::GetCurrentThreadId(); |
- } |
- return m_dwWorkingThreadId == dwThreadId; |
-} |
- |
-void CPluginSettings::SetWorkingThreadId() |
-{ |
- m_dwWorkingThreadId = ::GetCurrentThreadId(); |
-} |
- |
-void CPluginSettings::SetWorkingThreadId(DWORD id) |
-{ |
- m_dwWorkingThreadId = id; |
-} |
- |
void CPluginSettings::TogglePluginEnabled() |
{ |
CPluginClient::GetInstance()->TogglePluginEnabled(); |