summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-04-11 12:01:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-04-11 12:01:31 +0300
commiteb37be750853ee7e21406100e90b96469d501d36 (patch)
treea2cb1924d33cb870c9069fb5ab61dd86de5081fc /include
parent3d756278c4ff1332193ea16c41e4ce4a1a2ff298 (diff)
fixes #2789 (Import: опция "не загружать плагин при старте" не работает)
Diffstat (limited to 'include')
-rw-r--r--include/newpluginapi.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/newpluginapi.h b/include/newpluginapi.h
index 97ef743701..515fda9205 100644
--- a/include/newpluginapi.h
+++ b/include/newpluginapi.h
@@ -58,9 +58,13 @@ __forceinline bool operator!=(const MUUID &p1, const MUUID &p2)
return memcmp(&p1, &p2, sizeof(MUUID)) != 0;
}
-MIR_APP_DLL(int) GetPluginLangId(const MUUID &uuid, int langId);
-MIR_APP_DLL(int) IsPluginLoaded(const MUUID &uuid);
-MIR_APP_DLL(int) SetServiceModePlugin(const wchar_t *wszPluginName, WPARAM = 0, LPARAM = 0);
+MIR_APP_DLL(int) GetPluginLangId(const MUUID &uuid, int langId);
+MIR_APP_DLL(int) IsPluginLoaded(const MUUID &uuid);
+MIR_APP_DLL(int) SetServiceModePlugin(const char *szPluginName, WPARAM = 0, LPARAM = 0);
+
+// manually get/set flag specified at Options - Plugins - Enabled
+MIR_APP_DLL(bool) IsPluginOnWhiteList(const char *szPluginName);
+MIR_APP_DLL(void) SetPluginOnWhiteList(const char *szPluginName, bool bAllow);
/////////////////////////////////////////////////////////////////////////////////////////
// Used to define the end of the MirandaPluginInterface list