Skip to content

TCopyFileProc

Procedural type for file copying operations

Declaration

Source position: fpmkunit.pp line 1352

type
  TCopyFileProc = procedure(const APackage: TPackage; 
                          const ASourceFileName: string; 
                          const ADestFileName: string) of object;

Arguments

Name Description
APackage Package context for the file copy operation
ASourceFileName Source filename for the copy operation
ADestFileName Destination filename for the copy operation

Description

TCopyFileProc defines the signature for callback procedures that handle file copying operations during package installation. This procedural type enables custom file copying implementations.

The procedure receives source and destination file paths and handles the actual file copying process with appropriate error handling and progress reporting.