8 * Created by Pat Schloss on 8/15/08.
9 * Copyright 2008 Patrick D. Schloss. All rights reserved.
16 #include "globaldata.hpp"
17 #include "commandoptionparser.hpp"
18 #include "command.hpp"
19 #include "commandfactory.hpp"
26 virtual bool getInput() = 0;
27 // string getCommand() { return command; }
28 vector<string> getOptions() { return options; }
31 vector<string> options;
36 class BatchEngine : public Engine {
38 BatchEngine(string, string);
40 virtual bool getInput();
43 GlobalData* globaldata;
44 ifstream inputBatchFile;
50 class InteractEngine : public Engine {
52 InteractEngine(string);
54 virtual bool getInput();
56 GlobalData* globaldata;
60 class ScriptEngine : public Engine {
62 ScriptEngine(string, string);
64 virtual bool getInput();
67 GlobalData* globaldata;
68 string listOfCommands;
69 string getNextCommand(string&);