summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2003-10-09 10:25:16 +0000
committerpixel <pixel>2003-10-09 10:25:16 +0000
commit0894358d10a8016fed253b9c9d3ff7e905b81def (patch)
tree5e7269ed688448b082013c63131c0c97a0e00a6e /include
parentd2ea5b4ea490388ea5fb5cc7a54bafd464d13243 (diff)
Switched Archives "archive" to use "Handle *" instead of "Input"
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;