1 #ifndef COMMERCIALEXTENSION_HH
2 #define COMMERCIALEXTENSION_HH
4 #include "configobject.hh"
5 #include "configreference.hh"
6 #include "encryptionextension.hh"
Implements the generic extension for all channels configuring commercial features of DMR.
Definition: commercial_extension.hh:35
EncryptionKey * encryptionKey()
Returns the referenced encryption key.
EncryptionKeyReference _encryptionKey
The actual reference to the the encryption key.
Definition: commercial_extension.hh:59
void setEncryptionKeyRef(EncryptionKeyReference *ref)
Sets the reference to the encryption key.
Definition: commercial_extension.cc:56
EncryptionKeyReference * encryptionKeyRef()
Returns the reference to the encryption key.
Definition: commercial_extension.cc:51
Q_INVOKABLE CommercialChannelExtension(QObject *parent=nullptr)
Empty constructor.
Definition: commercial_extension.cc:34
EncryptionKeyReference * encryptionKey
Holds a reference to the associated encryption key.
Definition: commercial_extension.hh:39
void setEncryptionKey(EncryptionKey *key)
References the given encryption key.
Definition: commercial_extension.cc:68
ConfigItem * clone() const
Clones this item.
Definition: commercial_extension.cc:41
Implements the generic extension for the codeplug to represent some commercial features of DMR.
Definition: commercial_extension.hh:11
ConfigItem * clone() const
Clones this item.
Definition: commercial_extension.cc:15
EncryptionKeys * _encryptionKeys
Owns the instance of the encryption key list.
Definition: commercial_extension.hh:28
Q_INVOKABLE CommercialExtension(QObject *parent=nullptr)
Default constructor.
Definition: commercial_extension.cc:8
EncryptionKeys * encryptionKeys
Read only property returning holding the list of encryption keys.
Definition: commercial_extension.hh:15
Base class of all device/vendor specific confiuration extensions.
Definition: configobject.hh:232
Base class for all configuration objects (channels, zones, contacts, etc).
Definition: configobject.hh:40
Implements a reference to an encryption key.
Definition: configreference.hh:269
Base class of all encryption keys.
Definition: encryptionextension.hh:10
The list of encryption keys.
Definition: encryptionextension.hh:101