Sha256: 9f31c8fa973a0da1983e71709809ab8ad8b2e805582cafe0789d6477a98e0bb9

Contents?: true

Size: 1.89 KB

Versions: 30

Compression:

Stored size: 1.89 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

#if MAC_OS_X_VERSION_MAX_ALLOWED < 1090
// marking, rather than ignoring, events originating from the current process introduced in 10.9
extern FSEventStreamCreateFlags kFSEventStreamCreateFlagMarkSelf;
extern FSEventStreamEventFlags  kFSEventStreamEventFlagOwnEvent;
#endif


#endif // fsevent_watch_compat_h

Version data entries

30 entries across 28 versions & 9 rubygems

Version Path
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/ext/fsevent_watch/compat.h
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/ext/fsevent_watch/compat.h
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/ext/fsevent_watch/compat.h
arcabouco-0.2.13 vendor/bundle/gems/rb-fsevent-0.9.8/ext/fsevent_watch/compat.h
arcabouco-0.2.13 vendor/bundle/gems/rb-fsevent-0.9.7/ext/fsevent_watch/compat.h
gameboard-3.1.0 vendor/bundle/ruby/2.3.0/gems/rb-fsevent-0.9.8/ext/fsevent_watch/compat.h
gameboard-3.0.0 vendor/bundle/ruby/2.3.0/gems/rb-fsevent-0.9.8/ext/fsevent_watch/compat.h
rb-fsevent-0.9.8 ext/fsevent_watch/compat.h
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/rb-fsevent-0.9.7/ext/fsevent_watch/compat.h
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/rb-fsevent-0.9.7/ext/fsevent_watch/compat.h
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/rb-fsevent-0.9.7/ext/fsevent_watch/compat.h
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/rb-fsevent-0.9.7/ext/fsevent_watch/compat.h
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/rb-fsevent-0.9.7/ext/fsevent_watch/compat.h
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/rb-fsevent-0.9.7/ext/fsevent_watch/compat.h
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/rb-fsevent-0.9.7/ext/fsevent_watch/compat.h
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/rb-fsevent-0.9.7/ext/fsevent_watch/compat.h
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/rb-fsevent-0.9.7/ext/fsevent_watch/compat.h
rb-fsevent-0.9.7 ext/fsevent_watch/compat.h
mastermind_adeybee-0.1.4 vendor/bundle/ruby/2.2.0/gems/rb-fsevent-0.9.6/ext/fsevent_watch/compat.h
mastermind_adeybee-0.1.3 vendor/bundle/ruby/2.2.0/gems/rb-fsevent-0.9.6/ext/fsevent_watch/compat.h