Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
879 B

  1. //===== Copyright � 1996-2009, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. //===========================================================================//
  6. #ifndef MM_TITLE_MAIN_H
  7. #define MM_TITLE_MAIN_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. extern InitReturnVal_t MM_Title_Init();
  12. extern void MM_Title_Shutdown();
  13. extern IMatchTitle *g_pIMatchTitle;
  14. extern IMatchEventsSink *g_pIMatchTitleEventsSink;
  15. extern IMatchTitleGameSettingsMgr *g_pIMatchTitleGameSettingsMgr;
  16. //
  17. // LINK_MATCHMAKING_LIB() macro must be included in the matchmaking.dll code
  18. // to force all required matchmaking objects linked into the DLL.
  19. //
  20. extern void LinkMatchmakingLib();
  21. #define LINK_MATCHMAKING_LIB() \
  22. namespace { \
  23. static class CLinkMatchmakingLib { \
  24. public: \
  25. CLinkMatchmakingLib() { \
  26. LinkMatchmakingLib(); \
  27. } \
  28. } s_LinkHelper; \
  29. };
  30. #endif // MM_EVENTS_H