summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Input.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/Input.h b/include/Input.h
index 0b074b2..181bf21 100644
--- a/include/Input.h
+++ b/include/Input.h
@@ -54,12 +54,14 @@ extern Stdin_t Stdin;
class Archive : public Base {
public:
- Archive(const String &, int = 0) throw (GeneralException);
+ Archive(const String &, int = 0);
+ Archive(Handle *, int = 0);
virtual ~Archive();
protected:
static bool inarchive(const String &);
static int open(const String &, Input::openresults_t *) throw (GeneralException);
private:
+ void create() throw (GeneralException);
bool inarchivein(const String &);
int openin(const String &, Input::openresults_t *) throw (GeneralException);
class FileTree : public Base {
@@ -80,7 +82,7 @@ class Archive : public Base {
FileTree * next, * prev, * father, * child;
} filetree;
String name;
- Input archive;
+ Handle * archive;
int type;
Archive * next, * prev;
static Archive * header;