diff options
Diffstat (limited to 'plugins/mTextControl/src/headers.h')
-rw-r--r-- | plugins/mTextControl/src/headers.h | 69 |
1 files changed, 13 insertions, 56 deletions
diff --git a/plugins/mTextControl/src/headers.h b/plugins/mTextControl/src/headers.h index aaa25dfd07..b3df760548 100644 --- a/plugins/mTextControl/src/headers.h +++ b/plugins/mTextControl/src/headers.h @@ -20,75 +20,25 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #ifndef __headers_h__
#define __headers_h__
-
#define _CRT_SECURE_NO_DEPRECATE
-//Windows headers
#define _WIN32_WINNT 0x0500
#define WINVER 0x0500
#define OEMRESOURCE
-#include <tchar.h>
+
#include <windows.h>
#include <richedit.h>
#include <richole.h>
#include <tom.h>
#include <textserv.h>
-#include <ole2.h>
-#include <commctrl.h>
-#include <stdio.h>
-
-//Resources
-//#include "../res/resource.h"
-
-#ifdef _cplusplus
-extern "C" {
-#endif
- //Miranda headers
- #include <newpluginapi.h>
- #include <win2k.h>
- #include <m_system.h>
- #include <m_clui.h>
- #include <m_clist.h>
- #include <m_options.h>
- #include <m_skin.h>
- #include <m_langpack.h>
- #include <m_database.h>
- #include <m_protocols.h>
- #include <m_utils.h>
-// #include <m_icolib.h>
-// The following ifdef block is the standard way of creating macros which make exporting
-// from a DLL simpler. All files within this DLL are compiled with the MTEXTCONTROL_EXPORTS
-// symbol defined on the command line. this symbol should not be defined on any project
-// that uses this DLL. This way any other project whose source files include this file see
-// DLL_API functions as being imported from a DLL, wheras this DLL sees symbols
-// defined with this macro as being exported.
-#ifdef MTEXTCONTROL_EXPORTS
- #define DLL_API __declspec(dllexport)
-#else
- #define DLL_API __declspec(dllimport)
-#endif // MTEXTCONTROL_EXPORTS
+#include <newpluginapi.h>
+#include <m_langpack.h>
+#include <m_database.h>
-#ifndef MTEXT_NOHELPERS
- #define MTEXT_NOHELPERS
-#endif // MTEXT_NOHELPERS
- #include "m_text.h"
+#include <m_text.h>
+#include <m_smileyadd.h>
-// API for other plugins
- #include "m_mathmodule.h"
- #include <m_smileyadd.h>
-#ifdef _cplusplus
-};
-#endif
-
-// globals
-extern HINSTANCE hInst;
-extern PLUGININFOEX pluginInfoEx;
-
-// dlls
-//#include "dlls.h"
-
-// Project headers
#include "version.h"
#include "services.h"
#include "textusers.h"
@@ -98,4 +48,11 @@ extern PLUGININFOEX pluginInfoEx; #include "fancy_rtf.h"
#include "textcontrol.h"
+#define MODULNAME "MTextControl" //DB modul for this plugin
+#define MODULTITLE "Text Display"
+
+// globals
+extern HINSTANCE hInst;
+extern PLUGININFOEX pluginInfoEx;
+
#endif // __headers_h__
|