App::ConsoleApplication Class Reference
#include <consoleapplication.h>
Inheritance diagram for App::ConsoleApplication:

Detailed Description
Base class for Nebula3 console applications. Will provide a typicel execution environment for console apps.(C) 2006 Radon Labs GmbH
Public Member Functions | |
| ConsoleApplication () | |
| constructor | |
| virtual | ~ConsoleApplication () |
| destructor | |
| virtual bool | Open () |
| open the application | |
| virtual void | Close () |
| close the application | |
| void | SetCompanyName (const Util::String &n) |
| set company name | |
| const Util::String & | GetCompanyName () const |
| get company name | |
| void | SetAppTitle (const Util::String &n) |
| set application name | |
| const Util::String & | GetAppTitle () const |
| get application name | |
| void | SetAppID (const Util::String &n) |
| set application id | |
| const Util::String & | GetAppID () const |
| get application id | |
| void | SetAppVersion (const Util::String &n) |
| set application version | |
| const Util::String & | GetAppVersion () const |
| get application version | |
| void | SetCmdLineArgs (const Util::CommandLineArgs &a) |
| set command line args | |
| const Util::CommandLineArgs & | GetCmdLineArgs () const |
| get command line args | |
| virtual void | Exit () |
| exit the application, call right before leaving main() | |
| virtual void | Run () |
| run the application, return when user wants to exit | |
| bool | IsOpen () const |
| return true if app is open | |
| int | GetReturnCode () const |
| get the return code | |
Protected Member Functions | |
| void | SetReturnCode (int c) |
| set return code | |