Skip to content

Commit

Permalink
Add ServiceManagement framework
Browse files Browse the repository at this point in the history
  • Loading branch information
dongcarl committed Dec 27, 2023
1 parent a39e82d commit a4ab8bc
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 1 deletion.
2 changes: 2 additions & 0 deletions crates/header-translator/framework-includes.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@

#import <QuartzCore/CoreAnimation.h>

#import <ServiceManagement/ServiceManagement.h>

#import <SoundAnalysis/SoundAnalysis.h>

#import <Speech/Speech.h>
Expand Down
2 changes: 2 additions & 0 deletions crates/header-translator/src/data/ServiceManagement.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
data! {
}
1 change: 1 addition & 0 deletions crates/header-translator/src/data/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ data! {
mod MetricKit;
mod OSAKit;
mod PhotoKit;
mod ServiceManagement;
mod SoundAnalysis;
mod Speech;
mod StoreKit;
Expand Down
32 changes: 32 additions & 0 deletions crates/header-translator/translation-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,14 @@ maccatalyst = "13.0"
ios = "2.0"
tvos = "9.0"

[library.ServiceManagement]
imports = ["Foundation"]
macos = "10.6"
maccatalyst = "13.0"
ios = "12.1"
tvos = "12.1"
watchos = "5.1"

[library.SoundAnalysis]
imports = ["Foundation"]
macos = "10.15"
Expand Down Expand Up @@ -1734,3 +1742,27 @@ skipped = true
skipped = true
[class.CWInterface.methods.associateToEnterpriseNetwork_identity_username_password_error]
skipped = true

# Items from ServiceManagement that uses types from CoreFoundation
[fn.SMJobBless]
skipped = true
[fn.SMLoginItemSetEnabled]
skipped = true
[static.kSMDomainSystemLaunchd]
skipped = true
[static.kSMDomainUserLaunchd]
skipped = true
[static.kSMErrorDomainFramework]
skipped = true
[static.kSMErrorDomainIPC]
skipped = true
[static.kSMErrorDomainLaunchd]
skipped = true
[fn.SMCopyAllJobDictionaries]
skipped = true
[fn.SMJobCopyDictionary]
skipped = true
[fn.SMJobRemove]
skipped = true
[fn.SMJobSubmit]
skipped = true
9 changes: 9 additions & 0 deletions crates/icrate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4797,6 +4797,14 @@ PhotoKit_all = [
"PhotoKit_PHProjectChangeRequest",
"PhotoKit_PHVideoRequestOptions",
]
ServiceManagement = [
"Foundation",
]
ServiceManagement_SMAppService = []
ServiceManagement_all = [
"ServiceManagement",
"ServiceManagement_SMAppService",
]
SoundAnalysis = [
"Foundation",
]
Expand Down Expand Up @@ -5646,6 +5654,7 @@ unstable-frameworks-macos-13 = [
"ExtensionKit_all",
"HealthKit_all",
"MetalFX_all",
"ServiceManagement_all",
"unstable-example-browser",
"unstable-frameworks-macos-12",
]
Expand Down
2 changes: 1 addition & 1 deletion crates/icrate/src/generated

0 comments on commit a4ab8bc

Please sign in to comment.