PlaylistParser Class Reference

The PlaylistParser class provides a simple api to access playlist format plugins. More...

#include <playlistparser.h>

List of all members.

Public Member Functions

 PlaylistParser (QObject *parent)
 ~PlaylistParser ()
QStringList getExtensions ()
bool supports (const QString &filePath)
QList< PlaylistFormat * > formats ()
PlaylistFormatfindByPath (const QString &filePath)

Static Public Member Functions

static PlaylistParserinstance ()


Detailed Description

The PlaylistParser class provides a simple api to access playlist format plugins.

Author:
Ilya Kotov <forkotov02@hotmail.ru>

Constructor & Destructor Documentation

PlaylistParser ( QObject *  parent  ) 

Object constructor,

Parameters:
parent Parent object

~PlaylistParser (  ) 

Destructor


Member Function Documentation

PlaylistFormat* findByPath ( const QString &  filePath  ) 

Finds playlist format by file path filePath Returns 0 if file filePath is unsupported.

QList<PlaylistFormat*> formats (  ) 

Returns a list of the installed playlist formats.

QStringList getExtensions (  ) 

Returns a list of supported file extensions.

static PlaylistParser* instance (  )  [static]

Returns a pointer to the object's instance.

bool supports ( const QString &  filePath  ) 

Returns true if file filePath is supported, otherwise returns false


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

Generated on Thu Nov 10 20:39:11 2011 for Qmmp by  doxygen 1.5.9