Skip to content

Commit a4ab8bc

Browse files
committed
Add ServiceManagement framework
1 parent a39e82d commit a4ab8bc

File tree

6 files changed

+47
-1
lines changed

6 files changed

+47
-1
lines changed

crates/header-translator/framework-includes.h

+2
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@
8787

8888
#import <QuartzCore/CoreAnimation.h>
8989

90+
#import <ServiceManagement/ServiceManagement.h>
91+
9092
#import <SoundAnalysis/SoundAnalysis.h>
9193

9294
#import <Speech/Speech.h>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
data! {
2+
}

crates/header-translator/src/data/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ data! {
4848
mod MetricKit;
4949
mod OSAKit;
5050
mod PhotoKit;
51+
mod ServiceManagement;
5152
mod SoundAnalysis;
5253
mod Speech;
5354
mod StoreKit;

crates/header-translator/translation-config.toml

+32
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,14 @@ maccatalyst = "13.0"
404404
ios = "2.0"
405405
tvos = "9.0"
406406

407+
[library.ServiceManagement]
408+
imports = ["Foundation"]
409+
macos = "10.6"
410+
maccatalyst = "13.0"
411+
ios = "12.1"
412+
tvos = "12.1"
413+
watchos = "5.1"
414+
407415
[library.SoundAnalysis]
408416
imports = ["Foundation"]
409417
macos = "10.15"
@@ -1734,3 +1742,27 @@ skipped = true
17341742
skipped = true
17351743
[class.CWInterface.methods.associateToEnterpriseNetwork_identity_username_password_error]
17361744
skipped = true
1745+
1746+
# Items from ServiceManagement that uses types from CoreFoundation
1747+
[fn.SMJobBless]
1748+
skipped = true
1749+
[fn.SMLoginItemSetEnabled]
1750+
skipped = true
1751+
[static.kSMDomainSystemLaunchd]
1752+
skipped = true
1753+
[static.kSMDomainUserLaunchd]
1754+
skipped = true
1755+
[static.kSMErrorDomainFramework]
1756+
skipped = true
1757+
[static.kSMErrorDomainIPC]
1758+
skipped = true
1759+
[static.kSMErrorDomainLaunchd]
1760+
skipped = true
1761+
[fn.SMCopyAllJobDictionaries]
1762+
skipped = true
1763+
[fn.SMJobCopyDictionary]
1764+
skipped = true
1765+
[fn.SMJobRemove]
1766+
skipped = true
1767+
[fn.SMJobSubmit]
1768+
skipped = true

crates/icrate/Cargo.toml

+9
Original file line numberDiff line numberDiff line change
@@ -4797,6 +4797,14 @@ PhotoKit_all = [
47974797
"PhotoKit_PHProjectChangeRequest",
47984798
"PhotoKit_PHVideoRequestOptions",
47994799
]
4800+
ServiceManagement = [
4801+
"Foundation",
4802+
]
4803+
ServiceManagement_SMAppService = []
4804+
ServiceManagement_all = [
4805+
"ServiceManagement",
4806+
"ServiceManagement_SMAppService",
4807+
]
48004808
SoundAnalysis = [
48014809
"Foundation",
48024810
]
@@ -5646,6 +5654,7 @@ unstable-frameworks-macos-13 = [
56465654
"ExtensionKit_all",
56475655
"HealthKit_all",
56485656
"MetalFX_all",
5657+
"ServiceManagement_all",
56495658
"unstable-example-browser",
56505659
"unstable-frameworks-macos-12",
56515660
]

crates/icrate/src/generated

0 commit comments

Comments
 (0)