mirror of
https://github.com/ip7z/7zip.git
synced 2025-12-06 07:12:00 +01:00
20 lines
442 B
C
20 lines
442 B
C
|
|
// 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
|