aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler/scrobbler.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-01-22 18:10:49 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-01-22 18:10:49 +0000
commit1988a82eb1f120af57a9d2d77ca448a7bc459615 (patch)
treec417fc3a7f257ae8bb908f1ad896beb500838d52 /src/plugins/General/scrobbler/scrobbler.h
parentae72f1771205127d3faa30fc52fd8f77f3f16a65 (diff)
downloadqmmp-1988a82eb1f120af57a9d2d77ca448a7bc459615.tar.gz
qmmp-1988a82eb1f120af57a9d2d77ca448a7bc459615.tar.bz2
qmmp-1988a82eb1f120af57a9d2d77ca448a7bc459615.zip
scrobbler: refactoring
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3186 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/scrobbler/scrobbler.h')
-rw-r--r--src/plugins/General/scrobbler/scrobbler.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/plugins/General/scrobbler/scrobbler.h b/src/plugins/General/scrobbler/scrobbler.h
index c78d8dbad..34024c3c2 100644
--- a/src/plugins/General/scrobbler/scrobbler.h
+++ b/src/plugins/General/scrobbler/scrobbler.h
@@ -90,27 +90,29 @@ private:
void submit();
void sendNotification(const SongInfo &info);
bool isReady();
- void syncCache();
+ void writeCache();
+ void readCache();
uint m_start_ts;
SongInfo m_song;
QNetworkAccessManager *m_http;
SoundCore *m_core;
+ QNetworkReply *m_handshakeReply;
+ QNetworkReply *m_submitReply;
+ QNetworkReply *m_notificationReply;
+ QTime* m_time;
QString m_login;
QString m_passw;
QString m_submitUrl;
QString m_nowPlayingUrl;
QString m_session;
+ QString m_server, m_name;
QList <SongInfo> m_songCache;
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;
+
};
#endif