X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/73c04bcfe1096173b00431f0cdc742894b15eef0..1a147d096ae81f4c8262f7bfc56bd19fc2dee932:/icuSources/common/serv.h diff --git a/icuSources/common/serv.h b/icuSources/common/serv.h index 72f0a9f4..e1f69cd4 100644 --- a/icuSources/common/serv.h +++ b/icuSources/common/serv.h @@ -1,6 +1,8 @@ +// © 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /** ******************************************************************************* - * Copyright (C) 2001-2006, International Business Machines Corporation. * + * Copyright (C) 2001-2011, International Business Machines Corporation. * * All Rights Reserved. * ******************************************************************************* */ @@ -211,6 +213,7 @@ public: */ class U_COMMON_API ICUServiceFactory : public UObject { public: + virtual ~ICUServiceFactory(); /** *

Create a service object from the key, if this factory @@ -367,6 +370,8 @@ public: */ class U_COMMON_API ServiceListener : public EventListener { public: + virtual ~ServiceListener(); + /** *

This method is called when the service changes. At the time of the * call this listener is registered with the service. It must @@ -431,12 +436,6 @@ private: StringPair(const UnicodeString& displayName, const UnicodeString& id); }; -/** - * Deleter for StringPairs - */ -U_CAPI void U_EXPORT2 -userv_deleteStringPair(void *obj); - /******************************************************************* * ICUService */ @@ -533,11 +532,6 @@ class U_COMMON_API ICUService : public ICUNotifier { private: - /** - * single lock used by this service. - */ - UMTX lock; - /** * Timestamp so iterators can be fail-fast. */