From 357672a5ebc751a06769f0c912ebfdb2d04979ec Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 18 Oct 2008 17:16:29 +0000 Subject: [PATCH] added options_oi unit to lpi git-svn-id: trunk@17043 - --- ide/frames/options_oi.pas | 23 +++++++++++++++++++++-- ide/lazarus.lpi | 13 +++++++++++-- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/ide/frames/options_oi.pas b/ide/frames/options_oi.pas index 1207b5f364..b43ffbc412 100644 --- a/ide/frames/options_oi.pas +++ b/ide/frames/options_oi.pas @@ -1,4 +1,24 @@ -unit options_oi; +{ + *************************************************************************** + * * + * This source is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This code is distributed in the hope that it will be useful, but * + * WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * + * General Public License for more details. * + * * + * A copy of the GNU General Public License is available on the World * + * Wide Web at . You can also * + * obtain it by writing to the Free Software Foundation, * + * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * * + *************************************************************************** +} +unit Options_OI; {$mode objfpc}{$H+} @@ -33,7 +53,6 @@ type OIValueColorButton: TColorButton; OIValueColorLabel: TLabel; private - { private declarations } public procedure Setup; function GetTitle: String; diff --git a/ide/lazarus.lpi b/ide/lazarus.lpi index b7ba84b851..95fe2d8be2 100644 --- a/ide/lazarus.lpi +++ b/ide/lazarus.lpi @@ -11,7 +11,6 @@ - </General> @@ -41,7 +40,7 @@ <PackageName Value="SynEdit"/> </Item4> </RequiredPackages> - <Units Count="2"> + <Units Count="3"> <Unit0> <Filename Value="lazarus.pp"/> <IsPartOfProject Value="True"/> @@ -52,6 +51,15 @@ <IsPartOfProject Value="True"/> <UnitName Value="GDBMIDebugger"/> </Unit1> + <Unit2> + <Filename Value="frames/options_oi.pas"/> + <ComponentName Value="OIOptionsFrame"/> + <HasResources Value="True"/> + <IsPartOfProject Value="True"/> + <ResourceBaseClass Value="Frame"/> + <ResourceFilename Value="frames/options_oi.lrs"/> + <UnitName Value="Options_OI"/> + </Unit2> </Units> </ProjectOptions> <CompilerOptions> @@ -60,6 +68,7 @@ <Filename Value="../lazarus"/> </Target> <SearchPaths> + <OtherUnitFiles Value="frames/"/> <UnitOutputDirectory Value="$(LazarusDir)/units/$(TargetCPU)-$(TargetOS)"/> </SearchPaths> <Other>