11 #include "addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/filebrowser.h" 59 static bool show_and_get_file(KODI_HANDLE kodiBase,
66 bool use_file_directories);
68 static bool show_and_get_file_from_dir(KODI_HANDLE kodiBase,
69 const char* directory,
75 bool use_file_directories,
78 static bool show_and_get_file_list(KODI_HANDLE kodiBase,
83 unsigned int* entries,
85 bool use_file_directories);
87 static bool show_and_get_source(KODI_HANDLE kodiBase,
90 bool allow_network_shares,
91 const char* additional_share,
94 static bool show_and_get_image(KODI_HANDLE kodiBase,
100 static bool show_and_get_image_list(KODI_HANDLE kodiBase,
104 unsigned int* entries);
106 static void clear_file_list(KODI_HANDLE kodiBase,
char*** file_list,
unsigned int entries);
110 static void GetVECShares(VECSOURCES& vecShares,
111 const std::string& strShares,
112 const std::string& strPath);
Global gui Add-on to Kodi callback functions.
Definition: FileBrowser.h:36
static bool show_and_get_directory(KODI_HANDLE kodiBase, const char *shares, const char *heading, const char *path_in, char **path_out, bool write_only)
callback functions from add-on to kodi
Definition: FileBrowser.cpp:47
Main structure passed from kodi to addon with basic information needed to create add-on.
Definition: addon_base.h:378
std::vector< CMediaSource > VECSOURCES
A vector to hold CMediaSource objects.
Definition: MediaSource.h:98