diff options
Diffstat (limited to 'plugins/MagneticWindows/src/stdafx.h')
-rw-r--r-- | plugins/MagneticWindows/src/stdafx.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/plugins/MagneticWindows/src/stdafx.h b/plugins/MagneticWindows/src/stdafx.h index 2ca9697411..ba6c7229ce 100644 --- a/plugins/MagneticWindows/src/stdafx.h +++ b/plugins/MagneticWindows/src/stdafx.h @@ -2,8 +2,6 @@ #include <commctrl.h> #include <stdio.h> -#define __NO_CMPLUGIN_NEEDED - #include <newpluginapi.h> #include <m_clistint.h> #include <m_message.h> @@ -20,15 +18,21 @@ #include "Version.h" typedef - struct { - int MouseX, MouseY; - bool SnappedX, SnappedY; - } TWorkingVariables; +struct { + int MouseX, MouseY; + bool SnappedX, SnappedY; +} TWorkingVariables; #define MODULE_NAME "MagneticWindows" -extern HINSTANCE hInst; + +struct CMPlugin : public PLUGIN<CMPlugin> +{ + CMPlugin() : + PLUGIN<CMPlugin>(MODULE_NAME) + {} +}; void WindowStart(); bool WindowOpen(HWND); |