diff options
| author | manuel <manuel@mausz.at> | 2020-10-19 00:52:24 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2020-10-19 00:52:24 +0200 |
| commit | be933ef2241d79558f91796cc5b3a161f72ebf9c (patch) | |
| tree | fe3ab2f130e20c99001f2d7a81d610c78c96a3f4 /xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/filebrowser.h | |
| parent | 5f8335c1e49ce108ef3481863833c98efa00411b (diff) | |
| download | kodi-pvr-build-be933ef2241d79558f91796cc5b3a161f72ebf9c.tar.gz kodi-pvr-build-be933ef2241d79558f91796cc5b3a161f72ebf9c.tar.bz2 kodi-pvr-build-be933ef2241d79558f91796cc5b3a161f72ebf9c.zip | |
sync with upstream
Diffstat (limited to 'xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/filebrowser.h')
| -rw-r--r-- | xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/filebrowser.h | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/filebrowser.h b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/filebrowser.h new file mode 100644 index 0000000..7ae4fac --- /dev/null +++ b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/filebrowser.h | |||
| @@ -0,0 +1,77 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2005-2020 Team Kodi | ||
| 3 | * This file is part of Kodi - https://kodi.tv | ||
| 4 | * | ||
| 5 | * SPDX-License-Identifier: GPL-2.0-or-later | ||
| 6 | * See LICENSES/README.md for more information. | ||
| 7 | */ | ||
| 8 | |||
| 9 | #pragma once | ||
| 10 | |||
| 11 | #ifndef C_API_GUI_DIALOGS_FILEBROWSER_H | ||
| 12 | #define C_API_GUI_DIALOGS_FILEBROWSER_H | ||
| 13 | |||
| 14 | #include "../definitions.h" | ||
| 15 | |||
| 16 | #ifdef __cplusplus | ||
| 17 | extern "C" | ||
| 18 | { | ||
| 19 | #endif /* __cplusplus */ | ||
| 20 | |||
| 21 | typedef struct AddonToKodiFuncTable_kodi_gui_dialogFileBrowser | ||
| 22 | { | ||
| 23 | bool (*show_and_get_directory)(KODI_HANDLE kodiBase, | ||
| 24 | const char* shares, | ||
| 25 | const char* heading, | ||
| 26 | const char* path_in, | ||
| 27 | char** path_out, | ||
| 28 | bool writeOnly); | ||
| 29 | bool (*show_and_get_file)(KODI_HANDLE kodiBase, | ||
| 30 | const char* shares, | ||
| 31 | const char* mask, | ||
| 32 | const char* heading, | ||
| 33 | const char* path_in, | ||
| 34 | char** path_out, | ||
| 35 | bool use_thumbs, | ||
| 36 | bool use_file_directories); | ||
| 37 | bool (*show_and_get_file_from_dir)(KODI_HANDLE kodiBase, | ||
| 38 | const char* directory, | ||
| 39 | const char* mask, | ||
| 40 | const char* heading, | ||
| 41 | const char* path_in, | ||
| 42 | char** path_out, | ||
| 43 | bool use_thumbs, | ||
| 44 | bool use_file_directories, | ||
| 45 | bool singleList); | ||
| 46 | bool (*show_and_get_file_list)(KODI_HANDLE kodiBase, | ||
| 47 | const char* shares, | ||
| 48 | const char* mask, | ||
| 49 | const char* heading, | ||
| 50 | char*** file_list, | ||
| 51 | unsigned int* entries, | ||
| 52 | bool use_thumbs, | ||
| 53 | bool use_file_directories); | ||
| 54 | bool (*show_and_get_source)(KODI_HANDLE kodiBase, | ||
| 55 | const char* path_in, | ||
| 56 | char** path_out, | ||
| 57 | bool allow_network_shares, | ||
| 58 | const char* additional_share, | ||
| 59 | const char* type); | ||
| 60 | bool (*show_and_get_image)(KODI_HANDLE kodiBase, | ||
| 61 | const char* shares, | ||
| 62 | const char* heading, | ||
| 63 | const char* path_in, | ||
| 64 | char** path_out); | ||
| 65 | bool (*show_and_get_image_list)(KODI_HANDLE kodiBase, | ||
| 66 | const char* shares, | ||
| 67 | const char* heading, | ||
| 68 | char*** file_list, | ||
| 69 | unsigned int* entries); | ||
| 70 | void (*clear_file_list)(KODI_HANDLE kodiBase, char*** file_list, unsigned int entries); | ||
| 71 | } AddonToKodiFuncTable_kodi_gui_dialogFileBrowser; | ||
| 72 | |||
| 73 | #ifdef __cplusplus | ||
| 74 | } /* extern "C" */ | ||
| 75 | #endif /* __cplusplus */ | ||
| 76 | |||
| 77 | #endif /* !C_API_GUI_DIALOGS_FILEBROWSER_H */ | ||
