libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
anytone_limits.hh
1#ifndef ANYTONELIMITS_HH
2#define ANYTONELIMITS_HH
3
4#include "radiolimits.hh"
5
10{
11 Q_OBJECT
12
13protected:
20 AnytoneLimits(const QString &hardwareRevision, const QString &supportedRevision, bool betaWarning,
21 QObject *parent=nullptr);
22
23public:
24 bool verifyConfig(const Config *config, RadioLimitContext &context) const;
25
26protected:
31};
32
33#endif // ANYTONELIMITS_HH
Base class of limtis for all AnyTone radios.
Definition anytone_limits.hh:10
bool verifyConfig(const Config *config, RadioLimitContext &context) const
Verifies the given configuration.
Definition anytone_limits.cc:10
QString _supportedRevision
Holds the supported hardware revision of the radio.
Definition anytone_limits.hh:30
AnytoneLimits(const QString &hardwareRevision, const QString &supportedRevision, bool betaWarning, QObject *parent=nullptr)
Constructor.
Definition anytone_limits.cc:3
QString _hardwareRevision
Holds the hardware revision of the radio.
Definition anytone_limits.hh:28
The config class, representing the codeplug configuration.
Definition config.hh:70
Collects the issues found during verification.
Definition radiolimits.hh:94
Represents the limits or the entire codeplug.
Definition radiolimits.hh:684