Add icon support on PHP Growl version.
Posted: Fri May 16, 2008 2:52 pm
Hey
,
It's been while that I try to implement the icon support on the PHP version of Growl. I have look the Perl, and Python sources because — in PHP — we have the pack function that works like Perl (and all formatting codes work the same as in Perl).
Well, the delegate for icon is : (NSData *) applicationIconDataForGrowl;. What is the NSData object (in Cocoa) ? I don't find this equivalent with using pack function (see http://php.net/pack).
All I found is that the icon must be in tiff format, right (deduced from Perl sources) ?
If someone could help me, it should be nice
. Thanks.
It's been while that I try to implement the icon support on the PHP version of Growl. I have look the Perl, and Python sources because — in PHP — we have the pack function that works like Perl (and all formatting codes work the same as in Perl).
Well, the delegate for icon is : (NSData *) applicationIconDataForGrowl;. What is the NSData object (in Cocoa) ? I don't find this equivalent with using pack function (see http://php.net/pack).
All I found is that the icon must be in tiff format, right (deduced from Perl sources) ?
If someone could help me, it should be nice