Sha256: 8ca4600c35c637d7819e5647b42c2087420959dafb19d117a6ebadd15f2577dd

Contents?: true

Size: 1.62 KB

Versions: 155

Compression:

Stored size: 1.62 KB

Contents

/**
 * @headerfile compat.h
 * FSEventStream flag compatibility shim
 *
 * In order to compile a binary against an older SDK yet still support the
 * features present in later OS releases, we need to define any missing enum
 * constants not present in the older SDK. This allows us to safely defer
 * feature detection to runtime (and avoid recompilation).
 */


#ifndef fsevent_watch_compat_h
#define fsevent_watch_compat_h

#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif // __CORESERVICES__

#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
// ignoring events originating from the current process introduced in 10.6
extern FSEventStreamCreateFlags kFSEventStreamCreateFlagIgnoreSelf;
#endif

#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
// file-level events introduced in 10.7
extern FSEventStreamCreateFlags kFSEventStreamCreateFlagFileEvents;
extern FSEventStreamEventFlags  kFSEventStreamEventFlagItemCreated,
                                kFSEventStreamEventFlagItemRemoved,
                                kFSEventStreamEventFlagItemInodeMetaMod,
                                kFSEventStreamEventFlagItemRenamed,
                                kFSEventStreamEventFlagItemModified,
                                kFSEventStreamEventFlagItemFinderInfoMod,
                                kFSEventStreamEventFlagItemChangeOwner,
                                kFSEventStreamEventFlagItemXattrMod,
                                kFSEventStreamEventFlagItemIsFile,
                                kFSEventStreamEventFlagItemIsDir,
                                kFSEventStreamEventFlagItemIsSymlink;
#endif

#endif // fsevent_watch_compat_h

Version data entries

155 entries across 63 versions & 5 rubygems

Version Path
classiccms-0.5.15 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.14 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.14 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.14 vendor/bundle/gems/guard-1.0.3/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.13 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.13 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.13 vendor/bundle/gems/guard-1.0.3/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.12 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.12 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.12 vendor/bundle/gems/guard-1.0.3/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.11 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.11 vendor/bundle/gems/guard-1.0.3/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.11 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.10 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.10 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.10 vendor/bundle/gems/guard-1.0.3/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.9 vendor/bundle/gems/guard-1.0.3/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.9 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.9 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h
classiccms-0.5.8 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h