summaryrefslogtreecommitdiffstats
path: root/libinstance/include
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-02-25 14:44:36 -0600
committerAndrew <forkk@forkk.net>2013-02-25 14:44:36 -0600
commit4ca35a760dfc53fd69f0f2030868ebeda250ed59 (patch)
tree1fa312da2d051676830e222b3959a100a2fa6e05 /libinstance/include
parentb56b819c35843db0d135a5bbbee5fc9916bd06df (diff)
downloadMultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.tar
MultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.tar.gz
MultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.tar.lz
MultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.tar.xz
MultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.zip
Fixed a lot of MSVC problems
Diffstat (limited to 'libinstance/include')
-rw-r--r--libinstance/include/instance.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libinstance/include/instance.h b/libinstance/include/instance.h
index fcf5fa97..5a9a7b02 100644
--- a/libinstance/include/instance.h
+++ b/libinstance/include/instance.h
@@ -19,6 +19,8 @@
#include <QObject>
#include <QDateTime>
+#include <settingsobject.h>
+
#include "inifile.h"
#include "libinstance_config.h"
@@ -280,6 +282,16 @@ public:
*/
virtual void updateCurrentVersion(bool keepCurrent = false) = 0;
+
+ //// Settings System ////
+
+ /*!
+ * \brief Gets this instance's settings object.
+ * This settings object stores instance-specific settings.
+ * \return A pointer to this instance's settings object.
+ */
+ virtual SettingsObject &settings();
+
protected:
/*!
* \brief Gets the value of the given field in the instance's config file.