~ubuntu-branches/ubuntu/maverick/icu/maverick-updates

« back to all changes in this revision

Viewing changes to source/i18n/msgfmt_impl.h

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2009-09-04 11:56:06 UTC
  • mfrom: (10.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20090904115606-sqxxuizelam5tozb
Tags: 4.2.1-3
Change install-doc target to not fail if there are subdirectories of
doc/html.  This is necessary to handle the doc/html/search directory
created by doxygen 3.6.1.  (Closes: #544799)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
*******************************************************************************
 
3
* Copyright (C) 2007-2008, International Business Machines Corporation and
 
4
* others. All Rights Reserved.                                                *
 
5
*******************************************************************************
 
6
*
 
7
* File MSGFMT.H
 
8
*
 
9
*******************************************************************************
 
10
*/
 
11
 
 
12
#ifndef __MSGFMT_IMPL_H__
 
13
#define __MSGFMT_IMPL_H__
 
14
 
 
15
#include "unicode/utypes.h"
 
16
 
 
17
#if !UCONFIG_NO_FORMATTING
 
18
    
 
19
#include "unicode/msgfmt.h"
 
20
#include "uvector.h"
 
21
#include "unicode/strenum.h"
 
22
 
 
23
U_NAMESPACE_BEGIN
 
24
 
 
25
class FormatNameEnumeration : public StringEnumeration {
 
26
public:
 
27
    FormatNameEnumeration(UVector *fFormatNames, UErrorCode& status);
 
28
    virtual ~FormatNameEnumeration();
 
29
    static UClassID U_EXPORT2 getStaticClassID(void);
 
30
    virtual UClassID getDynamicClassID(void) const;
 
31
    virtual const UnicodeString* snext(UErrorCode& status);
 
32
    virtual void reset(UErrorCode& status);
 
33
    virtual int32_t count(UErrorCode& status) const;
 
34
private:
 
35
    int32_t pos;
 
36
    UVector *fFormatNames;
 
37
};
 
38
 
 
39
U_NAMESPACE_END
 
40
 
 
41
#endif
 
42
 
 
43
#endif