svcore
1.9
|
#include <PlaylistFileReader.h>
Public Types | |
typedef std::vector< QString > | Playlist |
Public Member Functions | |
PlaylistFileReader (QString path) | |
PlaylistFileReader (FileSource source) | |
virtual | ~PlaylistFileReader () |
virtual bool | isOK () const |
virtual QString | getError () const |
virtual Playlist | load () const |
Static Public Member Functions | |
static void | getSupportedExtensions (std::set< QString > &extensions) |
static bool | isSupported (FileSource source) |
Protected Member Functions | |
void | init () |
Protected Attributes | |
FileSource | m_source |
QFile * | m_file |
QString | m_basedir |
QString | m_error |
Detailed Description
Definition at line 28 of file PlaylistFileReader.h.
Member Typedef Documentation
typedef std::vector<QString> PlaylistFileReader::Playlist |
Definition at line 31 of file PlaylistFileReader.h.
Constructor & Destructor Documentation
PlaylistFileReader::PlaylistFileReader | ( | QString | path | ) |
Definition at line 26 of file PlaylistFileReader.cpp.
References init(), FileSource::isAvailable(), m_error, and m_source.
PlaylistFileReader::PlaylistFileReader | ( | FileSource | source | ) |
Definition at line 38 of file PlaylistFileReader.cpp.
References FileSource::getLocation(), init(), FileSource::isAvailable(), m_error, and m_source.
|
virtual |
Definition at line 50 of file PlaylistFileReader.cpp.
References m_file.
Member Function Documentation
|
virtual |
Definition at line 91 of file PlaylistFileReader.cpp.
References m_file.
|
virtual |
Definition at line 97 of file PlaylistFileReader.cpp.
References m_error.
|
virtual |
Definition at line 103 of file PlaylistFileReader.cpp.
References FileSource::isRemote(), m_basedir, and m_file.
|
static |
Definition at line 153 of file PlaylistFileReader.cpp.
Referenced by isSupported().
|
static |
Definition at line 159 of file PlaylistFileReader.cpp.
References FileSource::getExtension(), and getSupportedExtensions().
|
protected |
Definition at line 57 of file PlaylistFileReader.cpp.
References FileSource::getLocalFilename(), FileSource::getLocation(), FileSource::isAvailable(), FileSource::isRemote(), m_basedir, m_error, m_file, m_source, and FileSource::waitForData().
Referenced by PlaylistFileReader().
Member Data Documentation
|
protected |
Definition at line 53 of file PlaylistFileReader.h.
Referenced by init(), and PlaylistFileReader().
|
protected |
Definition at line 54 of file PlaylistFileReader.h.
Referenced by init(), isOK(), load(), and ~PlaylistFileReader().
|
protected |
Definition at line 55 of file PlaylistFileReader.h.
|
protected |
Definition at line 56 of file PlaylistFileReader.h.
Referenced by getError(), init(), and PlaylistFileReader().
The documentation for this class was generated from the following files:
Generated by 1.8.11