From 048a2cf59737f761876e81a77e8d064c45c752d7 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 11 Oct 2007 16:58:24 +0000 Subject: 2007-10-12 Tatsuhiro Tsujikawa Implemented BitTorrent/http/ftp integrated download. I've rewritten lots of files and now some headers have forward class declarations to reduce compile time. The implementation is extremely alpha stage, I recommend to use this for testing purpose only. --- src/ByteArrayDiskWriter.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ByteArrayDiskWriter.h') diff --git a/src/ByteArrayDiskWriter.h b/src/ByteArrayDiskWriter.h index a3583552..f35b4366 100644 --- a/src/ByteArrayDiskWriter.h +++ b/src/ByteArrayDiskWriter.h @@ -55,9 +55,8 @@ public: virtual void openExistingFile(const string& filename, int64_t totalLength = 0); - // position is ignored - virtual void writeData(const char* data, int32_t len, int64_t position = 0); - virtual int32_t readData(char* data, int32_t len, int64_t position); + virtual void writeData(const unsigned char* data, int32_t len, int64_t position); + virtual int32_t readData(unsigned char* data, int32_t len, int64_t position); // Not implemented yet virtual void truncate(int64_t length) {} -- cgit