diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-17 23:51:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-17 23:51:06 +0000 |
commit | 8e8432bc206fbf713d5a28cb5f73a8e91ca182ec (patch) | |
tree | e3bc178c71b7410895ee21bc0034e5ad5f7f02dd /src/daemon/daemon.h | |
parent | 3f4f61189742ee39bdd7f050fb172491abff831b (diff) | |
download | kdbusnotification-8e8432bc206fbf713d5a28cb5f73a8e91ca182ec.tar.gz kdbusnotification-8e8432bc206fbf713d5a28cb5f73a8e91ca182ec.zip |
Initial version of the kdbusnotification service
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdbusnotification@1259338 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/daemon/daemon.h')
-rw-r--r-- | src/daemon/daemon.h | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/src/daemon/daemon.h b/src/daemon/daemon.h index e671037..c0bc6fc 100644 --- a/src/daemon/daemon.h +++ b/src/daemon/daemon.h @@ -22,14 +22,30 @@ #ifndef NOTIFY_DAEMON_H #define NOTIFY_DAEMON_H +#include <tqwidget.h> + +class NotifierContainer : public TQWidget +{ + Q_OBJECT + TQ_OBJECT + +public: + NotifierContainer(); + ~NotifierContainer(); + + void displayMessage(TQString title, TQString message, TQString icon, int x, int y); + void processEvents(); + +public slots: + void handleGTKMain(); +}; + #include <glib.h> #include <glib-object.h> #include <dbus/dbus-glib.h> #include <dbus/dbus-glib-lowlevel.h> -#define NOTIFY_RC_FILE "xfce4/notication-daemon-xfce/settingsrc" - #define NOTIFY_TYPE_DAEMON (notify_daemon_get_type()) #define NOTIFY_DAEMON(obj) \ (G_TYPE_CHECK_INSTANCE_CAST ((obj), NOTIFY_TYPE_DAEMON, NotifyDaemon)) @@ -98,9 +114,6 @@ gboolean notify_daemon_get_server_information(NotifyDaemon *daemon, char **out_version, char **out_spec_ver); -gchar *xfce_load_setting (const gchar *key, - const gchar *fallback); - G_END_DECLS #endif /* NOTIFY_DAEMON_H */ |