1370b324cSopenharmony_ci// Common/TextConfig.h 2370b324cSopenharmony_ci 3370b324cSopenharmony_ci#ifndef ZIP7_INC_COMMON_TEXT_CONFIG_H 4370b324cSopenharmony_ci#define ZIP7_INC_COMMON_TEXT_CONFIG_H 5370b324cSopenharmony_ci 6370b324cSopenharmony_ci#include "MyString.h" 7370b324cSopenharmony_ci 8370b324cSopenharmony_cistruct CTextConfigPair 9370b324cSopenharmony_ci{ 10370b324cSopenharmony_ci UString ID; 11370b324cSopenharmony_ci UString String; 12370b324cSopenharmony_ci}; 13370b324cSopenharmony_ci 14370b324cSopenharmony_cibool GetTextConfig(const AString &text, CObjectVector<CTextConfigPair> &pairs); 15370b324cSopenharmony_ci 16370b324cSopenharmony_ciint FindTextConfigItem(const CObjectVector<CTextConfigPair> &pairs, const char *id) throw(); 17370b324cSopenharmony_ciUString GetTextConfigValue(const CObjectVector<CTextConfigPair> &pairs, const char *id); 18370b324cSopenharmony_ci 19370b324cSopenharmony_ci#endif 20