mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 13:14:59 -06:00
23 lines
462 B
C
Executable File
23 lines
462 B
C
Executable File
// Common/TextConfig.h
|
|
|
|
#ifndef __COMMON_TEXTCONFIG_H
|
|
#define __COMMON_TEXTCONFIG_H
|
|
|
|
#include "MyVector.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 UString &id);
|
|
UString GetTextConfigValue(const CObjectVector<CTextConfigPair> &pairs, const UString &id);
|
|
|
|
#endif
|
|
|
|
|