summaryrefslogtreecommitdiff
path: root/wii/filesystem.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2010-10-14 20:17:20 +0200
committerTreeki <treeki@gmail.com>2010-10-14 20:17:20 +0200
commitebcc95da4c26369511caa90d89c5ed06e1e4853a (patch)
tree6ed445f0204a6e6615088d135c4b29c4309077a4 /wii/filesystem.h
parentfdf8cfec2b795393d7ee901abaf747575067068b (diff)
downloadLayoutStudio-ebcc95da4c26369511caa90d89c5ed06e1e4853a.tar.gz
LayoutStudio-ebcc95da4c26369511caa90d89c5ed06e1e4853a.zip
brlyt packing added, plus some changes in the existing API (mostly for const correctness). brlyt writing may still need some testing (especially for the material structs)
Diffstat (limited to '')
-rw-r--r--wii/filesystem.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/wii/filesystem.h b/wii/filesystem.h
index 1a7ecfa..7527a7d 100644
--- a/wii/filesystem.h
+++ b/wii/filesystem.h
@@ -32,10 +32,10 @@ public:
void unlinkFromParent();
- bool nameIsEqual(QString check);
+ bool nameIsEqual(QString check) const;
- virtual bool isFile();
- virtual bool isDirectory();
+ virtual bool isFile() const;
+ virtual bool isDirectory() const;
protected:
@@ -50,7 +50,7 @@ public:
QByteArray data;
- bool isFile();
+ bool isFile() const;
};
/******************************************************************************/
@@ -62,9 +62,9 @@ public:
QList<WiiFSObject *> children;
- bool isDirectory();
+ bool isDirectory() const;
- WiiFSObject *findByName(QString name, bool recursive);
+ WiiFSObject *findByName(QString name, bool recursive) const;
WiiFSObject *resolvePath(QString path);
bool addChild(WiiFSObject *obj);
};