Masks: make some TMaksList methods virtual (as per user request).

This commit is contained in:
Bart 2023-01-14 14:16:04 +01:00
parent 49381efd93
commit c2eb7446af

View File

@ -73,11 +73,11 @@ type
function GetCount: Integer;
function GetItem(Index: Integer): TMask;
public
constructor Create(const AValue: String; ASeparator: Char; const CaseSensitive: Boolean);
constructor Create(const AValue: String; ASeparator: Char = ';'; const AOptions: TMaskOptions = []);
constructor Create(const AValue: String; ASeparator: Char; const CaseSensitive: Boolean); virtual;
constructor Create(const AValue: String; ASeparator: Char = ';'; const AOptions: TMaskOptions = []); virtual;
destructor Destroy; override;
function Matches(const AFileName: String): Boolean;
function Matches(const AFileName: String): Boolean; virtual;
function MatchesWindowsMask(const AFileName: String): Boolean;
property Count: Integer read GetCount;