diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-01 14:44:17 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-01 14:44:17 +0000 |
commit | b61df7acc1235b3b2a66217d0d7358199c5d37f9 (patch) | |
tree | 70f74e5b04249d9ce70259ef70b38bcdf869cf64 /ping/utils.h | |
parent | 9c6d8a640911d336cc1e758310bbfccaf547d2d2 (diff) |
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@11 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'ping/utils.h')
-rw-r--r-- | ping/utils.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ping/utils.h b/ping/utils.h new file mode 100644 index 0000000..a7ec017 --- /dev/null +++ b/ping/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 PluginPing(WPARAM wParam,LPARAM lParam);
+
+void Lock(CRITICAL_SECTION *cs, char *lab);
+void Unlock(CRITICAL_SECTION *cs);
+
+int PingDisableAll(WPARAM wParam, LPARAM lParam);
+int PingEnableAll(WPARAM wParam, LPARAM lParam);
+
+int ToggleEnabled(WPARAM wParam, LPARAM lParam);
+
+int DblClick(WPARAM wParam, LPARAM lParam);
+
+int EditContact(WPARAM wParam, LPARAM lParam);
+// read in addresses from old pingplug
+void import_ping_addresses();
+
+// use icolib if possible
+void InitIcons();
+extern HICON hIconResponding, hIconNotResponding, hIconTesting, hIconDisabled;
+
+
+#endif
|