Changeset 1041 for trunk/rtorrent/src/command_file.cc
- Timestamp:
- 03/13/08 10:28:17 (4 years ago)
- Files:
-
- 1 modified
-
trunk/rtorrent/src/command_file.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtorrent/src/command_file.cc
r1030 r1041 100 100 #define ADD_CF_SLOT(key, function, slot, parm, doc) \ 101 101 commandFileSlotsItr->set_slot(slot); \ 102 rpc::commands.insert_ file(key, commandFileSlotsItr++, &rpc::CommandSlot<torrent::File*>::function, rpc::CommandMap::flag_dont_delete, parm, doc);102 rpc::commands.insert_type(key, commandFileSlotsItr++, &rpc::CommandSlot<torrent::File*>::function, rpc::CommandMap::flag_dont_delete, parm, doc); 103 103 104 104 #define ADD_CF_SLOT_PUBLIC(key, function, slot, parm, doc) \ 105 105 commandFileSlotsItr->set_slot(slot); \ 106 rpc::commands.insert_ file(key, commandFileSlotsItr++, &rpc::CommandSlot<torrent::File*>::function, rpc::CommandMap::flag_dont_delete | rpc::CommandMap::flag_public_xmlrpc, parm, doc);106 rpc::commands.insert_type(key, commandFileSlotsItr++, &rpc::CommandSlot<torrent::File*>::function, rpc::CommandMap::flag_dont_delete | rpc::CommandMap::flag_public_xmlrpc, parm, doc); 107 107 108 108 #define ADD_CF_VOID(key, slot) \ … … 124 124 #define ADD_CFI_SLOT_PUBLIC(key, function, slot, parm, doc) \ 125 125 commandFileItrSlotsItr->set_slot(slot); \ 126 rpc::commands.insert_ file_itr(key, commandFileItrSlotsItr++, &rpc::CommandSlot<torrent::FileListIterator*>::function, rpc::CommandMap::flag_dont_delete | rpc::CommandMap::flag_public_xmlrpc, parm, doc);126 rpc::commands.insert_type(key, commandFileItrSlotsItr++, &rpc::CommandSlot<torrent::FileListIterator*>::function, rpc::CommandMap::flag_dont_delete | rpc::CommandMap::flag_public_xmlrpc, parm, doc); 127 127 128 128 #define ADD_CFI_VOID(key, slot) \
