Sign in Join
FPDoc Onlineexperiment

TCopyFileProc procedure type

In unit fpMkUnit

Procedural type for file copying operations

Declaration

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

Arguments

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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.