File indexing completed on 2024-04-28 15:17:51

0001 /*
0002  * BluezQt - Asynchronous Bluez wrapper library
0003  *
0004  * SPDX-FileCopyrightText: 2019 Manuel Weichselbaumer <mincequi@web.de>
0005  *
0006  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007  */
0008 
0009 #include "gattapplication_p.h"
0010 
0011 namespace BluezQt
0012 {
0013 GattApplicationPrivate::GattApplicationPrivate(const QString &objectPathPrefix, GattApplication *q_ptr)
0014     : q(q_ptr)
0015 {
0016     static uint8_t appNumber = 0;
0017     m_objectPath.setPath(objectPathPrefix + QStringLiteral("/app") + QString::number(appNumber++));
0018 }
0019 
0020 } // namespace BluezQt