* Added system.method.{insert,erase} commands that allows

user-specified commands. "system.method.insert=foo,print=Bar"


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1069 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2008-09-27 06:28:50 +00:00
parent 6385b995f3
commit d7c2960d1e
6 changed files with 123 additions and 2 deletions
+1
View File
@@ -122,6 +122,7 @@ public:
}
void insert(key_type key, const command_map_data_type src);
void erase(iterator itr);
const mapped_type call_command (key_type key, const mapped_type& arg, target_type target = target_type((int)Command::target_generic, NULL));
const mapped_type call_command (const_iterator itr, const mapped_type& arg, target_type target = target_type((int)Command::target_generic, NULL));