]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/unicode/locdspnm.h
ICU-64232.0.1.tar.gz
[apple/icu.git] / icuSources / common / unicode / locdspnm.h
index ba168d8c95a6de81c88326d109f1958e01e4ba55..0ec415d5ea936fdf01df43964ebe9df361c4847d 100644 (file)
@@ -1,3 +1,5 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
 ******************************************************************************
 * Copyright (C) 2010-2016, International Business Machines Corporation and
 #if !UCONFIG_NO_FORMATTING
 
 #include "unicode/locid.h"
+#include "unicode/strenum.h"
 #include "unicode/uscript.h"
 #include "unicode/uldnames.h"
 #include "unicode/udisplaycontext.h"
 
+#if U_SHOW_CPLUSPLUS_API
 U_NAMESPACE_BEGIN
 
 /**
@@ -46,7 +50,7 @@ public:
      * @return a LocaleDisplayNames instance
      * @stable ICU 4.4
      */
-    static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale);
+    inline static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale);
 
     /**
      * Returns an instance of LocaleDisplayNames that returns names
@@ -198,6 +202,7 @@ inline LocaleDisplayNames* LocaleDisplayNames::createInstance(const Locale& loca
 }
 
 U_NAMESPACE_END
+#endif // U_SHOW_CPLUSPLUS_API
 
 #endif