#include "../vars/volume.hpp"
#include "../utils/position.hpp"
#include "../utils/var_text.hpp"
+#include "../utils/var_string.hpp"
#include "../commands/cmd_generic.hpp"
#include "../controls/ctrl_video.hpp"
class OSTimer;
class VarBool;
-struct aout_instance_t;
+struct audio_output_t;
struct vout_window_t;
VarText &getStreamSampleRateVar()
{ return *((VarText*)(m_cVarStreamSampleRate.get())); }
- /// Getter for the vout size variable
- VarBox &getVoutSizeVar() { return m_varVoutSize; }
+ /// Getter for the stream Art url variable
+ VarString &getStreamArtVar()
+ { return *((VarString*)(m_cVarStreamArt.get())); }
/// Getter/Setter for the fullscreen variable
VarBool &getFullscreenVar() { return *((VarBool*)(m_cVarFullscreen.get())); }
void on_intf_show_changed( vlc_object_t* p_obj, vlc_value_t newVal );
+ void on_mouse_moved_changed( vlc_object_t* p_obj, vlc_value_t newVal );
+
protected:
// Protected because it is a singleton
VlcProc( intf_thread_t *pIntf );
VariablePtr m_cVarStreamURI;
VariablePtr m_cVarStreamBitRate;
VariablePtr m_cVarStreamSampleRate;
+ VariablePtr m_cVarStreamArt;
/// Variable for the "mute" state
VariablePtr m_cVarMute;
/// Variables related to the input
VariablePtr m_cVarRecording;
/// Variables related to the vout
VariablePtr m_cVarFullscreen;
- VarBox m_varVoutSize;
VariablePtr m_cVarHasVout;
/// Variables related to audio
VariablePtr m_cVarHasAudio;
/// Vout thread
vout_thread_t *m_pVout;
/// Audio output
- aout_instance_t *m_pAout;
+ audio_output_t *m_pAout;
bool m_bEqualizer_started;
/**
/// Define the command that calls manage()
DEFINE_CALLBACK( VlcProc, Manage );
- /// Update the stream name variable
- void updateStreamName();
-
- /// Callback for intf-change variable
- static int onIntfChange( vlc_object_t *pObj, const char *pVariable,
- vlc_value_t oldVal, vlc_value_t newVal,
- void *pParam );
-
/// Callback for intf-show variable
static int onIntfShow( vlc_object_t *pObj, const char *pVariable,
vlc_value_t oldVal, vlc_value_t newVal,
vlc_value_t oldVal, vlc_value_t newVal,
void *pParam );
- /// Callback for skins2-to-load variable
- static int onSkinToLoad( vlc_object_t *pObj, const char *pVariable,
- vlc_value_t oldVal, vlc_value_t newVal,
- void *pParam );
-
static int onInteraction( vlc_object_t *pObj, const char *pVariable,
vlc_value_t oldVal, vlc_value_t newVal,
void *pParam );
vlc_value_t oldVal, vlc_value_t newVal,
void *pParam );
+ /// Generic Callback for intf-event
+ static int onGenericCallback2( vlc_object_t *pObj, const char *pVariable,
+ vlc_value_t oldVal, vlc_value_t newVal,
+ void *pParam );
};