forked from SwagSoftware/Kisak-Strike
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmm_title_main.h
38 lines (30 loc) · 879 Bytes
/
mm_title_main.h
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
37
38
//===== Copyright © 1996-2009, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
//===========================================================================//
#ifndef MM_TITLE_MAIN_H
#define MM_TITLE_MAIN_H
#ifdef _WIN32
#pragma once
#endif
extern InitReturnVal_t MM_Title_Init();
extern void MM_Title_Shutdown();
extern IMatchTitle *g_pIMatchTitle;
extern IMatchEventsSink *g_pIMatchTitleEventsSink;
extern IMatchTitleGameSettingsMgr *g_pIMatchTitleGameSettingsMgr;
//
// LINK_MATCHMAKING_LIB() macro must be included in the matchmaking.dll code
// to force all required matchmaking objects linked into the DLL.
//
extern void LinkMatchmakingLib();
#define LINK_MATCHMAKING_LIB() \
namespace { \
static class CLinkMatchmakingLib { \
public: \
CLinkMatchmakingLib() { \
LinkMatchmakingLib(); \
} \
} s_LinkHelper; \
};
#endif // MM_EVENTS_H