- Returns
- always true
- Examples:
- chatserv.cc.
Definition at line 24 of file ReadlineColor.cc.
References Time::fmt(), kBlue, kBold, kUnderline, and Time::reset.
Referenced by ConsoleStream::ConsoleStream(), main(), Shell::Run(), and Console::Run().
26 #if BOOST_VERSION < 104600 27 const string n = boost::filesystem::path(name).stem();
29 const string n = boost::filesystem::path(name).stem().string();
32 out <<
kBlue <<
kBold <<
kUnderline <<
"\n Master Control Program (compiled " __DATE__
" " __TIME__ <<
") " << endl;
37 " TELESCOPE CONTROL PROGRAM: " << n <<
"\n" 38 " ANNEXED BY FACT COLLABORATION\n" 39 " ORIGINAL PROGRAM WRITTEN BY T.BRETZ\n" 40 " THIS INFORMATION " <<
kUnderline <<
"PRIORITY ONE" 42 out <<
kBlue <<
" END OF LINE\n" << endl;
47 out <<
"Enter 'h' for help." << endl;
Adds some functionality to boost::posix_time::ptime for our needs.
static const _time_format reset
static const _time_format fmt(const char *txt=0)
A stream manipulator to set the output/input format.