From 17ad3e5a906c59e8d108b75a6d51cc7528dfa44d Mon Sep 17 00:00:00 2001 From: Didier 'OdyX' Raboud Date: Thu, 31 Oct 2013 10:08:32 +0100 Subject: Abstract the definition of DataPath to CSystemUtils --- src/app/system.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/app/system.h') diff --git a/src/app/system.h b/src/app/system.h index d22a519..c357bff 100644 --- a/src/app/system.h +++ b/src/app/system.h @@ -130,6 +130,9 @@ public: /** The difference is \a after - \a before. */ virtual long long TimeStampExactDiff(SystemTimeStamp *before, SystemTimeStamp *after) = 0; + //! Returns the data path (containing textures, levels, helpfiles, etc) + virtual std::string GetDataPath(); + //! Returns the profile (colobot.ini) file location virtual std::string GetProfileFileLocation(); -- cgit v1.2.3-1-g7c22