mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-09 03:32:29 +00:00
* 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:
@@ -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&);
|
||||
|
||||
Reference in New Issue
Block a user