aboutsummaryrefslogtreecommitdiff
path: root/lib/addons
diff options
context:
space:
mode:
authorLars Op den Kamp <lars@opdenkamp.eu>2012-09-18 12:00:18 +0200
committerLars Op den Kamp <lars@opdenkamp.eu>2012-09-18 12:07:56 +0200
commit9a91adf4777ad13f721becf7d1bd732060ce6032 (patch)
tree2decbaa17b9ad2236fca2e606374d2bbeb5b8ac7 /lib/addons
parente77b53c68b3beb9380c1d2a5151d2d5111bb93fd (diff)
added CanOpenDirectory() to AddonCallbacksAddon
Diffstat (limited to 'lib/addons')
-rw-r--r--lib/addons/library.xbmc.addon/libXBMC_addon.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/addons/library.xbmc.addon/libXBMC_addon.cpp b/lib/addons/library.xbmc.addon/libXBMC_addon.cpp
index 766cac07ca..b941be1e4e 100644
--- a/lib/addons/library.xbmc.addon/libXBMC_addon.cpp
+++ b/lib/addons/library.xbmc.addon/libXBMC_addon.cpp
@@ -221,4 +221,12 @@ DLLEXPORT int64_t XBMC_get_file_chunk_size(void* file)
return m_cb->GetFileChunkSize(m_Handle->addonData, file);
}
+DLLEXPORT bool XBMC_can_open_directory(const char* strURL)
+{
+ if (m_cb == NULL)
+ return 0;
+
+ return m_cb->CanOpenDirectory(m_Handle->addonData, strURL);
+}
+
};