Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TextConfig.h « Common « CPP - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1552df659712a79367037f60181453a69ead9d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Common/TextConfig.h

#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