Game Development Reference
In-Depth Information
Delegate Definitions
Table 17.1 Delegate Definitions
Delegate
Description
FileAccessProcess
This event is fired when the worker function wishes to notify the user
about the operation. This delegate is available to the tool regardless of
the method chosen to specify the worker function.
FileAccessNotify
This event is fired when the worker function wishes to notify the user
about the operation. This delegate is available to the tool regardless of
the method chosen to specify the worker function.
Table 17.2 Property Definitions
Property
Description
Recursive
This property is used to specify whether or not directories are traversed in
a recursive fashion. If this property is false, then only the top-level directory
is actually processed.
SkipReadOnly
This property is used to specify whether or not files that are marked with a
read-only attribute should be processed by the worker function.
ForceWriteable
This property is used to specify whether or not files that are marked with a
read-only attribute should be made writeable and then processed by the
worker function.
FilePattern
This property is used to specify the pattern to match when choosing the
files to process in a directory. The default pattern is *.*, which processes
every file. If the pattern were set to *.txt, then only text files would be
processed.
Cancelled
This property is used to specify whether or not the operation has been
cancelled. The worker function can check this property each time it is called
to see if cancellation is occurring.
Table 17.3 Method Definitions
Method
Description
Execute
This method is called by the tool when processing should begin using the set
options and worker function. The full path to the directory to begin processing
with is sent in as a parameter.
 
Search Nedrilad ::




Custom Search