diff options
author | vng <viktor.govako@gmail.com> | 2011-06-25 15:56:18 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:19:56 +0300 |
commit | f54f8e81b867b43d86048554659799492d43fce6 (patch) | |
tree | 6e5156ac976c1b5873365183cdaf605f99b629cb /coding/file_writer.hpp | |
parent | 6cdbf3f05d387ae21aa3ed4feade6a096df449d9 (diff) |
[Refactoring] Carry out file api to coding/internal/file_data.hpp.
Diffstat (limited to 'coding/file_writer.hpp')
-rw-r--r-- | coding/file_writer.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/coding/file_writer.hpp b/coding/file_writer.hpp index 7ddfb40572..0c1b9302b8 100644 --- a/coding/file_writer.hpp +++ b/coding/file_writer.hpp @@ -3,7 +3,7 @@ #include "../base/base.hpp" #include "../std/scoped_ptr.hpp" -class FileData; +namespace my { class FileData; } // FileWriter, not thread safe. class FileWriter : public Writer @@ -36,10 +36,11 @@ public: uint64_t Size() const; void Flush(); - string GetName() const; + static void DeleteFileX(string const & fName); - static void DeleteFileX(string const & fileName); + string GetName() const; private: - scoped_ptr<FileData> m_pFileData; + typedef my::FileData fdata_t; + scoped_ptr<fdata_t> m_pFileData; }; |