NWC24Config: Move array length constants into the private part of the class

These are only used internally and not intended to be used outside of
the class itself.
This commit is contained in:
Lioncash 2021-08-24 08:04:27 -04:00
parent bc939df69c
commit a60af199d8
1 changed files with 8 additions and 8 deletions

View File

@ -35,14 +35,6 @@ enum class NWC24CreationStage : u32
class NWC24Config final
{
public:
enum
{
URL_COUNT = 0x05,
MAX_URL_LENGTH = 0x80,
MAX_EMAIL_LENGTH = 0x40,
MAX_PASSWORD_LENGTH = 0x20,
};
explicit NWC24Config(std::shared_ptr<FS::FileSystem> fs);
void ReadConfig();
@ -82,6 +74,14 @@ public:
void SetEmail(const char* email);
private:
enum
{
URL_COUNT = 0x05,
MAX_URL_LENGTH = 0x80,
MAX_EMAIL_LENGTH = 0x40,
MAX_PASSWORD_LENGTH = 0x20,
};
#pragma pack(push, 1)
struct ConfigData final
{