| 175 | virtual void EndFileImpl(const FileMode mode) = 0; |
| 176 | |
| 177 | inline bool HasStartedFile() { |
| 178 | return this->started_file_mode != FileMode::None; |
| 179 | } |
| 180 | |
| 181 | void StartFile(const std::string &path, const FileMode mode) { |
| 182 | if(!this->HasStartedFile()) { |