Kodi Documentation 22.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. | |
bool | OnAction (const CAction &action) override |
Handle a GUI action. | |
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. | |
virtual void | OnSettingAction (const std::shared_ptr< const CSetting > &setting) |
The given setting has been activated. | |
virtual bool | OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode) |
The given setting needs to be updated. | |
virtual void | OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName) |
The given property of the given setting has changed. | |
Public Member Functions inherited from KODI::ACTION::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 |
Handle a GUI action.
action | The GUI action |
Implements KODI::ACTION::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::Reset | ( | ) |
void CSeekHandler::Seek | ( | bool | forward, |
float | amount, | ||
float | duration = 0, | ||
bool | analogSeek = false, | ||
SeekType | type = SEEK_TYPE_VIDEO ) |
|
static |