diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-11-28 18:44:28 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-11-28 18:44:28 +0000 |
commit | 68fb5b69ea8403a3f9dcb70b3133eb10e1711000 (patch) | |
tree | c4e4e81724c9ea80fe7f2558991bda699961bc11 /plugins/Ping/src/utils.h | |
parent | 80d65efb84ec7500cd02ca047d0177d642eb1871 (diff) |
forgotten files
git-svn-id: http://svn.miranda-ng.org/main/trunk@2544 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Ping/src/utils.h')
-rw-r--r-- | plugins/Ping/src/utils.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/plugins/Ping/src/utils.h b/plugins/Ping/src/utils.h new file mode 100644 index 0000000000..0d27745908 --- /dev/null +++ b/plugins/Ping/src/utils.h @@ -0,0 +1,35 @@ +#ifndef _PING_UTILS
+#define _PING_UTILS
+
+#pragma warning( disable : 4786 )
+
+#include "pingthread.h" // for mainthread, for popup
+//#include "icmp.h"
+#include "rawping.h"
+#include "icmp.h"
+#include "options.h"
+
+void __stdcall ShowPopup( const char* line1, const char* line2, int flags );
+
+INT_PTR PluginPing(WPARAM wParam,LPARAM lParam);
+
+void Lock(CRITICAL_SECTION *cs, char *lab);
+void Unlock(CRITICAL_SECTION *cs);
+
+INT_PTR PingDisableAll(WPARAM wParam, LPARAM lParam);
+INT_PTR PingEnableAll(WPARAM wParam, LPARAM lParam);
+
+INT_PTR ToggleEnabled(WPARAM wParam, LPARAM lParam);
+
+INT_PTR DblClick(WPARAM wParam, LPARAM lParam);
+
+INT_PTR EditContact(WPARAM wParam, LPARAM lParam);
+// read in addresses from old pingplug
+void import_ping_addresses();
+
+// use icolib if possible
+void InitUtils();
+extern HICON hIconResponding, hIconNotResponding, hIconTesting, hIconDisabled;
+
+
+#endif
|