VLC
3.0.21
|
VLC user interfaces. More...
Modules | |
VLC dialog | |
Interaction | |
Software updates | |
Files | |
file | vlc_interface.h |
Data Structures | |
struct | intf_thread_t |
Describe all interface-specific data of the interface thread. More... | |
struct | intf_dialog_args_t |
Arguments passed to a dialogs provider This describes the arguments passed to the dialogs provider. More... | |
Macros | |
#define | pl_CurrentInput(intf) (playlist_CurrentInput(pl_Get(intf))) |
Retrieves the current input thread from the playlist. More... | |
Typedefs | |
typedef struct intf_sys_t | intf_sys_t |
typedef struct intf_thread_t | intf_thread_t |
Describe all interface-specific data of the interface thread. More... | |
Functions | |
int | intf_Create (playlist_t *, const char *) |
Create and start an interface. More... | |
void | libvlc_Quit (libvlc_int_t *) |
Posts an exit signal to LibVLC instance. More... | |
static playlist_t * | pl_Get (struct intf_thread_t *intf) |
VLC user interfaces.
#define DIALOG_BLOCKING_ERROR 0x10 |
#define DIALOG_GOT_ANSWER 0x01 |
Possible flags .
Dialog types
#define DIALOG_INTF_PROGRESS 0x100 |
#define DIALOG_LOGIN_PW_OK_CANCEL 0x04 |
#define DIALOG_NONBLOCKING_ERROR 0x20 |
#define DIALOG_PSZ_INPUT_OK_CANCEL 0x08 |
#define DIALOG_USER_PROGRESS 0x80 |
#define DIALOG_YES_NO_CANCEL 0x02 |
#define EXTENSIONS_AUDIO |
#define EXTENSIONS_AUDIO_CSV |
#define EXTENSIONS_MEDIA |
#define EXTENSIONS_PLAYLIST "*.asx;*.b4s;*.cue;*.ifo;*.m3u;*.m3u8;*.pls;*.ram;*.rar;*.sdp;*.vlc;*.xspf;*.wax;*.wvx;*.zip;*.conf" |
#define EXTENSIONS_SUBTITLE |
#define EXTENSIONS_VIDEO |
#define EXTENSIONS_VIDEO_CSV |
#define interaction_Register | ( | t | ) | (t, VLC_EGENERIC) |
#define interaction_Unregister | ( | t | ) | (t, VLC_EGENERIC) |
#define INTF_ABOUT_MSG LICENSE_MSG |
#define intf_UserStringInput | ( | a, | |
b, | |||
c, | |||
d | |||
) | (VLC_OBJECT(a),b,c,d, VLC_EGENERIC) |
#define pl_CurrentInput | ( | intf | ) | (playlist_CurrentInput(pl_Get(intf))) |
Retrieves the current input thread from the playlist.
typedef struct interaction_dialog_t interaction_dialog_t |
This structure describes a piece of interaction with the user.
typedef struct intf_sys_t intf_sys_t |
typedef struct intf_thread_t intf_thread_t |
Describe all interface-specific data of the interface thread.
typedef enum vlc_intf_dialog vlc_intf_dialog |
anonymous enum |
anonymous enum |
enum vlc_intf_dialog |
int intf_Create | ( | playlist_t * | playlist, |
const char * | chain | ||
) |
Create and start an interface.
playlist | playlist and parent object for the interface |
chain | configuration chain string |
< Not enough memory
< No error
< Unspecified error
References _, AddIntfCallback(), config_ChainCreate(), config_ChainDestroy(), lock, module_need, module_unneed, msg_Err, intf_thread_t::p_cfg, intf_thread_t::p_module, intf_thread_t::p_next, pl_priv, vlc_value_t::psz_string, unlikely, var_AddCallback, var_Change, var_Create, vlc_custom_create, VLC_EGENERIC, VLC_ENOMEM, vlc_mutex_lock(), vlc_mutex_unlock(), vlc_object_release, VLC_SUCCESS, VLC_VAR_ADDCHOICE, VLC_VAR_ISCOMMAND, VLC_VAR_SETTEXT, and VLC_VAR_STRING.
Referenced by AddIntfCallback(), and libvlc_InternalAddIntf().
void libvlc_Quit | ( | libvlc_int_t * | p_libvlc | ) |
Posts an exit signal to LibVLC instance.
This function should only be called on behalf of the user.
References libvlc_priv_t::exit, vlc_exit::handler, libvlc_priv(), vlc_exit::lock, msg_Dbg, vlc_exit::opaque, vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by Thread().
|
inlinestatic |
References intf_thread_t::obj, and vlc_common_members::parent.
void vlc_LogSet | ( | libvlc_int_t * | vlc, |
vlc_log_cb | cb, | ||
void * | opaque | ||
) |
Sets the message logging callback.
cb | message callback, or NULL to clear |
data | data pointer for the message callback |
References libvlc_priv(), vlc_logger_t::lock, vlc_logger_t::log, libvlc_priv_t::logger, vlc_logger_t::module, msg_Dbg, psz_vlc_changeset, vlc_logger_t::sys, unlikely, vlc_logger_unload(), vlc_module_unload, vlc_rwlock_unlock(), vlc_rwlock_wrlock(), and vlc_vaLogDiscard().
bool interaction_dialog_t::b_cancelled |
was the dialogue cancelled ?
bool intf_dialog_args_t::b_multiple |
bool intf_dialog_args_t::b_save |
int interaction_dialog_t::i_action |
Action to perform;.
int interaction_dialog_t::i_flags |
Misc flags.
int intf_dialog_args_t::i_results |
int interaction_dialog_t::i_return |
Return status.
int interaction_dialog_t::i_status |
Dialog status;.
int interaction_dialog_t::i_timeToGo |
time (in sec) until shown progress is finished
int interaction_dialog_t::i_type |
Type identifier.
struct vlc_common_members intf_thread_t::obj |
Referenced by pl_Get().
void* intf_dialog_args_t::p_arg |
config_chain_t* intf_thread_t::p_cfg |
Referenced by intf_Create(), and intf_DestroyAll().
struct interaction_dialog_t* intf_dialog_args_t::p_dialog |
intf_thread_t* interaction_dialog_t::p_interface |
intf_thread_t* intf_dialog_args_t::p_intf |
vlc_mutex_t* interaction_dialog_t::p_lock |
module_t* intf_thread_t::p_module |
struct intf_thread_t* intf_thread_t::p_next |
Referenced by intf_Create(), and intf_DestroyAll().
vlc_object_t* interaction_dialog_t::p_parent |
The vlc object that asked.
void* interaction_dialog_t::p_private |
Private interface data.
intf_sys_t* intf_thread_t::p_sys |
LibVLC interfaces book keeping.
void(* intf_dialog_args_t::pf_callback) (intf_dialog_args_t *) |
void( * intf_thread_t::pf_show_dialog) (struct intf_thread_t *, int, int, intf_dialog_args_t *) |
Specific for dialogs providers.
char* interaction_dialog_t::psz_alternate_button |
alternate button title (~NO)
char* interaction_dialog_t::psz_default_button |
default button title (~OK)
char* interaction_dialog_t::psz_description |
Descriptor string.
char* intf_dialog_args_t::psz_extensions |
char* interaction_dialog_t::psz_other_button |
other button title (optional,~Cancel)
char** intf_dialog_args_t::psz_results |
char* interaction_dialog_t::psz_returned[1] |
returned responses from the user
char* intf_dialog_args_t::psz_title |
char* interaction_dialog_t::psz_title |
Title.
vlc_value_t interaction_dialog_t::val |
value coming from core for dialogue