aboutsummaryrefslogtreecommitdiff
path: root/src/dbus.hpp
blob: ba0d558c1140c43b383a57c6c01bbdcaa63be5ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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