1 | /* |
2 | * BluezQt - Asynchronous Bluez wrapper library |
3 | * |
4 | * SPDX-FileCopyrightText: 2019 Manuel Weichselbaumer <mincequi@web.de> |
5 | * |
6 | * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
7 | */ |
8 | |
9 | #include "gattapplication_p.h" |
10 | |
11 | namespace BluezQt |
12 | { |
13 | GattApplicationPrivate::GattApplicationPrivate(const QString &objectPathPrefix, GattApplication *q_ptr) |
14 | : q(q_ptr) |
15 | { |
16 | static uint8_t appNumber = 0; |
17 | m_objectPath.setPath(objectPathPrefix + QStringLiteral("/app" ) + QString::number(appNumber++)); |
18 | } |
19 | |
20 | } // namespace BluezQt |
21 | |