Re: trying to add Growl support
Re: trying to add Growl support
- Subject: Re: trying to add Growl support
- From: John Stiles <email@hidden>
- Date: Tue, 4 Apr 2006 11:03:25 -0700
I had good luck with using Growl via the AppleScript API. This allows
you to skip the large (140K!) framework, and instead just use
NSAppleScript. It worked great. I had to write a bit of Carbon
Process Manager code to see if GrowlHelperApp was already running,
and it's work to use Unicode with AppleScript, but it was really easy
overall.
I posted about this in the last two weeks so you can check
lists.apple.com for my previous post.
On Apr 4, 2006, at 9:37 AM, Matt Neuburg wrote:
I'm trying to add Growl support to my MemoryStick app. I followed the
instructions on this page:
http://www.growl.info/documentation/developer/implementing-
growl.php?lang=co
coa
However, my app doesn't compile. I've created a class Growler to
act as a
go-between. In Growler.h, I've got:
#import <Cocoa/Cocoa.h>
#import "Growl.h"
@interface Growler : NSObject <GrowlApplicationBridgeDelegate> {
The problem is that the compiler is not seeing the definition of the
protocol GrowlApplicationBridgeDelegate, and I can't find a
formulation of
the #import directive that helps it; I've tried <Growl/Growl.h> and
lots of
others. I get errors like this:
error: Growl/Growl.h: No such file or directory
error: cannot find protocol declaration for
'GrowlApplicationBridgeDelegate'
I don't understand "search paths" so I don't know what to do, and
the web
page referred to above doesn't explain. Can someone tell me (or
just send me
a working example)? m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com
This email sent to email@hidden
_______________________________________________
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