summaryrefslogtreecommitdiff
path: root/displayReplaySD.h
blob: 896192105e613f8bc7f1e50beeac77df6db2447d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef CDISPLAYREPLAYSD_H
#define CDISPLAYREPLAYSD_H

#include "PVideo.h"
#include <memory>
#include "tokendefinitions.h"
#include  <libskindesignerapi/osdelements.h>
#include  <libskindesignerapi/skindesignerosdbase.h>

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;
		
public:
	cDisplayReplaySD(plexclient::Video* 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);
	

};

#endif // CDISPLAYREPLAYSD_H