#include <application.h>
Public Member Functions | |
App (int argc, char **argv) | |
Application class constructor. Create the initial window and place it in the center of the screen. | |
~App () | |
Default deconstructor. | |
bool | OkToQuit () |
Private Member Functions | |
bool | _parseArgs (MainWindow *myWindow, int argc, char **argv) |
Parse the arguments and pass it to MainWindow. This is used internally by App. | |
void | _Usage (char *name) |
Output Usage Information. Output user information and aborts. | |
Private Attributes | |
os::Window * | m_pcMainWindow |
App::App | ( | int | argc, | |
char ** | argv | |||
) |
Application class constructor. Create the initial window and place it in the center of the screen.
argc | The number of arguments passed to the program. | |
argv | The array of char * strings that were passed to the program. |
bool App::OkToQuit | ( | ) |
Terminate the main window.
bool App::_parseArgs | ( | MainWindow * | myWindow, | |
int | argc, | |||
char ** | argv | |||
) | [private] |
Parse the arguments and pass it to MainWindow. This is used internally by App.
myWindow | Window to pass the arguments to. | |
argc | Number of arguments. | |
argv | Array of argument strings. |
void App::_Usage | ( | char * | name | ) | [private] |
Output Usage Information. Output user information and aborts.
name | Name of the program. |
os::Window* App::m_pcMainWindow [private] |
The actual window for Transferrer.