mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-21 10:42:32 +02:00
65 lines
1.0 KiB
ObjectPascal
65 lines
1.0 KiB
ObjectPascal
{ $Id$ }
|
|
unit StartLazOpts;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils,
|
|
XMLCfg;
|
|
|
|
type
|
|
TStartLazarusOptions = class
|
|
private
|
|
FFilename: string;
|
|
FLazarusDir: string;
|
|
procedure SetFilename(const AValue: string);
|
|
public
|
|
constructor Create;
|
|
destructor Destroy; override;
|
|
procedure Load;
|
|
procedure Save;
|
|
property LazarusDir: string read FLazarusDir write FLazarusDir;
|
|
property Filename: string read FFilename write SetFilename;
|
|
end;
|
|
|
|
implementation
|
|
|
|
{ TStartLazarusOptions }
|
|
|
|
procedure TStartLazarusOptions.SetFilename(const AValue: string);
|
|
begin
|
|
if FFilename=AValue then exit;
|
|
FFilename:=AValue;
|
|
end;
|
|
|
|
constructor TStartLazarusOptions.Create;
|
|
begin
|
|
FLazarusDir := ExtractFilePath(ExpandFileName(ParamStr(0)));
|
|
end;
|
|
|
|
destructor TStartLazarusOptions.Destroy;
|
|
begin
|
|
inherited Destroy;
|
|
end;
|
|
|
|
procedure TStartLazarusOptions.Load;
|
|
begin
|
|
|
|
end;
|
|
|
|
procedure TStartLazarusOptions.Save;
|
|
begin
|
|
|
|
end;
|
|
|
|
end.
|
|
{
|
|
$Log$
|
|
Revision 1.3 2004/09/03 21:14:50 vincents
|
|
fix showing splash screen on restart
|
|
|
|
}
|
|
|