diff options
Diffstat (limited to 'src/dbus.hpp')
| -rw-r--r-- | src/dbus.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/dbus.hpp b/src/dbus.hpp new file mode 100644 index 0000000..ba0d558 --- /dev/null +++ b/src/dbus.hpp @@ -0,0 +1,24 @@ +#ifndef WEBTRAY_DBUS_HPP +#define WEBTRAY_DBUS_HPP + +#include <QObject> + +#include "webwindow.hpp" + +static const char service_name[] = "xyz.nathanreiner.WebTray"; + +class DBusHandler : public QObject { + Q_OBJECT; + +private: + WebWindow *window; + +public slots: + void show(); + +public: + DBusHandler(WebWindow *window) : window(window) {} + virtual ~DBusHandler() {}; +}; + +#endif |