2
* notify-monitor.h - A gobject subclass to watch dbus for org.freedesktop.Notification.Notify messages.
5
#ifndef __NOTIFY_MONITOR_H__
6
#define __NOTIFY_MONITOR_H__
9
#include <glib-object.h>
13
#define NOTIFY_MONITOR_TYPE (notify_monitor_get_type ())
14
#define NOTIFY_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NOTIFY_MONITOR_TYPE, NotifyMonitor))
15
#define NOTIFY_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NOTIFY_MONITOR_TYPE, NotifyMonitorClass))
16
#define IS_NOTIFY_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NOTIFY_MONITOR_TYPE))
17
#define IS_NOTIFY_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NOTIFY_MONITOR_TYPE))
19
typedef struct _NotifyMonitor NotifyMonitor;
20
typedef struct _NotifyMonitorClass NotifyMonitorClass;
27
struct _NotifyMonitorClass
29
GObjectClass parent_class;
32
GType notify_monitor_get_type(void);
33
NotifyMonitor* notify_monitor_new(void);
37
#endif /* __NOTIFY_MONITOR_H__ */