- Timestamp:
- 04/07/11 15:49:54 (14 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/LocalControl.h
r10183 r10310 58 58 lout << endl << kBold << "List of commands:" << endl; 59 59 fStateMachine->PrintListOfEvents(lout); 60 //lout << endl;60 lout << endl; 61 61 62 62 return true; … … 74 74 75 75 void SetReceiver(StateMachineImp &imp) { fStateMachine = &imp; } 76 77 void Run(const char * = 0)78 {79 lout << endl;80 lout << kBlue << kBold << "You are on the " << fName << " terminal of the MCP -" << endl;81 lout << kBlue << kBold << "the Master Control Program." << endl;82 lout << endl;83 lout << kBlue << kBold << "Hello Flynn..." << endl;84 lout << endl;85 86 T::Run();87 }88 76 }; 89 77 -
trunk/FACT++/src/RemoteControl.h
r10301 r10310 103 103 // ************************************************************************** 104 104 #include "WindowLog.h" 105 #include "ReadlineColor.h" 105 106 106 107 template <class T> … … 151 152 T::PrintGeneralHelp(); 152 153 lout << " " << kUnderline << "Specific commands:" << endl; 153 lout << kBold << " s,servers " << kReset << "List all servers which are connected." << endl;154 lout << kBold << " svc,service " << kReset << "List all services in the network." << endl;154 lout << kBold << " s,servers " << kReset << "List all servers which are connected." << endl; 155 lout << kBold << " svc,services " << kReset << "List all services in the network." << endl; 155 156 lout << endl; 156 157 return true; … … 167 168 bool Process(const std::string &str) 168 169 { 170 if (ReadlineColor::Process(lout, str)) 171 return true; 172 169 173 if (T::Process(str)) 170 174 return true; … … 176 180 } 177 181 178 if (str=="service " || str=="svc")182 if (str=="services" || str=="svc") 179 183 { 180 184 fServiceList.PrintDescription(lout); … … 183 187 184 188 return ProcessCommand(str); 185 }186 void Run(const char * = 0)187 {188 lout << endl;189 lout << kBlue << kBold << "You are on the terminal of the MCP -" << endl;190 lout << kBlue << kBold << "the Master Control Program." << endl;191 lout << endl;192 lout << kBlue << kBold << "Hello Flynn..." << endl;193 lout << endl;194 195 T::Run();196 189 } 197 190 };
Note:
See TracChangeset
for help on using the changeset viewer.