Re: How to create a watcher file using fsevents
Re: How to create a watcher file using fsevents
- Subject: Re: How to create a watcher file using fsevents
- From: James Bucanek <email@hidden>
- Date: Tue, 4 May 2010 07:49:54 -0700
mathan kumar <mailto:email@hidden> wrote (Tuesday,
May 4, 2010 2:50 AM +0530):
I have following issues in accessing fsevents.h
1) Out of above four locations which one should be included since fsevents
is not getting included unless i put following include syntax
include<
../../../../Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/
Versions/A/Headers/fsevents.h>
You should really post your question to the xcode-dev list. This
really isn't a filesystem question as it is an Xcode question.
In short, you should never need to go looking for header files
or other development resources. You choose the SDK that you want
to build with (10.4, 10.5, 10.6), and then you include one or
more frameworks in your project. Xcode then finds the header and
other resource files within the chosen SDK.
In this case, if you've set the correct SDK (10.5 or 10.6) and
included the needed frameworks, you shouldn't have to include
anything extra, as the FSEvents stuff is part of the core
foundation frameworks.
2) Where could I find the function definition whose prototypes are declared
in fsevents.h using "extern" keyword
Again, you shouldn't ever have to make extern declarations to
system functions. These will all magically take care of
themselves once you get your Xcode environment set up correctly
and include the relevant headers.
James Bucanek
____________________________________________________________________
Author of Professional Xcode 3 ISBN: 9780470525227
<http://www.proxcode3.com/>
and Learn Objective-C for Java Developers ISBN: 9781430223696
<http://objectivec4java.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden