Changeset 12956
- Timestamp:
- 02/29/12 10:01:59 (13 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Main.h
r12824 r12956 1 #ifndef FACT_M AIN2 #define FACT_M AIN1 #ifndef FACT_Main 2 #define FACT_Main 3 3 4 4 #include <map> … … 6 6 #include <functional> 7 7 8 #include "LocalControl.h" 8 #include <boost/filesystem.hpp> 9 10 #include "Dim.h" 11 #include "Time.h" 12 #include "MainImp.h" 13 #include "Readline.h" 14 #include "WindowLog.h" 15 #include "MessageImp.h" 9 16 #include "Configuration.h" 10 17 11 18 namespace Main 12 19 { 20 using namespace std; 21 13 22 void SetupConfiguration(Configuration &conf) 14 23 { … … 24 33 ("console,c", var<int>(), "Use console (0=shell, 1=simple buffered, X=simple unbuffered)") 25 34 ("cmd", vars<string>(), "Execute one or more commands at startup") 26 ("exec,e", vars<string>(), "Execute one or more scrips at startup ")35 ("exec,e", vars<string>(), "Execute one or more scrips at startup ('file:N' - start at label N)") 27 36 ("quit", po_switch(), "Quit after startup"); 28 37 ; … … 32 41 33 42 conf.AddOptions(config); 43 } 44 45 void PrintUsage() 46 { 47 cout << 48 "Files:\n" 49 "The following files are written by each program by default\n" 50 " program.evt: A log of all executed of skipped events\n" 51 " program.his: The history accessible by Pg-up/dn\n" 52 " program.log: All output piped to the log-stream" 53 << endl; 34 54 } 35 55 … … 49 69 } 50 70 51 void Thread( StateMachineImp *io_service, bool dummy)71 void Thread(MainImp *io_service, bool dummy) 52 72 { 53 73 // This is necessary so that the StateMachien Thread can signal the -
trunk/FACT++/src/StateMachineImp.h
r11928 r12956 7 7 #include <vector> 8 8 9 #include "MainImp.h" 9 10 #include "MessageImp.h" 10 11 … … 12 13 class EventImp; 13 14 14 class StateMachineImp : public M essageImp15 class StateMachineImp : public MainImp, public MessageImp 15 16 { 16 17 public:
Note:
See TracChangeset
for help on using the changeset viewer.