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:
parent
bc939df69c
commit
a60af199d8
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue