JpgSubFile.h 762 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // Created by Иван_Архипов on 24.11.2017.
  3. //
  4. #ifndef LOTRO_DAT_LIBRARY_JPGSUBFILE_H
  5. #define LOTRO_DAT_LIBRARY_JPGSUBFILE_H
  6. #include "SubFile.h"
  7. namespace LOTRO_DAT {
  8. class JpgSubFile : public SubFile {
  9. public:
  10. JpgSubFile() = delete;
  11. explicit JpgSubFile(const JpgSubFile &other) = delete;
  12. JpgSubFile &operator =(const JpgSubFile &other) = delete;
  13. JpgSubFile(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_JPGSUBFILE_H