00001 00021 #ifndef _LIBNOTIFY_INTERNAL_H_ 00022 #define _LIBNOTIFY_INTERNAL_H_ 00023 00024 #ifdef HAVE_CONFIG_H 00025 # include "config.h" 00026 #endif 00027 00028 #ifndef DBUS_API_SUBJECT_TO_CHANGE 00029 # define DBUS_API_SUBJECT_TO_CHANGE 1 00030 #endif 00031 00032 #include <dbus/dbus.h> 00033 #include <dbus/dbus-glib.h> 00034 00035 #define NOTIFY_DBUS_NAME "org.freedesktop.Notifications" 00036 #define NOTIFY_DBUS_CORE_INTERFACE "org.freedesktop.Notifications" 00037 #define NOTIFY_DBUS_CORE_OBJECT "/org/freedesktop/Notifications" 00038 00039 DBusGConnection *_notify_get_dbus_g_conn(void); 00040 DBusGProxy *_notify_get_g_proxy(void); 00041 00042 void _notify_cache_add_notification(NotifyNotification *n); 00043 void _notify_cache_remove_notification(NotifyNotification *n); 00044 gint _notify_notification_get_timeout(const NotifyNotification *n); 00045 gboolean _notify_notification_has_nondefault_actions( 00046 const NotifyNotification *n); 00047 00048 #endif /* _LIBNOTIFY_INTERNAL_H_ */