PlayerMPD Class Reference

Interface for PlayerMPD implementations. More...

#include <H:/WOSH/win32_vc2010/src/bundles/PlayerMPD/PlayerMPD.h>

List of all members.

Public Member Functions

Playlist management
virtual WRESULT playSearch (const std::string &query)=0
virtual WRESULT move (unsigned int index_old, unsigned int index_new)=0
virtual WRESULT swap (unsigned int index_old, unsigned int index_new)=0
Getters
virtual int getBitRate () const =0
 current bit rate in kbs
virtual const VectorT
< PlayerMpdOutput * > & 
getOutputs () const =0
virtual VectorT
< PlayerMpdOutput * > & 
getOutputs ()=0
virtual const
wosh::entertainment::MediaTrack
getCurrentTrack () const =0
virtual
wosh::entertainment::MediaTrack
getCurrentTrack ()=0
virtual const
wosh::entertainment::MediaList
getPlayList () const =0
virtual
wosh::entertainment::MediaList
getPlayList ()=0
Setters
virtual void setPlayerListener (IPlayerMPDListener *Listener)
virtual WRESULT switchOutput (int index, bool enable)=0
virtual WRESULT forceServerUpdate (const std::string &path)=0
virtual void setRefreshPeriod (long seconds)=0
virtual void setRefreshFullDivider (long divider)=0
Server management
virtual void setAddressPort (const std::string &add_value, int port_value)=0
virtual void setAddressPort (const std::string &value)=0
virtual const std::string & getAddress () const =0
virtual int getPort () const =0
virtual std::string getAddressPort () const =0
virtual const std::string & getDatabasePath () const =0
virtual void setDatabasePath (const std::string &value)=0
virtual long getRefreshPeriod () const =0
virtual long getRefreshFullDivider () const =0
virtual bool isServerUpdating () const =0
virtual WRESULT getAPIInfo (std::map< std::string, std::string > &fields)=0
virtual WRESULT updateAll (bool smart, bool callbacks=true)=0
virtual WRESULT updateOutputs (bool callbacks=true)=0
virtual WRESULT updateStatus (bool callbacks=true)=0
virtual WRESULT updateStats (bool callbacks=true)=0
virtual WRESULT updatePlaylist (bool callbacks=true)=0

Detailed Description

Interface for PlayerMPD implementations.

See also:
IPlayerMPDListener
Version:
0.8.471
Id:
PlayerMPD.h 3775 2011-01-01 16:38:17Z alex
Author:
Alessandro Polo

Definition at line 80 of file bundles/PlayerMPD/PlayerMPD.h.


Member Function Documentation

virtual int PlayerMPD::getBitRate (  ) const [pure virtual]

current bit rate in kbs

Implemented in PlayerMPD2.


The documentation for this class was generated from the following file:

Generated on Tue Feb 8 2011 09:33:27 for WOSH system 0.8.888 [wolf] by Alessandro Polo, using DoxyGen 1.7.2 hosted by WOSH Framework