/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <stdio.h>
-#include <stdlib.h> /* malloc(), free() */
#include <InterfaceKit.h>
#include <Application.h>
#include <Message.h>
-#include <string.h>
#include <vlc/vlc.h>
-#include <vlc/intf.h>
-#include <vlc/aout.h>
+#include <vlc_interface.h>
+#include <vlc_aout.h>
#include <aout_internal.h>
#include "InterfaceWindow.h"
msg_Err( p_intf, "out of memory" );
return VLC_EGENERIC;
}
-
+
p_intf->pf_run = Run;
/* Create the interface window */
*****************************************************************************/
static void Run( intf_thread_t *p_intf )
{
- while( !p_intf->b_die )
+ while( !intf_ShouldDie( p_intf ) )
{
p_intf->p_sys->p_window->UpdateInterface();
msleep( INTF_IDLE_SLEEP );