aboutsummaryrefslogtreecommitdiff
path: root/Src/external_dependencies/openmpt-trunk/unarchiver/unancient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/external_dependencies/openmpt-trunk/unarchiver/unancient.h')
-rw-r--r--Src/external_dependencies/openmpt-trunk/unarchiver/unancient.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/Src/external_dependencies/openmpt-trunk/unarchiver/unancient.h b/Src/external_dependencies/openmpt-trunk/unarchiver/unancient.h
new file mode 100644
index 00000000..dff2e944
--- /dev/null
+++ b/Src/external_dependencies/openmpt-trunk/unarchiver/unancient.h
@@ -0,0 +1,32 @@
+/*
+ * ununancient.h
+ * -------------
+ * Purpose: Header file extracting modules from compressed files supported by libancient
+ * Notes : (currently none)
+ * Authors: OpenMPT Devs
+ * The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
+ */
+
+#pragma once
+
+#include "openmpt/all/BuildSettings.hpp"
+
+#include "archive.h"
+
+OPENMPT_NAMESPACE_BEGIN
+
+#ifdef MPT_WITH_ANCIENT
+
+class CAncientArchive
+ : public ArchiveBase
+{
+public:
+ CAncientArchive(FileReader &file);
+ virtual ~CAncientArchive();
+public:
+ bool ExtractFile(std::size_t index) override;
+};
+
+#endif // MPT_WITH_ANCIENT
+
+OPENMPT_NAMESPACE_END