summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-08-17 07:42:37 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-08-17 07:42:37 -0400
commitd9cb15f1d117b91f0d75c1b7702696f7da93d3d2 (patch)
tree7f1a242efb2dc56265edd4f72552695f46dc944c /src/settings.h
parent965eccb328a0a2b0cb4d1945a0382df9f0f91147 (diff)
put endorsement state and first start in settings
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
index 1b6616a0..167c74fc 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -91,6 +91,13 @@ private:
};
+enum class EndorsementState
+{
+ Accepted = 1,
+ Refused,
+ NoDecision
+};
+
/**
* manages the settings for Mod Organizer. The settings are not cached
* inside the class but read/written directly from/to disc
@@ -205,7 +212,9 @@ public:
std::optional<bool> getUseProxy() const;
std::optional<QVersionNumber> getVersion() const;
+
bool getFirstStart() const;
+ void setFirstStart(bool b);
std::optional<QColor> getPreviousSeparatorColor() const;
void setPreviousSeparatorColor(const QColor& c) const;
@@ -354,6 +363,8 @@ public:
*/
bool endorsementIntegration() const;
+ EndorsementState endorsementState() const;
+
/**
* @return true if the API counter should be hidden
*/