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/mms/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/mms/streamreader.h')
| -rw-r--r-- | src/plugins/Transports/mms/streamreader.h | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/src/plugins/Transports/mms/streamreader.h b/src/plugins/Transports/mms/streamreader.h index 1ada6aea5..a0c18119c 100644 --- a/src/plugins/Transports/mms/streamreader.h +++ b/src/plugins/Transports/mms/streamreader.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2010 by Ilya Kotov * + * Copyright (C) 2006-2008 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -39,35 +39,30 @@ 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); + /** + * helper functions + */ 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; |
