put IRewinder in its own file

This commit is contained in:
adelikat 2020-06-08 11:35:19 -05:00
parent 799742c3ff
commit ddfd6fd49a
2 changed files with 20 additions and 16 deletions

View File

@ -0,0 +1,20 @@
using System;
namespace BizHawk.Client.Common
{
public interface IRewinder : IDisposable
{
int Count { get; }
float FullnessRatio { get; }
long Size { get; }
int RewindFrequency { get; }
bool Active { get; }
void Capture(int frame);
bool Rewind(int frames);
void Suspend();
void Resume();
}
}

View File

@ -4,22 +4,6 @@ using BizHawk.Emulation.Common;
namespace BizHawk.Client.Common
{
public interface IRewinder : IDisposable
{
int Count { get; }
float FullnessRatio { get; }
long Size { get; }
int RewindFrequency { get; }
bool Active { get; }
void Capture(int frame);
bool Rewind(int frames);
void Suspend();
void Resume();
}
public class Rewinder : IRewinder
{
private readonly IStatable _statableCore;