From 14b184089df8c9516dd8eec401ffb144b98ac479 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 7 Apr 2011 18:27:03 -0400 Subject: [PATCH] Code Cleanup - Fixed broken build on tt. --- src/Variant.cpp | 4 +++- src/commands/Command.h | 10 ++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/Variant.cpp b/src/Variant.cpp index f1981825f..c387aa8c6 100644 --- a/src/Variant.cpp +++ b/src/Variant.cpp @@ -26,7 +26,9 @@ //////////////////////////////////////////////////////////////////////////////// #include #include -#include +#include +#include +#include #include //////////////////////////////////////////////////////////////////////////////// diff --git a/src/commands/Command.h b/src/commands/Command.h index 38e79d3bc..393bcccdd 100644 --- a/src/commands/Command.h +++ b/src/commands/Command.h @@ -38,14 +38,8 @@ public: bool operator== (const Command&) const; // TODO Is this necessary? ~Command (); -/* - std::string syntax () const; - std::string help () const; - bool validate_args (Tree*); - std::string results (); - int execute (Tree*); - bool needs_gc () const; -*/ + bool implements (const std::string&) const; + std::string execute (const std::string&); private: };