-#define DEFINE_LIBVLC_EVENT_TYPES \
- DEF( MediaMetaChanged ), \
- DEF( MediaSubItemAdded ), \
- DEF( MediaDurationChanged ), \
- DEF( MediaPreparsedChanged ), \
- DEF( MediaFreed ), \
- DEF( MediaStateChanged ), \
- \
- DEF( MediaPlayerNothingSpecial ), \
- DEF( MediaPlayerOpening ), \
- DEF( MediaPlayerBuffering ), \
- DEF( MediaPlayerPlaying ), \
- DEF( MediaPlayerPaused ), \
- DEF( MediaPlayerStopped ), \
- DEF( MediaPlayerForward ), \
- DEF( MediaPlayerBackward ), \
- DEF( MediaPlayerEndReached ), \
- DEF( MediaPlayerEncounteredError ), \
- DEF( MediaPlayerTimeChanged ), \
- DEF( MediaPlayerPositionChanged ), \
- DEF( MediaPlayerSeekableChanged ), \
- DEF( MediaPlayerPausableChanged ), \
- \
- DEF( MediaListItemAdded ), \
- DEF( MediaListWillAddItem ), \
- DEF( MediaListItemDeleted ), \
- DEF( MediaListWillDeleteItem ), \
- \
- DEF( MediaListViewItemAdded ), \
- DEF( MediaListViewWillAddItem ), \
- DEF( MediaListViewItemDeleted ), \
- DEF( MediaListViewWillDeleteItem ), \
- \
- DEF( MediaListPlayerPlayed ), \
- DEF( MediaListPlayerNextItemSet ), \
- DEF( MediaListPlayerStopped ), \
- \
- DEF( MediaDiscovererStarted ), \
- DEF( MediaDiscovererEnded ), \
- \
- DEF( MediaPlayerTitleChanged ), \
- DEF( MediaPlayerSnapshotTaken ), \
- DEF( MediaPlayerLengthChanged ), \
- \
- DEF( VlmMediaAdded ), \
- DEF( VlmMediaRemoved ), \
- DEF( VlmMediaChanged ), \
- DEF( VlmMediaInstanceStarted ), \
- DEF( VlmMediaInstanceStopped ), \
- DEF( VlmMediaInstanceStatusInit ), \
- DEF( VlmMediaInstanceStatusOpening ), \
- DEF( VlmMediaInstanceStatusPlaying ), \
- DEF( VlmMediaInstanceStatusPause ), \
- DEF( VlmMediaInstanceStatusEnd ), \
- DEF( VlmMediaInstanceStatusError ), \
- \
- DEF( MediaPlayerMediaChanged ), \
-/* New event types HERE */
-
-#ifdef __cplusplus
-enum libvlc_event_type_e {
-#else
-enum libvlc_event_type_t {
-#endif
-#define DEF(a) libvlc_##a
- DEFINE_LIBVLC_EVENT_TYPES
+ libvlc_MediaMetaChanged,
+ libvlc_MediaSubItemAdded,
+ libvlc_MediaDurationChanged,
+ libvlc_MediaPreparsedChanged,
+ libvlc_MediaFreed,
+ libvlc_MediaStateChanged,
+
+ libvlc_MediaPlayerNothingSpecial,
+ libvlc_MediaPlayerOpening,
+ libvlc_MediaPlayerBuffering,
+ libvlc_MediaPlayerPlaying,
+ libvlc_MediaPlayerPaused,
+ libvlc_MediaPlayerStopped,
+ libvlc_MediaPlayerForward,
+ libvlc_MediaPlayerBackward,
+ libvlc_MediaPlayerEndReached,
+ libvlc_MediaPlayerEncounteredError,
+ libvlc_MediaPlayerTimeChanged,
+ libvlc_MediaPlayerPositionChanged,
+ libvlc_MediaPlayerSeekableChanged,
+ libvlc_MediaPlayerPausableChanged,
+
+ libvlc_MediaListItemAdded,
+ libvlc_MediaListWillAddItem,
+ libvlc_MediaListItemDeleted,
+ libvlc_MediaListWillDeleteItem,
+
+ libvlc_MediaListViewItemAdded,
+ libvlc_MediaListViewWillAddItem,
+ libvlc_MediaListViewItemDeleted,
+ libvlc_MediaListViewWillDeleteItem,
+
+ libvlc_MediaListPlayerPlayed,
+ libvlc_MediaListPlayerNextItemSet,
+ libvlc_MediaListPlayerStopped,
+
+ libvlc_MediaDiscovererStarted,
+ libvlc_MediaDiscovererEnded,
+
+ libvlc_MediaPlayerTitleChanged,
+ libvlc_MediaPlayerSnapshotTaken,
+ libvlc_MediaPlayerLengthChanged,
+
+ libvlc_VlmMediaAdded,
+ libvlc_VlmMediaRemoved,
+ libvlc_VlmMediaChanged,
+ libvlc_VlmMediaInstanceStarted,
+ libvlc_VlmMediaInstanceStopped,
+ libvlc_VlmMediaInstanceStatusInit,
+ libvlc_VlmMediaInstanceStatusOpening,
+ libvlc_VlmMediaInstanceStatusPlaying,
+ libvlc_VlmMediaInstanceStatusPause,
+ libvlc_VlmMediaInstanceStatusEnd,
+ libvlc_VlmMediaInstanceStatusError,
+
+ libvlc_MediaPlayerMediaChanged,
+ /* New event types HERE */