|
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
#include <SeekHandler.h>
Public Member Functions | |
| CSeekHandler ()=default | |
| ~CSeekHandler () override | |
| 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 | ~ISettingCallback ()=default |
| 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... | |
Public Member Functions inherited from IActionListener | |
| virtual | ~IActionListener ()=default |
Static Public Member Functions | |
| static void | SettingOptionsSeekStepsFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int ¤t, void *data) |
Protected Member Functions | |
| CSeekHandler (const CSeekHandler &)=delete | |
| CSeekHandler & | operator= (CSeekHandler const &)=delete |
| bool | SeekTimeCode (const CAction &action) |
| void | ChangeTimeCode (int remote) |
|
default |
|
override |
|
protecteddelete |
| void CSeekHandler::Configure | ( | ) |
| void CSeekHandler::FrameMove | ( | ) |
| int CSeekHandler::GetSeekSize | ( | ) | const |
| int CSeekHandler::GetTimeCodeSeconds | ( | ) | const |
|
inline |
| bool CSeekHandler::InProgress | ( | ) | const |
Implements IActionListener.
|
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.
|
protecteddelete |
| void CSeekHandler::Seek | ( | bool | forward, |
| float | amount, | ||
| float | duration = 0, |
||
| bool | analogSeek = false, |
||
| SeekType | type = SEEK_TYPE_VIDEO |
||
| ) |
|
static |