summaryrefslogtreecommitdiff
path: root/plugins/StatusManager/src/stdafx.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-07 12:19:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-07 12:19:25 +0300
commit1213ce7d1386f5677342951df1a80d589ce2779b (patch)
tree76ecc7f76b77453b9d3c1800f955e8f7c8da38ac /plugins/StatusManager/src/stdafx.h
parentf18d37c4c90bc39f295fea9fedbfae0e806d9f61 (diff)
warning fixes
Diffstat (limited to 'plugins/StatusManager/src/stdafx.h')
-rw-r--r--plugins/StatusManager/src/stdafx.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/plugins/StatusManager/src/stdafx.h b/plugins/StatusManager/src/stdafx.h
index f82e4ae86a..fbf6746322 100644
--- a/plugins/StatusManager/src/stdafx.h
+++ b/plugins/StatusManager/src/stdafx.h
@@ -35,17 +35,7 @@
extern HINSTANCE hInst;
-static BYTE IsSubPluginEnabled(const char* name)
-{
- // Check if this plugin was disabled as separate dll
- CMStringA dllName(FORMAT, "%s.dll", name);
- dllName.MakeLower();
- bool dllEnabled = !db_get_b(NULL, "PluginDisable", dllName);
-
- char setting[128];
- mir_snprintf(setting, "%s_enabled", name);
- return db_get_b(NULL, MODULENAME, setting, dllEnabled ? 1 : 0);
-}
+bool IsSubPluginEnabled(const char *name);
class CSubPluginsOptionsDlg : CPluginDlgBase
{