kdeconnect-kde/plugins/findthisdevice/findthisdevicehelper.h
Carl Schwan 9832f380dc findthisdevice: Add audio playback
Similar to the C++ kcm
2024-10-13 19:40:34 +00:00

21 lines
422 B
C++

/*
* SPDX-FileCopyrightText: 2024 Carl Schwan <carl@carlschwan.eu>
*
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#pragma once
#include <QObject>
#include <qqmlregistration.h>
class FindThisDeviceHelper : public QObject
{
Q_OBJECT
QML_ELEMENT
QML_SINGLETON
public:
static Q_INVOKABLE QString defaultSound();
bool pathExists(const QString &path);
};