]> git.sesse.net Git - vlc/blobdiff - include/vlc_input_item.h
vlc_input_item.h is not self-sufficient without vlc_events.h
[vlc] / include / vlc_input_item.h
index d4858c9180d61ea977aef66111fa0d5ab1e1e8f9..8bf825f870000d7350fa03d378dc82e44a7acd2c 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <vlc_meta.h>
 #include <vlc_epg.h>
+#include <vlc_events.h>
 
 #include <string.h>
 
@@ -86,7 +87,6 @@ struct input_item_t
     vlc_mutex_t lock;                 /**< Lock for the item */
 
     uint8_t     i_type;              /**< Type (file, disc, ... see input_item_type_e) */
-    bool        b_prefers_tree;      /**< Do we prefer being displayed as tree*/
     bool        b_fixed_name;        /**< Can the interface change the name ?*/
     bool        b_error_when_reading;/**< Error When Reading */
 };
@@ -263,6 +263,12 @@ VLC_EXPORT( input_item_t *, input_item_NewExt, (vlc_object_t *, const char *psz_
  */
 #define input_item_New( a,b,c ) input_item_NewExt( a, b, c, 0, NULL, 0, -1 )
 
+/**
+ * This function creates a new input_item_t as a copy of another.
+ */
+VLC_EXPORT( input_item_t *, input_item_Copy, (vlc_object_t *, input_item_t * ) );
+
+
 /******************
  * Input stats
  ******************/