Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ImageChoices.h File Reference
#include <charconv>
#include <cstddef>
#include <optional>
#include <string>
#include <string_view>

Namespaces

namespace  KODI
 
namespace  KODI::IMAGE_CHOICE
 The paths of the entries offered alongside image files by CGUIDialogFileBrowser::ShowAndGetImage(), which stand for a choice rather than an image.
 

Functions

std::string KODI::IMAGE_CHOICE::RemoteOf (std::size_t index)
 The entry for the remote image at index.
 
std::optional< std::size_t > KODI::IMAGE_CHOICE::RemoteIndexOf (std::string_view path)
 The index of the remote image path is the entry for, if it is one.
 

Variables

constexpr std::string_view KODI::IMAGE_CHOICE::CURRENT = "thumb://Current"
 
constexpr std::string_view KODI::IMAGE_CHOICE::LOCAL = "thumb://Local"
 
constexpr std::string_view KODI::IMAGE_CHOICE::EMBEDDED = "thumb://Embedded"
 
constexpr std::string_view KODI::IMAGE_CHOICE::THUMB = "thumb://Thumb"
 
constexpr std::string_view KODI::IMAGE_CHOICE::NONE = "thumb://None"
 
constexpr std::string_view KODI::IMAGE_CHOICE::REMOTE = "thumb://Remote"
 
constexpr std::string_view KODI::IMAGE_CHOICE::BROWSE = "image://Browse"
 The entry the file browser adds itself, to browse for an image file.