mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-07 18:52:30 +00:00
* Added some more download commands that replace some of the
start/stop/close wrapper functions in DownloadList. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1049 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -81,6 +81,8 @@ add_variable(const char* getKey, const char* setKey, const char* defaultSetKey,
|
||||
rpc::Command::generic_slot getSlot, rpc::Command::generic_slot setSlot,
|
||||
const torrent::Object& defaultObject);
|
||||
|
||||
extern torrent::Object cmd_call(const char* cmd, rpc::target_type target, const torrent::Object& rawArgs);
|
||||
|
||||
#define ADD_VARIABLE_BOOL(key, defaultValue) \
|
||||
add_variable("get_" key, "set_" key, key, &rpc::CommandVariable::get_bool, &rpc::CommandVariable::set_bool, (int64_t)defaultValue);
|
||||
|
||||
@@ -171,6 +173,10 @@ add_variable(key, NULL, NULL, &rpc::CommandVariable::get_string, NULL, std::stri
|
||||
#define ADD_COMMAND_NONE_L(key, slot) \
|
||||
ADD_COMMAND_SLOT(key, call_unknown, slot, "A:", "")
|
||||
|
||||
//
|
||||
// NEW COMMAND MACROS
|
||||
//
|
||||
|
||||
//
|
||||
// DOWNLOAD RELATED COMMANDS
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user