This commit is contained in:
Igor Pavlov
2003-12-11 00:00:00 +00:00
committed by Kornel Lesiński
commit 8c1b5c7b7e
982 changed files with 118799 additions and 0 deletions

24
Common/TextConfig.h Executable file
View File

@@ -0,0 +1,24 @@
// Common/TextConfig.h
#pragma once
#ifndef __COMMON_TEXTCONFIG_H
#define __COMMON_TEXTCONFIG_H
#include "Common/Vector.h"
#include "Common/String.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