From 27817bc027d6b744197d9c2614f87e90c1d2e208 Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 17 Mar 2016 20:15:56 +0100 Subject: Started DisplayReplay + Fixes --- plex.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'plex.cpp') diff --git a/plex.cpp b/plex.cpp index d890959..d6e7951 100644 --- a/plex.cpp +++ b/plex.cpp @@ -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; -- cgit v1.2.3