Rename ICoreService to IEmulatorService

This commit is contained in:
adelikat 2014-12-04 02:12:57 +00:00
parent 7f9adc0c1d
commit 529591ce2d
10 changed files with 11 additions and 11 deletions

View File

@ -32,8 +32,8 @@ namespace BizHawk.Client.EmuHawk
.GetAssembly(typeof(IEmulator)) .GetAssembly(typeof(IEmulator))
.GetTypes() .GetTypes()
.Where(t => t.IsInterface) .Where(t => t.IsInterface)
.Where(t => typeof(ICoreService).IsAssignableFrom(t)) .Where(t => typeof(IEmulatorService).IsAssignableFrom(t))
.Where(t => t != typeof(ICoreService)) .Where(t => t != typeof(IEmulatorService))
.ToList(); .ToList();
var cores = Assembly var cores = Assembly

View File

@ -65,9 +65,9 @@
<Compile Include="Extensions.cs" /> <Compile Include="Extensions.cs" />
<Compile Include="Interfaces\IController.cs" /> <Compile Include="Interfaces\IController.cs" />
<Compile Include="Interfaces\ICoreFileProvider.cs" /> <Compile Include="Interfaces\ICoreFileProvider.cs" />
<Compile Include="Interfaces\ICoreService.cs" />
<Compile Include="Interfaces\IDebuggable.cs" /> <Compile Include="Interfaces\IDebuggable.cs" />
<Compile Include="Interfaces\IEmulator.cs" /> <Compile Include="Interfaces\IEmulator.cs" />
<Compile Include="Interfaces\IEmulatorService.cs" />
<Compile Include="Interfaces\IInputCallbackSystem.cs" /> <Compile Include="Interfaces\IInputCallbackSystem.cs" />
<Compile Include="Interfaces\IInputPollable.cs" /> <Compile Include="Interfaces\IInputPollable.cs" />
<Compile Include="Interfaces\IMemoryDomains.cs" /> <Compile Include="Interfaces\IMemoryDomains.cs" />

View File

@ -2,7 +2,7 @@
namespace BizHawk.Emulation.Common namespace BizHawk.Emulation.Common
{ {
public interface IDebuggable : IEmulator, ICoreService public interface IDebuggable : IEmulator, IEmulatorService
{ {
/// <summary> /// <summary>
/// Returns a list of Cpu registers and their current state /// Returns a list of Cpu registers and their current state

View File

@ -4,7 +4,7 @@ using System.IO;
namespace BizHawk.Emulation.Common namespace BizHawk.Emulation.Common
{ {
public interface IEmulator : ICoreService, IDisposable public interface IEmulator : IEmulatorService, IDisposable
{ {
/// <summary> /// <summary>
/// Video provider to the client /// Video provider to the client

View File

@ -9,7 +9,7 @@ namespace BizHawk.Emulation.Common
/// but is an optional part of the core functionality /// but is an optional part of the core functionality
/// Clients should gracefully handle an IEmulator that has a missing or partial implementation of one of these services /// Clients should gracefully handle an IEmulator that has a missing or partial implementation of one of these services
/// </summary> /// </summary>
public interface ICoreService public interface IEmulatorService
{ {
} }

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Common namespace BizHawk.Emulation.Common
{ {
public interface IInputPollable : ICoreService, IEmulator public interface IInputPollable : IEmulatorService, IEmulator
{ {
/// <summary> /// <summary>
/// The lag count. /// The lag count.

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Common namespace BizHawk.Emulation.Common
{ {
public interface IMemoryDomains : IEmulator, ICoreService public interface IMemoryDomains : IEmulator, IEmulatorService
{ {
///The list of all avaialble memory domains ///The list of all avaialble memory domains
/// A memory domain is a byte array that respresents a distinct part of the emulated system. /// A memory domain is a byte array that respresents a distinct part of the emulated system.

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Common namespace BizHawk.Emulation.Common
{ {
public interface ISaveRam : IEmulator, ICoreService public interface ISaveRam : IEmulator, IEmulatorService
{ {
/// <summary> /// <summary>
/// return a copy of the saveram. editing it won't do you any good unless you later call StoreSaveRam() /// return a copy of the saveram. editing it won't do you any good unless you later call StoreSaveRam()

View File

@ -90,7 +90,7 @@ namespace BizHawk.Emulation.Common
} }
} }
public interface ISettable<TSettings, TSync> : IEmulator, ICoreService public interface ISettable<TSettings, TSync> : IEmulator, IEmulatorService
{ {
// in addition to these methods, it's expected that the constructor or Load() method // in addition to these methods, it's expected that the constructor or Load() method
// will take a Settings and SyncSettings object to set the initial state of the core // will take a Settings and SyncSettings object to set the initial state of the core

View File

@ -5,7 +5,7 @@ namespace BizHawk.Emulation.Common
/// <summary> /// <summary>
/// Savestate handling methods /// Savestate handling methods
/// </summary> /// </summary>
public interface IStatable : ICoreService, IEmulator public interface IStatable : IEmulatorService, IEmulator
{ {
void SaveStateText(TextWriter writer); void SaveStateText(TextWriter writer);
void LoadStateText(TextReader reader); void LoadStateText(TextReader reader);