prime/include/Kyoto/Text/CStringTable.hpp

23 lines
427 B
C++
Raw Normal View History

#ifndef _CSTRINGTABLE
#define _CSTRINGTABLE
#include "types.h"
#include "rstl/single_ptr.hpp"
2022-07-18 22:42:58 +00:00
#include "Kyoto/Streams/CInputStream.hpp"
class CStringTable {
int x0_stringCount;
rstl::single_ptr< uchar > x4_data;
public:
CStringTable(CInputStream& in);
const wchar_t* GetString(int idx) const;
2023-01-19 09:05:39 +00:00
int GetStringCount() const { return x0_stringCount; }
};
2022-04-11 22:42:08 +00:00
extern CStringTable* gpStringTable;
#endif // _CSTRINGTABLE