Updated ClientID Functionality

ClientID is now generated on startup and stored in settings cache.  Then
upon connect there is a new SrvClientID generated from the ClientID +
servername being connected to
This commit is contained in:
woogerboy21 2016-03-29 17:05:25 -04:00
parent 3c58003a3d
commit ee849f6379
3 changed files with 13 additions and 5 deletions

View file

@ -176,7 +176,8 @@ public:
bool getRememberGameSettings() const { return rememberGameSettings; }
int getKeepAlive() const { return keepalive; }
void setClientID(QString clientID);
QString getClientID() { return clientID; }
QString getClientID() { return clientID; }
QString getSrvClientID(const QString _hostname);
ShortcutsSettings& shortcuts() const { return *shortcutsSettings; }
CardDatabaseSettings& cardDatabase() const { return *cardDatabaseSettings; }
ServersSettings& servers() const { return *serversSettings; }