mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 23:29:21 +00:00
* Added a new Command type based on std::tr1::function aimed at replacing the current ones.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1149 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -157,6 +157,11 @@ apply_d_change_link(int changeType, core::Download* download, const torrent::Obj
|
||||
return torrent::Object();
|
||||
}
|
||||
|
||||
template <int type> torrent::Object
|
||||
cmd_d_change_link(core::Download* download, const torrent::Object& rawArgs) {
|
||||
return apply_d_change_link(type, download, rawArgs);
|
||||
}
|
||||
|
||||
void
|
||||
apply_d_delete_tied(core::Download* download) {
|
||||
const std::string& tie = rpc::call_command_string("d.get_tied_to_file", rpc::make_target(download));
|
||||
|
||||
Reference in New Issue
Block a user