mirror of
https://code.videolan.org/videolan/vlc
synced 2024-08-31 06:46:39 +02:00
Replace define by enum
This commit is contained in:
parent
955d1b68cb
commit
e0bbc1967a
@ -153,36 +153,38 @@ VLC_EXPORT( int, __intf_Eject, ( vlc_object_t *, const char * ) );
|
||||
#endif
|
||||
|
||||
/* Interface dialog ids for dialog providers */
|
||||
#define INTF_DIALOG_FILE_SIMPLE 1
|
||||
#define INTF_DIALOG_FILE 2
|
||||
#define INTF_DIALOG_DISC 3
|
||||
#define INTF_DIALOG_NET 4
|
||||
#define INTF_DIALOG_CAPTURE 5
|
||||
#define INTF_DIALOG_SAT 6
|
||||
#define INTF_DIALOG_DIRECTORY 7
|
||||
typedef 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,
|
||||
|
||||
#define INTF_DIALOG_STREAMWIZARD 8
|
||||
#define INTF_DIALOG_WIZARD 9
|
||||
INTF_DIALOG_STREAMWIZARD,
|
||||
INTF_DIALOG_WIZARD,
|
||||
|
||||
#define INTF_DIALOG_PLAYLIST 10
|
||||
#define INTF_DIALOG_MESSAGES 11
|
||||
#define INTF_DIALOG_FILEINFO 12
|
||||
#define INTF_DIALOG_PREFS 13
|
||||
#define INTF_DIALOG_BOOKMARKS 14
|
||||
#define INTF_DIALOG_EXTENDED 15
|
||||
INTF_DIALOG_PLAYLIST,
|
||||
INTF_DIALOG_MESSAGES,
|
||||
INTF_DIALOG_FILEINFO,
|
||||
INTF_DIALOG_PREFS,
|
||||
INTF_DIALOG_BOOKMARKS,
|
||||
INTF_DIALOG_EXTENDED,
|
||||
|
||||
#define INTF_DIALOG_POPUPMENU 20
|
||||
#define INTF_DIALOG_AUDIOPOPUPMENU 21
|
||||
#define INTF_DIALOG_VIDEOPOPUPMENU 22
|
||||
#define INTF_DIALOG_MISCPOPUPMENU 23
|
||||
INTF_DIALOG_POPUPMENU = 20,
|
||||
INTF_DIALOG_AUDIOPOPUPMENU,
|
||||
INTF_DIALOG_VIDEOPOPUPMENU,
|
||||
INTF_DIALOG_MISCPOPUPMENU,
|
||||
|
||||
#define INTF_DIALOG_FILE_GENERIC 30
|
||||
#define INTF_DIALOG_INTERACTION 50
|
||||
INTF_DIALOG_FILE_GENERIC = 30,
|
||||
INTF_DIALOG_INTERACTION = 50,
|
||||
|
||||
#define INTF_DIALOG_UPDATEVLC 90
|
||||
#define INTF_DIALOG_VLM 91
|
||||
INTF_DIALOG_UPDATEVLC = 90,
|
||||
INTF_DIALOG_VLM,
|
||||
|
||||
#define INTF_DIALOG_EXIT 99
|
||||
INTF_DIALOG_EXIT = 99
|
||||
} vlc_dialog_t;
|
||||
|
||||
/* Useful text messages shared by interfaces */
|
||||
#define INTF_ABOUT_MSG LICENSE_MSG
|
||||
|
Loading…
Reference in New Issue
Block a user