diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | tvguideng.c | 1 |
2 files changed, 4 insertions, 2 deletions
@@ -47,10 +47,11 @@ SOFILE = libvdr-$(PLUGIN).so ### Includes and Defines (add further entries here): +DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' + INCLUDES += $(shell pkg-config --cflags libskindesignerapi) LIBS += $(shell pkg-config --libs libskindesignerapi) - -DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +DEFINES += -DLIBSKINDESIGNERAPIVERSION='"$(shell pkg-config --modversion libskindesignerapi)"' ### The object files (add further files here): diff --git a/tvguideng.c b/tvguideng.c index 933d196..3f08bb0 100644 --- a/tvguideng.c +++ b/tvguideng.c @@ -64,6 +64,7 @@ bool cPluginTvguideng::Initialize(void) { bool cPluginTvguideng::Start(void) { skindesignerapi::cPluginStructure plugStruct; plugStruct.name = "tvguideng"; + plugStruct.libskindesignerAPIVersion = LIBSKINDESIGNERAPIVERSION; plugStruct.SetView(viRootView, "root.xml"); plugStruct.SetViewElement(viRootView, verBackgroundHor, "background_hor"); plugStruct.SetViewElement(viRootView, verBackgroundVer, "background_ver"); |