App Class Reference

Container Application for Transferrer. This contains the main application window. More...

#include <application.h>

List of all members.

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


Detailed Description

Container Application for Transferrer. This contains the main application window.

Todo:
This should be changed so that it doesn't create the window until the arguments have been verified. This will avoid the output of any extra information except for the usage information.


Constructor & Destructor Documentation

App::App ( int  argc,
char **  argv 
)

Application class constructor. Create the initial window and place it in the center of the screen.

Parameters:
argc The number of arguments passed to the program.
argv The array of char * strings that were passed to the program.


Member Function Documentation

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.

Parameters:
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.

Parameters:
name Name of the program.


Member Data Documentation

os::Window* App::m_pcMainWindow [private]

The actual window for Transferrer.


The documentation for this class was generated from the following files:
Generated on Sun Oct 26 21:16:33 2008 for Transferrer by  doxygen 1.5.1