< DDCliApplicationDelegate > Protocol Reference

List of all members.


Detailed Description

Methods that the DDCliApplication delegate must implement.
Examples:

example.m, and simple.m.


Public Member Functions

(int) - application:runWithArguments:
 This is the main entry point of a command line application.
(void) - application:willParseOptions:
 Called prior to option parsing so that options may added to the options parser.

Member Function Documentation

- (int) application: (DDCliApplication *)  app
runWithArguments: (NSArray *)  arguments 

This is the main entry point of a command line application.

It is called after options have been parsed, and the arguments passed in have the options removed.

Parameters:
app The corresponding application instance
arguments Command line arguments, post option parsing
Returns:
The return value of the application

- (void) application: (DDCliApplication *)  app
willParseOptions: (DDGetoptLongParser *)  optionParser 

Called prior to option parsing so that options may added to the options parser.

Parameters:
app The corresponding application instance
optionParser The option parser.


Generated by  doxygen