diff options
Diffstat (limited to 'game/server/init_factory.h')
| -rw-r--r-- | game/server/init_factory.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/game/server/init_factory.h b/game/server/init_factory.h new file mode 100644 index 0000000..1cbc95c --- /dev/null +++ b/game/server/init_factory.h @@ -0,0 +1,30 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef INIT_FACTORY_H +#define INIT_FACTORY_H +#ifdef _WIN32 +#pragma once +#endif + + +#include "interface.h" + +struct factorylist_t +{ + CreateInterfaceFn engineFactory; + CreateInterfaceFn physicsFactory; + CreateInterfaceFn fileSystemFactory; +}; + +// Store off the factories +void FactoryList_Store( const factorylist_t &sourceData ); + +// retrieve the stored factories +void FactoryList_Retrieve( factorylist_t &destData ); + +#endif // INIT_FACTORY_H |