From 0894358d10a8016fed253b9c9d3ff7e905b81def Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 9 Oct 2003 10:25:16 +0000 Subject: Switched Archives "archive" to use "Handle *" instead of "Input" --- include/Input.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') 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; -- cgit v1.2.3