From 5891bc44af871c3ab21a5e1c4293f6382f4fe6e1 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 29 May 2009 16:09:08 +0000 Subject: 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 --- src/plugins/General/scrobbler/scrobbler.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/plugins/General/scrobbler/scrobbler.h') 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 #include -#include #include 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; }; -- cgit v1.2.3-13-gbd6f