diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-17 20:50:08 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-17 20:50:08 +0300 |
commit | 523f3588b6f21adcc4bcf3ec3ffad05e2298863a (patch) | |
tree | 428f9611be9bfdba157f5c2056908ee02c9c7ce6 /plugins/KeyboardNotify/src/main.cpp | |
parent | 11e70d8c4e224d80015fffe0378c53abee5fd824 (diff) |
KeyboardNotify, ListeningTo, MessageState, MirandaG15, MirFox, Msg_Export, MsgPopup, mTextControl => CMPlugin
Diffstat (limited to 'plugins/KeyboardNotify/src/main.cpp')
-rw-r--r-- | plugins/KeyboardNotify/src/main.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/plugins/KeyboardNotify/src/main.cpp b/plugins/KeyboardNotify/src/main.cpp index 091fe7d903..fe53b08299 100644 --- a/plugins/KeyboardNotify/src/main.cpp +++ b/plugins/KeyboardNotify/src/main.cpp @@ -26,10 +26,9 @@ #define NCONVERS_BLINKID ((MEVENT)123456) //nconvers' random identifier used to flash an icon for "incoming message" on contact list
-HINSTANCE g_hInst;
-
-CLIST_INTERFACE *pcli;
int hLangpack;
+CLIST_INTERFACE *pcli;
+CMPlugin g_plugin;
DWORD IDThread = 0;
HANDLE hThread = nullptr;
@@ -87,7 +86,8 @@ BOOL bReminderDisabled = FALSE; BYTE bMetaProtoEnabled = 0;
-PLUGININFOEX pluginInfo = {
+PLUGININFOEX pluginInfo =
+{
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
@@ -105,12 +105,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) return &pluginInfo;
}
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID)
-{
- g_hInst = hinstDLL;
- return TRUE;
-}
-
int InitializeOptions(WPARAM, LPARAM);
BOOL CheckMsgWnd(MCONTACT, BOOL *);
|