Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
b31c3806
Commit
b31c3806
authored
Aug 14, 2003
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/vlc/vlc.h:
turn playlist command defines into a enum
parent
92c1ab4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
include/vlc/vlc.h
include/vlc/vlc.h
+11
-9
No files found.
include/vlc/vlc.h
View file @
b31c3806
...
...
@@ -2,7 +2,7 @@
* vlc.h: global header for vlc
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: vlc.h,v 1.2
4 2003/07/23 01:13:47 gbazin
Exp $
* $Id: vlc.h,v 1.2
5 2003/08/14 13:09:42 sigmunau
Exp $
*
* 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
...
...
@@ -46,7 +46,7 @@ typedef union
struct
{
int
i_low
,
i_high
;
}
time
;
struct
{
char
*
psz_name
;
int
i_object_id
;
}
var
;
/* Make sure the structure is at least 64bits */
/* Make sure the structure is at least 64bits */
struct
{
char
a
,
b
,
c
,
d
,
e
,
f
,
g
,
h
;
}
padding
;
}
vlc_value_t
;
...
...
@@ -106,13 +106,15 @@ struct vlc_list_t
#define PLAYLIST_RANDOM 3
/* Shuffle play */
#define PLAYLIST_REVERSE_RANDOM -3
/* Reverse shuffle play */
/* Playlist commands */
#define PLAYLIST_PLAY 1
/* Starts playing. No arg. */
#define PLAYLIST_PAUSE 2
/* Toggles playlist pause. No arg. */
#define PLAYLIST_STOP 3
/* Stops playing. No arg. */
#define PLAYLIST_SKIP 4
/* Skip X items and play. */
#define PLAYLIST_GOTO 5
/* Goto Xth item. */
#define PLAYLIST_MODE 6
/* Set playlist mode. ??? */
/** Playlist commands */
typedef
enum
{
PLAYLIST_PLAY
,
/**< Starts playing. No arg. */
PLAYLIST_PAUSE
,
/**< Toggles playlist pause. No arg. */
PLAYLIST_STOP
,
/**< Stops playing. No arg. */
PLAYLIST_SKIP
,
/**< Skip X items and play. */
PLAYLIST_GOTO
,
/**< Goto Xth item. */
PLAYLIST_MODE
/**< Set playlist mode. ??? */
}
playlist_command_t
;
/*****************************************************************************
* Required internal headers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment