// Copyright (C) 2021 The Qt Company Ltd. // Copyright (C) 2019 Luxoft Sweden AB // Copyright (C) 2018 Pelagicore AG // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #ifndef QIFAMFMTUNER_P_H #define QIFAMFMTUNER_P_H // // W A R N I N G // ------------- // // This file is not part of the Qt API. It exists purely as an // implementation detail. This header file may change from version to // version without notice, or even be removed. // // We mean it. // #include "private/qtifmediaglobal_p.h" #include #include "qifamfmtuner.h" #include "qifamfmtunerbackendinterface.h" #include QT_BEGIN_NAMESPACE class QIfAmFmTunerPrivate : public QIfAbstractFeaturePrivate { public: QIfAmFmTunerPrivate(const QString &interface, QIfAmFmTuner *parent); void clearToDefaults(); void onFrequencyChanged(int frequency); void onMinimumFrequencyChanged(int frequency); void onMaximumFrequencyChanged(int frequency); void onStepSizeChanged(int stepSize); void onBandChanged(QIfAmFmTuner::Band band); void onStationChanged(const QIfAmFmTunerStation &station); void onScanStatusChanged(bool scanRunning); QIfAmFmTunerBackendInterface *tunerBackend() const; QIfAmFmTuner * const q_ptr; int m_frequency; int m_minimumFrequency; int m_maximumFrequency; int m_stepSize; QIfAmFmTuner::Band m_band; QIfAmFmTunerStation m_station; bool m_scanRunning; Q_DECLARE_PUBLIC(QIfAmFmTuner) }; QT_END_NAMESPACE #endif // QIFAMFMTUNER_P_H