From b61df7acc1235b3b2a66217d0d7358199c5d37f9 Mon Sep 17 00:00:00 2001 From: sje Date: Wed, 1 Nov 2006 14:44:17 +0000 Subject: git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@11 4f64403b-2f21-0410-a795-97e2b3489a10 --- ping/utils.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 ping/utils.h (limited to 'ping/utils.h') 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 -- cgit v1.2.3