* Continuing conversion to the new command infrastructure.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@896 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-04-29 18:46:55 +00:00
parent 43fd2c92ec
commit 2ede6f03ab
9 changed files with 130 additions and 47 deletions
+7
View File
@@ -40,6 +40,13 @@
namespace utils {
const torrent::Object
CommandSlot::call_unknown(Variable* rawVariable, const torrent::Object& rawArgs) {
CommandSlot* command = static_cast<CommandSlot*>(rawVariable);
return command->m_slot(rawArgs);
}
const torrent::Object
CommandSlot::call_list(Variable* rawVariable, const torrent::Object& rawArgs) {
CommandSlot* command = static_cast<CommandSlot*>(rawVariable);