Commit 9e8ea4a6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Move intf_sys_t and intf_thread_t definitions

parent 85ab111d
...@@ -176,10 +176,6 @@ typedef struct module_cache_t module_cache_t; ...@@ -176,10 +176,6 @@ typedef struct module_cache_t module_cache_t;
typedef struct config_category_t config_category_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 */ /* Input */
typedef struct input_thread_t input_thread_t; typedef struct input_thread_t input_thread_t;
typedef struct input_thread_sys_t input_thread_sys_t; typedef struct input_thread_sys_t input_thread_sys_t;
......
...@@ -44,8 +44,10 @@ typedef struct intf_dialog_args_t intf_dialog_args_t; ...@@ -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 */ /** Describe all interface-specific data of the interface thread */
struct intf_thread_t typedef struct intf_thread_t
{ {
VLC_COMMON_MEMBERS VLC_COMMON_MEMBERS
...@@ -60,14 +62,14 @@ struct intf_thread_t ...@@ -60,14 +62,14 @@ struct intf_thread_t
/** Interface module */ /** Interface module */
module_t * p_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 */ /** 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 * ); intf_dialog_args_t * );
config_chain_t *p_cfg; config_chain_t *p_cfg;
}; } intf_thread_t;
/** \brief Arguments passed to a dialogs provider /** \brief Arguments passed to a dialogs provider
* This describes the arguments passed to the dialogs provider. They are * This describes the arguments passed to the dialogs provider. They are
......
...@@ -48,7 +48,7 @@ class ExtVideo: public QObject ...@@ -48,7 +48,7 @@ class ExtVideo: public QObject
Q_OBJECT Q_OBJECT
friend class ExtendedDialog; friend class ExtendedDialog;
public: public:
ExtVideo( intf_thread_t *, QTabWidget * ); ExtVideo( struct intf_thread_t *, QTabWidget * );
virtual ~ExtVideo(); virtual ~ExtVideo();
/*void gotoConf( QObject* );*/ /*void gotoConf( QObject* );*/
private: private:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment