* Made pause/resume trigger on insertion into the started queue.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1047 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2008-03-24 19:30:56 +00:00
parent 8fbaca61b1
commit e8e5ef337b
11 changed files with 193 additions and 183 deletions
+4 -1
View File
@@ -179,9 +179,12 @@ add_variable(key, NULL, NULL, &rpc::CommandVariable::get_string, NULL, std::stri
commandDownloadSlotsItr->set_slot(slot); \
rpc::commands.insert_type(key, commandDownloadSlotsItr++, &rpc::CommandSlot<core::Download*>::function, rpc::CommandMap::flag_dont_delete | rpc::CommandMap::flag_public_xmlrpc, parm, doc);
#define CMD_D_ANY_NONE(key, slot) \
#define CMD_D_ANY(key, slot) \
CMD_D_SLOT(key, call_unknown, slot, "i:", "")
#define CMD_D_STRING(key, slot) \
CMD_D_SLOT(key, call_string, slot, "i:", "")
#define CMD_D_VOID(key, slot) \
CMD_D_SLOT(key, call_unknown, rpc::object_fn(slot), "i:", "")