diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-08-21 19:13:47 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-08-21 19:13:47 +0000 |
| commit | ed3828f0df1bcef66b036ce1831a0aed87ed5482 (patch) | |
| tree | 33c21269d4c2556c67a7db22b71c55cb604950db /lib/downloader.h | |
| parent | f19a1f3ea9aa8080b15b384bbe73896e4407ac41 (diff) | |
| download | qmmp-ed3828f0df1bcef66b036ce1831a0aed87ed5482.tar.gz qmmp-ed3828f0df1bcef66b036ce1831a0aed87ed5482.tar.bz2 qmmp-ed3828f0df1bcef66b036ce1831a0aed87ed5482.zip | |
added shoutcast title update
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@119 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'lib/downloader.h')
| -rw-r--r-- | lib/downloader.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/downloader.h b/lib/downloader.h index 308fca83a..13be0121e 100644 --- a/lib/downloader.h +++ b/lib/downloader.h @@ -56,15 +56,21 @@ public: QString contentType(); void abort(); int bytesAvailable(); + const QString& title() const; + +signals: + void titleChanged (); private: qint64 readBuffer(char* data, qint64 maxlen); void readICYMetaData(); + void parseICYMetaData(char *data); CURL *m_handle; QMutex m_mutex; Stream m_stream; QString m_url; int m_metacount; + QString m_title; protected: void run(); |
