summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-01-06 19:31:53 +0100
committerTannin <devnull@localhost>2015-01-06 19:31:53 +0100
commit9edc39633b82b5e02d33c4b0a395fe110af28eb4 (patch)
tree90d627525292cb87f3d4b7330b1847a17b568b61 /src/settings.h
parentb415db619ed027ec2acd283983624293274b090f (diff)
- bugfixes
- moved more functionality to game-plugins - further decoupled management functionality from the UI - created another "tutorial" which is only a single page with relevant parts of the ui highlighted with info as tooltips
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
index cea4729a..51e109c4 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -29,6 +29,11 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include <QComboBox>
+namespace MOBase {
+ class IPluginGame;
+}
+
+
/**
* manages the settings for Mod Organizer. The settings are not cached
* inside the class but read/written directly from/to disc
@@ -272,6 +277,11 @@ public:
* even if the user said earlier not to
*/
void registerAsNXMHandler(bool force);
+
+public slots:
+
+ void managedGameChanged(MOBase::IPluginGame *gamePlugin);
+
private:
QString obfuscate(const QString &password) const;
@@ -296,6 +306,8 @@ private:
static Settings *s_Instance;
+ MOBase::IPluginGame *m_GamePlugin;
+
QSettings m_Settings;
LoadMechanism m_LoadMechanism;