Go to the documentation of this file.
150 #define INTF_ABOUT_MSG LICENSE_MSG
152 #define EXTENSIONS_AUDIO_CSV "3ga", "669", "a52", "aac", "ac3", "adt", "adts", "aif", "aifc", "aiff", \
153 "amb", "amr", "aob", "ape", "au", "awb", "caf", "dts", "dsf", "dff", "flac", "it", "kar", \
154 "m4a", "m4b", "m4p", "m5p", "mka", "mlp", "mod", "mpa", "mp1", "mp2", "mp3", "mpc", "mpga", "mus", \
155 "oga", "ogg", "oma", "opus", "qcp", "ra", "rmi", "s3m", "sid", "spx", "tak", "thd", "tta", \
156 "voc", "vqf", "w64", "wav", "wma", "wv", "xa", "xm"
158 #define EXTENSIONS_VIDEO_CSV "3g2", "3gp", "3gp2", "3gpp", "amv", "asf", "avi", "bik", "crf", "dav", "divx", "drc", "dv", "dvr-ms" \
159 "evo", "f4v", "flv", "gvi", "gxf", "iso", \
160 "m1v", "m2v", "m2t", "m2ts", "m4v", "mkv", "mov",\
161 "mp2", "mp2v", "mp4", "mp4v", "mpe", "mpeg", "mpeg1", \
162 "mpeg2", "mpeg4", "mpg", "mpv2", "mts", "mtv", "mxf", "mxg", "nsv", "nuv", \
163 "ogg", "ogm", "ogv", "ogx", "ps", \
164 "rec", "rm", "rmvb", "rpl", "thp", "tod", "ts", "tts", "txd", "vob", "vro", \
165 "webm", "wm", "wmv", "wtv", "xesc"
167 #define EXTENSIONS_AUDIO \
228 #define EXTENSIONS_VIDEO "*.3g2;*.3gp;*.3gp2;*.3gpp;*.amv;*.asf;*.avi;*.bik;*.bin;*.crf;*.dav;*.divx;*.drc;*.dv;*.dvr-ms;*.evo;*.f4v;*.flv;*.gvi;*.gxf;*.iso;*.m1v;*.m2v;" \
229 "*.m2t;*.m2ts;*.m4v;*.mkv;*.mov;*.mp2;*.mp2v;*.mp4;*.mp4v;*.mpe;*.mpeg;*.mpeg1;" \
230 "*.mpeg2;*.mpeg4;*.mpg;*.mpv2;*.mts;*.mtv;*.mxf;*.mxg;*.nsv;*.nuv;" \
231 "*.ogg;*.ogm;*.ogv;*.ogx;*.ps;" \
232 "*.rec;*.rm;*.rmvb;*.rpl;*.thp;*.tod;*.tp;*.ts;*.tts;*.txd;*.vob;*.vro;*.webm;*.wm;*.wmv;*.wtv;*.xesc"
234 #define EXTENSIONS_PLAYLIST "*.asx;*.b4s;*.cue;*.ifo;*.m3u;*.m3u8;*.pls;*.ram;*.rar;*.sdp;*.vlc;*.xspf;*.wax;*.wpl;*.wvx;*.zip;*.conf"
236 #define EXTENSIONS_MEDIA EXTENSIONS_VIDEO ";" EXTENSIONS_AUDIO ";" \
239 #define EXTENSIONS_SUBTITLE "*.cdg;*.idx;*.srt;" \
240 "*.sub;*.utf;*.ass;" \
243 "*.rt;*.sami;*.smi;*.txt;" \
244 "*.smil;*.stl;*.usf;" \
245 "*.dks;*.pjs;*.mpl2;*.mks;" \
246 "*.vtt;*.tt;*.ttml;*.dfxp;" \
290 #define DIALOG_GOT_ANSWER 0x01
291 #define DIALOG_YES_NO_CANCEL 0x02
292 #define DIALOG_LOGIN_PW_OK_CANCEL 0x04
293 #define DIALOG_PSZ_INPUT_OK_CANCEL 0x08
294 #define DIALOG_BLOCKING_ERROR 0x10
295 #define DIALOG_NONBLOCKING_ERROR 0x20
296 #define DIALOG_USER_PROGRESS 0x80
297 #define DIALOG_INTF_PROGRESS 0x100
323 #define intf_UserStringInput( a, b, c, d ) (VLC_OBJECT(a),b,c,d, VLC_EGENERIC)
324 #define interaction_Register( t ) (t, VLC_EGENERIC)
325 #define interaction_Unregister( t ) (t, VLC_EGENERIC)
@ INTF_DIALOG_CAPTURE
Definition: vlc_interface.h:119
VLC_EXPORT void vlc_LogSet(libvlc_int_t *, const struct vlc_logger_operations *, void *data)
Sets the message logging callback.
Definition: messages.c:568
#define VLC_API
Definition: fourcc_gen.c:31
VLC_EXPORT void libvlc_Quit(libvlc_int_t *)
Posts an exit signal to LibVLC instance.
Definition: exit.c:55
Definition: playlist.h:48
vlc_object_t * p_parent
The vlc object that asked.
Definition: vlc_interface.h:282
@ INTF_DIALOG_MESSAGES
Definition: vlc_interface.h:128
Definition: vlc_objects.h:114
@ INTF_DIALOG_NET
Definition: vlc_interface.h:118
void(* pf_callback)(intf_dialog_args_t *)
Definition: vlc_interface.h:79
@ INTF_DIALOG_BOOKMARKS
Definition: vlc_interface.h:131
@ DIALOG_NO
Definition: vlc_interface.h:304
bool b_multiple
Definition: vlc_interface.h:85
@ INTF_DIALOG_PLAYLIST
Definition: vlc_interface.h:126
@ INTF_DIALOG_SAT
Definition: vlc_interface.h:120
@ INTF_DIALOG_INTERACTION
Definition: vlc_interface.h:141
module_t * p_module
system interface
Definition: vlc_interface.h:58
VLC_EXPORT int intf_Create(libvlc_int_t *, const char *)
Create and start an interface.
Definition: interface.c:131
char * psz_description
Descriptor string.
Definition: vlc_interface.h:263
char ** psz_results
Definition: vlc_interface.h:76
@ INTF_DIALOG_AUDIOPOPUPMENU
Definition: vlc_interface.h:136
int i_action
Action to perform;.
Definition: vlc_interface.h:278
int i_return
Return status.
Definition: vlc_interface.h:280
char * psz_title
Definition: vlc_interface.h:74
@ INTF_DIALOG_DISC
Definition: vlc_interface.h:117
vlc_value_t val
value coming from core for dialogue
Definition: vlc_interface.h:271
@ DESTROYED_DIALOG
Interface has destroyed it.
Definition: vlc_interface.h:312
char * psz_default_button
default button title (~OK)
Definition: vlc_interface.h:264
Mutex.
Definition: vlc_threads.h:225
@ INTF_DIALOG_VIDEOPOPUPMENU
Definition: vlc_interface.h:137
@ INTF_DIALOG_VLM
Definition: vlc_interface.h:145
intf_thread_t * p_intf
Definition: vlc_interface.h:73
config_chain_t * p_cfg
Definition: vlc_interface.h:64
int i_flags
Misc flags.
Definition: vlc_interface.h:279
@ INTF_DIALOG_RENDERER
Definition: vlc_interface.h:133
@ INTF_DIALOG_POPUPMENU
Definition: vlc_interface.h:135
@ INTF_DIALOG_SENDKEY
Definition: vlc_interface.h:142
Definition: vlc_configuration.h:331
@ INTF_DIALOG_MISCPOPUPMENU
Definition: vlc_interface.h:138
Internal module descriptor.
Definition: modules.h:78
Definition: vlc_messages.h:155
char * psz_title
Title.
Definition: vlc_interface.h:262
@ INTF_DIALOG_FILE_SIMPLE
Definition: vlc_interface.h:115
@ INTF_DIALOG_PLAYLISTS
Definition: vlc_interface.h:127
int i_type
Type identifier.
Definition: vlc_interface.h:261
char * psz_returned[1]
returned responses from the user
Definition: vlc_interface.h:269
@ DIALOG_CANCELLED
Definition: vlc_interface.h:305
int i_timeToGo
time (in sec) until shown progress is finished
Definition: vlc_interface.h:272
@ INTF_DIALOG_STREAMWIZARD
Definition: vlc_interface.h:123
struct interaction_dialog_t interaction_dialog_t
This structure describes a piece of interaction with the user.
char * psz_other_button
other button title (optional,~Cancel)
Definition: vlc_interface.h:267
@ INTF_DIALOG_FILEINFO
Definition: vlc_interface.h:129
@ INTERACT_HIDE
Definition: vlc_interface.h:320
struct intf_thread_t * p_next
Definition: vlc_interface.h:52
struct vlc_object_t obj
Definition: vlc_interface.h:50
@ INTF_DIALOG_EXTENDED
Definition: vlc_interface.h:132
@ DIALOG_OK_YES
Definition: vlc_interface.h:303
struct intf_thread_t intf_thread_t
Describe all interface-specific data of the interface thread.
VLC object common members.
Definition: vlc_objects.h:43
char * psz_alternate_button
alternate button title (~NO)
Definition: vlc_interface.h:265
This structure describes a piece of interaction with the user.
Definition: vlc_interface.h:259
@ INTF_DIALOG_WIZARD
Definition: vlc_interface.h:124
@ INTF_DIALOG_EXIT
Definition: vlc_interface.h:147
Arguments passed to a dialogs provider This describes the arguments passed to the dialogs provider.
Definition: vlc_interface.h:71
void * p_arg
Definition: vlc_interface.h:80
bool b_save
Definition: vlc_interface.h:84
@ INTF_DIALOG_PREFS
Definition: vlc_interface.h:130
@ INTF_DIALOG_DIRECTORY
Definition: vlc_interface.h:121
void(* pf_show_dialog)(struct intf_thread_t *, int, int, intf_dialog_args_t *)
Specific for dialogs providers.
Definition: vlc_interface.h:61
bool b_cancelled
was the dialogue cancelled ?
Definition: vlc_interface.h:273
@ INTERACT_DESTROY
Definition: vlc_interface.h:321
@ INTERACT_UPDATE
Definition: vlc_interface.h:319
vlc_intf_dialog
Definition: vlc_interface.h:114
intf_sys_t * p_sys
LibVLC interfaces book keeping.
Definition: vlc_interface.h:55
void * p_private
Private interface data.
Definition: vlc_interface.h:275
@ INTF_DIALOG_UPDATEVLC
Definition: vlc_interface.h:144
struct intf_sys_t intf_sys_t
Definition: vlc_interface.h:45
intf_thread_t * p_interface
Definition: vlc_interface.h:284
VLC_EXPORT vlc_playlist_t * vlc_intf_GetMainPlaylist(intf_thread_t *intf)
Recover the main playlist from an interface module.
Definition: interface.c:117
struct interaction_dialog_t * p_dialog
Definition: vlc_interface.h:88
@ ANSWERED_DIALOG
Got "answer".
Definition: vlc_interface.h:311
@ INTF_DIALOG_FILE_GENERIC
Definition: vlc_interface.h:140
vlc_mutex_t * p_lock
Definition: vlc_interface.h:285
VLC value structure.
Definition: vlc_common.h:457
@ INTERACT_NEW
Definition: vlc_interface.h:318
char * psz_extensions
Definition: vlc_interface.h:83
@ INTF_DIALOG_FILE
Definition: vlc_interface.h:116
int i_results
Definition: vlc_interface.h:77
Describe all interface-specific data of the interface thread.
Definition: vlc_interface.h:48
int i_status
Dialog status;.
Definition: vlc_interface.h:277