diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-05-29 16:09:08 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-05-29 16:09:08 +0000 |
| commit | 5891bc44af871c3ab21a5e1c4293f6382f4fe6e1 (patch) | |
| tree | c5d6bec191c2cf098b0f98a1c7d804485cd61271 /src/plugins/General/scrobbler/scrobbler.h | |
| parent | f0a1d05ed7dc9e5a35ee41e5d15a82702a1ab3c7 (diff) | |
| download | qmmp-5891bc44af871c3ab21a5e1c4293f6382f4fe6e1.tar.gz qmmp-5891bc44af871c3ab21a5e1c4293f6382f4fe6e1.tar.bz2 qmmp-5891bc44af871c3ab21a5e1c4293f6382f4fe6e1.zip | |
improved scrobbler plugin, fixed libre.fm support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@955 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/scrobbler/scrobbler.h')
| -rw-r--r-- | src/plugins/General/scrobbler/scrobbler.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/plugins/General/scrobbler/scrobbler.h b/src/plugins/General/scrobbler/scrobbler.h index 6a6158509..b7f25849f 100644 --- a/src/plugins/General/scrobbler/scrobbler.h +++ b/src/plugins/General/scrobbler/scrobbler.h @@ -22,7 +22,6 @@ #include <QHttpResponseHeader> #include <QMap> -#include <qmmpui/general.h> #include <qmmp/qmmp.h> class QHttp; @@ -63,11 +62,15 @@ private: }; -class Scrobbler : public General +class Scrobbler : public QObject { Q_OBJECT public: - Scrobbler(QObject *parent = 0); + Scrobbler(const QString &url, + const QString &login, + const QString &passw, + const QString &name, + QObject *parent = 0); ~Scrobbler(); @@ -100,7 +103,7 @@ private: int m_notificationid; QByteArray m_array; bool m_disabled; - QString m_server; + QString m_server, m_name; }; |
