-
diff --git a/headers/os/locale/Collator.h b/headers/os/locale/Collator.h
index 861ccfe..2d6e84e 100644
a
|
b
|
|
9 | 9 | #include <Archivable.h> |
10 | 10 | #include <SupportDefs.h> |
11 | 11 | |
12 | | |
13 | | namespace icu { |
| 12 | #ifndef U_ICU_NAMESPACE |
| 13 | #define U_ICU_NAMESPACE icu |
| 14 | #endif |
| 15 | namespace U_ICU_NAMESPACE { |
14 | 16 | class Collator; |
15 | 17 | }; |
16 | 18 | |
… |
… |
public:
|
73 | 75 | private: |
74 | 76 | status_t _SetStrength(int8 strength) const; |
75 | 77 | |
76 | | mutable icu::Collator* fICUCollator; |
| 78 | mutable U_ICU_NAMESPACE::Collator* fICUCollator; |
77 | 79 | int8 fDefaultStrength; |
78 | 80 | bool fIgnorePunctuation; |
79 | 81 | }; |
-
diff --git a/headers/os/locale/Country.h b/headers/os/locale/Country.h
index e8e9c92..681910e 100644
a
|
b
|
class BBitmap;
|
16 | 16 | class BLanguage; |
17 | 17 | class BMessage; |
18 | 18 | |
19 | | namespace icu { |
| 19 | #ifndef U_ICU_NAMESPACE |
| 20 | #define U_ICU_NAMESPACE icu |
| 21 | #endif |
| 22 | namespace U_ICU_NAMESPACE { |
20 | 23 | class DateFormat; |
21 | 24 | class Locale; |
22 | 25 | } |
… |
… |
public:
|
45 | 48 | private: |
46 | 49 | friend class Private; |
47 | 50 | |
48 | | icu::Locale* fICULocale; |
| 51 | U_ICU_NAMESPACE::Locale* fICULocale; |
49 | 52 | }; |
50 | 53 | |
51 | 54 | |
-
diff --git a/headers/os/locale/DateFormat.h b/headers/os/locale/DateFormat.h
index 1eee1e8..76a0567 100644
a
|
b
|
|
14 | 14 | #include <Locker.h> |
15 | 15 | |
16 | 16 | |
17 | | namespace icu { |
| 17 | #ifndef U_ICU_NAMESPACE |
| 18 | #define U_ICU_NAMESPACE icu |
| 19 | #endif |
| 20 | namespace U_ICU_NAMESPACE { |
18 | 21 | class DateFormat; |
19 | 22 | } |
20 | 23 | |
… |
… |
public:
|
76 | 79 | BDate& output); |
77 | 80 | |
78 | 81 | private: |
79 | | icu::DateFormat* _CreateDateFormatter( |
| 82 | U_ICU_NAMESPACE::DateFormat* _CreateDateFormatter( |
80 | 83 | const BDateFormatStyle style) const; |
81 | 84 | |
82 | 85 | }; |
-
diff --git a/headers/os/locale/DateTimeFormat.h b/headers/os/locale/DateTimeFormat.h
index b7916cf..5a0e3a0 100644
a
|
b
|
public:
|
53 | 53 | const BTimeZone* timeZone = NULL) const; |
54 | 54 | |
55 | 55 | private: |
56 | | icu::DateFormat* _CreateDateTimeFormatter( |
| 56 | U_ICU_NAMESPACE::DateFormat* _CreateDateTimeFormatter( |
57 | 57 | const BString& format) const; |
58 | 58 | }; |
59 | 59 | |
-
diff --git a/headers/os/locale/DurationFormat.h b/headers/os/locale/DurationFormat.h
index d1f226e..9a529ec 100644
a
|
b
|
|
14 | 14 | |
15 | 15 | class BTimeZone; |
16 | 16 | |
17 | | namespace icu { |
| 17 | #ifndef U_ICU_NAMESPACE |
| 18 | #define U_ICU_NAMESPACE icu |
| 19 | #endif |
| 20 | namespace U_ICU_NAMESPACE { |
18 | 21 | class GregorianCalendar; |
19 | 22 | } |
20 | 23 | |
… |
… |
public:
|
43 | 46 | private: |
44 | 47 | BString fSeparator; |
45 | 48 | BTimeUnitFormat fTimeUnitFormat; |
46 | | icu::GregorianCalendar* fCalendar; |
| 49 | U_ICU_NAMESPACE::GregorianCalendar* fCalendar; |
47 | 50 | }; |
48 | 51 | |
49 | 52 | |
-
diff --git a/headers/os/locale/FormattingConventions.h b/headers/os/locale/FormattingConventions.h
index b526ef3..9a888f8 100644
a
|
b
|
class BBitmap;
|
17 | 17 | class BLanguage; |
18 | 18 | class BMessage; |
19 | 19 | |
20 | | namespace icu { |
| 20 | #ifndef U_ICU_NAMESPACE |
| 21 | #define U_ICU_NAMESPACE icu |
| 22 | #endif |
| 23 | namespace U_ICU_NAMESPACE { |
21 | 24 | class DateFormat; |
22 | 25 | class Locale; |
23 | 26 | } |
… |
… |
private:
|
137 | 140 | |
138 | 141 | bool fUseStringsFromPreferredLanguage; |
139 | 142 | |
140 | | icu::Locale* fICULocale; |
| 143 | U_ICU_NAMESPACE::Locale* fICULocale; |
141 | 144 | }; |
142 | 145 | |
143 | 146 | |
-
diff --git a/headers/os/locale/Language.h b/headers/os/locale/Language.h
index 133e798..6f1136e 100644
a
|
b
|
class BBitmap;
|
15 | 15 | |
16 | 16 | // We must not include the icu headers in there as it could mess up binary |
17 | 17 | // compatibility. |
18 | | namespace icu { |
| 18 | #ifndef U_ICU_NAMESPACE |
| 19 | #define U_ICU_NAMESPACE icu |
| 20 | #endif |
| 21 | namespace U_ICU_NAMESPACE { |
19 | 22 | class Locale; |
20 | 23 | } |
21 | 24 | |
… |
… |
private:
|
64 | 67 | friend class Private; |
65 | 68 | |
66 | 69 | uint8 fDirection; |
67 | | icu::Locale* fICULocale; |
| 70 | U_ICU_NAMESPACE::Locale* fICULocale; |
68 | 71 | }; |
69 | 72 | |
70 | 73 | |
-
diff --git a/headers/os/locale/MessageFormat.h b/headers/os/locale/MessageFormat.h
index eeaf978..38fb205 100644
a
|
b
|
|
13 | 13 | #include <Format.h> |
14 | 14 | |
15 | 15 | |
16 | | namespace icu { |
| 16 | #ifndef U_ICU_NAMESPACE |
| 17 | #define U_ICU_NAMESPACE icu |
| 18 | #endif |
| 19 | namespace U_ICU_NAMESPACE { |
17 | 20 | class MessageFormat; |
18 | 21 | class UnicodeString; |
19 | 22 | } |
… |
… |
public:
|
31 | 34 | status_t Format(BString& buffer, const int64 arg) const; |
32 | 35 | |
33 | 36 | private: |
34 | | status_t _Initialize(const icu::UnicodeString&); |
| 37 | status_t _Initialize(const U_ICU_NAMESPACE::UnicodeString&); |
35 | 38 | |
36 | 39 | private: |
37 | | icu::MessageFormat* fFormatter; |
| 40 | U_ICU_NAMESPACE::MessageFormat* fFormatter; |
38 | 41 | }; |
39 | 42 | |
40 | 43 | |
-
diff --git a/headers/os/locale/TimeFormat.h b/headers/os/locale/TimeFormat.h
index 9a1dc04..152b872 100644
a
|
b
|
public:
|
48 | 48 | BPrivate::BTime& output); |
49 | 49 | |
50 | 50 | private: |
51 | | icu::DateFormat* _CreateTimeFormatter( |
| 51 | U_ICU_NAMESPACE::DateFormat* _CreateTimeFormatter( |
52 | 52 | const BTimeFormatStyle style) const; |
53 | 53 | }; |
54 | 54 | |
-
diff --git a/headers/os/locale/TimeUnitFormat.h b/headers/os/locale/TimeUnitFormat.h
index d729efe..447284b 100644
a
|
b
|
|
12 | 12 | |
13 | 13 | class BString; |
14 | 14 | |
15 | | namespace icu { |
| 15 | #ifndef U_ICU_NAMESPACE |
| 16 | #define U_ICU_NAMESPACE icu |
| 17 | #endif |
| 18 | namespace U_ICU_NAMESPACE { |
16 | 19 | class TimeUnitFormat; |
17 | 20 | } |
18 | 21 | |
… |
… |
public:
|
53 | 56 | ) const; |
54 | 57 | |
55 | 58 | private: |
56 | | icu::TimeUnitFormat* fFormatter; |
| 59 | U_ICU_NAMESPACE::TimeUnitFormat* fFormatter; |
57 | 60 | }; |
58 | 61 | |
59 | 62 | |
-
diff --git a/headers/os/locale/TimeZone.h b/headers/os/locale/TimeZone.h
index ced9e90..f58f99d 100644
a
|
b
|
|
9 | 9 | #include <String.h> |
10 | 10 | |
11 | 11 | |
12 | | namespace icu { |
| 12 | #ifndef U_ICU_NAMESPACE |
| 13 | #define U_ICU_NAMESPACE icu |
| 14 | #endif |
| 15 | namespace U_ICU_NAMESPACE { |
13 | 16 | class Locale; |
14 | 17 | class TimeZone; |
15 | 18 | } |
… |
… |
public:
|
46 | 49 | private: |
47 | 50 | friend class Private; |
48 | 51 | |
49 | | icu::TimeZone* fICUTimeZone; |
50 | | icu::Locale* fICULocale; |
| 52 | U_ICU_NAMESPACE::TimeZone* fICUTimeZone; |
| 53 | U_ICU_NAMESPACE::Locale* fICULocale; |
51 | 54 | status_t fInitStatus; |
52 | 55 | |
53 | 56 | mutable uint32 fInitializedFields; |
-
diff --git a/src/kits/locale/Collator.cpp b/src/kits/locale/Collator.cpp
index 47d7f55..1f285cb 100644
a
|
b
|
|
4 | 4 | * Distributed under the terms of the MIT License. |
5 | 5 | */ |
6 | 6 | |
| 7 | #include <unicode/uversion.h> |
| 8 | #include <Collator.h> |
7 | 9 | |
8 | 10 | #include <ctype.h> |
9 | 11 | #include <stdlib.h> |
… |
… |
|
11 | 13 | #include <new> |
12 | 14 | #include <typeinfo> |
13 | 15 | |
14 | | #include <Collator.h> |
15 | 16 | #include <UnicodeChar.h> |
16 | 17 | #include <String.h> |
17 | 18 | #include <Message.h> |
-
diff --git a/src/kits/locale/Country.cpp b/src/kits/locale/Country.cpp
index 8b67c9e..e95711d 100644
a
|
b
|
|
5 | 5 | */ |
6 | 6 | |
7 | 7 | |
| 8 | #include <unicode/uversion.h> |
8 | 9 | #include <Country.h> |
9 | 10 | |
10 | 11 | #include <AutoDeleter.h> |
-
diff --git a/src/kits/locale/DateFormat.cpp b/src/kits/locale/DateFormat.cpp
index ae067ab..6542c3b 100644
a
|
b
|
|
7 | 7 | * Adrien Desutugues <pulkomandy@pulkomandy.tk> |
8 | 8 | */ |
9 | 9 | |
| 10 | #include <unicode/uversion.h> |
10 | 11 | #include <DateFormat.h> |
11 | 12 | |
12 | 13 | #include <AutoDeleter.h> |
-
diff --git a/src/kits/locale/DateTimeFormat.cpp b/src/kits/locale/DateTimeFormat.cpp
index 4e856ce..7172257 100644
a
|
b
|
|
6 | 6 | * Oliver Tappe <zooey@hirschkaefer.de> |
7 | 7 | */ |
8 | 8 | |
| 9 | #include <unicode/uversion.h> |
9 | 10 | #include <DateTimeFormat.h> |
10 | 11 | |
11 | 12 | #include <AutoDeleter.h> |
-
diff --git a/src/kits/locale/DurationFormat.cpp b/src/kits/locale/DurationFormat.cpp
index 1d11ced..9536480 100644
a
|
b
|
|
7 | 7 | */ |
8 | 8 | |
9 | 9 | |
| 10 | #include <unicode/uversion.h> |
10 | 11 | #include <DurationFormat.h> |
11 | 12 | |
12 | 13 | #include <new> |
-
diff --git a/src/kits/locale/FormattingConventions.cpp b/src/kits/locale/FormattingConventions.cpp
index 7535300..0ae512f 100644
a
|
b
|
|
6 | 6 | */ |
7 | 7 | |
8 | 8 | |
| 9 | #include <unicode/uversion.h> |
9 | 10 | #include <FormattingConventions.h> |
10 | 11 | |
11 | 12 | #include <AutoDeleter.h> |
-
diff --git a/src/kits/locale/Language.cpp b/src/kits/locale/Language.cpp
index 1b140c7..047f582 100644
a
|
b
|
|
4 | 4 | */ |
5 | 5 | |
6 | 6 | |
| 7 | #include <unicode/uversion.h> |
7 | 8 | #include <Language.h> |
8 | 9 | |
9 | 10 | #include <stdlib.h> |
-
diff --git a/src/kits/locale/LocaleRoster.cpp b/src/kits/locale/LocaleRoster.cpp
index 748c988..1770960 100644
a
|
b
|
|
8 | 8 | */ |
9 | 9 | |
10 | 10 | |
| 11 | #include <unicode/uversion.h> |
11 | 12 | #include <LocaleRoster.h> |
12 | 13 | |
13 | 14 | #include <assert.h> |
-
diff --git a/src/kits/locale/LocaleRosterData.cpp b/src/kits/locale/LocaleRosterData.cpp
index 2efbc99..b1f9dfd 100644
a
|
b
|
|
8 | 8 | */ |
9 | 9 | |
10 | 10 | |
| 11 | #include <unicode/uversion.h> |
11 | 12 | #include <LocaleRosterData.h> |
12 | 13 | |
13 | 14 | #include <Autolock.h> |
-
diff --git a/src/kits/locale/MessageFormat.cpp b/src/kits/locale/MessageFormat.cpp
index 4c66e5a..274d4ac 100644
a
|
b
|
|
6 | 6 | * Adrien Destugues, pulkomandy@pulkomandy.tk |
7 | 7 | * John Scipione, jscipione@gmail.com |
8 | 8 | */ |
| 9 | |
| 10 | #include <unicode/uversion.h> |
9 | 11 | #include <MessageFormat.h> |
10 | 12 | |
11 | 13 | #include <Autolock.h> |
-
diff --git a/src/kits/locale/NumberFormat.cpp b/src/kits/locale/NumberFormat.cpp
index f6368af..fefd4a3 100644
a
|
b
|
|
6 | 6 | */ |
7 | 7 | |
8 | 8 | |
| 9 | #include <unicode/uversion.h> |
9 | 10 | #include <NumberFormat.h> |
10 | 11 | |
11 | 12 | #include <AutoDeleter.h> |
-
diff --git a/src/kits/locale/TimeFormat.cpp b/src/kits/locale/TimeFormat.cpp
index 4e258cb..55cc534 100644
a
|
b
|
|
6 | 6 | * Oliver Tappe <zooey@hirschkaefer.de> |
7 | 7 | */ |
8 | 8 | |
| 9 | #include <unicode/uversion.h> |
9 | 10 | #include <TimeFormat.h> |
10 | 11 | |
11 | 12 | #include <AutoDeleter.h> |
-
diff --git a/src/kits/locale/TimeUnitFormat.cpp b/src/kits/locale/TimeUnitFormat.cpp
index de125a7..61a8ba5 100644
a
|
b
|
|
8 | 8 | */ |
9 | 9 | |
10 | 10 | |
| 11 | #include <unicode/uversion.h> |
11 | 12 | #include <TimeUnitFormat.h> |
12 | 13 | |
13 | 14 | #include <new> |
-
diff --git a/src/kits/locale/TimeZone.cpp b/src/kits/locale/TimeZone.cpp
index 86258e3..d4860c6 100644
a
|
b
|
|
8 | 8 | */ |
9 | 9 | |
10 | 10 | |
| 11 | #include <unicode/uversion.h> |
11 | 12 | #include <TimeZone.h> |
12 | 13 | |
13 | 14 | #include <new> |
-
diff --git a/src/preferences/time/ZoneView.cpp b/src/preferences/time/ZoneView.cpp
index 03ca2c9..d62bbef 100644
a
|
b
|
|
13 | 13 | */ |
14 | 14 | |
15 | 15 | |
| 16 | #include <unicode/uversion.h> |
16 | 17 | #include "ZoneView.h" |
17 | 18 | |
18 | 19 | #include <stdlib.h> |