mirror of
https://github.com/holub/mame
synced 2025-06-03 11:26:56 +03:00
20 lines
456 B
C
20 lines
456 B
C
// Common/TextConfig.h
|
|
|
|
#ifndef ZIP7_INC_COMMON_TEXT_CONFIG_H
|
|
#define ZIP7_INC_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
|