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:
Lioncash
2016-09-30 00:16:14 -04:00
parent 74290e873a
commit 3ef6b51848
2 changed files with 22 additions and 18 deletions

View File

@ -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; }