Skip to content

Commit d1d3dcd

Browse files
JonnHardGitHub Actions Autoformatterdalexsoto
authored
Add getFileProviderConnectionWithCompletionHandler signature to start… (#18533)
… supporting XPC on File Provider instance File Provider Service can act as an standalone XPC that you can establish the connection with. To open up the capability this new signature has to be exposed --------- Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com> Co-authored-by: Alex Soto <alex@alexsoto.me>
1 parent fb147a1 commit d1d3dcd

File tree

6 files changed

+4
-5
lines changed

6 files changed

+4
-5
lines changed

src/foundation.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15446,6 +15446,10 @@ partial interface NSFileManager {
1544615446
interface NSFileProviderService {
1544715447
[Export ("name")]
1544815448
string Name { get; }
15449+
15450+
[Async]
15451+
[Export ("getFileProviderConnectionWithCompletionHandler:")]
15452+
void GetFileProviderConnection (Action<NSXpcConnection, NSError> completionHandler);
1544915453
}
1545015454

1545115455
#if MONOMAC

tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Foundation.ignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@
115115
!missing-selector! NSCreateCommand::resolvedKeyDictionary not bound
116116
!missing-selector! NSDeleteCommand::keySpecifier not bound
117117
!missing-selector! NSDeleteCommand::setReceiversSpecifier: not bound
118-
!missing-selector! NSFileProviderService::getFileProviderConnectionWithCompletionHandler: not bound
119118
!missing-selector! NSIndexSpecifier::index not bound
120119
!missing-selector! NSIndexSpecifier::initWithContainerClassDescription:containerSpecifier:key:index: not bound
121120
!missing-selector! NSIndexSpecifier::setIndex: not bound

tests/xtro-sharpie/api-annotations-dotnet/iOS-Foundation.ignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
!missing-selector! NSFileProviderService::getFileProviderConnectionWithCompletionHandler: not bound
21

32
!missing-protocol-conformance! NSXPCConnection should conform to NSXPCProxyCreating
43
!missing-selector! NSXPCInterface::interfaceForSelector:argumentIndex:ofReply: not bound

tests/xtro-sharpie/api-annotations-dotnet/macOS-Foundation.ignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@
153153
!missing-selector! NSDeleteCommand::keySpecifier not bound
154154
!missing-selector! NSDeleteCommand::setReceiversSpecifier: not bound
155155
!missing-selector! NSDirectoryEnumerator::level not bound
156-
!missing-selector! NSFileProviderService::getFileProviderConnectionWithCompletionHandler: not bound
157156
!missing-selector! NSIndexSpecifier::index not bound
158157
!missing-selector! NSIndexSpecifier::initWithContainerClassDescription:containerSpecifier:key:index: not bound
159158
!missing-selector! NSIndexSpecifier::setIndex: not bound

tests/xtro-sharpie/iOS-Foundation.ignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
!missing-selector! NSFileProviderService::getFileProviderConnectionWithCompletionHandler: not bound
21

32
!missing-protocol-conformance! NSXPCConnection should conform to NSXPCProxyCreating
43
!missing-selector! NSXPCInterface::interfaceForSelector:argumentIndex:ofReply: not bound

tests/xtro-sharpie/macOS-Foundation.ignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@
160160
!missing-selector! NSDeleteCommand::keySpecifier not bound
161161
!missing-selector! NSDeleteCommand::setReceiversSpecifier: not bound
162162
!missing-selector! NSDirectoryEnumerator::level not bound
163-
!missing-selector! NSFileProviderService::getFileProviderConnectionWithCompletionHandler: not bound
164163
!missing-selector! NSIndexSpecifier::index not bound
165164
!missing-selector! NSIndexSpecifier::initWithContainerClassDescription:containerSpecifier:key:index: not bound
166165
!missing-selector! NSIndexSpecifier::setIndex: not bound

0 commit comments

Comments
 (0)