diff options
| author | manuel <manuel@mausz.at> | 2021-03-04 23:36:40 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2021-03-04 23:36:40 +0100 |
| commit | 3cb8aa05f8cee9e860cf83531682ff0ed4af6a4f (patch) | |
| tree | 921f4829b32126f80f9113c124f2e14c0ebce8d9 /xbmc/addons/kodi-dev-kit/include/kodi/versions.h | |
| parent | be933ef2241d79558f91796cc5b3a161f72ebf9c (diff) | |
| download | kodi-pvr-build-3cb8aa05f8cee9e860cf83531682ff0ed4af6a4f.tar.gz kodi-pvr-build-3cb8aa05f8cee9e860cf83531682ff0ed4af6a4f.tar.bz2 kodi-pvr-build-3cb8aa05f8cee9e860cf83531682ff0ed4af6a4f.zip | |
sync with upstreamMatrix
Diffstat (limited to 'xbmc/addons/kodi-dev-kit/include/kodi/versions.h')
| -rw-r--r-- | xbmc/addons/kodi-dev-kit/include/kodi/versions.h | 73 |
1 files changed, 48 insertions, 25 deletions
diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/versions.h b/xbmc/addons/kodi-dev-kit/include/kodi/versions.h index e632f5a..e3431eb 100644 --- a/xbmc/addons/kodi-dev-kit/include/kodi/versions.h +++ b/xbmc/addons/kodi-dev-kit/include/kodi/versions.h | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | 8 | ||
| 9 | #pragma once | 9 | #pragma once |
| 10 | 10 | ||
| 11 | #ifndef KODI_VERSIONS_H | ||
| 12 | #define KODI_VERSIONS_H | ||
| 13 | |||
| 11 | #include <string.h> | 14 | #include <string.h> |
| 12 | 15 | ||
| 13 | #define STR_HELPER(x) #x | 16 | #define STR_HELPER(x) #x |
| @@ -34,7 +37,7 @@ | |||
| 34 | // because cmake uses this area in this form to perform its addon dependency | 37 | // because cmake uses this area in this form to perform its addon dependency |
| 35 | // check. | 38 | // check. |
| 36 | // clang-format off | 39 | // clang-format off |
| 37 | #define ADDON_GLOBAL_VERSION_MAIN "1.2.4" | 40 | #define ADDON_GLOBAL_VERSION_MAIN "1.3.0" |
| 38 | #define ADDON_GLOBAL_VERSION_MAIN_MIN "1.2.0" | 41 | #define ADDON_GLOBAL_VERSION_MAIN_MIN "1.2.0" |
| 39 | #define ADDON_GLOBAL_VERSION_MAIN_XML_ID "kodi.binary.global.main" | 42 | #define ADDON_GLOBAL_VERSION_MAIN_XML_ID "kodi.binary.global.main" |
| 40 | #define ADDON_GLOBAL_VERSION_MAIN_DEPENDS "AddonBase.h" \ | 43 | #define ADDON_GLOBAL_VERSION_MAIN_DEPENDS "AddonBase.h" \ |
| @@ -104,10 +107,21 @@ | |||
| 104 | #define ADDON_INSTANCE_VERSION_IMAGEDECODER_XML_ID "kodi.binary.instance.imagedecoder" | 107 | #define ADDON_INSTANCE_VERSION_IMAGEDECODER_XML_ID "kodi.binary.instance.imagedecoder" |
| 105 | #define ADDON_INSTANCE_VERSION_IMAGEDECODER_DEPENDS "addon-instance/ImageDecoder.h" | 108 | #define ADDON_INSTANCE_VERSION_IMAGEDECODER_DEPENDS "addon-instance/ImageDecoder.h" |
| 106 | 109 | ||
| 107 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM "2.3.4" | 110 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM "3.0.1" |
| 108 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM_MIN "2.3.4" | 111 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM_MIN "3.0.1" |
| 109 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM_XML_ID "kodi.binary.instance.inputstream" | 112 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM_XML_ID "kodi.binary.instance.inputstream" |
| 110 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM_DEPENDS "addon-instance/Inputstream.h" | 113 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM_DEPENDS "c-api/addon-instance/inputstream.h" \ |
| 114 | "c-api/addon-instance/inputstream/demux_packet.h" \ | ||
| 115 | "c-api/addon-instance/inputstream/stream_codec.h" \ | ||
| 116 | "c-api/addon-instance/inputstream/stream_constants.h" \ | ||
| 117 | "c-api/addon-instance/inputstream/stream_crypto.h" \ | ||
| 118 | "c-api/addon-instance/inputstream/timing_constants.h" \ | ||
| 119 | "addon-instance/Inputstream.h" \ | ||
| 120 | "addon-instance/inputstream/DemuxPacket.h" \ | ||
| 121 | "addon-instance/inputstream/StreamCodec.h" \ | ||
| 122 | "addon-instance/inputstream/StreamConstants.h" \ | ||
| 123 | "addon-instance/inputstream/StreamCrypto.h" \ | ||
| 124 | "addon-instance/inputstream/TimingConstants.h" | ||
| 111 | 125 | ||
| 112 | #define ADDON_INSTANCE_VERSION_PERIPHERAL "2.0.0" | 126 | #define ADDON_INSTANCE_VERSION_PERIPHERAL "2.0.0" |
| 113 | #define ADDON_INSTANCE_VERSION_PERIPHERAL_MIN "2.0.0" | 127 | #define ADDON_INSTANCE_VERSION_PERIPHERAL_MIN "2.0.0" |
| @@ -115,8 +129,8 @@ | |||
| 115 | #define ADDON_INSTANCE_VERSION_PERIPHERAL_DEPENDS "addon-instance/Peripheral.h" \ | 129 | #define ADDON_INSTANCE_VERSION_PERIPHERAL_DEPENDS "addon-instance/Peripheral.h" \ |
| 116 | "addon-instance/PeripheralUtils.h" | 130 | "addon-instance/PeripheralUtils.h" |
| 117 | 131 | ||
| 118 | #define ADDON_INSTANCE_VERSION_PVR "7.0.1" | 132 | #define ADDON_INSTANCE_VERSION_PVR "7.1.0" |
| 119 | #define ADDON_INSTANCE_VERSION_PVR_MIN "7.0.0" | 133 | #define ADDON_INSTANCE_VERSION_PVR_MIN "7.1.0" |
| 120 | #define ADDON_INSTANCE_VERSION_PVR_XML_ID "kodi.binary.instance.pvr" | 134 | #define ADDON_INSTANCE_VERSION_PVR_XML_ID "kodi.binary.instance.pvr" |
| 121 | #define ADDON_INSTANCE_VERSION_PVR_DEPENDS "c-api/addon-instance/pvr.h" \ | 135 | #define ADDON_INSTANCE_VERSION_PVR_DEPENDS "c-api/addon-instance/pvr.h" \ |
| 122 | "c-api/addon-instance/pvr/pvr_channel_groups.h" \ | 136 | "c-api/addon-instance/pvr/pvr_channel_groups.h" \ |
| @@ -158,24 +172,30 @@ | |||
| 158 | #define ADDON_INSTANCE_VERSION_VISUALIZATION_DEPENDS "addon-instance/Visualization.h" \ | 172 | #define ADDON_INSTANCE_VERSION_VISUALIZATION_DEPENDS "addon-instance/Visualization.h" \ |
| 159 | "c-api/addon-instance/visualization.h" | 173 | "c-api/addon-instance/visualization.h" |
| 160 | 174 | ||
| 161 | #define ADDON_INSTANCE_VERSION_VIDEOCODEC "1.0.4" | 175 | #define ADDON_INSTANCE_VERSION_VIDEOCODEC "2.0.2" |
| 162 | #define ADDON_INSTANCE_VERSION_VIDEOCODEC_MIN "1.0.4" | 176 | #define ADDON_INSTANCE_VERSION_VIDEOCODEC_MIN "2.0.1" |
| 163 | #define ADDON_INSTANCE_VERSION_VIDEOCODEC_XML_ID "kodi.binary.instance.videocodec" | 177 | #define ADDON_INSTANCE_VERSION_VIDEOCODEC_XML_ID "kodi.binary.instance.videocodec" |
| 164 | #define ADDON_INSTANCE_VERSION_VIDEOCODEC_DEPENDS "addon-instance/VideoCodec.h" \ | 178 | #define ADDON_INSTANCE_VERSION_VIDEOCODEC_DEPENDS "c-api/addon-instance/video_codec.h" \ |
| 165 | "StreamCodec.h" \ | 179 | "c-api/addon-instance/inputstream/stream_codec.h" \ |
| 166 | "StreamCrypto.h" | 180 | "c-api/addon-instance/inputstream/stream_crypto.h" \ |
| 181 | "addon-instance/VideoCodec.h" \ | ||
| 182 | "addon-instance/inputstream/StreamCodec.h" \ | ||
| 183 | "addon-instance/inputstream/StreamCrypto.h" \ | ||
| 167 | // clang-format on | 184 | // clang-format on |
| 168 | 185 | ||
| 169 | //============================================================================== | 186 | //============================================================================== |
| 170 | /// | 187 | /// @ingroup cpp_kodi_addon_addonbase_Defs |
| 171 | /// @ingroup cpp_kodi_addon_addonbase | 188 | /// @defgroup cpp_kodi_addon_addonbase_Defs_ADDON_TYPE enum ADDON_TYPE |
| 172 | /// The currently available instance types for Kodi add-ons | 189 | /// **The currently available instance types for Kodi add-ons**\n |
| 190 | /// This identifies the associated API part on the interface in Kodi and in the | ||
| 191 | /// addon. | ||
| 173 | /// | 192 | /// |
| 174 | /// \internal | 193 | /// \internal |
| 175 | /// @note For add of new types take a new number on end. To change | 194 | /// @note For add of new types take a new number on end. To change |
| 176 | /// existing numbers can be make problems on already compiled add-ons. | 195 | /// existing numbers can be make problems on already compiled add-ons. |
| 177 | /// \endinternal | 196 | /// \endinternal |
| 178 | /// | 197 | /// |
| 198 | ///@{ | ||
| 179 | typedef enum ADDON_TYPE | 199 | typedef enum ADDON_TYPE |
| 180 | { | 200 | { |
| 181 | /* addon global parts */ | 201 | /* addon global parts */ |
| @@ -192,39 +212,40 @@ typedef enum ADDON_TYPE | |||
| 192 | 212 | ||
| 193 | /* addon type instances */ | 213 | /* addon type instances */ |
| 194 | 214 | ||
| 195 | /// Audio decoder instance, see \ref cpp_kodi_addon_audiodecoder "kodi::addon::CInstanceAudioDecoder" | 215 | /// Audio decoder instance, see @ref cpp_kodi_addon_audiodecoder "kodi::addon::CInstanceAudioDecoder" |
| 196 | ADDON_INSTANCE_AUDIODECODER = 102, | 216 | ADDON_INSTANCE_AUDIODECODER = 102, |
| 197 | 217 | ||
| 198 | /// Audio encoder instance, see \ref cpp_kodi_addon_audioencoder "kodi::addon::CInstanceAudioEncoder" | 218 | /// Audio encoder instance, see @ref cpp_kodi_addon_audioencoder "kodi::addon::CInstanceAudioEncoder" |
| 199 | ADDON_INSTANCE_AUDIOENCODER = 103, | 219 | ADDON_INSTANCE_AUDIOENCODER = 103, |
| 200 | 220 | ||
| 201 | /// Game instance, see \ref cpp_kodi_addon_game "kodi::addon::CInstanceGame" | 221 | /// Game instance, see @ref cpp_kodi_addon_game "kodi::addon::CInstanceGame" |
| 202 | ADDON_INSTANCE_GAME = 104, | 222 | ADDON_INSTANCE_GAME = 104, |
| 203 | 223 | ||
| 204 | /// Input stream instance, see \ref cpp_kodi_addon_inputstream "kodi::addon::CInstanceInputStream" | 224 | /// Input stream instance, see @ref cpp_kodi_addon_inputstream "kodi::addon::CInstanceInputStream" |
| 205 | ADDON_INSTANCE_INPUTSTREAM = 105, | 225 | ADDON_INSTANCE_INPUTSTREAM = 105, |
| 206 | 226 | ||
| 207 | /// Peripheral instance, see \ref cpp_kodi_addon_peripheral "kodi::addon::CInstancePeripheral" | 227 | /// Peripheral instance, see @ref cpp_kodi_addon_peripheral "kodi::addon::CInstancePeripheral" |
| 208 | ADDON_INSTANCE_PERIPHERAL = 106, | 228 | ADDON_INSTANCE_PERIPHERAL = 106, |
| 209 | 229 | ||
| 210 | /// Game instance, see \ref cpp_kodi_addon_pvr "kodi::addon::CInstancePVRClient" | 230 | /// Game instance, see @ref cpp_kodi_addon_pvr "kodi::addon::CInstancePVRClient" |
| 211 | ADDON_INSTANCE_PVR = 107, | 231 | ADDON_INSTANCE_PVR = 107, |
| 212 | 232 | ||
| 213 | /// PVR client instance, see \ref cpp_kodi_addon_screensaver "kodi::addon::CInstanceScreensaver" | 233 | /// PVR client instance, see @ref cpp_kodi_addon_screensaver "kodi::addon::CInstanceScreensaver" |
| 214 | ADDON_INSTANCE_SCREENSAVER = 108, | 234 | ADDON_INSTANCE_SCREENSAVER = 108, |
| 215 | 235 | ||
| 216 | /// Music visualization instance, see \ref cpp_kodi_addon_visualization "kodi::addon::CInstanceVisualization" | 236 | /// Music visualization instance, see @ref cpp_kodi_addon_visualization "kodi::addon::CInstanceVisualization" |
| 217 | ADDON_INSTANCE_VISUALIZATION = 109, | 237 | ADDON_INSTANCE_VISUALIZATION = 109, |
| 218 | 238 | ||
| 219 | /// Virtual Filesystem (VFS) instance, see \ref cpp_kodi_addon_vfs "kodi::addon::CInstanceVFS" | 239 | /// Virtual Filesystem (VFS) instance, see @ref cpp_kodi_addon_vfs "kodi::addon::CInstanceVFS" |
| 220 | ADDON_INSTANCE_VFS = 110, | 240 | ADDON_INSTANCE_VFS = 110, |
| 221 | 241 | ||
| 222 | /// Image Decoder instance, see \ref cpp_kodi_addon_imagedecoder "kodi::addon::CInstanceImageDecoder" | 242 | /// Image Decoder instance, see @ref cpp_kodi_addon_imagedecoder "kodi::addon::CInstanceImageDecoder" |
| 223 | ADDON_INSTANCE_IMAGEDECODER = 111, | 243 | ADDON_INSTANCE_IMAGEDECODER = 111, |
| 224 | 244 | ||
| 225 | /// Video Decoder instance, see \ref cpp_kodi_addon_videocodec "kodi::addon::CInstanceVideoCodec" | 245 | /// Video Decoder instance, see @ref cpp_kodi_addon_videocodec "kodi::addon::CInstanceVideoCodec" |
| 226 | ADDON_INSTANCE_VIDEOCODEC = 112, | 246 | ADDON_INSTANCE_VIDEOCODEC = 112, |
| 227 | } ADDON_TYPE; | 247 | } ADDON_TYPE; |
| 248 | ///@} | ||
| 228 | //------------------------------------------------------------------------------ | 249 | //------------------------------------------------------------------------------ |
| 229 | 250 | ||
| 230 | #ifdef __cplusplus | 251 | #ifdef __cplusplus |
| @@ -490,3 +511,5 @@ inline int GetTypeId(const char* name) | |||
| 490 | } /* namespace kodi */ | 511 | } /* namespace kodi */ |
| 491 | } /* extern "C" */ | 512 | } /* extern "C" */ |
| 492 | #endif | 513 | #endif |
| 514 | |||
| 515 | #endif /* !KODI_VERSIONS_H */ | ||
