/* SPDX-FileCopyrightText: 2010-2016 Ivan Cukic SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "org.kde.ActivityManager.Activities.h" #include #include namespace details { class ActivityInfoStaticInit { public: ActivityInfoStaticInit() { qDBusRegisterMetaType(); qDBusRegisterMetaType(); } static ActivityInfoStaticInit _instance; }; ActivityInfoStaticInit ActivityInfoStaticInit::_instance; } // namespace details QDBusArgument &operator<<(QDBusArgument &arg, const ActivityInfo r) { arg.beginStructure(); arg << r.id; arg << r.name; arg << r.description; arg << r.icon; arg << r.state; arg.endStructure(); return arg; } const QDBusArgument &operator>>(const QDBusArgument &arg, ActivityInfo &r) { arg.beginStructure(); arg >> r.id; arg >> r.name; arg >> r.description; arg >> r.icon; arg >> r.state; arg.endStructure(); return arg; } QDebug operator<<(QDebug dbg, const ActivityInfo &r) { dbg << "ActivityInfo(" << r.id << r.name << ")"; return dbg.space(); }