xbmc
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
CSeekHandler Class Reference
Inheritance diagram for CSeekHandler:
Inheritance graph
[legend]
Collaboration diagram for CSeekHandler:
Collaboration graph
[legend]

Public Member Functions

void OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override
 The value of the given setting has changed. More...
 
bool OnAction (const CAction &action) override
 
void Seek (bool forward, float amount, float duration=0, bool analogSeek=false, SeekType type=SEEK_TYPE_VIDEO)
 
void SeekSeconds (int seconds)
 
void FrameMove ()
 
void Reset ()
 
void Configure ()
 
int GetSeekSize () const
 
bool InProgress () const
 
bool HasTimeCode () const
 
int GetTimeCodeSeconds () const
 
- Public Member Functions inherited from ISettingCallback
virtual bool OnSettingChanging (const std::shared_ptr< const CSetting > &setting)
 The value of the given setting is being 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...
 

Static Public Member Functions

static void SettingOptionsSeekStepsFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int &current, void *data)
 

Protected Member Functions

 CSeekHandler (const CSeekHandler &)=delete
 
CSeekHandleroperator= (CSeekHandler const &)=delete
 
bool SeekTimeCode (const CAction &action)
 
void ChangeTimeCode (int remote)
 

Member Function Documentation

◆ OnSettingChanged()

void CSeekHandler::OnSettingChanged ( const std::shared_ptr< const CSetting > &  setting)
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.

Parameters
settingThe setting whose value has been changed

Reimplemented from ISettingCallback.


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