mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-07 18:52:30 +00:00
* Removed old Command classes.
* Redirects can now be made efficiently using rpc::CommandMap::create_redirect or "methods.redirect=new_key,dest_key". git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1155 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -132,6 +132,7 @@ public:
|
||||
virtual ~Command() {}
|
||||
|
||||
static torrent::Object* argument(unsigned int index) { return m_arguments + index; }
|
||||
static torrent::Object& argument_ref(unsigned int index) { return *(m_arguments + index); }
|
||||
|
||||
static const unsigned int max_arguments = 10;
|
||||
static torrent::Object m_arguments[max_arguments];
|
||||
|
||||
Reference in New Issue
Block a user