aboutsummaryrefslogtreecommitdiff
path: root/sp/src/game/server/init_factory.h
blob: 1cbc95c3e7019f42e1b986e63bbeeb55ade0235d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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