xbmc
Instance Methods | Class Methods | Protected Attributes | List of all members
XBMCHelper Class Reference
Inheritance diagram for XBMCHelper:
Inheritance graph
[legend]
Collaboration diagram for XBMCHelper:
Collaboration graph
[legend]

Instance Methods

(void) - enableVerboseMode:
 
(void) - setApplicationPath:
 
(void) - setApplicationHome:
 
(void) - connectToServer:onPort:withMode:withTimeout:
 
(void) - disconnect
 
(bool) - OnSettingChanging
 The value of the given setting is being changed. More...
 
(void) - Start
 
(void) - Stop
 
(void) - Configure
 
(bool) - IsRunning
 
(bool) - IsAlwaysOn
 
(int) - GetMode
 
(bool) - ErrorStarting
 
- Instance Methods inherited from ISettingCallback
virtual void OnSettingChanged (const std::shared_ptr< const CSetting > &setting)
 The value of the given setting has changed. More...
 
virtual void OnSettingAction (const std::shared_ptr< const CSetting > &setting)
 The given setting has been activated. More...
 
virtual bool OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode)
 The given setting needs to be updated. More...
 
virtual void OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName)
 The given property of the given setting has changed. More...
 
- Instance Methods inherited from <HIDRemoteDelegate>
(void) - hidRemote:eventWithButton:isPressed:fromHardwareWithAttributes:
 
(void) - hidRemote:remoteIDChangedOldID:newID:forHardwareWithAttributes:
 
(void) - hidRemote:foundNewHardwareWithAttributes:
 
(void) - hidRemote:failedNewHardwareWithError:
 
(void) - hidRemote:releasedHardwareWithAttributes:
 
(BOOL) - hidRemote:inspectNewHardwareWithService:prematchResult:
 
(BOOL) - hidRemote:lendExclusiveLockToApplicationWithInfo:
 
(void) - hidRemote:exclusiveLockReleasedByApplicationWithInfo:
 
(BOOL) - hidRemote:shouldRetryExclusiveLockWithInfo:
 

Class Methods

(static XBMCHelper &) + GetInstance
 

Protected Attributes

HIDRemoteremote
 
XBMCClientWrappermp_wrapper
 
NSString * mp_app_path
 
NSString * mp_home_path
 
bool m_verbose
 

Method Documentation

◆ OnSettingChanging()

- (bool) OnSettingChanging (const std::shared_ptr< const CSetting > &)  setting

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.

Parameters
settingThe setting whose value is being changed (already containing the changed value)
Returns
True if the new value is acceptable otherwise false

Reimplemented from ISettingCallback.


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