You've already forked lazarus-ccr
52 lines
1.6 KiB
ObjectPascal
52 lines
1.6 KiB
ObjectPascal
![]() |
program cryptinitest;
|
||
|
{ Test App for cryptini unit
|
||
|
|
||
|
Copyright (C) 2016 Gordon Bamber minesadorada@gmail.com
|
||
|
|
||
|
This library is free software; you can redistribute it and/or modify it
|
||
|
under the terms of the GNU Library General Public License as published by
|
||
|
the Free Software Foundation; either version 2 of the License, or (at your
|
||
|
option) any later version.
|
||
|
|
||
|
This program 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 Library General Public License
|
||
|
for more details.
|
||
|
|
||
|
You should have received a copy of the GNU Library General Public License
|
||
|
along with this library; if not, write to the Free Software Foundation,
|
||
|
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||
|
}
|
||
|
|
||
|
{$ifdef Linux}
|
||
|
{$ifdef FPC_CROSSCOMPILING}
|
||
|
{$ifdef CPUARM}
|
||
|
//if GUI on RPi, then uncomment
|
||
|
//{$linklib GLESv2}
|
||
|
{$endif}
|
||
|
{$linklib libc_nonshared.a}
|
||
|
{$endif}
|
||
|
{$endif}
|
||
|
{$mode objfpc}{$H+}
|
||
|
|
||
|
uses {$IFDEF UNIX} {$IFDEF UseCThreads}
|
||
|
cthreads, {$ENDIF} {$ENDIF}
|
||
|
Interfaces, // this includes the LCL widgetset
|
||
|
Forms,
|
||
|
umainform, umemoform, ukeydialog,
|
||
|
uInputSectionValuesForm;
|
||
|
|
||
|
{$R *.res}
|
||
|
begin
|
||
|
Application.Title:='CryptINI Test';
|
||
|
RequireDerivedFormResource := True;
|
||
|
Application.Initialize;
|
||
|
Application.CreateForm(Tmainform, mainform);
|
||
|
Application.CreateForm(TShowINIForm, ShowINIForm);
|
||
|
Application.CreateForm(Tkeydialog, keydialog);
|
||
|
Application.CreateForm(TInputSectionValuesForm, InputSectionValuesForm);
|
||
|
Application.Run;
|
||
|
end.
|
||
|
|
||
|
|