* Moved Bencode stream functions to object_stream.h and the Bencode

class to object.h.

* torrent::download_add(...) now takes an torrent::Object*.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@653 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-03-20 21:03:42 +00:00
parent 86a3f868df
commit 17d66c4a2f
12 changed files with 83 additions and 69 deletions
+3 -3
View File
@@ -40,7 +40,7 @@
#include <string>
namespace torrent {
class Bencode;
class Object;
}
namespace utils {
@@ -50,8 +50,8 @@ public:
Variable() {}
virtual ~Variable() {}
virtual const torrent::Bencode& get() = 0;
virtual void set(const torrent::Bencode& arg) = 0;
virtual const torrent::Object& get() = 0;
virtual void set(const torrent::Object& arg) = 0;
protected:
Variable(const Variable&);