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