blob: e633e954ec9aa5f0b890761432e9939b2446b225 (
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
37
38
39
40
|
#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::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);
};
#endif // CDISPLAYREPLAYSD_H
|