1
0

unancient.h 634 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * ununancient.h
  3. * -------------
  4. * Purpose: Header file extracting modules from compressed files supported by libancient
  5. * Notes : (currently none)
  6. * Authors: OpenMPT Devs
  7. * The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
  8. */
  9. #pragma once
  10. #include "openmpt/all/BuildSettings.hpp"
  11. #include "archive.h"
  12. OPENMPT_NAMESPACE_BEGIN
  13. #ifdef MPT_WITH_ANCIENT
  14. class CAncientArchive
  15. : public ArchiveBase
  16. {
  17. public:
  18. CAncientArchive(FileReader &file);
  19. virtual ~CAncientArchive();
  20. public:
  21. bool ExtractFile(std::size_t index) override;
  22. };
  23. #endif // MPT_WITH_ANCIENT
  24. OPENMPT_NAMESPACE_END