summaryrefslogtreecommitdiff
path: root/plugins/StatusManager/src/stdafx.h
diff options
context:
space:
mode:
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
{