6 #include "athena/Global.hpp" 11 const atUint8 SD_KEY [16] = {0xab, 0x01, 0xb9, 0xd8, 0xe1, 0x62, 0x2b, 0x08, 0xaf, 0xba, 0xd8, 0x4d, 0xbf, 0xc2, 0xa5, 0x5d};
12 const atUint8 SD_IV [16] = {0x21, 0x67, 0x12, 0xe6, 0xaa, 0x1f, 0x68, 0x9f, 0x95, 0xc5, 0xa2, 0x23, 0x24, 0xdc, 0x6a, 0x98};
13 const atUint8 MD5_BLANKER[16] = {0x0e, 0x65, 0x37, 0x81, 0x99, 0xbe, 0x45, 0x17, 0xab, 0x06, 0xec, 0x22, 0x45, 0x1a, 0x57, 0x93};
39 GroupRW = (GroupRead | GroupWrite),
40 OwnerRW = (OwnerRead | OwnerWrite)
86 void setData(
const atUint8* data);
91 atUint8*
data()
const;
211 atUint8 m_permissions;
212 atUint8 m_attributes;
214 std::string m_filename;
218 std::vector<WiiFile*> m_children;
atUint8 * data() const
data
Wii file container class.
void removeChild(const std::string &name)
removeChild
int length() const
length
atUint32 fileCount()
fileCount
void setData(const atUint8 *data)
setData
void setLength(const int len)
setLength
atUint8 permissions() const
permissions
bool isDirectory() const
isDirectory
std::vector< WiiFile * > children()
children
std::string fullpath()
fullpath
atUint8 attributes() const
attributes
void setType(Type type)
setType
Mask to get the Other group permissions.
bool isFile() const
isFile
Permission
The Wii uses a bastardized unix permissions system so these flags reflect the file's individual permi...
std::vector< WiiFile * > allChildren()
allChildren
void setParent(WiiFile *parent)
setParent
void setPermissions(const atUint8 permissions)
setPermissions
void addChild(WiiFile *file)
addChild
void setFilename(const std::string &filename)
setFilename
void setAttributes(const atUint8 attr)
setAttributes
std::string filename() const
filename
WiiFile * child(const std::string &name)
child