1 #ifndef GD77CALLSIGNDB_HH
2 #define GD77CALLSIGNDB_HH
4 #include "callsigndb.hh"
5 #include "userdatabase.hh"
40 uint32_t getNumber()
const;
42 void setNumber(uint32_t number);
45 QString getName()
const;
47 void setName(
const QString &name);
68 void setSize(uint32_t n);
Controls the selection of callsigns from the UserDatabase to be encoded into the callsign db.
Definition: callsigndb.hh:20
Abstract base class of all callsign database implementations.
Definition: callsigndb.hh:14
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition: errorstack.hh:41
Represents and encodes the binary format for the call-sign database within the radio.
Definition: gd77_callsigndb.hh:25
virtual ~GD77CallsignDB()
Destructor.
Definition: gd77_callsigndb.cc:81
virtual bool encode(UserDatabase *calldb, const Selection &selection=Selection(), const ErrorStack &err=ErrorStack())
Encodes as many entries as possible of the given user-database.
Definition: gd77_callsigndb.cc:86
GD77CallsignDB(QObject *parent=nullptr)
Constructor.
Definition: gd77_callsigndb.cc:75
Represents the user information within the UserDatabase.
Definition: userdatabase.hh:28
Auto-updating DMR user database.
Definition: userdatabase.hh:23
Represents a user-db entry within the binary codeplug.
Definition: gd77_callsigndb.hh:30
uint32_t number
DMR ID stored in BCD little-endian.
Definition: gd77_callsigndb.hh:31
Represents the binary call-sign database header.
Definition: gd77_callsigndb.hh:58
uint32_t count
Number of contacts in DB, 32bit little-endian.
Definition: gd77_callsigndb.hh:60