mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 05:19:31 +02:00
Masks: remove TWindowsMaskList.MatchesWindowsMask. It should never have been there, since it does not resolve a backwards compatibility issue (there never existed a TWindowsMaskList before).
This commit is contained in:
parent
dc18060660
commit
7b8159908e
@ -364,11 +364,6 @@ type
|
|||||||
constructor Create(const aValue: String; aSeparator: Char; aOptions: TMaskOptions); override;
|
constructor Create(const aValue: String; aSeparator: Char; aOptions: TMaskOptions); override;
|
||||||
deprecated 'Use Create with TMaskOpcodes paramater';
|
deprecated 'Use Create with TMaskOpcodes paramater';
|
||||||
|
|
||||||
//Remove in 2.5
|
|
||||||
function MatchesWindowsMask(const AFileName: String): Boolean; reintroduce;
|
|
||||||
deprecated 'Use a Matches instead.';
|
|
||||||
|
|
||||||
|
|
||||||
property Quirks: TWindowsQuirks read fWindowsQuirks write SetQuirks;
|
property Quirks: TWindowsQuirks read fWindowsQuirks write SetQuirks;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -590,10 +585,6 @@ begin
|
|||||||
Create(aValue, aSeparator, (moCaseSensitive in aOptions), DefaultMaskOpCodes, DefaultWindowsQuirks);
|
Create(aValue, aSeparator, (moCaseSensitive in aOptions), DefaultMaskOpCodes, DefaultWindowsQuirks);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TWindowsMaskList.MatchesWindowsMask(const AFileName: String): Boolean;
|
|
||||||
begin
|
|
||||||
Result := Matches(AFilename);
|
|
||||||
end;
|
|
||||||
|
|
||||||
{ EMaskError }
|
{ EMaskError }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user