Created '*_data.cpp' files, modified API files a bit

This commit is contained in:
Kayne Ruse
2014-11-06 01:54:20 +11:00
parent daa38413f3
commit f2d79225a3
15 changed files with 268 additions and 40 deletions
+8 -8
View File
@@ -30,17 +30,17 @@ public:
~AccountData() = default;
//accessors and mutators
int SetClientIndex(int i) { return clientIndex = i; }
int GetClientIndex() { return clientIndex; }
int SetClientIndex(int i);
int GetClientIndex();
std::string SetUsername(std::string s) { return username = s; }
std::string GetUsername() { return username; }
std::string SetUsername(std::string s);
std::string GetUsername();
//database stuff
bool GetBlackListed() { return blackListed; }
bool GetWhiteListed() { return whiteListed; }
bool GetModerator() { return mod; }
bool GetAdministrator() { return admin; }
bool GetBlackListed();
bool GetWhiteListed();
bool GetModerator();
bool GetAdministrator();
private:
friend class AccountManager;