#include <wx_tiny_shell.h>
Inheritance diagram for wx_tiny_shell:


Public Types | |
| enum | { Quit = wxID_EXIT } |
Public Member Functions | |
| wx_tiny_shell (const istring &window_title, const istring &name_root, int file_size=int(1.2 *MEGABYTE), const istring &logfile_name="") | |
| virtual | ~wx_tiny_shell () |
| IMPLEMENT_CLASS_NAME ("wx_tiny_shell") | |
| virtual int | execute () |
| forwards application_base responsibility upwards to derived objects. | |
| outcome | log (const istring &to_print) |
| logs a debugging line "to_print" with a time-stamp in front. | |
| outcome | print (const istring &to_print) |
| debugger & | debug () const |
| wx_debugging_console_panel & | panel () |
Protected Member Functions | |
| void | OnCloseWindow (wxCloseEvent &event) |
| void | OnDebugEvent (wxCommandEvent &event) |
| void | OnQuit (wxCommandEvent &event) |
Definition at line 41 of file wx_tiny_shell.h.
| anonymous enum |
| wx_tiny_shell::wx_tiny_shell | ( | const istring & | window_title, | |
| const istring & | name_root, | |||
| int | file_size = int(1.2 *MEGABYTE), |
|||
| const istring & | logfile_name = "" | |||
| ) |
| wx_tiny_shell::~wx_tiny_shell | ( | ) | [virtual] |
| wx_tiny_shell::IMPLEMENT_CLASS_NAME | ( | "wx_tiny_shell" | ) |
| int wx_tiny_shell::execute | ( | ) | [virtual] |
forwards application_base responsibility upwards to derived objects.
Implements application_shell.
Reimplemented in t_wxext_frame.
Definition at line 127 of file wx_tiny_shell.cpp.
logs a debugging line "to_print" with a time-stamp in front.
this mirrors its output to the console when it logs to the log file (depending on whether the program-wide logger has been swapped out to change that behavior).
why why why? not a good idea to automatically add this. if (temp_log.length()) temp_log.insert(0, utility::timestamp(true, true));
Reimplemented from application_shell.
Definition at line 160 of file wx_tiny_shell.cpp.
References debugger::log().
| debugger & wx_tiny_shell::debug | ( | ) | const |
Definition at line 123 of file wx_tiny_shell.cpp.
| wx_debugging_console_panel & wx_tiny_shell::panel | ( | ) |
Definition at line 125 of file wx_tiny_shell.cpp.
| void wx_tiny_shell::OnCloseWindow | ( | wxCloseEvent & | event | ) | [protected] |
| void wx_tiny_shell::OnDebugEvent | ( | wxCommandEvent & | event | ) | [protected] |
Definition at line 149 of file wx_tiny_shell.cpp.
References wx_debugging_console_panel::display_debug_message().
| void wx_tiny_shell::OnQuit | ( | wxCommandEvent & | event | ) | [protected] |
1.5.1