mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 11:19:26 +02:00
IDE: added LResources to uses section of TFileDescPascalUnitWithResource
git-svn-id: trunk@10581 -
This commit is contained in:
parent
8c958b060d
commit
cfd1bc5071
@ -397,6 +397,7 @@ type
|
||||
|
||||
TFileDescPascalUnitWithResource = class(TFileDescPascalUnit)
|
||||
public
|
||||
function GetInterfaceUsesSection: string; override;
|
||||
function GetInterfaceSource(const Filename, SourceName,
|
||||
ResourceName: string): string; override;
|
||||
function GetImplementationSource(const Filename, SourceName,
|
||||
@ -945,6 +946,12 @@ end;
|
||||
|
||||
{ TFileDescPascalUnitWithResource }
|
||||
|
||||
function TFileDescPascalUnitWithResource.GetInterfaceUsesSection: string;
|
||||
begin
|
||||
Result:=inherited GetInterfaceUsesSection;
|
||||
Result:=Result+', LResources';
|
||||
end;
|
||||
|
||||
function TFileDescPascalUnitWithResource.GetInterfaceSource(const Filename,
|
||||
SourceName, ResourceName: string): string;
|
||||
var
|
||||
|
Loading…
Reference in New Issue
Block a user