Skip to content

Commit 038e1cd

Browse files
authored
[FSKit] Update to Xcode 26 beta 1-5. (#23562)
1 parent ea8dd75 commit 038e1cd

File tree

2 files changed

+45
-11
lines changed

2 files changed

+45
-11
lines changed

src/fskit.cs

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,10 @@ interface FSVolumeOperations : FSVolumePathConfOperations {
894894
[Abstract]
895895
[Export ("deactivateWithOptions:replyHandler:")]
896896
void Deactivate (FSDeactivateOptions options, FSVolumeOperationsDeactivateHandler reply);
897+
898+
[Mac (26, 0)]
899+
[Export ("enableOpenUnlinkEmulation")]
900+
bool EnableOpenUnlinkEmulation { get; set; }
897901
}
898902

899903
#if !STABLE_FSKIT
@@ -1374,8 +1378,18 @@ interface FSTask {
13741378

13751379
[Export ("didCompleteWithError:")]
13761380
void DidComplete ([NullAllowed] NSError error);
1381+
1382+
[Mac (26, 0)]
1383+
[NullAllowed, Export ("cancellationHandler", ArgumentSemantic.Copy)]
1384+
FSTaskCancellationCallback CancellationHandler { get; set; }
13771385
}
13781386

1387+
#if !STABLE_FSKIT
1388+
[Experimental ("APL0002")]
1389+
#endif
1390+
[return: NullAllowed]
1391+
delegate NSError FSTaskCancellationCallback ();
1392+
13791393
#if !STABLE_FSKIT
13801394
[Experimental ("APL0002")]
13811395
#endif
@@ -1390,4 +1404,35 @@ interface FSTaskOptions {
13901404
[return: NullAllowed]
13911405
NSUrl GetUrl (string option);
13921406
}
1407+
1408+
#if !STABLE_FSKIT
1409+
[Experimental ("APL0002")]
1410+
#endif
1411+
[Mac (26, 0)]
1412+
[BaseType (typeof (FSResource), Name = "FSGenericURLResource")]
1413+
[DisableDefaultCtor]
1414+
interface FSGenericUrlResource {
1415+
[Export ("url", ArgumentSemantic.Copy)]
1416+
NSUrl Url { get; }
1417+
1418+
[Export ("initWithURL:")]
1419+
NativeHandle Constructor (NSUrl url);
1420+
}
1421+
1422+
#if !STABLE_FSKIT
1423+
[Experimental ("APL0002")]
1424+
#endif
1425+
[Mac (26, 0)]
1426+
[BaseType (typeof (FSResource), Name = "FSPathURLResource")]
1427+
[DisableDefaultCtor]
1428+
interface FSPathUrlResource {
1429+
[Export ("url", ArgumentSemantic.Copy)]
1430+
NSUrl Url { get; }
1431+
1432+
[Export ("initWithURL:writable:")]
1433+
NativeHandle Constructor (NSUrl url, bool writable);
1434+
1435+
[Export ("writable")]
1436+
bool Writable { [Bind ("isWritable")] get; }
1437+
}
13931438
}

tests/xtro-sharpie/api-annotations-dotnet/macOS-FSKit.todo

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)