diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-27 07:36:58 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-27 07:36:58 +0000 |
commit | 1319f3775c793bdfb8299f5757e7c198d7a61339 (patch) | |
tree | e132a96411aedeb5b86cdea901b15ff8028f00f5 /plugins/ConnectionNotify/src/stdafx.h | |
parent | fd511dcd6739e2994445833ac8f03f01a2c5df95 (diff) |
ConnectionNotify common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13191 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ConnectionNotify/src/stdafx.h')
-rw-r--r-- | plugins/ConnectionNotify/src/stdafx.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/plugins/ConnectionNotify/src/stdafx.h b/plugins/ConnectionNotify/src/stdafx.h new file mode 100644 index 0000000000..75b64b0148 --- /dev/null +++ b/plugins/ConnectionNotify/src/stdafx.h @@ -0,0 +1,49 @@ +#include <windows.h>
+#include <Commctrl.h>
+#include <assert.h>
+#include <iphlpapi.h>
+#include <Tlhelp32.h>
+
+#include <newpluginapi.h>
+#include <m_core.h>
+#include <m_clist.h>
+#include <m_skin.h>
+#include <m_langpack.h>
+#include <m_options.h>
+#include <m_popup.h>
+#include <m_utils.h>
+#include <m_protomod.h>
+#include <m_protosvc.h>
+#include <m_system.h>
+
+#ifdef _DEBUG
+#include "debug.h"
+#endif
+#include "resource.h"
+#include "netstat.h"
+#include "filter.h"
+#include "version.h"
+#include "pid2name.h"
+
+#define MAX_SETTING_STR 512
+#define PLUGINNAME "ConnectionNotify"
+#define MAX_LENGTH 512
+#define STATUS_COUNT 9
+
+#define PLUGINNAME_NEWSOUND PLUGINNAME "_new_sound"
+
+#if !defined(MIID_CONNECTIONNOTIFY)
+ #define MIID_CONNECTIONNOTIFY {0x4bb5b4aa, 0xc364, 0x4f23, { 0x97, 0x46, 0xd5, 0xb7, 0x8, 0xa2, 0x86, 0xa5 } }
+#endif
+// 4BB5B4AA-C364-4F23-9746-D5B708A286A5
+
+// Note: could also use malloc() and free()
+#define MALLOC(x) HeapAlloc(GetProcessHeap(), 0, (x))
+#define FREE(x) HeapFree(GetProcessHeap(), 0, (x))
+
+void showMsg(TCHAR *pName,DWORD pid,TCHAR *intIp,TCHAR *extIp,int intPort,int extPort,int state);
+//int __declspec(dllexport) Load(PLUGINLINK *link);
+extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved);
+static unsigned __stdcall checkthread(void *dummy);
+struct CONNECTION * LoadSettingsConnections();
+void saveSettingsConnections(struct CONNECTION *connHead);
|