-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGlobal.h
More file actions
39 lines (31 loc) · 929 Bytes
/
Copy pathGlobal.h
File metadata and controls
39 lines (31 loc) · 929 Bytes
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
28
29
30
31
32
33
34
35
36
#if !defined(INC_H___4A6B3036_6348_477A_960D_AFAB295FE18F__HEAD__)
#define INC_H___4A6B3036_6348_477A_960D_AFAB295FE18F__HEAD__
namespace local {
class Global final {
public:
Global();
~Global();
public:
bool Init();
private:
void UnInit();
public:
static PCHacker* PCHackerGet();
static libcurlpp::Libcurlpp* LibcurlGet();
static libuvpp::Libuv* LibuvGet();
static libuvpp::Server* ServerGet();
private:
PCHacker* m_pPCHacker = nullptr;
libcurlpp::Libcurlpp* m_pLibcurl = nullptr;
std::atomic_bool m_Ready = false;
libuvpp::Libuv* m_pLibuv = nullptr;
libuvpp::Server* m_pServer = nullptr;
};
extern Global* __gpGlobal;
extern Global* GlobalGet();
extern HINSTANCE __gpHinstance;
}///namespace local
/// /*新生®(上海)**/
/// /*2022_09_21T01:22:05.6053548Z**/
/// /*_ _ _ _ _ _ _ www.skstu.com _ _ _ _ _ _ _**/
#endif ///INC_H___4A6B3036_6348_477A_960D_AFAB295FE18F__HEAD__