* 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
-9
View File
@@ -68,10 +68,6 @@ namespace rpc {
class XmlRpc;
}
namespace utils {
class CommandMap;
}
class CommandScheduler;
class Control {
@@ -104,9 +100,6 @@ public:
CommandScheduler* command_scheduler() { return m_commandScheduler; }
utils::CommandMap* variable() { return m_variables; }
utils::CommandMap* download_variables() { return m_downloadVariables; }
rpc::FastCgi* fast_cgi() { return m_fastCgi; }
void set_fast_cgi(rpc::FastCgi* f) { m_fastCgi = f; }
@@ -142,8 +135,6 @@ private:
input::InputEvent* m_inputStdin;
CommandScheduler* m_commandScheduler;
utils::CommandMap* m_variables;
utils::CommandMap* m_downloadVariables;
rpc::FastCgi* m_fastCgi;
rpc::SCgi* m_scgi;