From ffb470a38035b2eb2cf63909572e8d56082dc83b Mon Sep 17 00:00:00 2001 From: Tom Tanner Date: Sat, 9 May 2015 18:10:38 +0100 Subject: Add in a tab to allow saving of steam username and password. --- src/settings.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/settings.h') diff --git a/src/settings.h b/src/settings.h index 51e109c4..0818c2fb 100644 --- a/src/settings.h +++ b/src/settings.h @@ -142,6 +142,15 @@ public: **/ bool getNexusLogin(QString &username, QString &password) const; + /** + * @brief retrieve the login information for steam + * + * @param username (out) receives the user name for nexus + * @param password (out) received the password for nexus + * @return true if a username has been specified, false otherwise + **/ + bool getSteamLogin(QString &username, QString &password) const; + /** * @return true if the user disabled internet features */ @@ -170,6 +179,14 @@ public: */ void setNexusLogin(QString username, QString password); + /** + * @brief set the steam login information + * + * @param username username + * @param password password + */ + void setSteamLogin(QString username, QString password); + /** * @return the load mechanism to be used **/ -- cgit v1.3.1