1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
XFXFramework/include/GameServiceContainer.h
Halofreak1990 8f089dc2ab Added the current XFX directory tree.
WARNING!!! This revision cannot compile correctly. It is updated to reflect the many changes within the XFX project.
2010-12-04 16:14:34 +00:00

29 lines
723 B
C++

/********************************************************
* GameServiceContainer.h *
* *
* XFX GameServiceContainer definition file *
* Copyright © XFX Team. All Rights Reserved *
********************************************************/
#ifndef _XFX_GAMESERVICECONTAINER_
#define _XFX_GAMESERVICECONTAINER_
namespace XFX
{
/// <Summary>
/// A collection of game services.
/// </summary>
class GameServiceContainer
{
public:
template <class T>
void AddService(T type, void* provider);
GameServiceContainer();
template <class T>
void* GetService(T type);
template <class T>
void RemoveService(T type);
};
}
#endif //_XFX_GAMESERVICECONTAINER_H