|
|
@ -313,7 +313,7 @@ public:
|
|
|
|
void destroyInstance( Archive* arch) { delete arch; }
|
|
|
|
void destroyInstance( Archive* arch) { delete arch; }
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
class DirArchiveFactory : public FileSystemArchiveFactory
|
|
|
|
class DirArchiveFactory : public ArchiveFactory
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
const String& getType() const
|
|
|
|
const String& getType() const
|
|
|
@ -327,6 +327,11 @@ public:
|
|
|
|
return new DirArchive(name);
|
|
|
|
return new DirArchive(name);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
virtual Archive* createInstance(const String& name, bool readOnly)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return new DirArchive(name);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void destroyInstance( Archive* arch) { delete arch; }
|
|
|
|
void destroyInstance( Archive* arch) { delete arch; }
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|