summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-05-17 18:43:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-05-17 18:43:57 +0300
commita2f74318c56a936fa004210bfb9af60cc3aadd10 (patch)
tree45c227d59276b6b0281947b80c5c19e9448fdbaa
parentd43af44272d2ea256d60fb7169b8b33fbb602089 (diff)
code cleaning
-rw-r--r--src/mir_app/src/CMPluginBase.cpp2
-rw-r--r--src/mir_app/src/miranda.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mir_app/src/CMPluginBase.cpp b/src/mir_app/src/CMPluginBase.cpp
index d22d410f41..3561132c44 100644
--- a/src/mir_app/src/CMPluginBase.cpp
+++ b/src/mir_app/src/CMPluginBase.cpp
@@ -82,7 +82,7 @@ MIR_APP_DLL(int) IsPluginLoaded(const MUUID &uuid)
return false;
}
-char* GetPluginNameByInstance(HINSTANCE hInst)
+const char* GetPluginNameByInstance(HINSTANCE hInst)
{
HINSTANCE boo[2] = { 0, hInst };
CMPluginBase *pPlugin = g_arPlugins.find((CMPluginBase*)&boo);
diff --git a/src/mir_app/src/miranda.h b/src/mir_app/src/miranda.h
index c3f476c21a..97aee60c7b 100644
--- a/src/mir_app/src/miranda.h
+++ b/src/mir_app/src/miranda.h
@@ -54,7 +54,8 @@ extern bool g_bModulesLoadedFired;
/**** newplugins.cpp *******************************************************************/
-char* GetPluginNameByInstance(HINSTANCE hInstance);
+const char* GetPluginNameByInstance(HINSTANCE hInstance);
+
int LoadStdPlugins(void);
int LaunchServicePlugin(pluginEntry *p);