mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 16:16:05 +02:00
removed uneeded function TProject.AddNewFile
git-svn-id: trunk@6097 -
This commit is contained in:
parent
dcbba11dd8
commit
4b92977b8b
@ -454,9 +454,6 @@ type
|
||||
AddToProjectUsesClause: boolean); override;
|
||||
procedure RemoveUnit(Index: integer); override;
|
||||
function CreateProjectFile(const Filename: string): TLazProjectFile; override;
|
||||
function AddNewFile(NewFileDescriptor: TProjectFileDescriptor;
|
||||
const NewFilename, NewSource: string;
|
||||
NewFlags: TNewFlags): TModalResult; override;
|
||||
|
||||
// search
|
||||
function IndexOf(AUnitInfo: TUnitInfo): integer;
|
||||
@ -1649,13 +1646,6 @@ begin
|
||||
Result:=AnUnitInfo;
|
||||
end;
|
||||
|
||||
function TProject.AddNewFile(NewFileDescriptor: TProjectFileDescriptor;
|
||||
const NewFilename, NewSource: string; NewFlags: TNewFlags): TModalResult;
|
||||
begin
|
||||
Result:=LazarusIDE.DoNewEditorFile(NewFileDescriptor, NewFilename, NewSource,
|
||||
NewFlags);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
TProject Clear
|
||||
------------------------------------------------------------------------------}
|
||||
@ -3131,6 +3121,9 @@ end.
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.167 2004/10/01 13:18:41 mattias
|
||||
removed uneeded function TProject.AddNewFile
|
||||
|
||||
Revision 1.166 2004/10/01 11:23:07 mattias
|
||||
implemented custom project types
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user