Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
VFSCallbacks Struct Reference

#include <kodi_vfs_types.h>

Public Member Functions

 bool (__cdecl *GetKeyboardInput)(void *ctx
 Require keyboard input. More...
 
 void (__cdecl *SetErrorDialog)(void *ctx
 Display an error dialog. More...
 
 void (__cdecl *RequireAuthentication)(void *ctx
 Prompt the user for authentication of a URL. More...
 

Public Attributes

const char * heading
 
const char char ** input
 
const char const char * line1
 
const char const char const char * line2
 
const char const char const char const char * line3
 
const char * url
 
voidctx
 The context to be passed to the callbacks. More...
 

Member Function Documentation

§ bool()

VFSCallbacks::bool ( __cdecl GetKeyboardInput)

Require keyboard input.

Parameters
headingThe heading of the keyboard dialog
inputA pointer to the resulting string. Must be free'd by caller.
Returns
True if input was received, false otherwise

§ void() [1/2]

VFSCallbacks::void ( __cdecl SetErrorDialog)

Display an error dialog.

Parameters
headingThe heading of the error dialog
line1The first line of the error dialog
line2The second line of the error dialog. Can be NULL
line3The third line of the error dialog. Can be NULL

§ void() [2/2]

VFSCallbacks::void ( __cdecl RequireAuthentication)

Prompt the user for authentication of a URL.

Parameters
urlThe URL

Member Data Documentation

§ ctx

void* VFSCallbacks::ctx

The context to be passed to the callbacks.

§ heading

const char * VFSCallbacks::heading

§ input

const char char** VFSCallbacks::input

§ line1

const char const char* VFSCallbacks::line1

§ line2

const char const char const char* VFSCallbacks::line2

§ line3

const char const char const char const char* VFSCallbacks::line3

§ url

const char* VFSCallbacks::url

The documentation for this struct was generated from the following file: