Skip to content

Commit eb950a5

Browse files
committed
Refactor IMainFormForRetroAchievements
1 parent f902c10 commit eb950a5

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

src/BizHawk.Client.EmuHawk/IMainFormForTools.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public interface IMainFormForTools : IDialogController
1212
/// <remarks>referenced by 3 or more tools</remarks>
1313
string CurrentlyOpenRom { get; }
1414

15-
/// <remarks>only referenced from <see cref="HexEditor"/></remarks>
15+
/// <remarks>referenced from <see cref="HexEditor"/> and RetroAchievements</remarks>
1616
LoadRomArgs CurrentlyOpenRomArgs { get; }
1717

1818
/// <remarks>only referenced from <see cref="TAStudio"/></remarks>
@@ -54,7 +54,7 @@ public interface IMainFormForTools : IDialogController
5454
/// <remarks>only referenced from <see cref="BasicBot"/></remarks>
5555
bool LoadQuickSave(int slot, bool suppressOSD = false);
5656

57-
/// <remarks>only referenced from <see cref="MultiDiskBundler"/></remarks>
57+
/// <remarks>referenced from <see cref="MultiDiskBundler"/> and RetroAchievements</remarks>
5858
bool LoadRom(string path, LoadRomArgs args);
5959

6060
/// <remarks>only referenced from <see cref="BookmarksBranchesBox"/></remarks>
@@ -96,7 +96,7 @@ public interface IMainFormForTools : IDialogController
9696
/// <remarks>only referenced from <see cref="BookmarksBranchesBox"/></remarks>
9797
void UpdateStatusSlots();
9898

99-
/// <remarks>only referenced from <see cref="TAStudio"/></remarks>
99+
/// <remarks>referenced from <see cref="TAStudio"/> and RetroAchievements</remarks>
100100
void UpdateWindowTitle();
101101
}
102102
}

src/BizHawk.Client.EmuHawk/RetroAchievements/IMainFormForRetroAchievements.cs

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,16 @@
33

44
namespace BizHawk.Client.EmuHawk
55
{
6-
public interface IMainFormForRetroAchievements
6+
public interface IMainFormForRetroAchievements : IMainFormForTools
77
{
8-
LoadRomArgs CurrentlyOpenRomArgs { get; }
9-
108
IEmulator Emulator { get; }
119

1210
bool FrameInch { get; set; }
1311

14-
bool FastForward { get; set; }
12+
bool FastForward { get; }
1513

1614
GameInfo Game { get; }
1715

18-
CheatCollection CheatList { get; }
19-
2016
IMovieSession MovieSession { get; }
2117

2218
FirmwareManager FirmwareManager { get; }
@@ -25,14 +21,6 @@ public interface IMainFormForRetroAchievements
2521

2622
SettingsAdapter GetSettingsAdapterForLoadedCoreUntyped();
2723

28-
bool LoadRom(string path, LoadRomArgs args);
29-
30-
void PauseEmulator();
31-
3224
bool RebootCore();
33-
34-
void UpdateWindowTitle();
35-
36-
void UnpauseEmulator();
3725
}
3826
}

0 commit comments

Comments
 (0)