diff options
Diffstat (limited to 'plugins/mTextControl/src/stdafx.h')
-rw-r--r-- | plugins/mTextControl/src/stdafx.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/mTextControl/src/stdafx.h b/plugins/mTextControl/src/stdafx.h index 1adfef31b6..d669ffbc57 100644 --- a/plugins/mTextControl/src/stdafx.h +++ b/plugins/mTextControl/src/stdafx.h @@ -30,8 +30,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include <tom.h>
#include <textserv.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <m_database.h>
#include <m_langpack.h>
@@ -55,7 +53,12 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #define MODULTITLE "Text Display"
// globals
-extern HINSTANCE hInst;
-extern PLUGININFOEX pluginInfoEx;
+
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULNAME)
+ {}
+};
#endif // __headers_h__
|