Broadcast Class Referenceabstract
+ Inheritance diagram for Broadcast:

Signals

void enabledChanged (bool enabled)
 
void serverDetected (ServerPtr server, bool needsRefresh)
 
void serverLost (ServerPtr server)
 

Public Member Functions

 Broadcast (QObject *parent=0)
 
bool isEnabled () const
 Is LAN broadcast capture enabled? More...
 
virtual EnginePluginplugin () const =0
 Plugin this Broadcast belongs to. More...
 
void setEnabled (bool enabled)
 

Detailed Description

Definition at line 32 of file broadcast.h.

Member Function Documentation

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.

virtual EnginePlugin* Broadcast::plugin ( ) const
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.


The documentation for this class was generated from the following files: