diff options
author | vng <viktor.govako@gmail.com> | 2011-06-25 22:20:13 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:20:02 +0300 |
commit | 338984fd5a501ce696091daa4cfc0d93621ed20d (patch) | |
tree | 9240d8347d0719a3e19a5c10f8318d34657957cd /platform/platform.hpp | |
parent | f0f32767ff693ace6e1b5eb47c7955be2ae51be6 (diff) |
[Refactoring]
- Add more file api;
- IsBenchmark check in settings.ini;
- Platform::GetFilesInDir has posix realization now in BasePlatformImpl;
- IPhonePlatform fixes;
Diffstat (limited to 'platform/platform.hpp')
-rw-r--r-- | platform/platform.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/platform.hpp b/platform/platform.hpp index ac5184edb5..593ec07ff3 100644 --- a/platform/platform.hpp +++ b/platform/platform.hpp @@ -8,6 +8,7 @@ DECLARE_EXCEPTION(FileAbsentException, RootException); +DECLARE_EXCEPTION(NotImplementedException, RootException); class Platform @@ -84,8 +85,9 @@ public: virtual string ResourcesDir() const { return m_resourcesDir; } virtual string ReadPathForFile(string const & file) const; + virtual void GetFilesInDir(string const & directory, string const & mask, FilesList & res) const; virtual bool GetFileSize(string const & file, uint64_t & size) const; - + virtual bool RenameFileX(string const & fOld, string const & fNew) const; virtual void GetFontNames(FilesList & res) const; virtual double VisualScale() const; |