/******************************************************** * GameServiceContainer.h * * * * XFX GameServiceContainer definition file * * Copyright © XFX Team. All Rights Reserved * ********************************************************/ #ifndef _XFX_GAMESERVICECONTAINER_ #define _XFX_GAMESERVICECONTAINER_ #include #include #include using namespace System; using namespace System::Collections::Generic; namespace XFX { // A collection of game services. class GameServiceContainer : public IServiceProvider, virtual Object { private: Dictionary* _services; public: GameServiceContainer(); virtual ~GameServiceContainer(); void AddService(const char* serviceType, Object* provider); Object* GetService(const char* ServiceType); void RemoveService(const char* type); }; } #endif //_XFX_GAMESERVICECONTAINER_