minimal playlist operating implemented
[melted_gui] / src / instance.h
index c3e14ae..be3fa87 100644 (file)
@@ -98,18 +98,25 @@ typedef enum playlist_item_type
 #define PLAYLIST_ITEM_ERROR_LIB 1
 #define PLAYLIST_ITEM_ERROR_CUE 2
 
+/**
+ * @anchor playlist_item_t
+ *
+ * fu
+ */
 typedef struct playlist_item
 {
-    char id[PATH_MAX];
-    char title[PATH_MAX];
+/*@{*/
+    char id[PATH_MAX];          /**< id of item, i.e. internal id or filename */
+    char title[PATH_MAX];       /**< title */
     int in;
     int dur;
-    int player;
-    playlist_item_type_t type;
-    int omn_idx;
+    int player;                 /**< player index that item currenly associated, -1 otherwise */
+    playlist_item_type_t type;  /**< block type of item */
+    int int_idx;                /**< internal playlist index */
     int omn_offset;
-    int error;
-    int del;
+    int error;                  /**< flag indicates if any error occured with item */
+    int del;                    /**<  */
+/*@}*/
 } playlist_item_t;
 
 #define MAX_PLAYERS 4