summaryrefslogtreecommitdiff
path: root/src/profile.h
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-12-13 18:30:40 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-12-13 18:30:40 +0000
commitba176e5e9b639ac0770192987833a3b40e71409a (patch)
tree2c1a82d3fcede23e82bddf5b31768e03982d8950 /src/profile.h
parentc344714661a2404a54428439f0cf7dbb1573d01f (diff)
Remove dependency of TransferSave on SaveGameBryo, part of fix for #418
Added a method to Profile class to get location of save games for the profile. I haven't added this to IProfile as am in two minds. Aside from this have done cleanups of issues suggested by include-what-you-use, and some OCD sorting of #includes
Diffstat (limited to 'src/profile.h')
-rw-r--r--src/profile.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/profile.h b/src/profile.h
index e33ac674..39e8ff5f 100644
--- a/src/profile.h
+++ b/src/profile.h
@@ -25,12 +25,16 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include <iprofile.h>
#include <delayedfilewriter.h>
-#include <QString>
+#include <QByteArray>
#include <QDir>
-#include <QSettings>
+#include <QObject>
+#include <QString>
-#include <vector>
+#include <boost/shared_ptr.hpp>
+
+#include <string>
#include <tuple>
+#include <vector>
namespace MOBase { class IPluginGame; }
@@ -172,6 +176,15 @@ public:
**/
QString absolutePath() const;
+ /**
+ * @return path to this profile's save games
+ **/
+ QString savePath() const;
+
+ /**
+ * @brief rename profile
+ * @param newName new name of profile
+ */
void rename(const QString &newName);
/**