Music Hub  ..
A session-wide music playback service
dbus_utils.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2021-2022 UBports Foundation.
3  *
4  * Contact: Alberto Mardegan <mardy@users.sourceforge.net>
5  *
6  * This program is free software: you can redistribute it and/or modify it
7  * under the terms of the GNU Lesser General Public License version 3,
8  * as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef LOMIRI_MEDIAHUB_DBUS_UTILS_H
20 #define LOMIRI_MEDIAHUB_DBUS_UTILS_H
21 
22 class QDBusPendingCall;
23 
24 namespace lomiri {
25 namespace MediaHub {
26 
27 struct DBusUtils {
28  static bool waitForFinished(const QDBusPendingCall &call);
29 };
30 
31 } // namespace MediaHub
32 } // namespace lomiri
33 
34 #endif // LOMIRI_MEDIAHUB_DBUS_UTILS_H
lomiri::MediaHub::DBusUtils
Definition: dbus_utils.h:27
lomiri::MediaHub::DBusUtils::waitForFinished
static bool waitForFinished(const QDBusPendingCall &call)
Definition: dbus_utils.cpp:34
lomiri
Definition: dbus_utils.h:24