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