diff options
author | George Hazan <george.hazan@gmail.com> | 2014-10-04 19:18:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-10-04 19:18:26 +0000 |
commit | 3f6232a496649a70ee5d2e1027072723d4171948 (patch) | |
tree | 9d17ba103d7694a2d5e28d70e51d70031f2c9241 /protocols/MRA/src/Mra.cpp | |
parent | e1fe110fbc06e243230ccaf885f292d80fc99f79 (diff) |
MRA:
- global variable went into a class;
- warning fixes
- code cleaning;
git-svn-id: http://svn.miranda-ng.org/main/trunk@10691 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/Mra.cpp')
-rw-r--r-- | protocols/MRA/src/Mra.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/protocols/MRA/src/Mra.cpp b/protocols/MRA/src/Mra.cpp index 498a701dc5..13d8ee091f 100644 --- a/protocols/MRA/src/Mra.cpp +++ b/protocols/MRA/src/Mra.cpp @@ -23,7 +23,6 @@ HINSTANCE g_hInstance; HMODULE g_hDLLXStatusIcons;
HICON g_hMainIcon;
-DWORD g_dwGlobalPluginRunning;
bool g_bChatExist;
size_t g_dwMirWorkDirPathLen;
@@ -71,18 +70,6 @@ static int mraProtoUninit(CMraProto *ppro) ///////////////////////////////////////////////////////////////////////////////
-static int OnModulesLoaded(WPARAM, LPARAM)
-{
- g_dwGlobalPluginRunning = TRUE;
- return 0;
-}
-
-static int OnPreShutdown(WPARAM, LPARAM)
-{
- g_dwGlobalPluginRunning = FALSE;
- return 0;
-}
-
extern "C" __declspec(dllexport) int Load(void)
{
mir_getLP(&pluginInfoEx);
@@ -91,9 +78,6 @@ extern "C" __declspec(dllexport) int Load(void) IconsLoad();
InitXStatusIcons();
- HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
- HookEvent(ME_SYSTEM_PRESHUTDOWN, OnPreShutdown);
-
PROTOCOLDESCRIPTOR pd = { sizeof(pd) };
pd.szName = "MRA";
pd.type = PROTOTYPE_PROTOCOL;
|