diff options
author | Treeki <treeki@gmail.com> | 2010-10-14 20:17:20 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2010-10-14 20:17:20 +0200 |
commit | ebcc95da4c26369511caa90d89c5ed06e1e4853a (patch) | |
tree | 6ed445f0204a6e6615088d135c4b29c4309077a4 /wii/archiveu8.h | |
parent | fdf8cfec2b795393d7ee901abaf747575067068b (diff) | |
download | LayoutStudio-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 'wii/archiveu8.h')
-rw-r--r-- | wii/archiveu8.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wii/archiveu8.h b/wii/archiveu8.h index 6f54ba2..5561beb 100644 --- a/wii/archiveu8.h +++ b/wii/archiveu8.h @@ -45,17 +45,17 @@ public: WiiDirectory root; - void writeToDataStream(QDataStream &out); + void writeToDataStream(QDataStream &out) const; private: void readDir(QDataStream &in, WiiDirectory &dir, int lastChild, U8ReadInfo &info); - void addNodeToStringTable(WiiFSObject &node, WiiStringTableBuilder &table); - void countNode(WiiFSObject &node, int *countPtr); + void addNodeToStringTable(const WiiFSObject &node, WiiStringTableBuilder &table) const; + void countNode(const WiiFSObject &node, int *countPtr) const; - void writeDir(QDataStream &out, WiiDirectory &dir, U8WriteInfo &info); + void writeDir(QDataStream &out, const WiiDirectory &dir, U8WriteInfo &info) const; - void writeNodeData(QDataStream &out, WiiFSObject &node); + void writeNodeData(QDataStream &out, const WiiFSObject &node) const; }; #endif // WIIARCHIVEU8_H |