aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/lyrics/ultimatelyricsparser.h
blob: fb7ce1df611d5cf0e6139b89da50a2b056134710 (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
#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();

private:
    QString m_errorString;
    QList<LyricsProvider *> m_providers;

};

#endif // ULTIMATELYRICSPARSER_H