diff options
Diffstat (limited to 'displayReplaySD.h')
-rw-r--r-- | displayReplaySD.h | 46 |
1 files changed, 25 insertions, 21 deletions
diff --git a/displayReplaySD.h b/displayReplaySD.h index 8fc4593..e633e95 100644 --- a/displayReplaySD.h +++ b/displayReplaySD.h @@ -7,29 +7,33 @@ #include <libskindesignerapi/osdelements.h> #include <libskindesignerapi/skindesignerosdbase.h> -class cDisplayReplaySD : public skindesignerapi::cSkindesignerOsdObject -{ +class cDisplayReplaySD : public skindesignerapi::cSkindesignerOsdObject { private: - static skindesignerapi::cPluginStructure* m_pPlugStructReplay; - static skindesignerapi::cPluginStructure* GetPluginStruct(); - - std::shared_ptr<skindesignerapi::cOsdView> m_pRootView; - std::shared_ptr<skindesignerapi::cViewElement> m_pProgessbar; - std::shared_ptr<skindesignerapi::cViewElement> m_pBackground; - std::shared_ptr<skindesignerapi::cViewElement> m_pVideoinfo; - std::shared_ptr<skindesignerapi::cViewElement> m_pTranscodeinfo; - + static skindesignerapi::cPluginStructure *m_pPlugStructReplay; + + static skindesignerapi::cPluginStructure *GetPluginStruct(); + + std::shared_ptr<skindesignerapi::cOsdView> m_pRootView; + std::shared_ptr<skindesignerapi::cViewElement> m_pProgessbar; + std::shared_ptr<skindesignerapi::cViewElement> m_pBackground; + std::shared_ptr<skindesignerapi::cViewElement> m_pVideoinfo; + std::shared_ptr<skindesignerapi::cViewElement> m_pTranscodeinfo; + public: - cDisplayReplaySD(plexclient::cVideo* video); - ~cDisplayReplaySD(); - - virtual void Show(void); - virtual eOSState ProcessKey(eKeys Key); - - void Flush(); - void SetCurrent(const char *Current); - void SetMode(bool Play, bool Forward, int Speed); - + cDisplayReplaySD(plexclient::cVideo *video); + + ~cDisplayReplaySD(); + + virtual void Show(void); + + virtual eOSState ProcessKey(eKeys Key); + + void Flush(); + + void SetCurrent(const char *Current); + + void SetMode(bool Play, bool Forward, int Speed); + }; |