sourcemm/ISmmAPI.h
author David Anderson <dvander@alliedmods.net>
Sat Apr 16 19:59:26 2005 +0000 (2005-04-16)
changeset 7 8ef11f6189e4
child 9 01b8b7435e67
permissions -rw-r--r--
Initial import
     1 #ifndef _INCLUDE_ISMM_API_H
     2 #define _INCLUDE_ISMM_API_H
     3 
     4 #include <interface.h>
     5 #include <eiface.h>
     6 #include <sourcehook/sourcehook.h>
     7 #include "IPluginManager.h"
     8 
     9 class ISmmPluginManager;
    10 class ISmmPlugin;
    11 
    12 class ISmmAPI
    13 {
    14 public:
    15 	virtual ISmmPluginManager *PluginManager() =0;
    16 	virtual SourceHook::ISourceHook *SourceHook() =0;
    17 	virtual void LogMsg(ISmmPlugin *pl, const char *msg, ...) =0;
    18 public:
    19 	virtual CreateInterfaceFn engineFactory(bool syn=true) =0;
    20 	virtual CreateInterfaceFn physicsFactory(bool syn=true) =0;
    21 	virtual CreateInterfaceFn fileSystemFactory(bool syn=true) =0;
    22 	virtual CreateInterfaceFn serverFactory(bool syn=true) =0;
    23 	virtual CGlobalVars *pGlobals() =0;
    24 	virtual void SetLastMetaReturn(META_RES res) =0;
    25 };
    26 
    27 #endif //_INCLUDE_ISMM_API_H