@@ -24,6 +24,7 @@
2424#include <QObject>
2525#include <QSettings>
2626#include <QStringList>
27+#include <QDBusVirtualObject>
2728
2829class AccountsServiceDBusAdaptor;
2930
@@ -33,7 +34,7 @@ class AccountsServiceDBusAdaptor;
3334
3435class LauncherBackendItem;
3536
36−class LauncherBackend : public QObject
37+class LauncherBackend : public QDBusVirtualObject
3738{
3839 Q_OBJECT
3940
@@ -122,6 +123,21 @@ public:
122123 */
123124 void setUser(const QString &username);
124125
126+ /**
127+ * @brief Handle a message to an application node
128+ * @param message DBus message to handle
129+ * @param connection DBus connection that we're using
130+ * @returns whether the message was handled
131+ */
132+ virtual bool handleMessage(const QDBusMessage& message, const QDBusConnection& connection);
133+
134+ /**
135+ * @brief Get introspection information on the objects we're exporting
136+ * @param path the dbus path containing the appid
137+ * @returns Introspection information for that node in the tree
138+ */
139+ virtual QString introspect (const QString &path) const;
140+
125141Q_SIGNALS:
126142 void quickListChanged(const QString &appId, const QList<QuickListEntry> &quickList);
127143 void progressChanged(const QString &appId, int progress);