Real Software Forums
http://forums.realsoftware.com/

Growl GNTP class
http://forums.realsoftware.com/viewtopic.php?f=2&t=41014
Page 1 of 2

Author:  clarifix [ Sat Oct 15, 2011 8:59 am ]
Post subject:  Growl GNTP class

With the new Growl 1.3 available on the Mac App Store, I have to make my application compatible again.
Until now, I used GrowlMBS, but the new Growl version does not work anymore with that framework.

So, I'll have to find/make a GNTP class for Growl, that provides me with the same methods I had with GrowlMBS, and that I can use as an alternative when Growl 1.3+ is detected.

Anyone confronted with this challenge as well? I'm a bit intimidated by the task of writing the whole thing, sockets, listeners, callbacks, etc.
I would be cool if I could share some ideas here.

Author:  clarifix [ Sat Oct 15, 2011 2:09 pm ]
Post subject:  Re: Growl GNTP class

OK, got it. I wrote 2 classes that act like GrowlMBS and GrowlNotificationMBS. Using sockets.
They're not finished yet, but I'm able to register, notify and even got the callback stuff working.
So consider this solved on my part. End of monologue.

Author:  MaxValle [ Mon Mar 12, 2012 5:28 pm ]
Post subject:  Re: Growl GNTP class

I know it's some months from your post, but I'm evaluating doing the same, so, have you finally got working your classes?
If so, have you thought to share your work?

Author:  swort [ Mon Mar 12, 2012 6:41 pm ]
Post subject:  Re: Growl GNTP class

I have some interests in this too !

Author:  Akiland [ Tue Mar 13, 2012 1:03 am ]
Post subject:  Re: Growl GNTP class

I'm also interested in this!
Hope it can work with WE ;)

Author:  clarifix [ Tue Mar 13, 2012 3:17 am ]
Post subject:  Re: Growl GNTP class

I quickly copied the code out of my project, and when I tested it, it did not compile immediately.

But I leave the debugging up to you guys…:-) Inside my project it works.

Uh, is there there a way to post a file on this forum?
Here's a dropbox URL:
http://dl.dropbox.com/u/18762341/GNTPGrowl.rbp

Author:  MaxValle [ Tue Mar 13, 2012 5:24 am ]
Post subject:  Re: Growl GNTP class

It seems the Socket class is missing. Can you share/describe this class? (I guess it could be a IPCSocket subclass).

Thanks!

Author:  clarifix [ Tue Mar 13, 2012 1:53 pm ]
Post subject:  Re: Growl GNTP class

More time this evening. Sorry about this.
I copied all class depencies into the project. There's a couple of MBS classes that might require plug-ins, but you might have them as well.
In fact I didn't bother to clean up to much, hope you don't mind.
I saved the rbp file again, you can download the modified version.
Hope this helps.

I wonder what Mountain Lion will bring us. Maybe this will not be needed anymore in the future.
Cheers! -- peter

Author:  MaxValle [ Tue Mar 13, 2012 5:17 pm ]
Post subject:  Re: Growl GNTP class

Thanks, it works now.

I guess we'll still need to support Growl even with Mountain Lion.

Author:  MaxValle [ Fri Mar 16, 2012 2:57 am ]
Post subject:  Re: Growl GNTP class

I polished a little the code:
- removed the MBS dependencies (used macoslib instead)
- added support for sending icons as binary (both app icon and single notifications icons)
- corrected some minor bugs/inconsistencies

Anyone wants the updated version? :D

Author:  swort [ Fri Mar 16, 2012 6:27 am ]
Post subject:  Re: Growl GNTP class

MaxValle wrote:
I polished a little the code:
- removed the MBS dependencies (used macoslib instead)
- added support for sending icons as binary (both app icon and single notifications icons)
- corrected some minor bugs/inconsistencies

Anyone wants the updated version? :D


sure!

Author:  MaxValle [ Fri Mar 16, 2012 7:00 am ]
Post subject:  Re: Growl GNTP class

Here it's the link: http://dl.dropbox.com/u/2252587/Growl.rbp.zip

I had to include the latest macoslib because I made some additions to the Process class.

Author:  clarifix [ Fri Mar 16, 2012 12:36 pm ]
Post subject:  Re: Growl GNTP class

Great stuff MaxValle. Bedankt! -- peter

Author:  rr191 [ Fri Dec 28, 2012 2:12 pm ]
Post subject:  Re: Growl GNTP class

I tried the last dropbox link and it is no longer available. Can someone repost the Growl GNTP class?

-- Rob

Author:  simulanics [ Sat Dec 29, 2012 12:05 am ]
Post subject:  Re: Growl GNTP class

swort wrote:
MaxValle wrote:
I polished a little the code:
- removed the MBS dependencies (used macoslib instead)
- added support for sending icons as binary (both app icon and single notifications icons)
- corrected some minor bugs/inconsistencies

Anyone wants the updated version? :D


sure!


Swort can you forward me a copy of the code so I can make a permanent link to it? :-)

Page 1 of 2 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/