aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlwin Esch <alwin.esch@web.de>2021-11-11 20:52:21 +0100
committerAlwin Esch <alwin.esch@web.de>2021-12-29 22:36:02 +0100
commit528e0a5a476d8b8901de97ad1d0f98ef2a916a93 (patch)
tree69f27994cca4249df9e7b82b497d2d7938fceffc
parent1de66eb88d361cc6e3746efdfb85deec1821e8aa (diff)
[addons][imagedecoder] rename image_decoder.h to imagedecoder.h
With the newly planned sandbox / API level system it becomes necessary to have the "C" files matching its namespace. As an example, a "C" function in imagedecoder must use "kodi_addons_imagedecoder_some_function ()" as the name, with which the "_" acts as a namespace divider to begin with, if now, as before, it would see "image" and "decoder" as separate areas. Advantageous for the automatic creation script, otherwise problems can arise for him.
-rw-r--r--xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/ImageDecoder.h2
-rw-r--r--xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/CMakeLists.txt2
-rw-r--r--xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/imagedecoder.h (renamed from xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/image_decoder.h)0
-rw-r--r--xbmc/addons/kodi-dev-kit/include/kodi/versions.h3
4 files changed, 4 insertions, 3 deletions
diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/ImageDecoder.h b/xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/ImageDecoder.h
index 6c75ffbce9..218cf417a7 100644
--- a/xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/ImageDecoder.h
+++ b/xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/ImageDecoder.h
@@ -9,7 +9,7 @@
#pragma once
#include "../AddonBase.h"
-#include "../c-api/addon-instance/image_decoder.h"
+#include "../c-api/addon-instance/imagedecoder.h"
#ifdef __cplusplus
diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/CMakeLists.txt b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/CMakeLists.txt
index 85e8ceaf5e..52670ebfbd 100644
--- a/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/CMakeLists.txt
+++ b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/CMakeLists.txt
@@ -5,7 +5,7 @@ set(HEADERS
audiodecoder.h
audioencoder.h
game.h
- image_decoder.h
+ imagedecoder.h
inputstream.h
peripheral.h
pvr.h
diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/image_decoder.h b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/imagedecoder.h
index 99c8736c6b..99c8736c6b 100644
--- a/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/image_decoder.h
+++ b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/imagedecoder.h
diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/versions.h b/xbmc/addons/kodi-dev-kit/include/kodi/versions.h
index e0326f09c5..730a169c90 100644
--- a/xbmc/addons/kodi-dev-kit/include/kodi/versions.h
+++ b/xbmc/addons/kodi-dev-kit/include/kodi/versions.h
@@ -105,7 +105,8 @@
#define ADDON_INSTANCE_VERSION_IMAGEDECODER "2.1.1"
#define ADDON_INSTANCE_VERSION_IMAGEDECODER_MIN "2.1.0"
#define ADDON_INSTANCE_VERSION_IMAGEDECODER_XML_ID "kodi.binary.instance.imagedecoder"
-#define ADDON_INSTANCE_VERSION_IMAGEDECODER_DEPENDS "addon-instance/ImageDecoder.h"
+#define ADDON_INSTANCE_VERSION_IMAGEDECODER_DEPENDS "c-api/addon-instance/imagedecoder.h" \
+ "addon-instance/ImageDecoder.h"
#define ADDON_INSTANCE_VERSION_INPUTSTREAM "3.0.2"
#define ADDON_INSTANCE_VERSION_INPUTSTREAM_MIN "3.0.1"