All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ExecCommand.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Command.h"
6 #include "Commands.h"
7 #include "Helpers.h"
8 
9 namespace Eegeo
10 {
11  namespace Debug
12  {
13  namespace Commands
14  {
15  class ExecCommand : public Command
16  {
17  public:
18  ExecCommand(Helpers::IFileIO& fileIO, CommandBuffer& commandBuffer);
19  virtual ~ExecCommand();
20 
21  bool TryExecute(
22  const std::vector<std::string>& arguments,
23  const ICommandTerminalOutput& commandTerminal) const;
24 
25  private:
26  Helpers::IFileIO& m_fileIO;
27  CommandBuffer& m_commandBuffer;
28  };
29  }
30  }
31 }