Signals | |
void | enabledChanged (bool enabled) |
void | serverDetected (ServerPtr server, bool needsRefresh) |
void | serverLost (ServerPtr server) |
Public Member Functions | |
Broadcast (QObject *parent=nullptr) | |
bool | isEnabled () const |
Is LAN broadcast capture enabled? More... | |
virtual EnginePlugin * | plugin () const =0 |
Plugin this Broadcast belongs to. More... | |
void | setEnabled (bool enabled) |
Definition at line 32 of file broadcast.h.
bool Broadcast::isEnabled | ( | ) | const |
Is LAN broadcast capture enabled?
Plugins need to decide themselves how to react to being disabled. Broadcast is always enabled by default.
Setter emits enabledChanged() signal.
Definition at line 42 of file broadcast.cpp.
|
pure virtual |
Plugin this Broadcast belongs to.
New instances of EnginePlugin shouldn't be created here. Instead each plugin should keep a global instance of EnginePlugin (singleton?) and a pointer to this instance should be returned.