summaryrefslogtreecommitdiffstats
path: root/src/app/system.h
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2013-03-27 10:20:06 +0100
committerDidier Raboud <odyx@debian.org>2013-03-27 10:20:06 +0100
commit991dbd1e37366b43b790740beb2fef755c56dcba (patch)
tree5491e5177e10ab998c3d928a9d5aa4722c50c017 /src/app/system.h
parentdf5edc703c7241279116d2bbfe08351d0c3c2a4b (diff)
downloadcolobot-991dbd1e37366b43b790740beb2fef755c56dcba.tar.gz
colobot-991dbd1e37366b43b790740beb2fef755c56dcba.tar.bz2
colobot-991dbd1e37366b43b790740beb2fef755c56dcba.zip
Add profile and savegame fetchers in SystemUtils
This breaks the tests compilation. :/
Diffstat (limited to 'src/app/system.h')
-rw-r--r--src/app/system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app/system.h b/src/app/system.h
index 278a4bf..6ae05d6 100644
--- a/src/app/system.h
+++ b/src/app/system.h
@@ -129,6 +129,12 @@ public:
//! Returns the exact (in nanosecond units) difference between two timestamps
/** The difference is \a after - \a before. */
virtual long long TimeStampExactDiff(SystemTimeStamp *before, SystemTimeStamp *after) = 0;
+
+ //! Returns the profile (colobot.ini) file location
+ virtual std::string profileFileLocation();
+
+ //! Returns the savegame directory location
+ virtual std::string savegameDirectoryLocation();
};
//! Global function to get CSystemUtils instance