mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
RegisterView: Move FormatSpecifier enum into CRegTable
Considering there's a public method in the class using it, leaving the definition in the cpp file can cause a linker error if any method outside that cpp file calls it for one reason or another.
This commit is contained in:
@ -28,11 +28,19 @@
|
||||
|
||||
#define NUM_SPECIALS 14
|
||||
|
||||
enum class FormatSpecifier;
|
||||
|
||||
class CRegTable : public wxGridTableBase
|
||||
{
|
||||
public:
|
||||
enum class FormatSpecifier
|
||||
{
|
||||
Hex8,
|
||||
Hex16,
|
||||
Float,
|
||||
Double,
|
||||
UInt,
|
||||
Int
|
||||
};
|
||||
|
||||
CRegTable();
|
||||
int GetNumberCols() override { return 9; }
|
||||
int GetNumberRows() override { return 32 + NUM_SPECIALS; }
|
||||
|
Reference in New Issue
Block a user