12 #include "cores/IPlayer.h"    13 #include "threads/SystemClock.h"    14 #include "threads/Thread.h"    15 #include "utils/logtypes.h"    25 class CUPnPPlayerController;
    34   bool QueueNextFile(
const CFileItem &file) 
override;
    35   bool CloseFile(
bool reopen = 
false) 
override;
    36   bool IsPlaying() 
const override;
    37   void Pause() 
override;
    38   bool HasVideo()
 const override { 
return m_hasVideo; }
    39   bool HasAudio()
 const override { 
return m_hasAudio; }
    40   void Seek(
bool bPlus, 
bool bLargeStep, 
bool bChapterOverride) 
override;
    41   void SeekPercentage(
float fPercent = 0) 
override;
    42   void SetVolume(
float volume) 
override;
    44   int SeekChapter(
int iChapter)
 override { 
return -1; }
    46   void SeekTime(int64_t iTime = 0) 
override;
    47   void SetSpeed(
float speed = 0) 
override;
    49   bool IsCaching()
 const override { 
return false; }
    50   int GetCacheLevel()
 const override { 
return -1; }
    51   bool OnAction(
const CAction &action) 
override;
    58   bool IsPaused() 
const;
    60   int64_t GetTotalTime();
    61   float GetPercentage();
    64   void Process() 
override;
    65   void OnExit() 
override;
    68   std::unique_ptr<CUPnPPlayerController> m_delegate;
    69   std::string m_current_uri;
    70   std::string m_current_meta;
    71   bool m_started = 
false;
    72   bool m_stopremote = 
false;
    73   bool m_hasVideo{
false};
    74   bool m_hasAudio{
false};
 
Definition: SystemClock.h:31
Definition: UPnPPlayer.h:27
Class encapsulating information regarding a particular user action to be sent to windows and controls...
Definition: Action.h:21
Definition: IPlayerCallback.h:18
Represents a file on a share. 
Definition: FileItem.h:102