diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-01-22 18:10:49 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-01-22 18:10:49 +0000 |
| commit | 1988a82eb1f120af57a9d2d77ca448a7bc459615 (patch) | |
| tree | c417fc3a7f257ae8bb908f1ad896beb500838d52 /src/plugins/General/scrobbler/scrobbler2.h | |
| parent | ae72f1771205127d3faa30fc52fd8f77f3f16a65 (diff) | |
| download | qmmp-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/scrobbler2.h')
| -rw-r--r-- | src/plugins/General/scrobbler/scrobbler2.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/General/scrobbler/scrobbler2.h b/src/plugins/General/scrobbler/scrobbler2.h index ebc804cb0..9bd0aeef4 100644 --- a/src/plugins/General/scrobbler/scrobbler2.h +++ b/src/plugins/General/scrobbler/scrobbler2.h @@ -32,7 +32,7 @@ class SoundCore; /** @author Ilya Kotov <forkotov02@hotmail.ru> */ -struct ScrobblerResponse +struct Scrobbler2Response { QString status; QString token; @@ -66,7 +66,8 @@ private: enum { MIN_SONG_LENGTH = 30 }; void sendNotification(const SongInfo &info); - void syncCache(); + void writeCache(); + void readCache(); uint m_start_ts; SongInfo m_song; QNetworkAccessManager *m_http; |
