diff options
author | Fritz Elfert <felfert@to.com> | 2002-02-28 20:56:59 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-02-28 20:56:59 +0000 |
commit | eecba3b5fcb47a01e6e13ee1940def989f6dd22d (patch) | |
tree | 970f3113de0d2b9b0544c1420117e0cf9633abcd /lib/siscomponentrecord.h | |
parent | 12241e0ff5ea242891fc3a8c177e8f55e897f2a3 (diff) | |
download | plptools-eecba3b5fcb47a01e6e13ee1940def989f6dd22d.tar.gz plptools-eecba3b5fcb47a01e6e13ee1940def989f6dd22d.tar.bz2 plptools-eecba3b5fcb47a01e6e13ee1940def989f6dd22d.zip |
- Added SIS stuff by Daniel Brahneborg
Diffstat (limited to 'lib/siscomponentrecord.h')
-rw-r--r-- | lib/siscomponentrecord.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/siscomponentrecord.h b/lib/siscomponentrecord.h new file mode 100644 index 0000000..995750d --- /dev/null +++ b/lib/siscomponentrecord.h @@ -0,0 +1,38 @@ +#ifndef _SISCOMPONENTRECORD_H +#define _SISCOMPONENTRECORD_H + +#include "sistypes.h" + +class SISFile; + +/** + * The name of the component in this SIS file. + * A single instance holds the names for all languages. + */ +class SISComponentNameRecord +{ +public: + + virtual ~SISComponentNameRecord(); + + /** + * Populate the fields. + */ + void fillFrom(uchar* buf, int base, SISFile* sisFile); + + uchar* getName(int no); + +private: + + uint32* m_nameLengths; + uint32* m_namePtrs; + + /** + * The extracted names. + */ + uchar** m_names; + +}; + +#endif + |