Skip to content

Commit

Permalink
NWC24Config: Move array length constants into the private part of the…
Browse files Browse the repository at this point in the history
… class

These are only used internally and not intended to be used outside of
the class itself.
  • Loading branch information
lioncash committed Aug 24, 2021
1 parent bc939df commit a60af19
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Source/Core/Core/IOS/Network/KD/NWC24Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -82,6 +74,14 @@ class NWC24Config final
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
{
Expand Down

0 comments on commit a60af19

Please sign in to comment.