summaryrefslogtreecommitdiff
path: root/src/profilesdialog.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/profilesdialog.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/profilesdialog.h')
-rw-r--r--src/profilesdialog.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/profilesdialog.h b/src/profilesdialog.h
index 905d49b1..18b3932f 100644
--- a/src/profilesdialog.h
+++ b/src/profilesdialog.h
@@ -29,6 +29,10 @@ namespace Ui {
class ProfilesDialog;
}
+namespace MOBase {
+ class IPluginGame;
+}
+
/**
* @brief Dialog that can be used to create/delete/modify profiles
@@ -46,7 +50,7 @@ public:
* @param parent parent widget
* @todo the game path could be retrieved from GameInfo just as easily
**/
- explicit ProfilesDialog(const QString &gamePath, QWidget *parent = 0);
+ explicit ProfilesDialog(const QString &gamePath, MOBase::IPluginGame *gamePlugin, QWidget *parent = 0);
~ProfilesDialog();
/**
@@ -87,6 +91,7 @@ private slots:
private:
Ui::ProfilesDialog *ui;
+ MOBase::IPluginGame *m_GamePlugin;
QString m_GamePath;
QListWidget *m_ProfilesList;
bool m_FailState;