FACT++  1.0
ReadlineColor.h
Go to the documentation of this file.
1 #ifndef FACT_ReadlineColor
2 #define FACT_ReadlineColor
3 
4 #include <ostream>
5 
6 namespace ReadlineColor
7 {
8  bool ExecuteShellCommand(std::ostream &out, const std::string &cmd);
9 
10  bool PrintBootMsg(std::ostream &out, const std::string &name, bool interactive=true);
11  bool PrintAttributes(std::ostream &out);
12 
13  bool PrintGeneralHelp(std::ostream &out, const std::string &name);
14  bool PrintCommands(std::ostream &out);
15  bool PrintKeyBindings(std::ostream &out);
16 
17  bool Process(std::ostream &out, const std::string &str);
18 };
19 
20 #endif
bool PrintGeneralHelp(std::ostream &out, const std::string &name)
bool PrintAttributes(std::ostream &out)
char str[80]
Definition: test_client.c:7
bool PrintCommands(std::ostream &out)
A fewer helper functions to apply color attributes and redirect the output.
bool ExecuteShellCommand(std::ostream &out, const std::string &cmd)
bool PrintBootMsg(std::ostream &out, const std::string &name, bool interactive=true)
bool Process(std::ostream &out, const std::string &str)
bool PrintKeyBindings(std::ostream &out)