diff options
| -rw-r--r-- | Makefile | 1 | ||||
| -rw-r--r-- | weatherforecast.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -56,6 +56,7 @@ LIBS += $(shell pkg-config --cflags --libs jansson) INCLUDES += $(shell pkg-config --cflags libskindesignerapi) LIBS += $(shell pkg-config --libs libskindesignerapi) +DEFINES += -DLIBSKINDESIGNERAPIVERSION='"$(shell pkg-config --modversion libskindesignerapi)"' ### The object files (add further files here): diff --git a/weatherforecast.c b/weatherforecast.c index f4576ea..e8da39d 100644 --- a/weatherforecast.c +++ b/weatherforecast.c @@ -94,6 +94,7 @@ bool cPluginWeatherforecast::Start(void) { skindesignerapi::cPluginStructure plugStruct; plugStruct.name = "weatherforecast"; + plugStruct.libskindesignerAPIVersion = LIBSKINDESIGNERAPIVERSION; plugStruct.SetMenu(meRoot, "weatherforecast.xml"); plugStruct.SetMenu(meDetailCurrent, "weatherforecastdetailcurrent.xml"); plugStruct.SetMenu(meDetailHourly, "weatherforecastdetailhourly.xml"); |
