csgo-2018-source/matchmaking/mm_title_main.h
2021-07-24 21:11:47 -07:00

39 lines
879 B
C

//===== 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