mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
41 lines
1.7 KiB
Objective-C
41 lines
1.7 KiB
Objective-C
/*
|
|
* This file is a part of program XcodeCapp
|
|
* Copyright (C) 2011 Antoine Mercadal (<primalmotion@archipelproject.org>)
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef xcodecapp_cocoa_FSEventCallback_h
|
|
#define xcodecapp_cocoa_FSEventCallback_h
|
|
|
|
#import "TNXCodeCapp.h"
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_6
|
|
# define kFSEventStreamCreateFlagFileEvents 0x00000010
|
|
# define kFSEventStreamEventFlagItemIsFile 0x00010000
|
|
# define kFSEventStreamEventFlagItemRemoved 0x00000200
|
|
# define kFSEventStreamEventFlagItemCreated 0x00000200
|
|
# define kFSEventStreamEventFlagItemModified 0x00001000
|
|
# define kFSEventStreamEventFlagItemInodeMetaMod 0x00000400
|
|
# define kFSEventStreamEventFlagItemRenamed 0x00000800
|
|
# define kFSEventStreamEventFlagItemFinderInfoMod 0x00002000
|
|
# define kFSEventStreamEventFlagItemChangeOwner 0x00004000
|
|
# define kFSEventStreamEventFlagItemXattrMod 0x00008000
|
|
#endif
|
|
|
|
void fsevents_callback(ConstFSEventStreamRef, void*, size_t, void*, const FSEventStreamEventFlags*, const FSEventStreamEventId*);
|
|
|
|
#endif
|