summaryrefslogtreecommitdiff
path: root/plugins/Ping/pingthread.h
blob: eda6dae61f3e3ba5b48efac6c7d1bb50d98ad2a2 (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 _PINGTHREAD_H
#define _PINGTHREAD_H

#include "pinglist.h"
#include "pinggraph.h"
#include "utils.h"
#include "options.h"

extern HANDLE mainThread;
extern HANDLE hWakeEvent; 
extern CRITICAL_SECTION thread_finished_cs, list_changed_cs, data_list_cs;

extern PINGLIST data_list;

int FillList(WPARAM wParam, LPARAM lParam);

int RefreshWindow(WPARAM wParam, LPARAM lParam);

void UpdateFrame();
void AttachToClist(bool attach);

void InitList();
void DeinitList();

#endif