From aa8e593bf3d5138d007619048eeac0e4b9863b7a Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Mon, 27 Jan 2020 12:37:45 -0800 Subject: launcher: remove unused DBus code artifacts All accesses to control launching applications are now done via agl-service-homescreen/libhomescreen, and thus the unused DBus interface can be removed. Bug-AGL: SPEC-3137 Change-Id: I27f5afd89bd15eb50486e2546a730e40f016b05e Signed-off-by: Matt Ranostay --- launcher/src/appinfo.cpp | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'launcher/src/appinfo.cpp') diff --git a/launcher/src/appinfo.cpp b/launcher/src/appinfo.cpp index c55d94c..78c48ed 100644 --- a/launcher/src/appinfo.cpp +++ b/launcher/src/appinfo.cpp @@ -142,36 +142,3 @@ void AppInfo::read(const QJsonObject &json) d->author = json["author"].toString(); d->iconPath = json["iconPath"].toString(); } - -QDBusArgument &operator <<(QDBusArgument &argument, const AppInfo &appInfo) -{ - argument.beginStructure(); - argument << appInfo.d->id; - argument << appInfo.d->version; - argument << appInfo.d->width; - argument << appInfo.d->height; - argument << appInfo.d->name; - argument << appInfo.d->description; - argument << appInfo.d->shortname; - argument << appInfo.d->author; - argument << appInfo.d->iconPath; - argument.endStructure(); - - return argument; -} - -const QDBusArgument &operator >>(const QDBusArgument &argument, AppInfo &appInfo) -{ - argument.beginStructure(); - argument >> appInfo.d->id; - argument >> appInfo.d->version; - argument >> appInfo.d->width; - argument >> appInfo.d->height; - argument >> appInfo.d->name; - argument >> appInfo.d->description; - argument >> appInfo.d->shortname; - argument >> appInfo.d->author; - argument >> appInfo.d->iconPath; - argument.endStructure(); - return argument; -} -- cgit 1.2.3-korg