libdrmconf  0.10.4
A library to program DMR radios.
anytone_limits.hh
1 #ifndef ANYTONELIMITS_HH
2 #define ANYTONELIMITS_HH
3 
4 #include "radiolimits.hh"
5 
10 {
11  Q_OBJECT
12 
13 protected:
20  AnytoneLimits(const QString &hardwareRevision, const QString &supportedRevision, bool betaWarning,
21  QObject *parent=nullptr);
22 
23 public:
24  bool verifyConfig(const Config *config, RadioLimitContext &context) const;
25 
26 protected:
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:67
Collects the issues found during verification.
Definition: radiolimits.hh:91
Represents the limits or the entire codeplug.
Definition: radiolimits.hh:678