From bd3d480a94558344f0a55707bc59b181fc7ea943 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 28 Mar 2016 20:41:54 +0200 Subject: paralleling cPictureCache. Multiple server connections now possible --- displayReplaySD.cpp | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) (limited to 'displayReplaySD.cpp') diff --git a/displayReplaySD.cpp b/displayReplaySD.cpp index 11c99e8..87ac511 100644 --- a/displayReplaySD.cpp +++ b/displayReplaySD.cpp @@ -1,10 +1,43 @@ #include "displayReplaySD.h" -cDisplayReplaySD::cDisplayReplaySD(plexclient::Video* video) +cDisplayReplaySD::cDisplayReplaySD(plexclient::Video* video) : cSkindesignerOsdObject(GetPluginStruct()) { + } cDisplayReplaySD::~cDisplayReplaySD() { } +skindesignerapi::cPluginStructure* cDisplayReplaySD::m_pPlugStructReplay = NULL; + +skindesignerapi::cPluginStructure* cDisplayReplaySD::GetPluginStruct() +{ + if(m_pPlugStructReplay == NULL) { + m_pPlugStructReplay = new skindesignerapi::cPluginStructure(); + m_pPlugStructReplay->name = "plexreplay"; + m_pPlugStructReplay->libskindesignerAPIVersion = LIBSKINDESIGNERAPIVERSION; + m_pPlugStructReplay->RegisterRootView("root.xml"); + } + return m_pPlugStructReplay; +} + +void cDisplayReplaySD::Show(void) +{ +} + +eOSState cDisplayReplaySD::ProcessKey(eKeys Key) +{ + return eOSState::osContinue; +} +void cDisplayReplaySD::Flush() +{ +} + +void cDisplayReplaySD::SetCurrent(const char* Current) +{ +} + +void cDisplayReplaySD::SetMode(bool Play, bool Forward, int Speed) +{ +} -- cgit v1.2.3