ProjectManager  0.2
Public Member Functions
<MakeBuilderDelegate> Protocol Reference
Inheritance diagram for <MakeBuilderDelegate>:
AggregateProjectType ApplicationProjectType BundleProjectType FrameworkProjectType PaletteProjectType

List of all members.

Public Member Functions

(NSArray *) - buildTargetsForMakeBuilder:
 Asks the delegate to provide a list of build targets for the sending MakeBuilder.
(BOOL) - prepareForBuildByBuilder:target:
 Instructs a delegate to prepare itself for being built.
(NSArray *) - buildArgumentsForBuilder:target:
 Asks the delegate to provide arguments that should be passed to the build task.
(BOOL) - prepareForCleanByBuilder:target:
 Instructs a delegate to prepare itself for being cleaned.
(NSArray *) - cleanArgumentsForBuilder:target:
 Asks the delegate to provide arguments that should be passed to the clean task.

Member Function Documentation

- (NSArray *) buildArgumentsForBuilder: (id)  sender
target: (NSString *)  target 

Asks the delegate to provide arguments that should be passed to the build task.

Parameters:
senderThe builder which will execute the build.
targetThe target which will be built.
Returns:
An array of string arguments which will be passed to the build task. Returning `nil' means `no extra arguments'.
- (NSArray *) buildTargetsForMakeBuilder: (id)  sender

Asks the delegate to provide a list of build targets for the sending MakeBuilder.

Parameters:
senderThe sending MakeBuilder.
Returns:
A list of target names.
- (NSArray *) cleanArgumentsForBuilder: (id)  sender
target: (NSString *)  target 

Asks the delegate to provide arguments that should be passed to the clean task.

Please note that the builder doesn't automatically append a `clean' argument when cleaning.

Parameters:
senderThe builder which will execute the clean.
targetThe target which will be cleaned.
Returns:
An array of string arguments which will be passed to the clean task. Returning `nil' means `no extra arguments'.
- (BOOL) prepareForBuildByBuilder: (id)  sender
target: (NSString *)  target 

Instructs a delegate to prepare itself for being built.

The delegate should regenerate it's makefiles and perform any additional tasks necessary for a successful build.

Parameters:
senderThe builder which will execute the build.
targetThe target which will be built.
Returns:
YES if the builder may proceed with the build, NO if the build should be interrupted.
- (BOOL) prepareForCleanByBuilder: (id)  sender
target: (NSString *)  target 

Instructs a delegate to prepare itself for being cleaned.

The delegate should regenerate it's makefiles and perform any additional tasks necessary for a successful clean.

Parameters:
senderThe builder which will execute the clean.
targetThe target which will be cleaned.
Returns:
YES if the builder may proceed with the clean, NO if the clean should be interrupted.

The documentation for this protocol was generated from the following file: