blob: 4f29675978c46a2c0d5b2e2013924f947ca2ec36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef ULTIMATELYRICSPARSER_H
#define ULTIMATELYRICSPARSER_H
#include <QString>
#include <QCoreApplication>
#include <QList>
#include "lyricsprovider.h"
class UltimateLyricsParser
{
Q_DECLARE_TR_FUNCTIONS(UltimateLyricsParser)
public:
UltimateLyricsParser();
~UltimateLyricsParser();
bool load(const QString &path);
const QString &errorString() const;
const QList<LyricsProvider *> &providers();
LyricsProvider *provider(const QString &name) const;
private:
QString m_errorString;
QList<LyricsProvider *> m_providers;
};
#endif // ULTIMATELYRICSPARSER_H
|