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"
20 #include "errorchecking.h"
27 virtual bool getInput() = 0;
28 // string getCommand() { return command; }
29 vector<string> getOptions() { return options; }
32 vector<string> options;
37 class BatchEngine : public Engine {
39 BatchEngine(string, string);
41 virtual bool getInput();
44 GlobalData* globaldata;
45 ifstream inputBatchFile;
51 class InteractEngine : public Engine {
53 InteractEngine(string);
55 virtual bool getInput();
57 GlobalData* globaldata;