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:22
Abstract base class of all callsign database implementations.
Definition callsigndb.hh:16
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition errorstack.hh:43
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 Flags &selection=Flags(), const ErrorStack &err=ErrorStack())
Encodes as many entries as possible of the given user-database.
Definition gd77_callsigndb.cc:86
Represents the user information within the UserDatabase.
Definition userdatabase.hh:32
Auto-updating DMR user database.
Definition userdatabase.hh:24
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