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
8d2c4eac
Commit
8d2c4eac
authored
Dec 14, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: move playlist controls to vlc_playlist.h
parent
0514bc5f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
15 deletions
+10
-15
include/vlc_common.h
include/vlc_common.h
+0
-14
include/vlc_playlist.h
include/vlc_playlist.h
+10
-1
No files found.
include/vlc_common.h
View file @
8d2c4eac
...
@@ -202,20 +202,6 @@ typedef struct date_t date_t;
...
@@ -202,20 +202,6 @@ typedef struct date_t date_t;
/* Playlist */
/* Playlist */
/* FIXME */
/**
* Playlist commands
*/
typedef
enum
{
PLAYLIST_PLAY
,
/**< No arg. res=can fail*/
PLAYLIST_VIEWPLAY
,
/**< arg1= playlist_item_t*,*/
/** arg2 = playlist_item_t* , res=can fail */
PLAYLIST_PAUSE
,
/**< No arg res=can fail*/
PLAYLIST_STOP
,
/**< No arg res=can fail*/
PLAYLIST_SKIP
,
/**< arg1=int, res=can fail*/
}
playlist_command_t
;
typedef
struct
playlist_t
playlist_t
;
typedef
struct
playlist_t
playlist_t
;
typedef
struct
playlist_item_t
playlist_item_t
;
typedef
struct
playlist_item_t
playlist_item_t
;
typedef
struct
services_discovery_t
services_discovery_t
;
typedef
struct
services_discovery_t
services_discovery_t
;
...
...
include/vlc_playlist.h
View file @
8d2c4eac
...
@@ -253,7 +253,16 @@ enum pl_locked_state
...
@@ -253,7 +253,16 @@ enum pl_locked_state
#define PL_UNLOCK playlist_Unlock( p_playlist )
#define PL_UNLOCK playlist_Unlock( p_playlist )
#define PL_ASSERT_LOCKED playlist_AssertLocked( p_playlist )
#define PL_ASSERT_LOCKED playlist_AssertLocked( p_playlist )
/* Playlist control */
/** Playlist commands */
enum
{
PLAYLIST_PLAY
,
/**< No arg. res=can fail*/
PLAYLIST_VIEWPLAY
,
/**< arg1= playlist_item_t*,*/
/** arg2 = playlist_item_t* , res=can fail */
PLAYLIST_PAUSE
,
/**< No arg res=can fail*/
PLAYLIST_STOP
,
/**< No arg res=can fail*/
PLAYLIST_SKIP
,
/**< arg1=int, res=can fail*/
};
#define playlist_Play(p) playlist_Control(p,PLAYLIST_PLAY, pl_Unlocked )
#define playlist_Play(p) playlist_Control(p,PLAYLIST_PLAY, pl_Unlocked )
#define playlist_Pause(p) playlist_Control(p,PLAYLIST_PAUSE, pl_Unlocked )
#define playlist_Pause(p) playlist_Control(p,PLAYLIST_PAUSE, pl_Unlocked )
#define playlist_Stop(p) playlist_Control(p,PLAYLIST_STOP, pl_Unlocked )
#define playlist_Stop(p) playlist_Control(p,PLAYLIST_STOP, pl_Unlocked )
...
...
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