Rename IMovie to avoid name collision

This commit is contained in:
YoshiRulz 2019-11-16 16:03:11 +10:00 committed by James Groom
parent 9e30d64954
commit 13e4b5396d
4 changed files with 4 additions and 4 deletions

View File

@ -88,7 +88,7 @@
<Compile Include="Interfaces\Api\ISaveState.cs" /> <Compile Include="Interfaces\Api\ISaveState.cs" />
<Compile Include="Interfaces\Api\IUserData.cs" /> <Compile Include="Interfaces\Api\IUserData.cs" />
<Compile Include="Interfaces\Api\ISql.cs" /> <Compile Include="Interfaces\Api\ISql.cs" />
<Compile Include="Interfaces\Api\IMovie.cs" /> <Compile Include="Interfaces\Api\IInputMovie.cs" />
<Compile Include="Interfaces\Api\IMemorySavestate.cs" /> <Compile Include="Interfaces\Api\IMemorySavestate.cs" />
<Compile Include="Interfaces\Api\IMemEvents.cs" /> <Compile Include="Interfaces\Api\IMemEvents.cs" />
<Compile Include="Interfaces\Api\IEmu.cs" /> <Compile Include="Interfaces\Api\IEmu.cs" />

View File

@ -6,7 +6,7 @@ using BizHawk.Client.Common;
namespace BizHawk.Client.ApiHawk namespace BizHawk.Client.ApiHawk
{ {
public sealed class MovieApi : IMovie public sealed class MovieApi : IInputMovie
{ {
private static class MoviePluginStatic private static class MoviePluginStatic
{ {

View File

@ -1,7 +1,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace BizHawk.Client.ApiHawk namespace BizHawk.Client.ApiHawk
{ {
public interface IMovie : IExternalApi public interface IInputMovie : IExternalApi
{ {
bool StartsFromSavestate(); bool StartsFromSavestate();
bool StartsFromSaveram(); bool StartsFromSaveram();

View File

@ -18,7 +18,7 @@ namespace BizHawk.Client.EmuHawk
public IMem Mem => (IMem)Libraries[typeof(MemApi)]; public IMem Mem => (IMem)Libraries[typeof(MemApi)];
public IMemEvents MemEvents => (IMemEvents)Libraries[typeof(MemEventsApi)]; public IMemEvents MemEvents => (IMemEvents)Libraries[typeof(MemEventsApi)];
public IMemorySaveState MemorySaveState => (IMemorySaveState)Libraries[typeof(MemorySaveStateApi)]; public IMemorySaveState MemorySaveState => (IMemorySaveState)Libraries[typeof(MemorySaveStateApi)];
public IMovie Movie => (IMovie)Libraries[typeof(MovieApi)]; public IInputMovie Movie => (IInputMovie)Libraries[typeof(MovieApi)];
public ISaveState SaveState => (ISaveState)Libraries[typeof(SaveStateApi)]; public ISaveState SaveState => (ISaveState)Libraries[typeof(SaveStateApi)];
public ISql Sql => (ISql)Libraries[typeof(SqlApi)]; public ISql Sql => (ISql)Libraries[typeof(SqlApi)];
public ITool Tool => (ITool)Libraries[typeof(ToolApi)]; public ITool Tool => (ITool)Libraries[typeof(ToolApi)];