Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: source/i18n/sharednumberformat.h

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/i18n/sharedbreakiterator.cpp ('k') | source/i18n/sharedpluralrules.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 ******************************************************************************
3 * Copyright (C) 2014, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 ******************************************************************************
6 * sharednumberformat.h
7 */
8
9 #ifndef __SHARED_NUMBERFORMAT_H__
10 #define __SHARED_NUMBERFORMAT_H__
11
12 #include "unicode/utypes.h"
13 #include "sharedobject.h"
14
15 U_NAMESPACE_BEGIN
16
17 class NumberFormat;
18
19 class U_I18N_API SharedNumberFormat : public SharedObject {
20 public:
21 SharedNumberFormat(NumberFormat *nfToAdopt) : ptr(nfToAdopt) { }
22 virtual ~SharedNumberFormat();
23 const NumberFormat *get() const { return ptr; }
24 const NumberFormat *operator->() const { return ptr; }
25 const NumberFormat &operator*() const { return *ptr; }
26 private:
27 NumberFormat *ptr;
28 SharedNumberFormat(const SharedNumberFormat &);
29 SharedNumberFormat &operator=(const SharedNumberFormat &);
30 };
31
32 U_NAMESPACE_END
33
34 #endif
OLDNEW
« no previous file with comments | « source/i18n/sharedbreakiterator.cpp ('k') | source/i18n/sharedpluralrules.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698