mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Move DiscIO enums to a new file
At first there weren't many enums in Volume.h, but the number has been growing, and I'm planning to add one more for regions. To not make Volume.h too large, and to avoid needing to include Volume.h in code that doesn't use volume objects, I'm moving the enums to a new file. I'm also turning them into enum classes while I'm at it.
This commit is contained in:
@ -17,7 +17,6 @@
|
||||
#include "Core/ActionReplay.h"
|
||||
#include "DiscIO/Filesystem.h"
|
||||
#include "DiscIO/Volume.h"
|
||||
#include "DiscIO/VolumeCreator.h"
|
||||
#include "DolphinWX/ARCodeAddEdit.h"
|
||||
#include "DolphinWX/ISOFile.h"
|
||||
#include "DolphinWX/PatchAddEdit.h"
|
||||
@ -35,7 +34,7 @@ class wxTreeCtrl;
|
||||
|
||||
namespace DiscIO
|
||||
{
|
||||
struct SFileInfo;
|
||||
enum class Language;
|
||||
}
|
||||
namespace Gecko
|
||||
{
|
||||
@ -242,7 +241,7 @@ private:
|
||||
void PatchList_Save();
|
||||
void ActionReplayList_Load();
|
||||
void ActionReplayList_Save();
|
||||
void ChangeBannerDetails(DiscIO::IVolume::ELanguage language);
|
||||
void ChangeBannerDetails(DiscIO::Language language);
|
||||
|
||||
long GetElementStyle(const char* section, const char* key);
|
||||
void SetCheckboxValueFromGameini(const char* section, const char* key, wxCheckBox* checkbox);
|
||||
|
Reference in New Issue
Block a user