Play-/Source/VirtualMachine.h
jpd002 d1d93135da Some cleanup.
git-svn-id: http://svn.purei.org/purei/trunk@1148 b36208d7-6611-0410-8bec-b1987f11c4a2
2013-06-17 05:08:05 +00:00

22 lines
412 B
C++

#pragma once
#include <boost/signals2.hpp>
class CVirtualMachine
{
public:
enum STATUS
{
RUNNING = 1,
PAUSED = 2,
};
virtual ~CVirtualMachine() {};
virtual STATUS GetStatus() const = 0;
virtual void Pause() = 0;
virtual void Resume() = 0;
boost::signals2::signal<void ()> OnMachineStateChange;
boost::signals2::signal<void ()> OnRunningStateChange;
};