mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 22:27:05 +00:00
31 lines
637 B
C
31 lines
637 B
C
|
//========= 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
|