VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
vlc_interface.h File Reference

This file contains structures and function prototypes for interface management in vlc. More...

Include dependency graph for vlc_interface.h:

Go to the source code of this file.

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...
struct  msg_subscription
 Used by interface plugins which subscribe to the message bank. More...
struct  interaction_dialog_t
 This structure describes a piece of interaction with the user. More...

Macros

#define intf_Create(a, b)   intf_Create(VLC_OBJECT(a),b)
#define CONSOLE_INTRO_MSG   (void)0
#define INTF_ABOUT_MSG   LICENSE_MSG
#define EXTENSIONS_AUDIO_CSV
#define EXTENSIONS_VIDEO_CSV
#define EXTENSIONS_AUDIO
#define EXTENSIONS_VIDEO
#define EXTENSIONS_PLAYLIST   "*.asx;*.b4s;*.cue;*.ifo;*.m3u;*.m3u8;*.pls;*.ram;*.rar;*.sdp;*.vlc;*.xspf;*.wvx;*.zip;*.conf"
#define EXTENSIONS_MEDIA
#define EXTENSIONS_SUBTITLE
#define DIALOG_GOT_ANSWER   0x01
 Possible flags .
#define DIALOG_YES_NO_CANCEL   0x02
#define DIALOG_LOGIN_PW_OK_CANCEL   0x04
#define DIALOG_PSZ_INPUT_OK_CANCEL   0x08
#define DIALOG_BLOCKING_ERROR   0x10
#define DIALOG_NONBLOCKING_ERROR   0x20
#define DIALOG_USER_PROGRESS   0x80
#define DIALOG_INTF_PROGRESS   0x100
#define intf_UserStringInput(a, b, c, d)   (VLC_OBJECT(a),b,c,d, VLC_EGENERIC)
#define interaction_Register(t)   (t, VLC_EGENERIC)
#define interaction_Unregister(t)   (t, VLC_EGENERIC)

Typedefs

typedef struct intf_dialog_args_t intf_dialog_args_t
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 void(* msg_callback_t )(void *, int, const msg_item_t *, const char *, va_list)
 Message logging callback signature.
typedef struct msg_subscription msg_subscription_t
 Used by interface plugins which subscribe to the message bank.
typedef enum vlc_dialog vlc_dialog_t
typedef struct interaction_dialog_t interaction_dialog_t
 This structure describes a piece of interaction with the user.

Enumerations

enum  vlc_dialog {
  INTF_DIALOG_FILE_SIMPLE = 1, INTF_DIALOG_FILE, INTF_DIALOG_DISC, INTF_DIALOG_NET,
  INTF_DIALOG_CAPTURE, INTF_DIALOG_SAT, INTF_DIALOG_DIRECTORY, INTF_DIALOG_STREAMWIZARD,
  INTF_DIALOG_WIZARD, INTF_DIALOG_PLAYLIST, INTF_DIALOG_MESSAGES, INTF_DIALOG_FILEINFO,
  INTF_DIALOG_PREFS, INTF_DIALOG_BOOKMARKS, INTF_DIALOG_EXTENDED, INTF_DIALOG_POPUPMENU = 20,
  INTF_DIALOG_AUDIOPOPUPMENU, INTF_DIALOG_VIDEOPOPUPMENU, INTF_DIALOG_MISCPOPUPMENU, INTF_DIALOG_FILE_GENERIC = 30,
  INTF_DIALOG_INTERACTION = 50, INTF_DIALOG_UPDATEVLC = 90, INTF_DIALOG_VLM, INTF_DIALOG_EXIT = 99
}
enum  { DIALOG_OK_YES, DIALOG_NO, DIALOG_CANCELLED }
 Possible return codes. More...
enum  { ANSWERED_DIALOG, DESTROYED_DIALOG }
 Possible status. More...
enum  { INTERACT_NEW, INTERACT_UPDATE, INTERACT_HIDE, INTERACT_DESTROY }
 Possible actions. More...

Functions

int intf_Create (vlc_object_t *, const char *)
void libvlc_Quit (libvlc_int_t *)
 Posts an exit signal to LibVLC instance.
void vlc_Subscribe (msg_subscription_t *, msg_callback_t, void *)
 Subscribe to the message queue.
void vlc_Unsubscribe (msg_subscription_t *)
 Unsubscribe from the message queue.

Detailed Description

This file contains structures and function prototypes for interface management in vlc.

Typedef Documentation