diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-02-24 18:49:42 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-02-24 18:49:42 +0000 |
| commit | c2a2cbd073f47bf79efbfc7f4d04a300a2e4357a (patch) | |
| tree | 987b96a0b2dd75f18be6d4bea8c0645b992b74e8 /src/plugins/Transports/http/streamreader.h | |
| parent | 425ad58a94e6e324943a727e78a518a516e08af1 (diff) | |
| download | qmmp-c2a2cbd073f47bf79efbfc7f4d04a300a2e4357a.tar.gz qmmp-c2a2cbd073f47bf79efbfc7f4d04a300a2e4357a.tar.bz2 qmmp-c2a2cbd073f47bf79efbfc7f4d04a300a2e4357a.zip | |
removed unused code
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2072 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Transports/http/streamreader.h')
| -rw-r--r-- | src/plugins/Transports/http/streamreader.h | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/src/plugins/Transports/http/streamreader.h b/src/plugins/Transports/http/streamreader.h index 3aa02c0e9..afaa1ad78 100644 --- a/src/plugins/Transports/http/streamreader.h +++ b/src/plugins/Transports/http/streamreader.h @@ -39,39 +39,31 @@ public: ~StreamReader(); - /** + /** * QIODevice API */ bool atEnd () const; qint64 bytesAvailable () const; qint64 bytesToWrite () const; - bool canReadLine () const; void close (); bool isSequential () const; - bool open ( OpenMode mode ); - //qint64 pos () const; - bool reset (); - bool seek ( qint64 pos ); - qint64 size () const; - bool waitForBytesWritten ( int msecs ); - bool waitForReadyRead ( int msecs ); - + bool open (OpenMode mode); + bool seek (qint64 pos); /** - * returns content type of a stream + * helper functions */ QString contentType(); void downloadFile(); signals: - void readyRead(); + void ready(); + void error(); protected: qint64 readData(char*, qint64); qint64 writeData(const char*, qint64); private: - //void downloadFile(); - void fillBuffer(); QUrl m_url; QString m_contentType; Downloader *m_downloader; |
