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