summaryrefslogtreecommitdiff
path: root/plugins/mTextControl/src/stdafx.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-04-03 19:59:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-04-03 19:59:45 +0300
commite3f92ff9b8922e06a717a84b76c4e43cbb165f28 (patch)
tree13cf88e15b788575d7b47896b1995cd7b70d711d /plugins/mTextControl/src/stdafx.h
parent8218936b7712de444a49656d8a50832cea5adc84 (diff)
mtextcontrol became an usual library
Diffstat (limited to 'plugins/mTextControl/src/stdafx.h')
-rw-r--r--plugins/mTextControl/src/stdafx.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/plugins/mTextControl/src/stdafx.h b/plugins/mTextControl/src/stdafx.h
index ef5263042a..1608622157 100644
--- a/plugins/mTextControl/src/stdafx.h
+++ b/plugins/mTextControl/src/stdafx.h
@@ -30,7 +30,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include <tom.h>
#include <textserv.h>
-#include <newpluginapi.h>
#include <m_database.h>
#include <m_langpack.h>
#include <m_utils.h>
@@ -39,24 +38,15 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include <m_smileyadd.h>
#include "version.h"
-#include "services.h"
#include "textusers.h"
+extern HINSTANCE g_hInst;
extern PCreateTextServices MyCreateTextServices;
void InitRichEdit(ITextServices *ts);
HWND CreateProxyWindow(ITextServices *ts);
#define MODULTITLE "Text Display"
-
-// globals
-
-struct CMPlugin : public PLUGIN<CMPlugin>
-{
- CMPlugin();
-
- int Load() override;
- int Unload() override;
-};
+#define MODULENAME "MTextControl"
#endif // __headers_h__