summaryrefslogtreecommitdiff
path: root/plugins/FileAsMessage/src/main.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-07-18 06:59:36 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-07-18 06:59:36 +0000
commit3634576b3903f8316b1dcdc396a70f40fa43f5f5 (patch)
tree55f87e6fccf45c3b2e5b7adf12a1e959f2d6f12e /plugins/FileAsMessage/src/main.h
parent7a65cbd15d4f808f973d782deea2a5e1a02accd6 (diff)
ExtraIcon, Favcontacts, FileAsMessage, FingerPrintModPlus: changed folder structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@1006 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FileAsMessage/src/main.h')
-rw-r--r--plugins/FileAsMessage/src/main.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/plugins/FileAsMessage/src/main.h b/plugins/FileAsMessage/src/main.h
new file mode 100644
index 0000000000..e21472e5a1
--- /dev/null
+++ b/plugins/FileAsMessage/src/main.h
@@ -0,0 +1,57 @@
+#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"
+#include "m_database.h"
+#include "m_protomod.h"
+#include "m_protosvc.h"
+#include "m_langpack.h"
+#include "m_clist.h"
+#include "m_options.h"
+#include "m_clui.h"
+#include "m_clc.h"
+#include "m_utils.h"
+#include "m_skin.h"
+#include "m_popup.h"
+#include "m_icolib.h"
+#include "m_message.h"
+#include "m_button.h"
+#include "m_netlib.h"
+#include "m_file.h"
+#include "win2k.h"
+
+#include "dialog.h"
+#include "resource.h"
+
+#define MAXBUFSIZE 4096
+#define SERVICE_TITLE "File As Message"
+#define SERVICE_NAME "FileAsMessage"
+
+#define SERVICE_PREFIX "<%fAM-0023%>"
+
+#define PLUGIN_URL "http://miranda-im.org/download/details.php?action=viewfile&id=1811"
+#define NOPLUGIN_MESSAGE "\nIf you see this \"garbage\", probably you "\
+ "have no \"fileAsMessage\" plugin installed, see "\
+ 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
+#define WM_FE_SKINCHANGE WM_USER+102
+
+extern HINSTANCE hInst;
+extern HANDLE hFileList;
+extern HANDLE hEventNewFile;
+
+extern HICON hIcons[5];
+
+ulong memcrc32(uchar *ptr, int size, ulong crc ); \ No newline at end of file