other-licenses/7zstub/src/Common/TextConfig.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/other-licenses/7zstub/src/Common/TextConfig.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +// Common/TextConfig.h
     1.5 +
     1.6 +#ifndef __COMMON_TEXTCONFIG_H
     1.7 +#define __COMMON_TEXTCONFIG_H
     1.8 +
     1.9 +#include "Common/Vector.h"
    1.10 +#include "Common/String.h"
    1.11 +
    1.12 +struct CTextConfigPair
    1.13 +{
    1.14 +  UString ID;
    1.15 +  UString String;
    1.16 +};
    1.17 +
    1.18 +bool GetTextConfig(const AString &text, CObjectVector<CTextConfigPair> &pairs);
    1.19 +
    1.20 +int FindTextConfigItem(const CObjectVector<CTextConfigPair> &pairs, const UString &id);
    1.21 +UString GetTextConfigValue(const CObjectVector<CTextConfigPair> &pairs, const UString &id);
    1.22 +
    1.23 +#endif
    1.24 +
    1.25 +

mercurial