summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-27 13:58:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-27 13:58:25 +0000
commit81e8caf42867b65677efe2bffaa52ecff7303c3a (patch)
tree846f06ef51787c58205cd87546976bda29556680 /plugins/TabSRMM
parentd9da7f147fbe91d2e70721de96907ae1d273b591 (diff)
no more pluginLink in load()
git-svn-id: http://svn.miranda-ng.org/main/trunk@652 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/chat/main.cpp2
-rw-r--r--plugins/TabSRMM/include/themes.h2
-rw-r--r--plugins/TabSRMM/src/srmm.cpp10
-rw-r--r--plugins/TabSRMM/src/themes.cpp2
4 files changed, 8 insertions, 8 deletions
diff --git a/plugins/TabSRMM/chat/main.cpp b/plugins/TabSRMM/chat/main.cpp
index 45b0717f29..b4d40e20ef 100644
--- a/plugins/TabSRMM/chat/main.cpp
+++ b/plugins/TabSRMM/chat/main.cpp
@@ -54,7 +54,7 @@ char *pszActiveWndModule = 0;
* load the group chat module
*/
-int Chat_Load(PLUGINLINK *link)
+int Chat_Load()
{
if(M->GetByte("forceDisableMUC", 0)) {
PluginConfig.m_chat_enabled = false;
diff --git a/plugins/TabSRMM/include/themes.h b/plugins/TabSRMM/include/themes.h
index a714f4040d..38c46e07e3 100644
--- a/plugins/TabSRMM/include/themes.h
+++ b/plugins/TabSRMM/include/themes.h
@@ -263,7 +263,7 @@ public:
}
void Init(bool fStartup = false);
- void Load();
+ void Load(void);
void Unload();
void UnloadAeroTabs();
void setFileName();
diff --git a/plugins/TabSRMM/src/srmm.cpp b/plugins/TabSRMM/src/srmm.cpp
index 6aefbcf8bc..0b72e80ccf 100644
--- a/plugins/TabSRMM/src/srmm.cpp
+++ b/plugins/TabSRMM/src/srmm.cpp
@@ -37,10 +37,10 @@
extern int LoadSendRecvMessageModule(void);
extern int SplitmsgShutdown(void);
extern void LogErrorMessage(HWND hwndDlg, struct TWindowData *dat, int i, TCHAR *szMsg);
-extern int Chat_Load(PLUGINLINK *link), Chat_Unload();
+extern int Chat_Load(), Chat_Unload();
extern void FreeLogFonts();
-PLUGINLINK *pluginLink;
+
HINSTANCE g_hInst;
LOGFONT lfDefault = {0};
@@ -87,14 +87,14 @@ extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
return interfaces;
}
-extern "C" int __declspec(dllexport) Load(PLUGINLINK * link)
+extern "C" int __declspec(dllexport) Load(void)
{
if (WinVerMajor() < 5) {
MessageBox(0, _T("This version of tabSRMM requires Windows 2000 or later."), _T("tabSRMM"), MB_OK | MB_ICONERROR);
return 1;
}
- pluginLink = link;
+
mir_getTMI(&tmi);
mir_getLP(&pluginInfo);
@@ -102,7 +102,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK * link)
SystemParametersInfo(SPI_GETICONTITLELOGFONT, sizeof(lfDefault), &lfDefault, FALSE);
- Chat_Load(pluginLink);
+ Chat_Load();
return LoadSendRecvMessageModule();
}
diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp
index dd475d1a19..6ad5700dd0 100644
--- a/plugins/TabSRMM/src/themes.cpp
+++ b/plugins/TabSRMM/src/themes.cpp
@@ -1632,7 +1632,7 @@ create_it:
* it calls ReadItems() to read additional skin information like image items,
* buttons and icons.
*/
-void CSkin::Load()
+void CSkin::Load(void)
{
if(warnToClose() == false)
return;