diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-27 13:58:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-27 13:58:25 +0000 |
commit | 81e8caf42867b65677efe2bffaa52ecff7303c3a (patch) | |
tree | 846f06ef51787c58205cd87546976bda29556680 /plugins/W7UI/main.cpp | |
parent | d9da7f147fbe91d2e70721de96907ae1d273b591 (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/W7UI/main.cpp')
-rw-r--r-- | plugins/W7UI/main.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/plugins/W7UI/main.cpp b/plugins/W7UI/main.cpp index b26124db71..7f48f93070 100644 --- a/plugins/W7UI/main.cpp +++ b/plugins/W7UI/main.cpp @@ -26,10 +26,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. int LoadW7UI();
int UnloadW7UI();
-PLUGINLINK* pluginLink;
-HINSTANCE g_hInst;
-
-int hLangpack;
+HINSTANCE g_hInst;
+int hLangpack;
// {3625ACB8-794C-4727-88EA-76DBBAC6D200}
#define MIID_W7UI { 0x3625acb8, 0x794c, 0x4727, { 0x88, 0xea, 0x76, 0xdb, 0xba, 0xc6, 0xd2, 0x0 } }
@@ -67,11 +65,11 @@ extern "C" __declspec(dllexport) const MUUID *MirandaPluginInterfaces(void) return interfaces;
}
-extern "C" __declspec(dllexport) int Load(PLUGINLINK * link)
+extern "C" __declspec(dllexport) int Load(void)
{
if (!IsWinVer7Plus()) return 1;
- pluginLink = link;
+
mir_getLP(&pluginInfo);
LoadW7UI();
|