mirror of
https://github.com/libretro/Play-.git
synced 2024-12-13 11:35:30 +00:00
d1d93135da
git-svn-id: http://svn.purei.org/purei/trunk@1148 b36208d7-6611-0410-8bec-b1987f11c4a2
22 lines
412 B
C++
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;
|
|
};
|