* vlcproc.h: VlcProc class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: vlcproc.h,v 1.1 2003/03/18 02:21:47 ipkiss Exp $
+ * $Id: vlcproc.h,v 1.10 2003/07/20 20:42:23 ipkiss Exp $
*
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
#ifndef VLC_SKIN_PROC
#define VLC_SKIN_PROC
+#include "skin_common.h"
+
//--- GENERAL ---------------------------------------------------------------
#include <string>
using namespace std;
-//---------------------------------------------------------------------------
-struct intf_thread_t;
-
//---------------------------------------------------------------------------
class VlcProc
{
// Vlc methods
void LoadSkin();
- void OpenFile( bool play );
void DropFile( unsigned int param );
void PauseStream();
void PlayStream();
void FullScreen();
void ChangeVolume( unsigned int msg, long param );
- void InterfaceRefresh( bool All = false );
+ static int RefreshCallback( vlc_object_t *p_this,
+ const char *psz_variable, vlc_value_t old_val, vlc_value_t new_val,
+ void *param );
+ static int IntfShowCallback( vlc_object_t *p_this,
+ const char *psz_variable, vlc_value_t old_val, vlc_value_t new_val,
+ void *param );
+
+ void InterfaceRefresh();
void EnabledEvent( string type, bool state );
public:
bool EventProc( Event *evt );
bool EventProcEnd();
bool IsClosing();
+
+ // Getters
+ intf_thread_t *GetpIntf() { return p_intf; };
};
//---------------------------------------------------------------------------