|
VLC
4.0.0-dev
|

Modules | |
| User settings | |
| VLC dialog | |
| Interaction | |
| VLC playlist | |
| VLC renderer discovery | |
| Software updates | |
| VLM | |
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... | |
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 | |
| VLC_EXPORT int | intf_Create (libvlc_int_t *, const char *) |
| Create and start an interface. More... | |
| VLC_EXPORT void | libvlc_Quit (libvlc_int_t *) |
| Posts an exit signal to LibVLC instance. More... | |
| VLC_EXPORT vlc_playlist_t * | vlc_intf_GetMainPlaylist (intf_thread_t *intf) |
| Recover the main playlist from an interface module. More... | |
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;*.wpl;*.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) |
| 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 |
| VLC_EXPORT int intf_Create | ( | libvlc_int_t * | libvlc, |
| const char * | chain | ||
| ) |
Create and start an interface.
| playlist | playlist and parent object for the interface |
| chain | configuration chain string |
References _, AddIntfCallback(), config_ChainCreate(), config_ChainDestroy(), libvlc_priv_t::interfaces, libvlc_GetMainPlaylist(), libvlc_priv(), libvlc_priv_t::lock, module_need, module_unneed, msg_Err, intf_thread_t::p_cfg, intf_thread_t::p_module, intf_thread_t::p_next, 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_delete, VLC_SUCCESS, VLC_VAR_ADDCHOICE, VLC_VAR_ISCOMMAND, VLC_VAR_SETTEXT, and VLC_VAR_STRING.
Referenced by AddIntfCallback(), and libvlc_InternalAddIntf().
| VLC_EXPORT 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 update_DownloadReal(), and vlc_player_input_HandleState().
| VLC_EXPORT vlc_playlist_t* vlc_intf_GetMainPlaylist | ( | intf_thread_t * | intf | ) |
Recover the main playlist from an interface module.
References libvlc_GetMainPlaylist(), and vlc_object_instance.
| VLC_EXPORT void vlc_LogSet | ( | libvlc_int_t * | vlc, |
| const struct vlc_logger_operations * | ops, | ||
| void * | opaque | ||
| ) |
Sets the message logging callback.
| ops | message callback, or NULL to clear |
| data | data pointer for the message callback |
References discard_log, vlc_object_t::logger, libvlc_int_t::obj, vlc_logger::ops, vlc_LogExternalCreate(), vlc_LogSpam(), vlc_LogSwitch(), and VLC_OBJECT.
| 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_object_t intf_thread_t::obj |
| 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
1.8.17