//
// GrowlApplicationBridge-Carbon.h
// Growl
//
// Created by Mac-arena the Bored Zo on Wed Jun 18 2004.
// Based on GrowlApplicationBridge.h by Evan Schoenberg.
// This source code is in the public domain. You may freely link it into any
// program.
//
#ifndef _GROWLAPPLICATIONBRIDGE_CARBON_H_
#define _GROWLAPPLICATIONBRIDGE_CARBON_H_
#include <sys/cdefs.h>
#include <Carbon/Carbon.h>
#ifndef GROWL_EXPORT
#define GROWL_EXPORT __attribute__((visibility("default"))) DEPRECATED_ATTRIBUTE
#endif
/*! @header GrowlApplicationBridge-Carbon.h
* @abstract Declares an API that Carbon applications can use to interact with Growl.
* @discussion GrowlApplicationBridge uses a delegate to provide information //XXX
* to Growl (such as your application's name and what notifications it may
* post) and to provide information to your application (such as that Growl
* is listening for notifications or that a notification has been clicked).
*
* You can set the Growldelegate with Growl_SetDelegate and find out the
* current delegate with Growl_GetDelegate. See struct Growl_Delegate for more
* information about the delegate.
*/
__BEGIN_DECLS
/*! @struct Growl_Delegate
* @abstract Delegate to supply GrowlApplicationBridge with information and respond to events.
* @discussion The Growl delegate provides your interface to
* GrowlApplicationBridge. When GrowlApplicationBridge needs information about
* your application, it looks for it in the delegate; when Growl or the user
* does something that you might be interested in, GrowlApplicationBridge
* looks for a callback in the delegate and calls it if present
* (meaning, if it is not <code>NULL</code>).
* XXX on all of that
* @field size The size of the delegate structure.
* @field applicationName The name of your application.
* @field registrationDictionary A dictionary describing your application and the notifications it can send out.
* @field applicationIconData Your application's icon.
* @field growlInstallationWindowTitle The title of the installation window.
* @field growlInstallationInformation Text to display in the installation window.
* @field growlUpdateWindowTitle The title of the update window.
* @field growlUpdateInformation Text to display in the update window.
* @field referenceCount A count of owners of the delegate.
* @field retain Called when GrowlApplicationBridge receives this delegate.
* @field release Called when GrowlApplicationBridge no longer needs this delegate.
* @field growlIsReady Called when GrowlHelperApp is listening for notifications.
* @field growlNotificationWasClicked Called when a Growl notification is clicked.
* @field growlNotificationTimedOut Called when a Growl notification timed out.
*/
struct Growl_Delegate {
/* @discussion This should be sizeof(struct Growl_Delegate).
*/
size_t size;
/*All of these attributes are optional.
*Optional attributes can be NULL; required attributes that
* are NULL cause setting the Growl delegate to fail.
*XXX - move optional/required status into the discussion for each field
*/
/* This name is used both internally and in the Growl preferences.
*
* This should remain stable between different versions and incarnations of
* your application.
* For example, "SurfWriter" is a good app name, whereas "SurfWriter 2.0" and
* "SurfWriter Lite" are not.
*
* This can be <code>NULL</code> if it is provided elsewhere, namely in an
* auto-discoverable plist file in your app bundle
* (XXX refer to more information on that) or in registrationDictionary.
*/
CFStringRef applicationName;
/*
* Must contain at least these keys:
* GROWL_NOTIFICATIONS_ALL (CFArray):
* Contains the names of all notifications your application may post.
*
* Can also contain these keys:
* GROWL_NOTIFICATIONS_DEFAULT (CFArray):
* Names of notifications that should be enabled by default.
* If omitted, GROWL_NOTIFICATIONS_ALL will be used.
* GROWL_APP_NAME (CFString):
* Same as the applicationName member of this structure.
* If both are present, the applicationName member shall prevail.
* If this key is present, you may omit applicationName (set it to <code>NULL</code>).
* GROWL_APP_ICON (CFData):
* Same as the iconData member of this structure.
* If both are present, the iconData member shall prevail.
* If this key is present, you may omit iconData (set it to <code>NULL</code>).
*
* If you change the contents of this dictionary after setting the delegate,
* be sure to call Growl_Reregister.
*
* This can be <code>NULL</code> if you have an auto-discoverable plist file in your app
* bundle. (XXX refer to more information on that)
*/
CFDictionaryRef registrationDictionary;
/* The data can be in any format supported by NSImage. As of
* Mac OS X 10.3, this includes the .icns, TIFF, JPEG, GIF, PNG, PDF, and
* PICT formats.
*
* If this is not supplied, Growl will look up your application's icon by
* its application name.
*/
CFDataRef applicationIconData;
/* Installer display attributes
*
* These four attributes are used by the Growl installer, if this framework
* supports it.
* For any of these being <code>NULL</code>, a localised default will be
* supplied.
*/
/* If this is <code>NULL</code>, Growl will use a default,
* localized title.
*
* Only used if you're using Growl-WithInstaller.framework. Otherwise,
* this member is ignored.
*/
CFStringRef growlInstallationWindowTitle;
/* This information may be as long or short as desired (the
* window will be sized to fit it). If Growl is not installed, it will
* be displayed to the user as an explanation of what Growl is and what
* it can do in your application.
* It should probably note that no download is required to install.
*
* If this is <code>NULL</code>, Growl will use a default, localized
* explanation.
*
* Only used if you're using Growl-WithInstaller.framework. Otherwise,
* this member is ignored.
*/
CFStringRef growlInstallationInformation;
/* If this is <code>NULL</code>, Growl will use a default,
* localized title.
*
* Only used if you're using Growl-WithInstaller.framework. Otherwise,
* this member is ignored.
*/
CFStringRef growlUpdateWindowTitle;
/* This information may be as long or short as desired (the
* window will be sized to fit it). If an older version of Growl is
* installed, it will be displayed to the user as an explanation that an
* updated version of Growl is included in your application and
* no download is required.
*
* If this is <code>NULL</code>, Growl will use a default, localized
* explanation.
*
* Only used if you're using Growl-WithInstaller.framework. Otherwise,
* this member is ignored.
*/
CFStringRef growlUpdateInformation;
/* This member is provided for use by your retain and release
* callbacks (see below).
*
* GrowlApplicationBridge never directly uses this member. Instead, it
* calls your retain callback (if non-<code>NULL</code>) and your release
* callback (if non-<code>NULL</code>).
*/
unsigned referenceCount;
//Functions. Currently all of these are optional (any of them can be NULL).
/* When you call Growl_SetDelegate(newDelegate), it will call
* oldDelegate->release(oldDelegate), and then it will call
* newDelegate->retain(newDelegate), and the return value from retain
* is what will be set as the delegate.
* (This means that this member works like CFRetain and -[NSObject retain].)
* This member is optional (it can be <code>NULL</code>).
* For a delegate allocated with malloc, this member would be
* <code>NULL</code>.
* @result A delegate to which GrowlApplicationBridge holds a reference.
*/
void *(*retain)(void *);
/* When you call Growl_SetDelegate(newDelegate), it will call
* oldDelegate->release(oldDelegate), and then it will call
* newDelegate->retain(newD
没有合适的资源?快使用搜索试试~ 我知道了~
vox 播放器 mac下的小巧音频播放器
共117个文件
png:67个
dylib:11个
nib:10个
4星 · 超过85%的资源 需积分: 10 73 下载量 94 浏览量
2011-04-21
21:15:32
上传
评论 1
收藏 2.2MB ZIP 举报
温馨提示
vox 播放器 mac下的小巧音频播放器 vox 播放器 mac下的小巧音频播放器
资源推荐
资源详情
资源评论
收起资源包目录
vox 播放器 mac下的小巧音频播放器 (117个子文件)
Current 1B
Current 1B
libbass_gme.dylib 608KB
libbass.dylib 429KB
libbass_spx.dylib 186KB
libbass_fx.dylib 161KB
libbass_ape.dylib 141KB
libbasswv.dylib 141KB
libbass_mpc.dylib 133KB
libbassflac.dylib 117KB
libbassmix.dylib 83KB
libbass_tta.dylib 45KB
libbass_ca.dylib 34KB
Growl 253KB
Growl 22B
GrowlApplicationBridge-Carbon.h 34KB
GrowlApplicationBridge.h 27KB
GrowlDefines.h 15KB
LFScrobbler.h 9KB
LFResponder.h 2KB
Growl.h 130B
Headers 24B
Headers 24B
Vox.icns 157KB
VoxGenericDocumentIcon.icns 150KB
LFScrobbler 70KB
LFScrobbler 28B
designable.nib 794KB
designable.nib 292KB
keyedobjects.nib 203KB
keyedobjects.nib 201KB
keyedobjects.nib 65KB
keyedobjects.nib 65KB
classes.nib 1KB
classes.nib 1KB
info.nib 550B
info.nib 550B
PkgInfo 8B
Info.plist 17KB
Info.plist 738B
Info.plist 674B
Tracked Music.png 3KB
play.png 2KB
Audio.png 2KB
pause.png 2KB
General.png 1KB
next.png 1KB
previous.png 1KB
Audio Scrobbling.png 655B
Interface.png 517B
HUDStepperN.png 472B
HUDPopUpRightP.png 449B
HUDCheckboxOnP.png 413B
shuffleOn.png 401B
HUDButtonRightP.png 395B
loopAll.png 393B
loopOne.png 388B
HUDButtonLeftP.png 370B
HUDCheckboxOnN.png 370B
HUDPopUpRightN.png 364B
closeButton.png 353B
HUDSliderKnobH.png 351B
effectsPush.png 348B
HUDSliderKnobRound.png 340B
HUDButtonRightN.png 339B
effects.png 332B
HUDButtonLeftN.png 329B
HUDSliderKnobV.png 328B
infoButton.png 328B
exportPush.png 318B
HUDStepperDownP.png 315B
export.png 312B
HUDStepperUpP.png 303B
HUDCheckboxOffP.png 301B
HUDCheckboxOffN.png 293B
equalizer.png 250B
equalizerPush.png 249B
menubarPreviousPush.png 233B
menubarPrevious.png 232B
menubarNextPush.png 230B
menubarNext.png 227B
menubarPlayPush.png 222B
HUDPopUpLeftP.png 221B
menubarPlay.png 221B
HUDPopUpLeftN.png 221B
speakerMenu.png 207B
HUDSliderTrackOnH.png 187B
HUDSliderTrackOffV.png 182B
HUDSliderTrackOnV.png 181B
HUDSliderTrackOffH.png 180B
shuffleOff.png 168B
loopNone.png 162B
HUDPopUpFillP.png 152B
HUDPopUpFillN.png 145B
playlist.png 143B
playlistPush.png 143B
HUDButtonFillP.png 135B
HUDButtonFillN.png 130B
HUDProgressBar.png 129B
HUDSliderTrackFillOnH.png 123B
共 117 条
- 1
- 2
warmb123
- 粉丝: 21
- 资源: 72
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于matlab实现用有限元法计算电磁场的Matlab工具 .rar
- 基于matlab实现有限元算法 计算电磁场问题 边界条件包括第一类边界和第二类边界.rar
- 基于matlab实现用于计算不同车重下的电动汽车动力性和经济性.rar
- 基于matlab实现遗传算法求解多车场车辆路径问题 有多组算例可以用.rar
- 浏览器.apk
- 基于matlab实现是一个matlab中的power system 中搭建的一个模型
- 基于JSP毕业设计-教学管理系统(源代码+论文).zip
- 基于JSP毕业设计-家政管理系统-毕业设计.zip
- 基于Python实现淘宝商品评论采集(含逆向)源代码
- 基于matlab实现多目标进化算法NSGAⅡ&Matlab讲解.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页