1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/i18n/msgfmt_impl.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,43 @@ 1.4 +/* 1.5 +******************************************************************************* 1.6 +* Copyright (C) 2007-2008, International Business Machines Corporation and 1.7 +* others. All Rights Reserved. * 1.8 +******************************************************************************* 1.9 +* 1.10 +* File MSGFMT.H 1.11 +* 1.12 +******************************************************************************* 1.13 +*/ 1.14 + 1.15 +#ifndef __MSGFMT_IMPL_H__ 1.16 +#define __MSGFMT_IMPL_H__ 1.17 + 1.18 +#include "unicode/utypes.h" 1.19 + 1.20 +#if !UCONFIG_NO_FORMATTING 1.21 + 1.22 +#include "unicode/msgfmt.h" 1.23 +#include "uvector.h" 1.24 +#include "unicode/strenum.h" 1.25 + 1.26 +U_NAMESPACE_BEGIN 1.27 + 1.28 +class FormatNameEnumeration : public StringEnumeration { 1.29 +public: 1.30 + FormatNameEnumeration(UVector *fFormatNames, UErrorCode& status); 1.31 + virtual ~FormatNameEnumeration(); 1.32 + static UClassID U_EXPORT2 getStaticClassID(void); 1.33 + virtual UClassID getDynamicClassID(void) const; 1.34 + virtual const UnicodeString* snext(UErrorCode& status); 1.35 + virtual void reset(UErrorCode& status); 1.36 + virtual int32_t count(UErrorCode& status) const; 1.37 +private: 1.38 + int32_t pos; 1.39 + UVector *fFormatNames; 1.40 +}; 1.41 + 1.42 +U_NAMESPACE_END 1.43 + 1.44 +#endif 1.45 + 1.46 +#endif