Skip to content

Commit 76bbf00

Browse files
authored
Merge pull request #45 from AlwinEsch/Matrix-change
[Matrix] API change update and cleanups
2 parents a86e0f5 + dafcfa9 commit 76bbf00

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ArchiveFile.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class ATTRIBUTE_HIDDEN CArchiveFile : public kodi::addon::CInstanceVFS
196196
return ARCHIVE_OK;
197197
}
198198

199-
CArchiveFile(KODI_HANDLE instance) : CInstanceVFS(instance) { }
199+
CArchiveFile(KODI_HANDLE instance, const std::string& version) : CInstanceVFS(instance, version) { }
200200

201201
void* Open(const VFSURL& url) override
202202
{
@@ -547,9 +547,9 @@ class ATTRIBUTE_HIDDEN CMyAddon : public kodi::addon::CAddonBase
547547
{
548548
public:
549549
CMyAddon() = default;
550-
ADDON_STATUS CreateInstance(int instanceType, std::string instanceID, KODI_HANDLE instance, KODI_HANDLE& addonInstance) override
550+
ADDON_STATUS CreateInstance(int instanceType, const std::string& instanceID, KODI_HANDLE instance, const std::string& version, KODI_HANDLE& addonInstance) override
551551
{
552-
addonInstance = new CArchiveFile(instance);
552+
addonInstance = new CArchiveFile(instance, version);
553553
return ADDON_STATUS_OK;
554554
}
555555
};

vfs.libarchive/addon.xml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<addon
33
id="vfs.libarchive"
4-
version="1.2.0"
4+
version="1.3.0"
55
name="Archive support"
66
provider-name="spiff">
77
<requires>@ADDON_DEPENDS@</requires>

0 commit comments

Comments
 (0)