diff options
author | vng <viktor.govako@gmail.com> | 2012-05-08 14:11:13 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:38:06 +0300 |
commit | 8d3730c562ebc893931a784927f71d4065da54ec (patch) | |
tree | 8ceea721736f9ae7a4221680df6fb8930c458636 /coding/file_container.hpp | |
parent | d84d08fc223e025da56265e167a515500b5782ad (diff) |
Add "delete_section" to generator_tool.
Diffstat (limited to 'coding/file_container.hpp')
-rw-r--r-- | coding/file_container.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coding/file_container.hpp b/coding/file_container.hpp index 7478d1888e..7dd669cdb3 100644 --- a/coding/file_container.hpp +++ b/coding/file_container.hpp @@ -120,6 +120,10 @@ public: void Finish(); + /// Delete section with rewriting file. + /// @precondition Container should be opened with FileWriter::OP_WRITE_EXISTING. + void DeleteSection(Tag const & tag); + private: uint64_t SaveCurrentSize(); |