summaryrefslogtreecommitdiffstats
path: root/intl/locale
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /intl/locale
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-upstream/125.0.1.tar.xz
firefox-upstream/125.0.1.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'intl/locale')
-rw-r--r--intl/locale/mac/OSPreferences_mac.cpp3
-rw-r--r--intl/locale/moz.build2
-rw-r--r--intl/locale/mozILocaleService.idl8
-rw-r--r--intl/locale/mozIOSPreferences.idl8
4 files changed, 3 insertions, 18 deletions
diff --git a/intl/locale/mac/OSPreferences_mac.cpp b/intl/locale/mac/OSPreferences_mac.cpp
index f8cd910b40..ddd0a41e03 100644
--- a/intl/locale/mac/OSPreferences_mac.cpp
+++ b/intl/locale/mac/OSPreferences_mac.cpp
@@ -6,7 +6,8 @@
#include "OSPreferences.h"
#include "mozilla/intl/LocaleService.h"
-#include <Carbon/Carbon.h>
+#include <CoreFoundation/CoreFoundation.h>
+#include <CoreText/CoreText.h>
using namespace mozilla::intl;
diff --git a/intl/locale/moz.build b/intl/locale/moz.build
index 8099d1a695..10e7c5cfb1 100644
--- a/intl/locale/moz.build
+++ b/intl/locale/moz.build
@@ -14,7 +14,7 @@ toolkit = CONFIG["MOZ_WIDGET_TOOLKIT"]
if toolkit == "windows":
DIRS += ["windows"]
-elif toolkit == "cocoa":
+elif toolkit in ("cocoa", "uikit"):
DIRS += ["mac"]
elif toolkit == "gtk":
DIRS += ["gtk"]
diff --git a/intl/locale/mozILocaleService.idl b/intl/locale/mozILocaleService.idl
index 71227a64d3..0cf027caea 100644
--- a/intl/locale/mozILocaleService.idl
+++ b/intl/locale/mozILocaleService.idl
@@ -5,14 +5,6 @@
#include "nsISupports.idl"
-%{C++
-// Define Contractid and CID
-#define MOZ_LOCALESERVICE_CID \
- { 0x92735ff4, 0x6384, 0x4ad6, { 0x85, 0x08, 0x75, 0x70, 0x10, 0xe1, 0x49, 0xee } }
-
-#define MOZ_LOCALESERVICE_CONTRACTID "@mozilla.org/intl/localeservice;1"
-%}
-
[scriptable, uuid(C27F8983-B48B-4D1A-92D7-FEB8106F212D)]
interface mozILocaleService : nsISupports
{
diff --git a/intl/locale/mozIOSPreferences.idl b/intl/locale/mozIOSPreferences.idl
index f3e1c12440..1664aabfbe 100644
--- a/intl/locale/mozIOSPreferences.idl
+++ b/intl/locale/mozIOSPreferences.idl
@@ -5,14 +5,6 @@
#include "nsISupports.idl"
-%{C++
-// Define Contractid and CID
-#define MOZ_OSPREFERENCES_CID \
- { 0x65944815, 0xe9ae, 0x48bd, { 0xa2, 0xbf, 0xf1, 0x10, 0x87, 0x20, 0x95, 0x0c } }
-
-#define MOZ_OSPREFERENCES_CONTRACTID "@mozilla.org/intl/ospreferences;1"
-%}
-
[scriptable, uuid(65944815-e9ae-48bd-a2bf-f1108720950c)]
interface mozIOSPreferences : nsISupports
{