You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
461 B
20 lines
461 B
// Common/TextConfig.h
|
|
|
|
#ifndef __COMMON_TEXT_CONFIG_H
|
|
#define __COMMON_TEXT_CONFIG_H
|
|
|
|
#include "MyString.h"
|
|
|
|
struct CTextConfigPair
|
|
{
|
|
UString ID;
|
|
UString String;
|
|
};
|
|
|
|
bool GetTextConfig(const AString &text, CObjectVector<CTextConfigPair> &pairs);
|
|
|
|
int FindTextConfigItem(const CObjectVector<CTextConfigPair> &pairs, const char *id) throw();
|
|
UString GetTextConfigValue(const CObjectVector<CTextConfigPair> &pairs, const char *id);
|
|
|
|
#endif
|