summaryrefslogtreecommitdiff
path: root/src/profile.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/profile.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/profile.h')
-rw-r--r--src/profile.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/profile.h b/src/profile.h
index aa27d6e8..34efd4b2 100644
--- a/src/profile.h
+++ b/src/profile.h
@@ -31,6 +31,10 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include <tuple>
+namespace MOBase {
+ class IPluginGame;
+}
+
/**
* @brief represents a profile
**/
@@ -59,7 +63,7 @@ public:
* @param name name of the new profile
* @param filter save game filter. Defaults to &lt;no filter&gt;.
**/
- Profile(const QString &name, bool useDefaultSettings);
+ Profile(const QString &name, MOBase::IPluginGame *gamePlugin, bool useDefaultSettings);
/**
* @brief constructor
*
@@ -68,7 +72,7 @@ public:
* invoking this should always produce a working profile
* @param directory directory to read the profile from
**/
- Profile(const QDir &directory);
+ Profile(const QDir &directory, MOBase::IPluginGame *gamePlugin);
Profile(const Profile &reference);
@@ -83,13 +87,7 @@ public:
* @param name of the new profile
* @param reference profile to copy from
**/
- static Profile createFrom(const QString &name, const Profile &reference);
-
- /**
- * @param name of the new profile
- * @param reference profile to copy from
- **/
- static Profile *createPtrFrom(const QString &name, const Profile &reference);
+ static Profile *createPtrFrom(const QString &name, const Profile &reference, MOBase::IPluginGame *gamePlugin);
/**
* @brief write out the modlist.txt