summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorTom Tanner <thosrtanner2@users.sourceforge.net>2015-05-09 18:10:38 +0100
committerTom Tanner <thosrtanner2@users.sourceforge.net>2015-05-09 18:10:38 +0100
commitffb470a38035b2eb2cf63909572e8d56082dc83b (patch)
treea52eadbd4c5a68a553eb0fa998e3cb2750d738fb /src/settings.h
parent1403d51a82fa4c7548e21d7411486244881bc8d8 (diff)
Add in a tab to allow saving of steam username and password.
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
index 51e109c4..0818c2fb 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -143,6 +143,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
*/
bool offlineMode() const;
@@ -171,6 +180,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
**/
LoadMechanism::EMechanism getLoadMechanism() const;