* Put both global and download specific commands in a single

CommandMap.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@914 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-06-17 03:14:38 +00:00
parent 297b4b5f1d
commit e9db89e6d6
36 changed files with 330 additions and 345 deletions
+1 -2
View File
@@ -46,7 +46,7 @@
#include "core/manager.h"
#include "rpc/command_slot.h"
#include "rpc/command_variable.h"
#include "rpc/command_map.h"
#include "rpc/parse_commands.h"
#include "globals.h"
#include "control.h"
@@ -56,7 +56,6 @@ typedef torrent::ChunkManager CM_t;
void
initialize_command_local() {
utils::CommandMap* variables = control->variable();
// core::DownloadList* downloadList = control->core()->download_list();
torrent::ChunkManager* chunkManager = torrent::chunk_manager();
core::DownloadList* dList = control->core()->download_list();