feat: add mimeManager Service
Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
@ -21,7 +21,7 @@ void registerComplexDbusType()
|
||||
qDBusRegisterMetaType<ObjectInterfaceMap>();
|
||||
qRegisterMetaType<ObjectMap>();
|
||||
qDBusRegisterMetaType<ObjectMap>();
|
||||
qDBusRegisterMetaType<QMap<QString, QString>>();
|
||||
qDBusRegisterMetaType<KVPairs>();
|
||||
qRegisterMetaType<PropMap>();
|
||||
qDBusRegisterMetaType<PropMap>();
|
||||
qDBusRegisterMetaType<QDBusObjectPath>();
|
||||
|
@ -9,9 +9,9 @@ bool registerObjectToDBus(QObject *o, const QString &path, const QString &interf
|
||||
auto &con = ApplicationManager1DBus::instance().globalServerBus();
|
||||
if (!con.registerObject(path, interface, o, QDBusConnection::RegisterOption::ExportAdaptors)) {
|
||||
qCritical() << "register object failed:" << path << interface << con.lastError();
|
||||
} else {
|
||||
qDebug() << "register object:" << path << interface;
|
||||
return false;
|
||||
}
|
||||
qDebug() << "register object:" << path << interface;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user