File indexing completed on 2024-12-01 12:29:48
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 "leadvertisement_p.h" 0010 0011 namespace BluezQt 0012 { 0013 LEAdvertisementPrivate::LEAdvertisementPrivate(const QStringList &serviceUuids) 0014 : m_serviceUuids(serviceUuids) 0015 { 0016 static uint8_t advNumber = 0; 0017 QString objectPath = QLatin1String("/org/bluez/lead") + QString::number(advNumber++); 0018 m_objectPath.setPath(objectPath); 0019 } 0020 0021 } // namespace BluezQt