summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2003-10-10 02:58:57 +0000
committerpixel <pixel>2003-10-10 02:58:57 +0000
commit0c065d346b2555943540091651236ff802d720eb (patch)
tree3bb706bd42a26758660db509f1c672720d8bb6ac /include
parentf6b0d98583b4b7465253e2416c6faf60ecc34627 (diff)
Adding support for NPAQ archives in (wow) PE files.
Diffstat (limited to 'include')
-rw-r--r--include/Input.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/Input.h b/include/Input.h
index 181bf21..18173d2 100644
--- a/include/Input.h
+++ b/include/Input.h
@@ -7,7 +7,8 @@
#include <Handle.h>
enum ArchiveType {
- ARCHIVE_BUILTIN = 0
+ ARCHIVE_BUILTIN = 0,
+ ARCHIVE_EXECUTABLE
};
class Input : public Handle {
@@ -54,8 +55,8 @@ extern Stdin_t Stdin;
class Archive : public Base {
public:
- Archive(const String &, int = 0);
- Archive(Handle *, int = 0);
+ Archive(const String &, int = ARCHIVE_BUILTIN);
+ Archive(Handle *, int = ARCHIVE_BUILTIN);
virtual ~Archive();
protected:
static bool inarchive(const String &);