aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler/scrobbler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/scrobbler/scrobbler.h')
-rw-r--r--src/plugins/General/scrobbler/scrobbler.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/General/scrobbler/scrobbler.h b/src/plugins/General/scrobbler/scrobbler.h
index bf2005ac4..44c5592ce 100644
--- a/src/plugins/General/scrobbler/scrobbler.h
+++ b/src/plugins/General/scrobbler/scrobbler.h
@@ -26,6 +26,7 @@
class QNetworkAccessManager;
class QNetworkReply;
class QTime;
+class QTimer;
class SoundCore;
/**
@@ -78,9 +79,10 @@ private slots:
void setState(Qmmp::State state);
void updateMetaData();
void processResponse(QNetworkReply *reply);
+ void setupProxy();
+ void handshake();
private:
- void handshake();
void submit();
void sendNotification(const SongInfo &info);
bool isReady();
@@ -98,11 +100,14 @@ private:
QByteArray m_ua;
QTime* m_time;
int m_submitedSongs;
+ int m_failure_count;
+ int m_handshake_count;
QNetworkReply *m_handshakeReply;
QNetworkReply *m_submitReply;
QNetworkReply *m_notificationReply;
bool m_disabled;
QString m_server, m_name;
+ QTimer *m_timer;
};
#endif