8 Growl::Growl(
const Growl_Protocol _protocol,
const char *
const _password,
const char *
const _application,
const char **_notifications,
const int _notifications_count)
10 server = strdup(
"localhost");
11 if (_password)
password = strdup(_password);
14 Register(_notifications, _notifications_count);
18 Growl::Growl(
const Growl_Protocol _protocol,
const char *
const _server,
const char *
const _password,
const char *
const _application,
const char **_notifications,
const int _notifications_count )
21 if (_password)
password = strdup(_password);
24 Register(_notifications, _notifications_count);
28 void Growl::Register(
const char **
const notifications,
const int notifications_count ,
const char *
const icon )
58 void Growl::Notify(
const char *
const notification,
const char *
const title,
const char*
const message)
64 void Growl::Notify(
const char *
const notification,
const char *
const title,
const char*
const message,
const char *
const url,
const char *
const icon)
Growl(const Growl_Protocol _protocol, const char *const _password, const char *const _appliciation, const char **const _notifications, const int _notifications_count)
GROWL_EXPORT int growl_tcp_notify(const char *const server, const char *const appname, const char *const notify, const char *const title, const char *const message, const char *const password, const char *const url, const char *const icon)
void Register(const char **const _notifications, const int _notifications_count, const char *const icon=NULL)
GROWL_EXPORT int growl_udp_register(const char *const server, const char *const appname, const char **const notifications, const int notifications_count, const char *const password)
GROWL_EXPORT int growl_udp_notify(const char *const server, const char *const appname, const char *const notify, const char *const title, const char *const message, const char *const password)
void Notify(const char *const notification, const char *const title, const char *const message)
GROWL_EXPORT int growl_tcp_register(const char *const server, const char *const appname, const char **const notifications, const int notifications_count, const char *const password, const char *const icon)