summaryrefslogtreecommitdiff
path: root/plugins/Ping/src/utils.h
blob: 1cb3a194059149d6986b55540afcc405b3da9233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _PING_UTILS
#define _PING_UTILS

void __stdcall	ShowPopup(TCHAR *line1, TCHAR *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