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

Side by Side Diff: source/common/servnotf.h

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 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/common/servlkf.cpp ('k') | source/common/servrbf.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 ******************************************************************************* 2 *******************************************************************************
3 * Copyright (C) 2001-2011, International Business Machines Corporation and * 3 * Copyright (C) 2001-2014, International Business Machines Corporation and *
4 * others. All Rights Reserved. * 4 * others. All Rights Reserved. *
5 ******************************************************************************* 5 *******************************************************************************
6 */ 6 */
7 #ifndef ICUNOTIF_H 7 #ifndef ICUNOTIF_H
8 #define ICUNOTIF_H 8 #define ICUNOTIF_H
9 9
10 #include "unicode/utypes.h" 10 #include "unicode/utypes.h"
11 11
12 #if UCONFIG_NO_SERVICE 12 #if UCONFIG_NO_SERVICE
13 13
(...skipping 26 matching lines...) Expand all
40 40
41 virtual UClassID getDynamicClassID() const; 41 virtual UClassID getDynamicClassID() const;
42 42
43 public: 43 public:
44 #ifdef SERVICE_DEBUG 44 #ifdef SERVICE_DEBUG
45 virtual UnicodeString& debug(UnicodeString& result) const { 45 virtual UnicodeString& debug(UnicodeString& result) const {
46 return debugClass(result); 46 return debugClass(result);
47 } 47 }
48 48
49 virtual UnicodeString& debugClass(UnicodeString& result) const { 49 virtual UnicodeString& debugClass(UnicodeString& result) const {
50 return result.append("Key"); 50 return result.append((UnicodeString)"Key");
51 } 51 }
52 #endif 52 #endif
53 }; 53 };
54 54
55 /** 55 /**
56 * <p>Abstract implementation of a notification facility. Clients add 56 * <p>Abstract implementation of a notification facility. Clients add
57 * EventListeners with addListener and remove them with removeListener. 57 * EventListeners with addListener and remove them with removeListener.
58 * Notifiers call notifyChanged when they wish to notify listeners. 58 * Notifiers call notifyChanged when they wish to notify listeners.
59 * This queues the listener list on the notification thread, which 59 * This queues the listener list on the notification thread, which
60 * eventually dequeues the list and calls notifyListener on each 60 * eventually dequeues the list and calls notifyListener on each
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 virtual void notifyListener(EventListener& l) const = 0; 114 virtual void notifyListener(EventListener& l) const = 0;
115 }; 115 };
116 116
117 U_NAMESPACE_END 117 U_NAMESPACE_END
118 118
119 /* UCONFIG_NO_SERVICE */ 119 /* UCONFIG_NO_SERVICE */
120 #endif 120 #endif
121 121
122 /* ICUNOTIF_H */ 122 /* ICUNOTIF_H */
123 #endif 123 #endif
OLDNEW
« no previous file with comments | « source/common/servlkf.cpp ('k') | source/common/servrbf.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698