aboutsummaryrefslogtreecommitdiff
path: root/lib/streamreader.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2007-07-27 16:39:44 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2007-07-27 16:39:44 +0000
commitc6d40b3e63ef5af1c83546f41fde38c8f3983c8f (patch)
tree7b22bc3f0acb81c0bb68a790ee0adc765801f973 /lib/streamreader.h
parent6f1f9ca43a8773cdfb5e3a7d72fda79c4a442016 (diff)
downloadqmmp-c6d40b3e63ef5af1c83546f41fde38c8f3983c8f.tar.gz
qmmp-c6d40b3e63ef5af1c83546f41fde38c8f3983c8f.tar.bz2
qmmp-c6d40b3e63ef5af1c83546f41fde38c8f3983c8f.zip
added libcurl support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@40 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'lib/streamreader.h')
-rw-r--r--lib/streamreader.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/streamreader.h b/lib/streamreader.h
index a469932b7..2489402ed 100644
--- a/lib/streamreader.h
+++ b/lib/streamreader.h
@@ -22,12 +22,13 @@
#include <QObject>
#include <QIODevice>
-#include <QHttp>
#include <QUrl>
#define BUFFER_SIZE 524288
class QFileInfo;
+class Downloader;
+
/**
@author Ilya Kotov <forkotov02@hotmail.ru>
*/
@@ -70,18 +71,17 @@ private slots:
void downloadFile();
void cancelDownload();
void httpRequestFinished(int, bool);
- void readResponseHeader(const QHttpResponseHeader &responseHeader);
void updateDataReadProgress(int bytesRead, int totalBytes);
private:
void fillBuffer();
QUrl m_url;
- QHttp* m_http;
bool m_httpRequestAborted;
int m_httpGetId;
int m_pos;
int m_size;
QString m_contentType;
+ Downloader *m_downloader;
};
#endif