~ubuntu-branches/ubuntu/precise/p7zip/precise-updates

« back to all changes in this revision

Viewing changes to CPP/Common/TextConfig.h

  • Committer: Bazaar Package Importer
  • Author(s): Mohammed Adnène Trojette
  • Date: 2009-02-14 20:12:27 UTC
  • mfrom: (1.1.11 upstream) (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090214201227-go63qxm9ozfdma60
Tags: 4.65~dfsg.1-1
* New upstream release.
* Remove wx2.8 Build-Depends added by mistakes (7zG is not yet
  intended to be built).
* Use dh_clean without -k.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Common/TextConfig.h
 
2
 
 
3
#ifndef __COMMON_TEXTCONFIG_H
 
4
#define __COMMON_TEXTCONFIG_H
 
5
 
 
6
#include "MyVector.h"
 
7
#include "MyString.h"
 
8
 
 
9
struct CTextConfigPair
 
10
{
 
11
  UString ID;
 
12
  UString String;
 
13
};
 
14
 
 
15
bool GetTextConfig(const AString &text, CObjectVector<CTextConfigPair> &pairs);
 
16
 
 
17
int FindTextConfigItem(const CObjectVector<CTextConfigPair> &pairs, const UString &id);
 
18
UString GetTextConfigValue(const CObjectVector<CTextConfigPair> &pairs, const UString &id);
 
19
 
 
20
#endif
 
21
 
 
22