summaryrefslogtreecommitdiff
path: root/src/profilesdialog.h
diff options
context:
space:
mode:
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;