diff options
Diffstat (limited to 'plugins/StatusPlugins')
-rw-r--r-- | plugins/StatusPlugins/AdvancedAutoAway/main.cpp | 6 | ||||
-rw-r--r-- | plugins/StatusPlugins/KeepStatus/main.cpp | 6 | ||||
-rw-r--r-- | plugins/StatusPlugins/StartupStatus/main.cpp | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp index cc2887ce96..f2e357e853 100644 --- a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp +++ b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp @@ -28,7 +28,7 @@ #define MIID_ADVAUTOAWAY { 0xf0fdf73a, 0x753d, 0x499d, { 0x8d, 0xba, 0x33, 0x6d, 0xb7, 0x9c, 0xdd, 0x41 } }
HINSTANCE hInst;
-PLUGINLINK *pluginLink;
+
HANDLE hCSModuleLoadedHook;
@@ -71,9 +71,9 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda /////////////////////////////////////////////////////////////////////////////////////////
// plugin's entry point
-extern "C" __declspec(dllexport) int Load(PLUGINLINK *link)
+extern "C" __declspec(dllexport) int Load(void)
{
- pluginLink = link;
+
mir_getLP( &pluginInfoEx );
InitCommonStatus();
diff --git a/plugins/StatusPlugins/KeepStatus/main.cpp b/plugins/StatusPlugins/KeepStatus/main.cpp index af840be01d..4cd57cbd31 100644 --- a/plugins/StatusPlugins/KeepStatus/main.cpp +++ b/plugins/StatusPlugins/KeepStatus/main.cpp @@ -32,7 +32,7 @@ HANDLE hStopRecon = NULL, hEnableProto = NULL, hIsProtoEnabled = NULL, hAnnounce HINSTANCE hInst;
-PLUGINLINK *pluginLink;
+
/////////////////////////////////////////////////////////////////////////////////////////
// dll entry point
@@ -78,9 +78,9 @@ INT_PTR EnableProtocolService(WPARAM wParam, LPARAM lParam); INT_PTR IsProtocolEnabledService(WPARAM wParam, LPARAM lParam);
INT_PTR AnnounceStatusChangeService(WPARAM wParam, LPARAM lParam);
-extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
+extern "C" int __declspec(dllexport) Load(void)
{
- pluginLink = link;
+
mir_getLP( &pluginInfoEx );
InitCommonStatus();
diff --git a/plugins/StatusPlugins/StartupStatus/main.cpp b/plugins/StatusPlugins/StartupStatus/main.cpp index ece3eef5c9..3e2e9fdeb4 100644 --- a/plugins/StatusPlugins/StartupStatus/main.cpp +++ b/plugins/StatusPlugins/StartupStatus/main.cpp @@ -29,7 +29,7 @@ static HANDLE hGetProfileNameService;
HINSTANCE hInst;
-PLUGINLINK *pluginLink;
+
int hLangpack = 0;
@@ -73,9 +73,9 @@ static INT_PTR SrvGetProfile( WPARAM wParam, LPARAM lParam ) { return GetProfile(( int )wParam, *(TSettingsList*)lParam );
}
-extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
+extern "C" int __declspec(dllexport) Load(void)
{
- pluginLink = link;
+
mir_getLP( &pluginInfoEx );
if ( DBGetContactSettingByte(NULL, MODULENAME, SETTING_SETPROFILE, 1) ||
|