diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-28 18:34:22 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-28 18:34:22 +0000 |
commit | 5afcb73210219d4d44ffb736067ee21cd866ca10 (patch) | |
tree | d8d3101d3db671639ee0900a9d772a341f314594 /plugins/FileAsMessage/main.h | |
parent | 8b61f04cad084e79e29775c34290ba1ebe8a5c3d (diff) |
FileAsMessage:
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@672 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FileAsMessage/main.h')
-rw-r--r-- | plugins/FileAsMessage/main.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/plugins/FileAsMessage/main.h b/plugins/FileAsMessage/main.h index 9437a87a98..e21472e5a1 100644 --- a/plugins/FileAsMessage/main.h +++ b/plugins/FileAsMessage/main.h @@ -1,11 +1,11 @@ -//#include "AggressiveOptimize.h"
-
#define _CRT_SECURE_NO_WARNINGS
#define _CRT_NONSTDC_NO_DEPRECATE
-
#define _WIN32_WINNT 0x0501
+
#include <windows.h>
#include <stdio.h>
+#include <time.h>
+#include <commctrl.h>
#include "newpluginapi.h"
#include "m_system.h"
@@ -27,10 +27,11 @@ #include "m_file.h"
#include "win2k.h"
-#define ARRAY_SIZE(n) (sizeof(n)/sizeof(n[0]))
+#include "dialog.h"
+#include "resource.h"
#define MAXBUFSIZE 4096
-#define SERVICE_TITLE "file As Message"
+#define SERVICE_TITLE "File As Message"
#define SERVICE_NAME "FileAsMessage"
#define SERVICE_PREFIX "<%fAM-0023%>"
@@ -41,6 +42,7 @@ PLUGIN_URL " for more information and download."
extern char *szServiceTitle;
extern char *szServicePrefix;
+extern const ulong INITCRC;
#define WM_FE_MESSAGE WM_USER+100
#define WM_FE_STATUSCHANGE WM_USER+101
@@ -52,12 +54,4 @@ extern HANDLE hEventNewFile; extern HICON hIcons[5];
-#ifdef __cplusplus
-extern "C" {
-#endif
-int __declspec(dllexport) Load( PLUGINLINK *link );
-int __declspec(dllexport) Unload( void );
- __declspec(dllexport) PLUGININFOEX *MirandaPluginInfo( DWORD dwVersion );
-#ifdef __cplusplus
-}
-#endif
+ulong memcrc32(uchar *ptr, int size, ulong crc );
\ No newline at end of file |