xbmc
|
Public Types | |
enum | ESERVERS { ES_WEBSERVER = 1, ES_AIRPLAYSERVER, ES_JSONRPCSERVER, ES_UPNPRENDERER, ES_UPNPSERVER, ES_EVENTSERVER, ES_ZEROCONF, ES_WSDISCOVERY } |
Public Member Functions | |
bool | OnSettingChanging (const std::shared_ptr< const CSetting > &setting) override |
The value of the given setting is being changed. More... | |
void | OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override |
The value of the given setting has changed. More... | |
bool | OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode) override |
The given setting needs to be updated. More... | |
void | Start () |
void | Stop (bool bWait) |
bool | StartServer (enum ESERVERS server, bool start) |
bool | StartWebserver () |
bool | IsWebserverRunning () |
bool | StopWebserver () |
bool | StartAirPlayServer () |
bool | IsAirPlayServerRunning () |
bool | StopAirPlayServer (bool bWait) |
bool | StartAirTunesServer () |
bool | IsAirTunesServerRunning () |
bool | StopAirTunesServer (bool bWait) |
bool | StartJSONRPCServer () |
bool | IsJSONRPCServerRunning () |
bool | StopJSONRPCServer (bool bWait) |
bool | StartEventServer () |
bool | IsEventServerRunning () |
bool | StopEventServer (bool bWait, bool promptuser) |
bool | RefreshEventServer () |
bool | StartUPnP () |
bool | StopUPnP (bool bWait) |
bool | StartUPnPClient () |
bool | IsUPnPClientRunning () |
bool | StopUPnPClient () |
bool | StartUPnPController () |
bool | IsUPnPControllerRunning () |
bool | StopUPnPController () |
bool | StartUPnPRenderer () |
bool | IsUPnPRendererRunning () |
bool | StopUPnPRenderer () |
bool | StartUPnPServer () |
bool | IsUPnPServerRunning () |
bool | StopUPnPServer () |
bool | StartRss () |
bool | IsRssRunning () |
bool | StopRss () |
bool | StartZeroconf () |
bool | IsZeroconfRunning () |
bool | StopZeroconf () |
bool | StartWSDiscovery () |
bool | IsWSDiscoveryRunning () |
bool | StopWSDiscovery () |
![]() | |
virtual void | OnSettingAction (const std::shared_ptr< const CSetting > &setting) |
The given setting has been activated. More... | |
virtual void | OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName) |
The given property of the given setting has changed. More... | |
|
overridevirtual |
The value of the given setting has changed.
This callback is triggered whenever the value of a setting has been successfully changed (i.e. none of the OnSettingChanging() handlers) has reverted the change.
setting | The setting whose value has been changed |
Reimplemented from ISettingCallback.
|
overridevirtual |
The value of the given setting is being changed.
This callback is triggered whenever the value of a setting is being changed. The given CSetting already contains the new value and the handler of the callback has the possibility to allow or revert changing the value of the setting. In case of a revert OnSettingChanging() is called again to inform all listeners that the value change has been reverted.
setting | The setting whose value is being changed (already containing the changed value) |
Reimplemented from ISettingCallback.
|
overridevirtual |
The given setting needs to be updated.
This callback is triggered when a setting needs to be updated because its value is outdated. This only happens when initially loading the value of a setting and will not be triggered afterwards.
setting | The setting which needs to be updated. |
oldSettingId | The id of the previous setting. |
oldSettingNode | The old setting node |
Reimplemented from ISettingCallback.