KVIrc 5.2.0
Developer APIs
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KviXmmsInterface Class Reference

#include <MpXmmsInterface.h>

+ Inheritance diagram for KviXmmsInterface:

Public Member Functions

virtual int detect (bool bStart)
 
virtual int getPlayListPos ()
 
virtual bool getRepeat ()
 
virtual bool getShuffle ()
 
virtual int getVol ()
 
virtual bool jumpTo (kvs_int_t &iPos)
 
 KviXmmsInterface ()
 
virtual int length ()
 
virtual QString mrl ()
 
virtual bool next ()
 
virtual QString nowPlaying ()
 
virtual bool pause ()
 
virtual bool play ()
 
virtual bool playMrl (const QString &mrl)
 
virtual int position ()
 
virtual bool prev ()
 
virtual bool quit ()
 
virtual bool setRepeat (bool &bVal)
 
virtual bool setShuffle (bool &bVal)
 
virtual bool setVol (kvs_int_t &iVol)
 
virtual MpInterface::PlayerStatus status ()
 
virtual bool stop ()
 
virtual ~KviXmmsInterface ()
 
- Public Member Functions inherited from MpInterface
virtual QString album ()
 
virtual QString amipEval (const QString &cmd)
 
virtual bool amipExec (const QString &cmd)
 
virtual QString artist ()
 
virtual int bitRate ()
 
virtual int channels ()
 
virtual QString comment ()
 
virtual QString genre ()
 
virtual int getEqData (kvs_int_t &i_val)
 
virtual int getListLength ()
 
virtual bool hide ()
 
const QString & lastError () const
 
virtual QString mediaType ()
 
virtual bool minimize ()
 
 MpInterface ()
 
virtual bool mute ()
 
virtual int sampleRate ()
 
virtual bool setEqData (kvs_int_t &iPos, kvs_int_t &iVal)
 
void setLastError (const QString &szLastError)
 
virtual bool setPlayListPos (kvs_int_t &iPos)
 
virtual bool show ()
 
virtual QString title ()
 
virtual QString year ()
 
virtual ~MpInterface ()
 

Protected Member Functions

bool loadPlayerLibrary ()
 
void * lookupSymbol (const char *szSymbolName)
 
- Protected Member Functions inherited from MpInterface
QString getLocalFile ()
 
void notImplemented ()
 

Protected Attributes

const char ** m_pLibraryPaths
 
QLibrary * m_pPlayerLibrary
 
QString m_szPlayerLibraryName
 
- Protected Attributes inherited from MpInterface
QString m_szLastError
 

Additional Inherited Members

- Public Types inherited from MpInterface
enum  PlayerStatus { Unknown , Stopped , Playing , Paused }
 

Constructor & Destructor Documentation

◆ KviXmmsInterface()

KviXmmsInterface::KviXmmsInterface ( )

◆ ~KviXmmsInterface()

KviXmmsInterface::~KviXmmsInterface ( )
virtual

References m_pPlayerLibrary.

Member Function Documentation

◆ detect()

int KviXmmsInterface::detect ( bool  bStart)
virtual

Implements MpInterface.

References lookupSymbol().

◆ getPlayListPos()

int KviXmmsInterface::getPlayListPos ( )
virtual

Reimplemented from MpInterface.

References lookupSymbol().

◆ getRepeat()

bool KviXmmsInterface::getRepeat ( )
virtual

Reimplemented from MpInterface.

References lookupSymbol().

◆ getShuffle()

bool KviXmmsInterface::getShuffle ( )
virtual

Reimplemented from MpInterface.

References lookupSymbol().

◆ getVol()

int KviXmmsInterface::getVol ( )
virtual

Reimplemented from MpInterface.

References lookupSymbol().

◆ jumpTo()

bool KviXmmsInterface::jumpTo ( kvs_int_t iPos)
virtual

Reimplemented from MpInterface.

References lookupSymbol().

◆ length()

int KviXmmsInterface::length ( )
virtual

Reimplemented from MpInterface.

References lookupSymbol().

◆ loadPlayerLibrary()

bool KviXmmsInterface::loadPlayerLibrary ( )
protected

◆ lookupSymbol()

void * KviXmmsInterface::lookupSymbol ( const char *  szSymbolName)
protected

◆ mrl()

QString KviXmmsInterface::mrl ( )
virtual

Implements MpInterface.

References lookupSymbol().

Referenced by playMrl().

◆ next()

bool KviXmmsInterface::next ( )
virtual

Implements MpInterface.

References XMMS_SIMPLE_CALL.

◆ nowPlaying()

QString KviXmmsInterface::nowPlaying ( )
virtual

Implements MpInterface.

References lookupSymbol().

◆ pause()

bool KviXmmsInterface::pause ( )
virtual

Implements MpInterface.

References XMMS_SIMPLE_CALL.

◆ play()

bool KviXmmsInterface::play ( )
virtual

Implements MpInterface.

References XMMS_SIMPLE_CALL.

◆ playMrl()

bool KviXmmsInterface::playMrl ( const QString &  mrl)
virtual

Reimplemented from MpInterface.

References lookupSymbol(), and mrl().

◆ position()

int KviXmmsInterface::position ( )
virtual

Reimplemented from MpInterface.

References lookupSymbol().

◆ prev()

bool KviXmmsInterface::prev ( )
virtual

Implements MpInterface.

References XMMS_SIMPLE_CALL.

◆ quit()

bool KviXmmsInterface::quit ( )
virtual

Reimplemented from MpInterface.

References XMMS_SIMPLE_CALL.

◆ setRepeat()

bool KviXmmsInterface::setRepeat ( bool &  bVal)
virtual

Reimplemented from MpInterface.

References lookupSymbol().

◆ setShuffle()

bool KviXmmsInterface::setShuffle ( bool &  bVal)
virtual

Reimplemented from MpInterface.

References lookupSymbol().

◆ setVol()

bool KviXmmsInterface::setVol ( kvs_int_t iVol)
virtual

Reimplemented from MpInterface.

References lookupSymbol().

◆ status()

MpInterface::PlayerStatus KviXmmsInterface::status ( )
virtual

◆ stop()

bool KviXmmsInterface::stop ( )
virtual

Implements MpInterface.

References XMMS_SIMPLE_CALL.

Member Data Documentation

◆ m_pLibraryPaths

const char** KviXmmsInterface::m_pLibraryPaths
protected

◆ m_pPlayerLibrary

QLibrary* KviXmmsInterface::m_pPlayerLibrary
protected

◆ m_szPlayerLibraryName

QString KviXmmsInterface::m_szPlayerLibraryName
protected

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