mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-11 10:54:01 +00:00
31 lines
658 B
C++
31 lines
658 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include "MessageManager.h"
|
|
#include "EmulationSettings.h"
|
|
#include "IInputProvider.h"
|
|
#include "Types.h"
|
|
|
|
class MovieRecorder;
|
|
class VirtualFile;
|
|
class Console;
|
|
|
|
class IMovie : public IInputProvider
|
|
{
|
|
public:
|
|
virtual bool Play(VirtualFile &file) = 0;
|
|
virtual bool IsPlaying() = 0;
|
|
};
|
|
|
|
class MovieManager
|
|
{
|
|
private:
|
|
static shared_ptr<IMovie> _player;
|
|
static shared_ptr<MovieRecorder> _recorder;
|
|
|
|
public:
|
|
static void Record(RecordMovieOptions options, shared_ptr<Console> console);
|
|
static void Play(VirtualFile file, shared_ptr<Console> console);
|
|
static void Stop();
|
|
static bool Playing();
|
|
static bool Recording();
|
|
}; |