Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TCopyFileProc

Procedural type for file copying operations

Declaration

Source position: fpmkunit.pp line 1341

type 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.


Documentation generated on: Dec 15 2025