mirror of https://code.videolan.org/videolan/vlc
include/vlc/vlc.h:
turn playlist command defines into a enum
This commit is contained in:
parent
92c1ab4e49
commit
b31c380633
|
@ -2,7 +2,7 @@
|
||||||
* vlc.h: global header for vlc
|
* vlc.h: global header for vlc
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1998, 1999, 2000 VideoLAN
|
* Copyright (C) 1998, 1999, 2000 VideoLAN
|
||||||
* $Id: vlc.h,v 1.24 2003/07/23 01:13:47 gbazin Exp $
|
* $Id: vlc.h,v 1.25 2003/08/14 13:09:42 sigmunau Exp $
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -106,13 +106,15 @@ struct vlc_list_t
|
||||||
#define PLAYLIST_RANDOM 3 /* Shuffle play */
|
#define PLAYLIST_RANDOM 3 /* Shuffle play */
|
||||||
#define PLAYLIST_REVERSE_RANDOM -3 /* Reverse shuffle play */
|
#define PLAYLIST_REVERSE_RANDOM -3 /* Reverse shuffle play */
|
||||||
|
|
||||||
/* Playlist commands */
|
/** Playlist commands */
|
||||||
#define PLAYLIST_PLAY 1 /* Starts playing. No arg. */
|
typedef enum {
|
||||||
#define PLAYLIST_PAUSE 2 /* Toggles playlist pause. No arg. */
|
PLAYLIST_PLAY, /**< Starts playing. No arg. */
|
||||||
#define PLAYLIST_STOP 3 /* Stops playing. No arg. */
|
PLAYLIST_PAUSE, /**< Toggles playlist pause. No arg. */
|
||||||
#define PLAYLIST_SKIP 4 /* Skip X items and play. */
|
PLAYLIST_STOP, /**< Stops playing. No arg. */
|
||||||
#define PLAYLIST_GOTO 5 /* Goto Xth item. */
|
PLAYLIST_SKIP, /**< Skip X items and play. */
|
||||||
#define PLAYLIST_MODE 6 /* Set playlist mode. ??? */
|
PLAYLIST_GOTO, /**< Goto Xth item. */
|
||||||
|
PLAYLIST_MODE /**< Set playlist mode. ??? */
|
||||||
|
} playlist_command_t;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Required internal headers
|
* Required internal headers
|
||||||
|
|
Loading…
Reference in New Issue