Changeset 10998
- Timestamp:
- 06/10/11 21:48:13 (14 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ReadlineColor.cc
r10654 r10998 21 21 //! always true 22 22 // 23 bool ReadlineColor::PrintBootMsg(ostream &out, const string &name )23 bool ReadlineColor::PrintBootMsg(ostream &out, const string &name, bool interactive) 24 24 { 25 25 string n = boost::filesystem::basename(name); … … 27 27 n = n.substr(3); 28 28 29 out << endl; 30 out << kBlue << kBold << kUnderline << " Master Control Program " << endl; 31 out << endl; 32 out << kBlue << " ENCOM MX 16-923 USER # 0" << int(Time().Mjd()) << Time::fmt(" %H:%M:%S") << Time() << Time::reset << " INFORMATION" << endl; 33 out << endl; 34 out << kBlue << " TELESCOPE CONTROL PROGRAM: " << n << endl; 35 out << kBlue << " ANNEXED BY FACT COLLABORATION" << endl; 36 out << kBlue << " ORIGINAL PROGRAM WRITTEN BY T.BRETZ" << endl; 37 out << kBlue << " THIS INFOMATION " << kUnderline << "PRIORITY ONE" << endl; 38 out << kBlue << " END OF LINE" << endl; 39 out << endl; 29 out << kBlue << kBold << kUnderline << "\n Master Control Program (compiled "__DATE__" " __TIME__ << ") " << endl; 30 out << kBlue << 31 "\n" 32 " ENCOM MX 16-923 USER # 0" << int(Time().Mjd()) << Time::fmt(" %H:%M:%S") << Time() << Time::reset << " INFORMATION\n" 33 "\n" 34 " TELESCOPE CONTROL PROGRAM: " << n << "\n" 35 " ANNEXED BY FACT COLLABORATION\n" 36 " ORIGINAL PROGRAM WRITTEN BY T.BRETZ\n" 37 " THIS INFOMATION " << kUnderline << "PRIORITY ONE" 38 << endl; 39 out << kBlue << " END OF LINE\n" << endl; 40 41 if (!interactive) 42 return true; 43 40 44 out << "Enter 'h' for help." << endl; 41 45 out << endl; -
trunk/FACT++/src/ReadlineColor.h
r10304 r10998 6 6 namespace ReadlineColor 7 7 { 8 bool PrintBootMsg(std::ostream &out, const std::string &name );8 bool PrintBootMsg(std::ostream &out, const std::string &name, bool interactive=true); 9 9 bool PrintAttributes(std::ostream &out); 10 10
Note:
See TracChangeset
for help on using the changeset viewer.