29#ifndef __SO3_SCOL_PARTITION_H__
30#define __SO3_SCOL_PARTITION_H__
33#include <boost/filesystem.hpp>
52 void findFiles(
const Ogre::String& pattern,
bool recursive,
bool dirs, Ogre::StringVector* simpleList, Ogre::FileInfoList* detailList)
const;
55 static boost::filesystem::path
concatenate_path(
const Ogre::String base,
const Ogre::String name);
71 bool isApk(
void)
const;
80 virtual Ogre::DataStreamPtr
open(
const Ogre::String& filename,
bool readOnly =
true)
const;
83 virtual Ogre::DataStreamPtr
create(
const Ogre::String& filename);
86 virtual void remove(
const Ogre::String& filename);
89 virtual Ogre::StringVectorPtr
list(
bool recursive =
true,
bool dirs =
false)
const;
92 virtual Ogre::FileInfoListPtr
listFileInfo(
bool recursive =
true,
bool dirs =
false)
const;
95 virtual Ogre::StringVectorPtr
find(
const Ogre::String& pattern,
bool recursive =
true,
bool dirs =
false)
const;
98 virtual Ogre::FileInfoListPtr
findFileInfo(
const Ogre::String& pattern,
bool recursive =
true,
bool dirs =
false)
const;
101 virtual bool exists(
const Ogre::String& filename)
const;
129 const Ogre::String&
getType(
void)
const;
void destroyInstance(Ogre::Archive *ptr)
const Ogre::String & getType(void) const
virtual ~SO3ScolFileSystemArchiveFactory()
Ogre::Archive * createInstance(const Ogre::String &name, bool readOnly)
virtual bool isCaseSensitive(void) const
virtual time_t getModifiedTime(const Ogre::String &filename) const
static bool msIgnoreHidden
void findFiles(const Ogre::String &pattern, bool recursive, bool dirs, Ogre::StringVector *simpleList, Ogre::FileInfoList *detailList) const
AAssetManager * mAssetManager
static boost::filesystem::path concatenate_path(const Ogre::String base, const Ogre::String name)
static bool getIgnoreHidden()
Get whether hidden files are ignored during filesystem enumeration.
virtual Ogre::StringVectorPtr list(bool recursive=true, bool dirs=false) const
virtual void remove(const Ogre::String &filename)
virtual Ogre::FileInfoListPtr findFileInfo(const Ogre::String &pattern, bool recursive=true, bool dirs=false) const
static bool is_reserved_dir(const char *fn)
virtual Ogre::DataStreamPtr open(const Ogre::String &filename, bool readOnly=true) const
virtual Ogre::FileInfoListPtr listFileInfo(bool recursive=true, bool dirs=false) const
static void setIgnoreHidden(bool ignore)
~SO3ScolFileSystemArchive()
virtual Ogre::DataStreamPtr create(const Ogre::String &filename)
virtual Ogre::StringVectorPtr find(const Ogre::String &pattern, bool recursive=true, bool dirs=false) const
virtual bool exists(const Ogre::String &filename) const