mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 15:04:18 +00:00
Add black list functionality for D-Star and DMR.
This commit is contained in:
parent
3ee457830b
commit
371684ae03
9 changed files with 114 additions and 23 deletions
|
|
@ -32,10 +32,11 @@
|
|||
#include "Modem.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class CDStarControl {
|
||||
public:
|
||||
CDStarControl(const std::string& callsign, const std::string& module, bool selfOnly, CDStarNetwork* network, IDisplay* display, unsigned int timeout, bool duplex);
|
||||
CDStarControl(const std::string& callsign, const std::string& module, bool selfOnly, const std::vector<std::string>& blackList, CDStarNetwork* network, IDisplay* display, unsigned int timeout, bool duplex);
|
||||
~CDStarControl();
|
||||
|
||||
bool writeModem(unsigned char* data);
|
||||
|
|
@ -48,6 +49,7 @@ private:
|
|||
unsigned char* m_callsign;
|
||||
unsigned char* m_gateway;
|
||||
bool m_selfOnly;
|
||||
std::vector<std::string> m_blackList;
|
||||
CDStarNetwork* m_network;
|
||||
IDisplay* m_display;
|
||||
bool m_duplex;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue