diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-04-29 13:07:37 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-04-29 13:07:37 +0000 |
| commit | 4ac95d39a7142a2e60baa3e1f4122dd5e774c50e (patch) | |
| tree | a40a4c9c6fc70f4e24f8155d4c52f885d47be678 /src/plugins/General/scrobbler/scrobbler.h | |
| parent | b247330c91f49dbe4d6f76528a5deefec4282d58 (diff) | |
| download | qmmp-4ac95d39a7142a2e60baa3e1f4122dd5e774c50e.tar.gz qmmp-4ac95d39a7142a2e60baa3e1f4122dd5e774c50e.tar.bz2 qmmp-4ac95d39a7142a2e60baa3e1f4122dd5e774c50e.zip | |
fixed scrobbler plugin regression
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@919 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/scrobbler/scrobbler.h')
| -rw-r--r-- | src/plugins/General/scrobbler/scrobbler.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/plugins/General/scrobbler/scrobbler.h b/src/plugins/General/scrobbler/scrobbler.h index 5be5c569f..8e831ef7e 100644 --- a/src/plugins/General/scrobbler/scrobbler.h +++ b/src/plugins/General/scrobbler/scrobbler.h @@ -24,7 +24,6 @@ #include <QMap> #include <qmmpui/general.h> #include <qmmp/qmmp.h> -#include <time.h> class QHttp; class QTime; @@ -54,13 +53,13 @@ public: const QString metaData(Qmmp::MetaData) const; qint64 length () const; void clear(); - void setTimeStamp(time_t ts); - time_t timeStamp() const; + void setTimeStamp(uint ts); + uint timeStamp() const; private: QMap <Qmmp::MetaData, QString> m_metadata; qint64 m_length; - time_t m_start_ts; + uint m_start_ts; }; @@ -83,7 +82,7 @@ private: void submit(); void sendNotification(const SongInfo &info); bool isReady(); - time_t m_start_ts; + uint m_start_ts; SongInfo m_song; QHttp *m_http; Qmmp::State m_state; @@ -93,7 +92,6 @@ private: QString m_submitUrl; QString m_nowPlayingUrl; QString m_session; - //QList <time_t> m_timeStamps; QList <SongInfo> m_songCache; QTime* m_time; int m_submitedSongs; |
