1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #ifndef RESSTRINGPOOL_H_
- #define RESSTRINGPOOL_H_
- #include <stdint.h>
- #include "android-xml.h"
- class ResStringPool {
- public:
- ResStringPool();
- ResStringPool(const char* data);
- const char* get(int32_t index) const;
- ResStringPool_ref put(const char* string);
- void put_empty();
- uint32_t serialize(char** data);
- void dump();
- ~ResStringPool();
- private:
- const char** _strings;
- uint32_t _size;
- };
- #endif
|