Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
2c7d795f
Commit
2c7d795f
authored
Dec 11, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give a clue about extending enums
parent
b023e956
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
include/vlc/libvlc_events.h
include/vlc/libvlc_events.h
+4
-2
include/vlc/libvlc_structures.h
include/vlc/libvlc_structures.h
+2
-1
No files found.
include/vlc/libvlc_events.h
View file @
2c7d795f
...
@@ -45,6 +45,8 @@ extern "C" {
...
@@ -45,6 +45,8 @@ extern "C" {
*/
*/
typedef
enum
libvlc_event_type_t
{
typedef
enum
libvlc_event_type_t
{
/* Append new event types at the end.
* Do not remove, insert or re-order any entry. */
libvlc_MediaMetaChanged
,
libvlc_MediaMetaChanged
,
libvlc_MediaSubItemAdded
,
libvlc_MediaSubItemAdded
,
libvlc_MediaDurationChanged
,
libvlc_MediaDurationChanged
,
...
@@ -85,8 +87,8 @@ typedef enum libvlc_event_type_t {
...
@@ -85,8 +87,8 @@ typedef enum libvlc_event_type_t {
libvlc_MediaDiscovererEnded
,
libvlc_MediaDiscovererEnded
,
libvlc_MediaPlayerTitleChanged
,
libvlc_MediaPlayerTitleChanged
,
libvlc_MediaPlayerSnapshotTaken
libvlc_MediaPlayerSnapshotTaken
,
/* New event types HERE */
}
libvlc_event_type_t
;
}
libvlc_event_type_t
;
/**
/**
...
...
include/vlc/libvlc_structures.h
View file @
2c7d795f
...
@@ -103,7 +103,8 @@ typedef enum libvlc_meta_t {
...
@@ -103,7 +103,8 @@ typedef enum libvlc_meta_t {
libvlc_meta_Publisher
,
libvlc_meta_Publisher
,
libvlc_meta_EncodedBy
,
libvlc_meta_EncodedBy
,
libvlc_meta_ArtworkURL
,
libvlc_meta_ArtworkURL
,
libvlc_meta_TrackID
libvlc_meta_TrackID
,
/* Add new meta types HERE */
}
libvlc_meta_t
;
}
libvlc_meta_t
;
/**@} */
/**@} */
...
...
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