Skip to content

FSEvents macOS xcode15.0 b1

Manuel de la Pena edited this page Sep 5, 2023 · 2 revisions

#FSEvents.framework https://github.com/xamarin/xamarin-macios/pull/18930

diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h	2023-03-09 19:08:22
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h	2023-05-19 19:39:16
@@ -305,6 +305,14 @@
    * client process.
    */
   kFSEventStreamCreateFlagFullHistory __OSX_AVAILABLE_STARTING(__MAC_10_15, __IPHONE_13_0) = 0x00000080,
+  /*
+   * Requires kFSEventStreamCreateFlagUseCFTypes, kFSEventStreamCreateFlagUseExtendedData and instructs the
+   * framework to invoke your callback function with CF types but,
+   * instead of passing it a CFArrayRef of CFStringRefs, a CFArrayRef of
+   * CFDictionaryRefs is passed.  Each dictionary will contain the event
+   * path, fileID, and docID.
+   */
+  kFSEventStreamCreateWithDocID __OSX_AVAILABLE_STARTING(__MAC_10_15, __IPHONE_13_0) = 0x00000100,
 };
 
 /*
@@ -326,6 +334,13 @@
  * (Set only if you specified the FileEvents flag when creating the stream.)
  */
 #define kFSEventStreamEventExtendedFileIDKey        CFSTR("fileID")
+
+/*
+ * File system object docid number.
+ * Value of type CFNumberRef.
+ * (Set only if you specified the FileEvents flag when creating the stream.)
+ */
+#define kFSEventStreamEventExtendedDocIDKey        CFSTR("docID")
 
 /*
  *  FSEventStreamEventFlags
Clone this wiki locally