libdrmconf 0.13.3
A library to program DMR radios.
Loading...
Searching...
No Matches
satelliteconfig.hh
1#ifndef SATELLITECONFIG_HH
2#define SATELLITECONFIG_HH
3
4#include "dfufile.hh"
5
6
7// Forward declarations
9
10
15{
16 Q_OBJECT
17
18protected:
20 explicit SatelliteConfig(QObject *parent = nullptr);
21
22public:
24 virtual bool encode(SatelliteDatabase *db, const ErrorStack &err=ErrorStack()) = 0;
25};
26
27#endif // SATELLITECONFIG_HH
DFUFile(QObject *parent=nullptr)
Constructs an empty DFU file object.
Definition dfufile.cc:45
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition errorstack.hh:43
SatelliteConfig(QObject *parent=nullptr)
Hidden constructor.
Definition satelliteconfig.cc:3
virtual bool encode(SatelliteDatabase *db, const ErrorStack &err=ErrorStack())=0
Encodes the given satellite db into the device specific satellite configuration.
A table holding all known satellites.
Definition satellitedatabase.hh:108