]> git.sesse.net Git - vlc/blobdiff - include/vlc_epg.h
block: remove block_FifoPace()
[vlc] / include / vlc_epg.h
index 25d8ed275d918e16bf5b12ba494d234ed379cb19..c0fd0f559ac3bb7ed6201889dcda998ebff3a413 100644 (file)
@@ -38,6 +38,7 @@ typedef struct
     char    *psz_short_description;
     char    *psz_description;
 
+    uint8_t i_rating;   /* Parental control, set to 0 when undefined */
 } vlc_epg_event_t;
 
 typedef struct
@@ -66,7 +67,7 @@ VLC_API void vlc_epg_Clean(vlc_epg_t *p_epg);
  *
  * \see vlc_epg_t for the definitions of the parameters.
  */
-VLC_API void vlc_epg_AddEvent(vlc_epg_t *p_epg, int64_t i_start, int i_duration, const char *psz_name, const char *psz_short_description, const char *psz_description);
+VLC_API void vlc_epg_AddEvent(vlc_epg_t *p_epg, int64_t i_start, int i_duration, const char *psz_name, const char *psz_short_description, const char *psz_description, uint8_t i_rating );
 
 /**
  * It creates a new vlc_epg_t*