Posting to NotificationCenter from an Open Source app
Posting to NotificationCenter from an Open Source app
- Subject: Posting to NotificationCenter from an Open Source app
- From: Matthew Egan <email@hidden>
- Date: Mon, 26 Jun 2006 21:56:04 +1000
I'm not sure this is possible (doesn't seem to be to much info on the
net about it) but I will ask anyway ...
I want to change an Open Source ftp server program to contact
NSDistributedNotificationCenter and post a notification.
I want to add a couple of lines of code to tell another application
that it has received a file and the download is complete. There are
several examples on how to use NSDistributedNotificationCenter within
a Cocoa app - but I want to send this notification from within a CLI
application that is written in C. I would have to add the code and
then make/compile with GCC.
Is this possible?
Can someone point me in the direction of some example code.
The closest thing I can find is this example:
http://po-ru.com/diary/drb-and-nsdistributednotificationcenter-in-
rubycocoa/
I'm new at this stuff and I'm having trouble interpreting the
info ... so if anyone could help me I would appreciate it.
Thanks
Matt Egan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden