mirror of
https://github.com/mamedev/mame.git
synced 2025-04-02 10:52:13 -04:00
19 lines
456 B
C
19 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
|