libdrmconf
0.15.1
A library to program DMR radios.
Toggle main menu visibility
Loading...
Searching...
No Matches
anytone_limits.hh
1
#ifndef ANYTONELIMITS_HH
2
#define ANYTONELIMITS_HH
3
4
#include "radiolimits.hh"
5
9
class
AnytoneLimits
:
public
RadioLimits
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
:
28
QString
_hardwareRevision
;
30
QString
_supportedRevision
;
31
};
32
33
#endif
// ANYTONELIMITS_HH
AnytoneLimits::verifyConfig
bool verifyConfig(const Config *config, RadioLimitContext &context) const
Verifies the given configuration.
Definition
anytone_limits.cc:10
AnytoneLimits::_supportedRevision
QString _supportedRevision
Holds the supported hardware revision of the radio.
Definition
anytone_limits.hh:30
AnytoneLimits::AnytoneLimits
AnytoneLimits(const QString &hardwareRevision, const QString &supportedRevision, bool betaWarning, QObject *parent=nullptr)
Constructor.
Definition
anytone_limits.cc:3
AnytoneLimits::_hardwareRevision
QString _hardwareRevision
Holds the hardware revision of the radio.
Definition
anytone_limits.hh:28
Config
The config class, representing the codeplug configuration.
Definition
config.hh:70
RadioLimitContext
Collects the issues found during verification.
Definition
radiolimits.hh:97
RadioLimits::RadioLimits
RadioLimits(bool betaWarning, QObject *parent=nullptr)
Empty constructor.
Definition
radiolimits.cc:1081
lib
anytone_limits.hh
Generated by
1.17.0