diff options
Diffstat (limited to 'CPP/Common/TextConfig.h')
-rwxr-xr-x | CPP/Common/TextConfig.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/CPP/Common/TextConfig.h b/CPP/Common/TextConfig.h new file mode 100755 index 00000000..1552df65 --- /dev/null +++ b/CPP/Common/TextConfig.h @@ -0,0 +1,22 @@ +// Common/TextConfig.h + +#ifndef __COMMON_TEXTCONFIG_H +#define __COMMON_TEXTCONFIG_H + +#include "Common/Vector.h" +#include "Common/String.h" + +struct CTextConfigPair +{ + UString ID; + UString String; +}; + +bool GetTextConfig(const AString &text, CObjectVector<CTextConfigPair> &pairs); + +int FindTextConfigItem(const CObjectVector<CTextConfigPair> &pairs, const UString &id); +UString GetTextConfigValue(const CObjectVector<CTextConfigPair> &pairs, const UString &id); + +#endif + + |