1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00
OpenMW/apps/openmw/mwbase/statemanager.hpp

30 lines
590 B
C++
Raw Normal View History

2013-11-16 09:31:46 +00:00
#ifndef GAME_MWSTATE_STATEMANAGER_H
#define GAME_MWSTATE_STATEMANAGER_H
namespace MWBase
{
/// \brief Interface for game state manager (implemented in MWState)
class StateManager
{
private:
StateManager (const StateManager&);
///< not implemented
StateManager& operator= (const StateManager&);
///< not implemented
public:
StateManager() {}
virtual ~StateManager() {}
virtual void requestQuit() = 0;
virtual bool hasQuitRequest() const = 0;
2013-11-16 09:31:46 +00:00
};
}
#endif