]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins/src/vlcproc.h
* modules/gui/skins/src/themeloader.cpp: Added proper CR to error messages.
[vlc] / modules / gui / skins / src / vlcproc.h
index 553c42d2f0f5de0e78f0cc9e8f751688e95e29ec..90ef1e371264c7a33757ddef9d60fcf20544e6c0 100644 (file)
@@ -2,7 +2,7 @@
  * 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
 {
@@ -42,7 +41,6 @@ class VlcProc
 
         // Vlc methods
         void LoadSkin();
-        void OpenFile( bool play );
         void DropFile( unsigned int param );
         void PauseStream();
         void PlayStream();
@@ -53,7 +51,14 @@ class VlcProc
         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:
@@ -67,6 +72,9 @@ class VlcProc
         bool EventProc( Event *evt );
         bool EventProcEnd();
         bool IsClosing();
+
+        // Getters
+        intf_thread_t *GetpIntf() { return p_intf; };
 };
 //---------------------------------------------------------------------------