Re: WireHoseChangeNotification.framework
Re: WireHoseChangeNotification.framework
- Subject: Re: WireHoseChangeNotification.framework
- From: Gino Pacitti <email@hidden>
- Date: Tue, 14 Jun 2005 17:34:23 +0100
Hi Ya
Yes, I just found that bit...
Thanks
Gino
On 14 Jun 2005, at 17:28, Gary Teter wrote:
The WireHoseChangeNotification framework doesn't use the
constructor. From the readme:
* WHChangeCatcher sets itself up as a singleton. There is no
need to do anything in your application's constructor as David
describes below, just add the WHChangeNotification framework to
your project and it'll do its thing automagically. If you want
to get the WHChangeCatcher object to set a delegate or whatever,
the static method WHChangeCatcher.changeCatcher() will return
the current changeCatcher. Dunno about using it from ObjC,
haven't had a reason to try yet.
* The framework pays attention to three command-line user
defaults:
-WHDisableChangeNotification YES/NO
If set to YES, then WHChangeCatcher removes itself as an
observer
for notifications. The default is NO since it'd be pretty
silly
otherwise.
-WHChangeCatcherSystemInfo /path/to/ChangeCatcherSystemInfo.plist
-WHChangeCatcherInstances /path/to/ChangeCatcherInstances.plist
If these aren't set, we assume the files are called
"ChangeCatcherSystemInfo.plist" and
"ChangeCatcherInstances.plist"
and that they can be found in the main bundle's resources
folder.
On Jun 14, 2005, at 9:00 AM, Gino Pacitti wrote:
Hi All
I am trying to get the ChangeCatcher set up on my app but get a
compile problem.
It complains of a unresolved symbol which is the code below:
cc = new WHChangeCatcher(systemInfoPath, instancesPath, port
().intValue());
When I check the WHChangeCatcher code I don't see a constructor
with the with the args as above but a constructor as this:
private WHChangeCatcher() {
super();
}
Am I missing something?
I have built the Framework, installed it in /System/Library/
Frameworks
Imported it into the app, even put a direct import statement for
the packages.
Any help would be appreciated.
Best
Gino
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
--
WireHose: Smart metadata and personalization for WebObjects.
http://www.wirehose.com/
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden