summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorTom Tanner <thosrtanner2@users.sourceforge.net>2015-05-10 12:35:52 +0100
committerTom Tanner <thosrtanner2@users.sourceforge.net>2015-05-10 12:35:52 +0100
commitcd68c9d53c75761a3766f93d4c6bbe3015cb89ce (patch)
tree68d329b8e7261648118401d13d728cb0313fac60 /src/settings.h
parent65b64d111bd7926c995d64d4257162d84e75b86e (diff)
parentffb470a38035b2eb2cf63909572e8d56082dc83b (diff)
Merge from master
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;