IMain Class Referenceabstract

#include <Pt/Cosmo/IMain.h>

Main program interface. More...

Inherits IUnknown.

Public Member Functions

int & argc () const
 Returns the number of command line arguments.
char ** argv () const
 Returns the command line argument array.

Protected Member Functions

virtual int & onGetArgc () const =0
 Number of command line arguments.
virtual char ** onGetArgv () const =0
 Command line arguments.

Detailed Description

Provides access to the command line arguments passed to the application.