File indexing completed on 2024-12-08 12:15:36

0001 /*
0002  * BluezQt - Asynchronous Bluez wrapper library
0003  *
0004  * SPDX-FileCopyrightText: 2014-2015 David Rosca <nowrep@gmail.com>
0005  *
0006  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007  */
0008 
0009 #ifndef BLUEZQT_OBEXSESSION_P_H
0010 #define BLUEZQT_OBEXSESSION_P_H
0011 
0012 #include "obexsession1.h"
0013 
0014 namespace BluezQt
0015 {
0016 class ObexSession;
0017 
0018 typedef org::bluez::obex::Session1 BluezSession;
0019 
0020 class ObexSessionPrivate : public QObject
0021 {
0022     Q_OBJECT
0023 
0024 public:
0025     explicit ObexSessionPrivate(const QString &path, const QVariantMap &properties);
0026 
0027     void init(const QVariantMap &properties);
0028 
0029     QWeakPointer<ObexSession> q;
0030     BluezSession *m_bluezSession;
0031 
0032     QString m_source;
0033     QString m_destination;
0034     quint8 m_channel;
0035     QString m_target;
0036     QString m_root;
0037 };
0038 
0039 } // namespace BluezQt
0040 
0041 #endif // BLUEZQT_OBEXSESSION_P_H