void * e_notify_unmarshal_get_capabilities_return(DBusMessage *msg, DBusError *err);
void e_notify_free_get_capabilities_return(void *data);
DBusMessage * e_notify_marshal_get_server_information();
-DBusMessage * e_notify_marshal_get_server_information_return(DBusMessage *method_call, const char *name, const char *vendor, const char *version);
+DBusMessage * e_notify_marshal_get_server_information_return(DBusMessage *method_call, const char *name, const char *vendor, const char *version, const char *spec_version);
void * e_notify_unmarshal_get_server_information_return(DBusMessage *msg, DBusError *err);
void e_notify_free_get_server_information_return(void *data);
DBusMessage * e_notify_marshal_close_notification(dbus_uint32_t id);
#ifndef E_DBUS_COLOR_DEFAULT
#define E_DBUS_COLOR_DEFAULT EINA_COLOR_CYAN
#endif
-extern int _e_dbus_notification_log_dom;
-
-#ifdef ERR
-#undef ERR
-#endif
-#ifdef INF
-#undef INF
-#endif
-#ifdef WARN
-#undef WARN
-#endif
-#ifdef DBG
-#undef DBG
-#endif
-
-#define DBG(...) EINA_LOG_DOM_DBG(_e_dbus_notification_log_dom, __VA_ARGS__)
-#define INFO(...) EINA_LOG_DOM_INFO(_e_dbus_notification_log_dom, __VA_ARGS__)
-#define WARN(...) EINA_LOG_DOM_WARN(_e_dbus_notification_log_dom, __VA_ARGS__)
-#define ERR(...) EINA_LOG_DOM_ERR(_e_dbus_notification_log_dom, __VA_ARGS__)
-
struct E_Notification_Image
{
struct E_Notification
{
int id;
- char *app_name;
+ const char *app_name;
unsigned int replaces_id;
- char *app_icon;
- char *summary;
- char *body;
+ const char *app_icon;
+ const char *summary;
+ const char *body;
int expire_timeout;
Eina_List *actions;
struct
{
char urgency;
- char *category;
- char *desktop;
- char *sound_file;
+ const char *category;
+ const char *desktop;
+ const char *sound_file;
char suppress_sound;
int x, y;
E_Notification_Image *image_data;
struct E_Notification_Action
{
- char *id;
- char *name;
+ const char *id;
+ const char *name;
};
#endif