1 /* ======== SourceMM ========
2 * Copyright (C) 2004-2005 Metamod:Source Development Team
3 * No warranties of any kind
7 * Author(s): David "BAILOPAN" Anderson
8 * ============================
11 #ifndef _INCLUDE_CSMM_API_H
12 #define _INCLUDE_CSMM_API_H
15 * @brief Header for CSmmAPI implementation
23 class CSmmAPI : public ISmmAPI
26 ISmmPluginManager *PluginManager();
27 SourceHook::ISourceHook *SourceHook();
28 void LogMsg(ISmmPlugin *pl, const char *msg, ...);
30 CreateInterfaceFn engineFactory(bool syn=true);
31 CreateInterfaceFn physicsFactory(bool syn=true);
32 CreateInterfaceFn fileSystemFactory(bool syn=true);
33 CreateInterfaceFn serverFactory(bool syn=true);
34 CGlobalVars *pGlobals();
35 void SetLastMetaReturn(META_RES res);
36 META_RES GetLastMetaReturn();
42 extern SourceMM::CSmmAPI g_SmmAPI;
44 #endif //_INCLUDE_CSMM_API_H