Changeset 10305 for trunk/FACT++/src/Shell.h
- Timestamp:
- 04/07/11 15:41:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Shell.h
r10183 r10305 3 3 4 4 #include "ReadlineWindow.h" 5 #include "ReadlineColor.h" 5 6 #include "WindowLog.h" 6 7 … … 42 43 void HandleResize(); 43 44 44 // Wrapper function to redirect the output of some readline function45 // into our own stream46 bool RedirectionWrapper(bool (*function)(), const char *title);47 bool PrintAttributes(); /// Show the available attributes48 49 45 /// Helper for the constructor and window resizing to create the windows and panels 50 46 void CreateWindows(WINDOW *w[3], int all=true); … … 61 57 void Refresh() { ShowHide(-2); } 62 58 63 bool PrintGeneralHelp() ;64 bool PrintCommands() ;65 bool PrintKeyBindings() ;59 bool PrintGeneralHelp() { return ReadlineColor::PrintGeneralHelp(win, GetName()); } 60 bool PrintCommands() { return ReadlineColor::PrintCommands(win); } 61 bool PrintKeyBindings() { return ReadlineColor::PrintKeyBindings(win); } 66 62 67 63 bool Process(const std::string &str); 64 65 void Run(const char * = "") 66 { 67 ReadlineColor::PrintBootMsg(win, GetName()); 68 Readline::Run(); 69 } 68 70 69 71 WindowLog &GetStreamOut() { return wout; }
Note:
See TracChangeset
for help on using the changeset viewer.