
Go to the source code of this file.
Data Structures | |
struct | E_Notification |
struct | E_Notification_Action |
struct | E_Notification_Image |
Defines | |
#define | DBG(...) EINA_LOG_DOM_DBG(_e_dbus_notify_log_dom, __VA_ARGS__) |
#define | E_DBUS_COLOR_DEFAULT EINA_COLOR_CYAN |
#define | E_DBUS_VARIANT_MARSHALLER(x) ((E_DBus_Variant_Marshaller)(x)) |
#define | E_NOTIFICATION_BUS_NAME "org.freedesktop.Notifications" |
#define | e_notification_call_new(member) dbus_message_new_method_call(E_NOTIFICATION_BUS_NAME, E_NOTIFICATION_PATH, E_NOTIFICATION_INTERFACE, member) |
#define | E_NOTIFICATION_INTERFACE "org.freedesktop.Notifications" |
#define | E_NOTIFICATION_PATH "/org/freedesktop/Notifications" |
#define | ERR(...) EINA_LOG_DOM_ERR(_e_dbus_notify_log_dom, __VA_ARGS__) |
#define | INF(...) EINA_LOG_DOM_INFO(_e_dbus_notify_log_dom, __VA_ARGS__) |
#define | WRN(...) EINA_LOG_DOM_WARN(_e_dbus_notify_log_dom, __VA_ARGS__) |
Typedefs | |
typedef void(* | E_DBus_Variant_Marshaller )(DBusMessageIter *iter, void *data) |
Functions | |
void | e_notify_free_get_capabilities_return (void *data) |
void | e_notify_free_get_server_information_return (void *data) |
void | e_notify_free_notify_return (void *data) |
DBusMessage * | e_notify_marshal_action_invoked_signal (dbus_uint32_t id, const char *action_id) |
DBusMessage * | e_notify_marshal_close_notification (dbus_uint32_t id) |
void | e_notify_marshal_dict_byte (DBusMessageIter *iter, const char *key, char value) |
void | e_notify_marshal_dict_int (DBusMessageIter *iter, const char *key, int value) |
void | e_notify_marshal_dict_string (DBusMessageIter *iter, const char *key, const char *value) |
void | e_notify_marshal_dict_variant (DBusMessageIter *iter, const char *key, char *type_str, E_DBus_Variant_Marshaller func, void *data) |
DBusMessage * | e_notify_marshal_get_capabilities () |
DBusMessage * | e_notify_marshal_get_capabilities_return (DBusMessage *method_call, const char **capabilities) |
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, const char *spec_version) |
void | e_notify_marshal_hint_image (DBusMessageIter *iter, E_Notification_Image *img) |
DBusMessage * | e_notify_marshal_notification_closed_signal (dbus_uint32_t id, dbus_uint32_t reason) |
DBusMessage * | e_notify_marshal_notify (E_Notification *n) |
DBusMessage * | e_notify_marshal_notify_return (DBusMessage *method_call, dbus_uint32_t notification_id) |
void | e_notify_marshal_string_array (DBusMessageIter *iter, const char **strings) |
void | e_notify_marshal_string_list_as_array (DBusMessageIter *iter, Eina_List *strings) |
E_Notification_Event_Action_Invoked * | e_notify_unmarshal_action_invoked_signal (DBusMessage *msg, DBusError *err) |
dbus_uint32_t | e_notify_unmarshal_close_notification (DBusMessage *msg, DBusError *err) |
void * | e_notify_unmarshal_get_capabilities_return (DBusMessage *msg, DBusError *err) |
void * | e_notify_unmarshal_get_server_information_return (DBusMessage *msg, DBusError *err) |
E_Notification_Image * | e_notify_unmarshal_hint_image (DBusMessageIter *iter) |
E_Notification_Event_Notification_Closed * | e_notify_unmarshal_notification_closed_signal (DBusMessage *msg, DBusError *err) |
E_Notification * | e_notify_unmarshal_notify (DBusMessage *msg, DBusError *err) |
void | e_notify_unmarshal_notify_actions (E_Notification *n, DBusMessageIter *iter) |
void | e_notify_unmarshal_notify_hints (E_Notification *n, DBusMessageIter *iter) |
void * | e_notify_unmarshal_notify_return (DBusMessage *msg, DBusError *err) |
Eina_List * | e_notify_unmarshal_string_array_as_list (DBusMessageIter *iter, DBusError *err) |
void | loginit (void) |
Variables | |
int | _e_dbus_notify_log_dom |
Define Documentation
#define DBG | ( | ... | ) | EINA_LOG_DOM_DBG(_e_dbus_notify_log_dom, __VA_ARGS__) |
#define E_DBUS_COLOR_DEFAULT EINA_COLOR_CYAN |
#define E_DBUS_VARIANT_MARSHALLER | ( | x | ) | ((E_DBus_Variant_Marshaller)(x)) |
Referenced by e_notify_marshal_notify().
#define E_NOTIFICATION_BUS_NAME "org.freedesktop.Notifications" |
Referenced by e_notification_daemon_free().
#define e_notification_call_new | ( | member | ) | dbus_message_new_method_call(E_NOTIFICATION_BUS_NAME, E_NOTIFICATION_PATH, E_NOTIFICATION_INTERFACE, member) |
#define E_NOTIFICATION_INTERFACE "org.freedesktop.Notifications" |
#define E_NOTIFICATION_PATH "/org/freedesktop/Notifications" |
#define ERR | ( | ... | ) | EINA_LOG_DOM_ERR(_e_dbus_notify_log_dom, __VA_ARGS__) |
#define INF | ( | ... | ) | EINA_LOG_DOM_INFO(_e_dbus_notify_log_dom, __VA_ARGS__) |
#define WRN | ( | ... | ) | EINA_LOG_DOM_WARN(_e_dbus_notify_log_dom, __VA_ARGS__) |
Typedef Documentation
typedef void(* E_DBus_Variant_Marshaller)(DBusMessageIter *iter, void *data) |
Function Documentation
void e_notify_free_get_capabilities_return | ( | void * | data | ) |
References E_Notification_Return_Get_Capabilities::capabilities.
Referenced by e_notification_get_capabilities().
void e_notify_free_get_server_information_return | ( | void * | data | ) |
Referenced by e_notification_get_server_information().
void e_notify_free_notify_return | ( | void * | data | ) |
Referenced by e_notification_send().
DBusMessage* e_notify_marshal_action_invoked_signal | ( | dbus_uint32_t | id, |
const char * | action_id | ||
) |
References E_NOTIFICATION_INTERFACE, and E_NOTIFICATION_PATH.
Referenced by e_notification_daemon_signal_action_invoked().
DBusMessage* e_notify_marshal_close_notification | ( | dbus_uint32_t | id | ) |
References e_notification_call_new.
void e_notify_marshal_dict_byte | ( | DBusMessageIter * | iter, |
const char * | key, | ||
char | value | ||
) |
References ERR.
Referenced by e_notify_marshal_notify().
void e_notify_marshal_dict_int | ( | DBusMessageIter * | iter, |
const char * | key, | ||
int | value | ||
) |
References ERR.
Referenced by e_notify_marshal_notify().
void e_notify_marshal_dict_string | ( | DBusMessageIter * | iter, |
const char * | key, | ||
const char * | value | ||
) |
References ERR.
Referenced by e_notify_marshal_notify().
void e_notify_marshal_dict_variant | ( | DBusMessageIter * | iter, |
const char * | key, | ||
char * | type_str, | ||
E_DBus_Variant_Marshaller | func, | ||
void * | data | ||
) |
References ERR.
Referenced by e_notify_marshal_notify().
DBusMessage* e_notify_marshal_get_capabilities | ( | ) |
References e_notification_call_new.
Referenced by e_notification_get_capabilities().
DBusMessage* e_notify_marshal_get_capabilities_return | ( | DBusMessage * | method_call, |
const char ** | capabilities | ||
) |
References e_notify_marshal_string_array().
Referenced by method_get_capabilities().
DBusMessage* e_notify_marshal_get_server_information | ( | ) |
References e_notification_call_new.
Referenced by e_notification_get_server_information().
DBusMessage* e_notify_marshal_get_server_information_return | ( | DBusMessage * | method_call, |
const char * | name, | ||
const char * | vendor, | ||
const char * | version, | ||
const char * | spec_version | ||
) |
Referenced by method_get_server_information().
void e_notify_marshal_hint_image | ( | DBusMessageIter * | iter, |
E_Notification_Image * | img | ||
) |
DBusMessage* e_notify_marshal_notification_closed_signal | ( | dbus_uint32_t | id, |
dbus_uint32_t | reason | ||
) |
References E_NOTIFICATION_INTERFACE, and E_NOTIFICATION_PATH.
Referenced by e_notification_daemon_signal_notification_closed().
DBusMessage* e_notify_marshal_notify | ( | E_Notification * | n | ) |
References E_Notification::actions, E_Notification::app_icon, E_Notification::app_name, E_Notification::body, E_Notification::category, E_Notification::desktop, E_DBUS_VARIANT_MARSHALLER, e_notification_call_new, e_notify_marshal_dict_byte(), e_notify_marshal_dict_int(), e_notify_marshal_dict_string(), e_notify_marshal_dict_variant(), e_notify_marshal_hint_image(), ERR, E_Notification::expire_timeout, E_Notification::hints, E_Notification_Action::id, E_Notification::image_data, E_Notification_Action::name, E_Notification::replaces_id, E_Notification::sound_file, E_Notification::summary, E_Notification::suppress_sound, E_Notification::urgency, E_Notification::x, and E_Notification::y.
Referenced by e_notification_send().
DBusMessage* e_notify_marshal_notify_return | ( | DBusMessage * | method_call, |
dbus_uint32_t | notification_id | ||
) |
Referenced by method_notify().
void e_notify_marshal_string_array | ( | DBusMessageIter * | iter, |
const char ** | strings | ||
) |
References ERR.
Referenced by e_notify_marshal_get_capabilities_return().
void e_notify_marshal_string_list_as_array | ( | DBusMessageIter * | iter, |
Eina_List * | strings | ||
) |
References ERR.
E_Notification_Event_Action_Invoked* e_notify_unmarshal_action_invoked_signal | ( | DBusMessage * | msg, |
DBusError * | err | ||
) |
dbus_uint32_t e_notify_unmarshal_close_notification | ( | DBusMessage * | msg, |
DBusError * | err | ||
) |
Referenced by method_close_notification().
void* e_notify_unmarshal_get_capabilities_return | ( | DBusMessage * | msg, |
DBusError * | err | ||
) |
References E_Notification_Return_Get_Capabilities::capabilities, and e_notify_unmarshal_string_array_as_list().
Referenced by e_notification_get_capabilities().
void* e_notify_unmarshal_get_server_information_return | ( | DBusMessage * | msg, |
DBusError * | err | ||
) |
E_Notification_Image* e_notify_unmarshal_hint_image | ( | DBusMessageIter * | iter | ) |
References E_Notification_Image::bits_per_sample, E_Notification_Image::channels, E_Notification_Image::data, e_notification_image_new(), E_Notification_Image::has_alpha, E_Notification_Image::height, E_Notification_Image::rowstride, and E_Notification_Image::width.
Referenced by e_notify_unmarshal_notify_hints().
E_Notification_Event_Notification_Closed* e_notify_unmarshal_notification_closed_signal | ( | DBusMessage * | msg, |
DBusError * | err | ||
) |
E_Notification* e_notify_unmarshal_notify | ( | DBusMessage * | msg, |
DBusError * | err | ||
) |
Referenced by method_notify().
void e_notify_unmarshal_notify_actions | ( | E_Notification * | n, |
DBusMessageIter * | iter | ||
) |
References e_notification_action_add().
Referenced by e_notify_unmarshal_notify().
void e_notify_unmarshal_notify_hints | ( | E_Notification * | n, |
DBusMessageIter * | iter | ||
) |
References e_notification_hint_category_set(), e_notification_hint_desktop_set(), e_notification_hint_image_path_set(), e_notification_hint_resident_set(), e_notification_hint_sound_file_set(), e_notification_hint_suppress_sound_set(), e_notification_hint_transient_set(), e_notification_hint_urgency_set(), e_notification_hint_xy_set(), e_notify_unmarshal_hint_image(), E_Notification::hints, E_Notification::icon_data, and E_Notification::image_data.
Referenced by e_notify_unmarshal_notify().
void* e_notify_unmarshal_notify_return | ( | DBusMessage * | msg, |
DBusError * | err | ||
) |
References E_Notification_Return_Notify::notification_id.
Referenced by e_notification_send().
Eina_List* e_notify_unmarshal_string_array_as_list | ( | DBusMessageIter * | iter, |
DBusError * | err | ||
) |
Referenced by e_notify_unmarshal_get_capabilities_return().
void loginit | ( | void | ) |
References _e_dbus_notify_log_dom, and E_DBUS_COLOR_DEFAULT.
Referenced by e_notification_action_add(), e_notification_action_id_get(), e_notification_action_name_get(), e_notification_actions_get(), e_notification_app_icon_get(), e_notification_app_icon_set(), e_notification_app_name_get(), e_notification_app_name_set(), e_notification_body_get(), e_notification_body_set(), e_notification_closed_get(), e_notification_closed_set(), e_notification_daemon_add(), e_notification_free(), e_notification_full_new(), e_notification_hint_action_icons_set(), e_notification_hint_category_get(), e_notification_hint_category_set(), e_notification_hint_desktop_get(), e_notification_hint_desktop_set(), e_notification_hint_icon_data_get(), e_notification_hint_image_data_get(), e_notification_hint_image_data_set(), e_notification_hint_image_path_get(), e_notification_hint_image_path_set(), e_notification_hint_resident_set(), e_notification_hint_sound_file_get(), e_notification_hint_sound_file_set(), e_notification_hint_suppress_sound_get(), e_notification_hint_suppress_sound_set(), e_notification_hint_transient_set(), e_notification_hint_urgency_get(), e_notification_hint_urgency_set(), e_notification_hint_xy_get(), e_notification_hint_xy_set(), e_notification_id_get(), e_notification_id_set(), e_notification_image_evas_object_add(), e_notification_image_free(), e_notification_image_init(), e_notification_image_new(), e_notification_new(), e_notification_ref(), e_notification_replaces_id_get(), e_notification_replaces_id_set(), e_notification_summary_get(), e_notification_summary_set(), e_notification_timeout_get(), e_notification_timeout_set(), and e_notification_unref().
Variable Documentation
Referenced by loginit().