JpgSubfile.h 869 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 "../../include/Subfile.h"
  7. namespace LOTRO_DAT {
  8. class JpgSubfile : public Subfile {
  9. public:
  10. JpgSubfile();
  11. JpgSubfile(DatFile *dat, long long dictionary_offset, long long fragments_count, long long unknown1,
  12. long long file_id, long long file_offset, long long file_size, long long timestamp,
  13. long long version, long long block_size);
  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