UnknownSubFile.h 806 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // Created by Иван_Архипов on 24.11.2017.
  3. //
  4. #ifndef LOTRO_DAT_LIBRARY_UNKNOWNSUBFILE_H
  5. #define LOTRO_DAT_LIBRARY_UNKNOWNSUBFILE_H
  6. #include "../SubFile.h"
  7. namespace LOTRO_DAT {
  8. class UnknownSubFile : public SubFile {
  9. public:
  10. UnknownSubFile() = delete;
  11. explicit UnknownSubFile(const UnknownSubFile &other) = delete;
  12. SubFile &operator =(const UnknownSubFile &other) = delete;
  13. explicit UnknownSubFile(SubFile preinit_file);
  14. FILE_TYPE FileType() const override;
  15. std::string Extension() const override;
  16. SubfileData PrepareForExport(const BinaryData &file_data) override;
  17. BinaryData MakeForImport(const BinaryData &old_data, const SubfileData &data) override;
  18. };
  19. };
  20. #endif //LOTRO_DAT_LIBRARY_UNKNOWNSUBFILE_H