]> git.sesse.net Git - vlc/blobdiff - include/interface.h
. input fichier en ligne de commande (le reste a du p�ter, c'est pas
[vlc] / include / interface.h
index eda7ce599170582e1ef857a98e0292d4401863b9..296806d388e1d9d4cc2612cf92f15baa1a960a42 100644 (file)
@@ -1,10 +1,28 @@
 /*****************************************************************************
  * interface.h: interface access for other threads
- * (c)1999 VideoLAN
- *****************************************************************************
  * This library provides basic functions for threads to interact with user
  * interface, such as message output.
  *****************************************************************************
+ * Copyright (C) 1999, 2000 VideoLAN
+ *
+ * Authors:
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ *****************************************************************************/
+
+/*****************************************************************************
  * Required headers:
  *  <sys/uio.h>
  *  <X11/Xlib.h>
@@ -12,7 +30,7 @@
  *  "config.h"
  *  "common.h"
  *  "mtime.h"
- *  "vlc_thread.h"
+ *  "threads.h"
  *  "input.h"
  *  "video.h"
  *  "video_output.h"
@@ -39,11 +57,17 @@ typedef struct intf_thread_s
     p_intf_sys_t        p_sys;                           /* system interface */
 
     /* Plugin */
-    void *                  p_intf_plugin;               /* interface plugin */
+    plugin_id_t             intf_plugin;                 /* interface plugin */
     intf_sys_create_t *     p_sys_create;         /* create interface thread */
     intf_sys_manage_t *     p_sys_manage;                       /* main loop */
     intf_sys_destroy_t *    p_sys_destroy;              /* destroy interface */
 
+    /* XXX: Channels array - new API */
+    //p_intf_channel_t *  p_channel[INTF_MAX_CHANNELS];/* channel descriptions */
+    /* file list - quick hack */
+    char **p_playlist;
+    int i_list_index;
+
     /* Channels array - NULL if not used */
     p_intf_channel_t    p_channel;                /* description of channels */