| 1 | /* |
| 2 | * BluezQt - Asynchronous Bluez wrapper library |
| 3 | * |
| 4 | * SPDX-FileCopyrightText: 2014-2015 David Rosca <nowrep@gmail.com> |
| 5 | * |
| 6 | * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
| 7 | */ |
| 8 | |
| 9 | #ifndef BLUEZQT_OBEXSESSION_P_H |
| 10 | #define BLUEZQT_OBEXSESSION_P_H |
| 11 | |
| 12 | #include "obexsession1.h" |
| 13 | |
| 14 | namespace BluezQt |
| 15 | { |
| 16 | class ObexSession; |
| 17 | |
| 18 | typedef org::bluez::obex::Session1 BluezSession; |
| 19 | |
| 20 | class ObexSessionPrivate : public QObject |
| 21 | { |
| 22 | Q_OBJECT |
| 23 | |
| 24 | public: |
| 25 | explicit ObexSessionPrivate(const QString &path, const QVariantMap &properties); |
| 26 | |
| 27 | void init(const QVariantMap &properties); |
| 28 | |
| 29 | QWeakPointer<ObexSession> q; |
| 30 | BluezSession *m_bluezSession; |
| 31 | |
| 32 | QString m_source; |
| 33 | QString m_destination; |
| 34 | quint8 m_channel; |
| 35 | QString m_target; |
| 36 | QString m_root; |
| 37 | }; |
| 38 | |
| 39 | } // namespace BluezQt |
| 40 | |
| 41 | #endif // BLUEZQT_OBEXSESSION_P_H |
| 42 | |