summaryrefslogtreecommitdiff
path: root/src/daemon/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/daemon.h')
-rw-r--r--src/daemon/daemon.h22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/daemon/daemon.h b/src/daemon/daemon.h
index cfa5d7f..b05c8eb 100644
--- a/src/daemon/daemon.h
+++ b/src/daemon/daemon.h
@@ -28,9 +28,6 @@
#include <glib-object.h>
#include <gio/gio.h>
-#include <dbus/dbus-glib.h>
-#include <dbus/dbus-glib-lowlevel.h>
-
#define GSETTINGS_SCHEMA "org.mate.NotificationDaemon"
#define GSETTINGS_KEY_THEME "theme"
#define GSETTINGS_KEY_POPUP_LOCATION "popup-location"
@@ -81,23 +78,12 @@ struct _NotifyDaemonClass {
GObjectClass parent_class;
};
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
-GType notify_daemon_get_type(void);
+GType notify_daemon_get_type (void) G_GNUC_CONST;
+NotifyDaemon* notify_daemon_new (gboolean replace);
GQuark notify_daemon_error_quark(void);
-gboolean notify_daemon_notify_handler(NotifyDaemon* daemon, const gchar* app_name, guint id, const gchar* icon, const gchar* summary, const gchar* body, gchar** actions, GHashTable* hints, int timeout, DBusGMethodInvocation* context);
-
-gboolean notify_daemon_close_notification_handler(NotifyDaemon* daemon, guint id, GError** error);
-
-gboolean notify_daemon_get_capabilities(NotifyDaemon* daemon, char*** out_caps);
-
-gboolean notify_daemon_get_server_information(NotifyDaemon* daemon, char** out_name, char** out_vendor, char** out_version, char** out_spec_ver);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* NOTIFY_DAEMON_H */