]> git.sesse.net Git - vlc/blobdiff - modules/gui/beos/Interface.cpp
Removes trailing spaces. Removes tabs.
[vlc] / modules / gui / beos / Interface.cpp
index 2b817ea882b7eafd491ef9ca08911d5eda3ecd2c..6da022a32bf7420210df5452cc0795be77b7a947 100644 (file)
 /*****************************************************************************
  * 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"
@@ -71,7 +68,7 @@ int E_(OpenIntf) ( vlc_object_t *p_this )
         msg_Err( p_intf, "out of memory" );
         return VLC_EGENERIC;
     }
-    
     p_intf->pf_run = Run;
 
     /* Create the interface window */
@@ -119,7 +116,7 @@ void E_(CloseIntf) ( vlc_object_t *p_this )
  *****************************************************************************/
 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 );