summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-05-12 19:00:41 +0200
committerTannin <devnull@localhost>2015-05-12 19:00:41 +0200
commit4c1155a6ab2d81ceeab5af78e20873917f3072d0 (patch)
treeac93d8d32ff4d50c96eb97e73b44a445de0270f5 /src/settings.h
parent90365041f463f6c062b154e94fedbf75f96fb880 (diff)
parentcd68c9d53c75761a3766f93d4c6bbe3015cb89ce (diff)
Merge
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;