mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 23:19:50 +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)
|
TFileDescPascalUnitWithResource = class(TFileDescPascalUnit)
|
||||||
public
|
public
|
||||||
|
function GetInterfaceUsesSection: string; override;
|
||||||
function GetInterfaceSource(const Filename, SourceName,
|
function GetInterfaceSource(const Filename, SourceName,
|
||||||
ResourceName: string): string; override;
|
ResourceName: string): string; override;
|
||||||
function GetImplementationSource(const Filename, SourceName,
|
function GetImplementationSource(const Filename, SourceName,
|
||||||
@ -945,6 +946,12 @@ end;
|
|||||||
|
|
||||||
{ TFileDescPascalUnitWithResource }
|
{ TFileDescPascalUnitWithResource }
|
||||||
|
|
||||||
|
function TFileDescPascalUnitWithResource.GetInterfaceUsesSection: string;
|
||||||
|
begin
|
||||||
|
Result:=inherited GetInterfaceUsesSection;
|
||||||
|
Result:=Result+', LResources';
|
||||||
|
end;
|
||||||
|
|
||||||
function TFileDescPascalUnitWithResource.GetInterfaceSource(const Filename,
|
function TFileDescPascalUnitWithResource.GetInterfaceSource(const Filename,
|
||||||
SourceName, ResourceName: string): string;
|
SourceName, ResourceName: string): string;
|
||||||
var
|
var
|
||||||
|
Loading…
Reference in New Issue
Block a user