diff options
Diffstat (limited to 'displayReplaySD.cpp')
-rw-r--r-- | displayReplaySD.cpp | 43 |
1 files changed, 18 insertions, 25 deletions
diff --git a/displayReplaySD.cpp b/displayReplaySD.cpp index 0e4d01c..ff71e9a 100644 --- a/displayReplaySD.cpp +++ b/displayReplaySD.cpp @@ -1,43 +1,36 @@ #include "displayReplaySD.h" -cDisplayReplaySD::cDisplayReplaySD(plexclient::cVideo* video) : cSkindesignerOsdObject(GetPluginStruct()) -{ +cDisplayReplaySD::cDisplayReplaySD(plexclient::cVideo *video) : cSkindesignerOsdObject(GetPluginStruct()) { } -cDisplayReplaySD::~cDisplayReplaySD() -{ +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; +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) -{ +void cDisplayReplaySD::Show(void) { } -eOSState cDisplayReplaySD::ProcessKey(eKeys Key) -{ - return eOSState::osContinue; +eOSState cDisplayReplaySD::ProcessKey(eKeys Key) { + return eOSState::osContinue; } -void cDisplayReplaySD::Flush() -{ +void cDisplayReplaySD::Flush() { } -void cDisplayReplaySD::SetCurrent(const char* Current) -{ +void cDisplayReplaySD::SetCurrent(const char *Current) { } -void cDisplayReplaySD::SetMode(bool Play, bool Forward, int Speed) -{ +void cDisplayReplaySD::SetMode(bool Play, bool Forward, int Speed) { } |