mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
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:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user