diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-17 19:41:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-17 19:41:35 +0300 |
commit | 11e70d8c4e224d80015fffe0378c53abee5fd824 (patch) | |
tree | 8b21511f57aad4a9aaaa9391450cf5b83146a2f8 /plugins/QuickContacts/src/stdafx.h | |
parent | 0c12fe889baeced3e7d8c3f2558d10f563a43612 (diff) |
Popup, PManagerEx, QuickContacts, RemovePersonalSettings, Restart, SeenPlugin, SendSS, ShlExt, SimpleAR, SimpleStatusMsg, SkypeStatusChange, SmileyAdd, SMS => CMPlugin
Diffstat (limited to 'plugins/QuickContacts/src/stdafx.h')
-rw-r--r-- | plugins/QuickContacts/src/stdafx.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/plugins/QuickContacts/src/stdafx.h b/plugins/QuickContacts/src/stdafx.h index b349233266..842eee329e 100644 --- a/plugins/QuickContacts/src/stdafx.h +++ b/plugins/QuickContacts/src/stdafx.h @@ -25,7 +25,6 @@ Boston, MA 02111-1307, USA. #include <windows.h>
#include <commctrl.h>
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_protosvc.h>
#include <m_clist.h>
@@ -52,13 +51,14 @@ Boston, MA 02111-1307, USA. #include "options.h"
#include "version.h"
-#define MODULE_NAME "QuickContacts"
+#define MODULE_NAME "QuickContacts"
-
-// Global Variables
-extern HINSTANCE hInst;
-
-// Copied from "../modernb/clc.h" ///////////////////////////////////////////////////////////////////
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULE_NAME)
+ {}
+};
//add a new hotkey so it has a default and can be changed in the options dialog
//wParam=0
@@ -78,6 +78,4 @@ typedef struct { #define MS_SKIN_ADDHOTKEY "Skin/HotKeys/AddNew"
#define MS_SKIN_PLAYHOTKEY "Skin/HotKeys/Run"
-
-
#endif // __COMMONS_H__
|