Skip to content

Commit

Permalink
Add getFileProviderConnectionWithCompletionHandler signature to start… (
Browse files Browse the repository at this point in the history
#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 <[email protected]>
Co-authored-by: Alex Soto <[email protected]>
  • Loading branch information
3 people authored Jul 20, 2023
1 parent fb147a1 commit d1d3dcd
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions src/foundation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15446,6 +15446,10 @@ partial interface NSFileManager {
interface NSFileProviderService {
[Export ("name")]
string Name { get; }

[Async]
[Export ("getFileProviderConnectionWithCompletionHandler:")]
void GetFileProviderConnection (Action<NSXpcConnection, NSError> completionHandler);
}

#if MONOMAC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
!missing-selector! NSCreateCommand::resolvedKeyDictionary not bound
!missing-selector! NSDeleteCommand::keySpecifier not bound
!missing-selector! NSDeleteCommand::setReceiversSpecifier: not bound
!missing-selector! NSFileProviderService::getFileProviderConnectionWithCompletionHandler: not bound
!missing-selector! NSIndexSpecifier::index not bound
!missing-selector! NSIndexSpecifier::initWithContainerClassDescription:containerSpecifier:key:index: not bound
!missing-selector! NSIndexSpecifier::setIndex: not bound
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
!missing-selector! NSFileProviderService::getFileProviderConnectionWithCompletionHandler: not bound

!missing-protocol-conformance! NSXPCConnection should conform to NSXPCProxyCreating
!missing-selector! NSXPCInterface::interfaceForSelector:argumentIndex:ofReply: not bound
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@
!missing-selector! NSDeleteCommand::keySpecifier not bound
!missing-selector! NSDeleteCommand::setReceiversSpecifier: not bound
!missing-selector! NSDirectoryEnumerator::level not bound
!missing-selector! NSFileProviderService::getFileProviderConnectionWithCompletionHandler: not bound
!missing-selector! NSIndexSpecifier::index not bound
!missing-selector! NSIndexSpecifier::initWithContainerClassDescription:containerSpecifier:key:index: not bound
!missing-selector! NSIndexSpecifier::setIndex: not bound
Expand Down
1 change: 0 additions & 1 deletion tests/xtro-sharpie/iOS-Foundation.ignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
!missing-selector! NSFileProviderService::getFileProviderConnectionWithCompletionHandler: not bound

!missing-protocol-conformance! NSXPCConnection should conform to NSXPCProxyCreating
!missing-selector! NSXPCInterface::interfaceForSelector:argumentIndex:ofReply: not bound
Expand Down
1 change: 0 additions & 1 deletion tests/xtro-sharpie/macOS-Foundation.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@
!missing-selector! NSDeleteCommand::keySpecifier not bound
!missing-selector! NSDeleteCommand::setReceiversSpecifier: not bound
!missing-selector! NSDirectoryEnumerator::level not bound
!missing-selector! NSFileProviderService::getFileProviderConnectionWithCompletionHandler: not bound
!missing-selector! NSIndexSpecifier::index not bound
!missing-selector! NSIndexSpecifier::initWithContainerClassDescription:containerSpecifier:key:index: not bound
!missing-selector! NSIndexSpecifier::setIndex: not bound
Expand Down

5 comments on commit d1d3dcd

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

Please sign in to comment.