diff options
| author | Christian <zerov83@gmail.com> | 2016-03-17 20:15:56 +0100 |
|---|---|---|
| committer | Christian <zerov83@gmail.com> | 2016-03-17 20:37:05 +0100 |
| commit | 27817bc027d6b744197d9c2614f87e90c1d2e208 (patch) | |
| tree | 8321791b0e6dc69dadb4c867b8ad837fd4ed1ce7 /plex.cpp | |
| parent | 7d6566a4cc70b5fb3b5dd66e66c852f6a765c2ac (diff) | |
| download | vdr-plugin-plex-27817bc027d6b744197d9c2614f87e90c1d2e208.tar.gz vdr-plugin-plex-27817bc027d6b744197d9c2614f87e90c1d2e208.tar.bz2 | |
Started DisplayReplay + Fixes
Diffstat (limited to 'plex.cpp')
| -rw-r--r-- | plex.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -70,7 +70,7 @@ bool cMyPlugin::Start(void) m_pPlugStruct = new skindesignerapi::cPluginStructure(); m_pPlugStruct->name = "plex"; m_pPlugStruct->libskindesignerAPIVersion = LIBSKINDESIGNERAPIVERSION; - + m_pPlugStruct->RegisterRootView("root.xml"); skindesignerapi::cTokenContainer *tkBackground = new skindesignerapi::cTokenContainer(); cPlexSdOsd::DefineTokens(eViewElementsRoot::background, tkBackground); @@ -136,6 +136,12 @@ bool cMyPlugin::Start(void) cPlexSdOsd::DefineGridTokens(tkDetailExtraGrid); m_pPlugStruct->RegisterViewGrid((int)eViews::detailView, (int)eViewDetailViewGrids::extras, "extragrid", tkDetailExtraGrid); + + m_pPlugStructReplay = new skindesignerapi::cPluginStructure(); + m_pPlugStructReplay->name = "plexreplay"; + m_pPlugStructReplay->libskindesignerAPIVersion = LIBSKINDESIGNERAPIVERSION; + m_pPlugStructReplay->RegisterRootView("root.xml"); + if (!skindesignerapi::SkindesignerAPI::RegisterPlugin(m_pPlugStruct)) { esyslog("[plex]: skindesigner not available"); bSkindesigner = false; |
