summaryrefslogtreecommitdiff
path: root/src/apiuseraccount.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/apiuseraccount.h')
-rw-r--r--src/apiuseraccount.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/apiuseraccount.h b/src/apiuseraccount.h
index 7dd16128..ea4e8685 100644
--- a/src/apiuseraccount.h
+++ b/src/apiuseraccount.h
@@ -18,6 +18,8 @@ enum class APIUserAccountTypes
Premium
};
+QString localizedUserAccountType(APIUserAccountTypes t);
+
/**
* current limits imposed on the user account
@@ -62,6 +64,11 @@ public:
/**
+ * whether the user is logged in
+ */
+ bool isValid() const;
+
+ /**
* api key
*/
const QString& apiKey() const;
@@ -134,7 +141,6 @@ private:
QString m_key, m_id, m_name;
APIUserAccountTypes m_type;
APILimits m_limits;
- APIStats m_stats;
};
#endif // APIUSERACCOUNT_H