]> git.sesse.net Git - vlc/commitdiff
Move intf_sys_t and intf_thread_t definitions
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 23 May 2009 16:15:32 +0000 (19:15 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 23 May 2009 17:01:36 +0000 (20:01 +0300)
include/vlc_common.h
include/vlc_interface.h
modules/gui/qt4/components/extended_panels.hpp

index f75611ffb459859c2d4a45b5f76a00045c0335f6..88b938bc421b379ec818dcf6118c25cb054360b9 100644 (file)
@@ -176,10 +176,6 @@ typedef struct module_cache_t module_cache_t;
 
 typedef struct config_category_t config_category_t;
 
-/* Interface */
-typedef struct intf_thread_t intf_thread_t;
-typedef struct intf_sys_t intf_sys_t;
-
 /* Input */
 typedef struct input_thread_t input_thread_t;
 typedef struct input_thread_sys_t input_thread_sys_t;
index fae34b527e1f19ed359b5acbce0d526423b37cd3..b59bd9da1e6f793129b14945c521a7b758307bec 100644 (file)
@@ -44,8 +44,10 @@ typedef struct intf_dialog_args_t intf_dialog_args_t;
  * @{
  */
 
+typedef struct intf_sys_t intf_sys_t;
+
 /** Describe all interface-specific data of the interface thread */
-struct intf_thread_t
+typedef struct intf_thread_t
 {
     VLC_COMMON_MEMBERS
 
@@ -60,14 +62,14 @@ struct intf_thread_t
 
     /** Interface module */
     module_t *   p_module;
-    void      ( *pf_run )    ( intf_thread_t * ); /** Run function */
+    void      ( *pf_run )    ( struct intf_thread_t * ); /** Run function */
 
     /** Specific for dialogs providers */
-    void ( *pf_show_dialog ) ( intf_thread_t *, int, int,
+    void ( *pf_show_dialog ) ( struct intf_thread_t *, int, int,
                                intf_dialog_args_t * );
 
     config_chain_t *p_cfg;
-};
+} intf_thread_t;
 
 /** \brief Arguments passed to a dialogs provider
  *  This describes the arguments passed to the dialogs provider. They are
index 3d498c7dca0dc79ff6c277e01ea4611e6e3e1f75..5568ea71b5f4971b6fe1c07c542934efe920dd96 100644 (file)
@@ -48,7 +48,7 @@ class ExtVideo: public QObject
     Q_OBJECT
     friend class ExtendedDialog;
 public:
-    ExtVideo( intf_thread_t *, QTabWidget * );
+    ExtVideo( struct intf_thread_t *, QTabWidget * );
     virtual ~ExtVideo();
     /*void gotoConf( QObject* );*/
 private: