text stringlengths 14 6.51M |
|---|
(************************************************************************)
(* *)
(* Logical.EXE *)
(* *)
(* This program ... |
unit ncaFrmMemoEnd;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, ncEndereco,
cxLookAndFeelPainters, cxContainer, cxEdit, cxTextEdit, cxMemo, cxRichEdit, DB;
type
TF... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLFileBMP<p>
Graphic engine friendly loading of BMP image.
<b>History : </b><font size=-1><ul>
<li>04/04/11 - Yar - Creation
</ul><p>
}
unit GLFileBMP;
interface
{$I GLScene.inc}
uses
System.Classes,
Sy... |
{***************************************************************************
*
* Orion-project.org Lazarus Helper Library
* Copyright (C) 2016-2017 by Nikolay Chunosov
*
* This file is part of the Orion-project.org Lazarus Helper Library
* https://github.com/Chunosov/orion-lazarus
*
* This Library is free soft... |
unit mz3;
{$IFDEF FPC}{$mode objfpc}{$H+}{$ENDIF}
interface
//load and save meshes in Surfice MZ3 format
uses
zstream, Classes, sysutils, meshify_simplify_quadric;
procedure LoadMz3(const FileName: string; var faces: TFaces; var vertices: TVertices);
procedure SaveMz3(const FileName: string; var faces: TFaces; v... |
unit Test_FIToolkit.Reports.Parser.XMLOutputParser;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
System.Sys... |
(****************************************************************************)
(* *)
(* REV97.PAS - The Relativity Emag (coded in Borland Pascal 7.0) *)
(* *)
(* "... |
unit UClassePaciente;
interface
Type
TPacientes = Class
//Atributos
Private
Codigo : Integer;
Nome : String[40];
RG : Integer;
CPF : String[11];
Profissao : String[25];
Endereco : String[50];
Estado : String[02];
Cidade : String[20];
Bairro ... |
unit Client;
interface
uses
SysUtils, ScktComp,
CommonUtils;
type
EIncorrectNick = class(Exception);
ENickInUse = class(Exception);
TClient = class
constructor Create; overload;
constructor Create(SocketHandle: integer; var Socket: TCustomWinSocket;
NickName: string); overlo... |
unit Security.Login;
interface
uses
System.SysUtils, System.Classes, Vcl.ExtCtrls, System.UITypes, Vcl.StdCtrls,
Security.Login.Interfaces,
Security.Login.View
;
type
TAuthNotifyEvent = Security.Login.Interfaces.TAuthNotifyEvent;
TResultNotifyEvent = Security.Login.Interfaces.TResultNotifyEven... |
unit VectorFileSC;
interface
type
Element = record
name: string[20];
parameters: array[1..4] of integer;
textMsg: string[100];
end;
var
elements: array[1..100] of Element;
elementsCount, lastStateVal: byte;
fileHandler: file of Element;
procedure addElement(name: string; p1, p2, p3, p4: in... |
unit class_members_2;
interface
implementation
uses system;
type
TC1 = class
FData: Int32;
function GetData: Int32;
end;
TC2 = class
FC: TC1;
end;
TC3 = class
FC: TC2;
constructor Create;
end;
function TC1.GetData: Int32;
begin
Result := FData;
end;
constructor TC3... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit Test.Devices.Geostream;
interface
uses Windows, TestFrameWork, GMGlobals, Test.Devices.Base.ReqCreator, GMConst,
Test.Devices.Base.ReqParser;
type
TGeostream71ReqCreatorTest = class(TDeviceReqCreatorTestBase)
protected
function GetDevType(): int; override;
procedure DoCheckRequests(); override;... |
const fileinp = 'hprimes.inp';
fileout = 'hprimes.out';
var n,h:longint;
procedure Init;
begin
assign(input,fileinp); reset(input);
readln(n,h);
close(input);
end;
function Height(a:longint):longint;
begin
Height:=0;
while a <> 0 do
begin
inc(Height,a mod 10);
a:=a d... |
unit SC_Base;
(*************************************************************************
DESCRIPTION : SHACAL-2 basic routines
REQUIREMENTS : TP5-7, D1-D7/D9-D10/D12/D17, FPC, VP
EXTERNAL DATA : ---
MEMORY USAGE : ---
DISPLAY MODE : ---
REFERENCES : H.Handschuh, D.Na... |
{*******************************************************}
{ }
{ Borland Delphi Runtime Library }
{ System Initialization Unit }
{ }
{ Copyright (C) 1997,99... |
unit uFormMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ComObj, Vcl.StdCtrls, Vcl.ExtCtrls,
Vcl.ComCtrls;
type
TForm1 = class(TForm)
eFname: TLabeledEdit;
eName: TLabeledEdit;
... |
unit ClassBisekcia;
interface
uses ExtCtrls, ClassNulovy;
type TBisekcia = class( TNulovy )
public
constructor Create( iLavy, iPravy : real; iImage : TImage );
destructor Destroy; override;
procedure Krok; override;
end;
implementation
uses Graphics, Dialogs;
//====================... |
program TEST;
uses Crt, Classes, SysUtils, FileUtil, HTTPDefs, fpHTTP, fpWeb, fphttpclient, fpjson, jsonparser;
Var
S, Key: String;
HTTP: TFPHTTPClient;
AuthOK: boolean;
func: char;
teamID, teamSTRATEGY,i: integer;
procedure AuthenticationCheck();
begin
AuthOK := true;
HTTP := TFPHttpCl... |
(* FlexibleArrayStackUnit: SWa, 2020-05-27 *)
(* ----------------------- *)
(* A stack which stores its elements in an array and grows automatically. *)
(* ========================================================================= *)
... |
{
Program donated to the Ultibo project by Kerry Shipman 10 June 2016
Free to use for any Ultibo purpose
}
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, IniFiles, StrUtils;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton... |
unit StringBuilder;
interface
type
TStringBuilder = class
public
constructor Create;
destructor Destroy; override;
procedure AppendByte(B: Byte); // ugly, assume it provedes an utf8 nibble
procedure AppendString(const S: String);
function ToString: String;
procedure Clear;
private
... |
unit Test.Devices.Energomera;
interface
uses TestFrameWork, GMGlobals, Classes, IEC_2061107, SysUtils;
type
TEnergomeraTest = class(TTestCase)
private
protected
procedure SetUp; override;
procedure TearDown; override;
published
procedure LRC();
end;
implementation
{ TEnergomeraTest }
procedu... |
unit MasterMind.ConsoleUtils;
interface
uses
MasterMind.API;
function TryStringToCode(const CodeString: String; out Code: TMasterMindCode): Boolean;
implementation
uses
sysutils;
function TryCharToColor(const AChar: Char; out Color: TMasterMindCodeColor): Boolean;
begin
Result := True;
case UpperCase(ACh... |
{
GMConstants
ES: unidad con constantes
EN: unit with constants
=========================================================================
History:
ver 0.1.9
ES:
nuevo: documentación
EN:
new: documentation
ver 0.1:
ES: primera versión
EN: first version
============================================... |
unit uDrawingArea;
interface
uses {$IFDEF DEBUG} CodeSiteLogging, {$ENDIF}
SysUtils, uBase, uEventModel, Graphics, System.UITypes, uDrawingPage,
uDrawingCommand, uGraphicPrimitive, System.Generics.Collections,
uDrawingEvent, Classes, System.Types;
type
TAreaState = ( asDrawSelect, asPri... |
unit fLayers;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, ImgList, FlexBase, ComCtrls, FlexEdit.Main, ToolWin, Menus,
cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, cxScrollBox,
dxSkinsCore, cxLabel, cxTextEd... |
unit MUIGroupBox;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Graphics, Controls, MUICommon, LCLIntf;
type
{ TMUIGroupBox }
TMUIGroupBox = class(TCustomControl)
private
FBorderColor,
FBackgroundColor: TColor;
FCaptionPaddingX: Integer;
procedure SetBorderCo... |
unit u_Frame_WeightInfo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, u_WeightComm,
Vcl.ExtCtrls, Math;
type
TframeWeightInfo = class(TFrame)
grpWeightInfo: TGroupBox;
lbl1: TLabel;
... |
{ Invokable interface IUsers }
unit UsersIntf;
interface
uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns, Soap.encddecd,
System.IOUtils, FMX.Dialogs, FMX.Forms, Classes, SysUtils, System.UITypes,
System.Variants,
FMX.Graphics, Data.DB, Data.DbxSqlite, Data.SqlExpr;
type
UserServer = clas... |
unit uTaskManager;
interface
uses
SysUtils, IOUtils, Generics.Collections, DB, uBaseThread, uGlobal, uTypes,
uCommon, IniFiles, Classes, uOutThread, DateUtils;
type
TTaskManager = class
private
FThreadList: TList<TBaseThread>;
function LoadConfig: TList<TOraConfig>;
public
constructor Create;
... |
unit Test_FIToolkit.CommandLine.Options;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework,
FITo... |
program Cp852Decoder;
{$APPTYPE CONSOLE}
uses
SysUtils;
resourcestring
SCannotConvert = 'Unicode code point $%x has no equivalent in %s';
type
AnsiCharHighMap = array[$80..$FF] of WideChar;
{ Numery unicode gornej polowki kodowania Cp852 }
const
CP852Map : AnsiCharHighMap = (
#$00C7, #$00FC, #$00E9... |
unit UTXTProduto;
interface
uses Classes, Contnrs, SysUtils, StrUtils;
type
TProdutoICMS = class;
TProdutoModel = class
private
fVersao : String;
fcProd : String;
fxProd : String;
fcEAN : String;
fNCM : String;
fEXTIPI : String;
fGenero : Strin... |
unit uzeichnerfarbenundschrittlaenge;
{$mode delphi}{$H+}
interface
uses
Classes, SysUtils, uZeichnerBase, uFarben;
type TZeichnerFarbenUndSchrittlaenge = class(TZeichnerBase)
private
FFarben: TFarben;
procedure aktionSchrittMtLinie(list: TStringList);
public
constructor Create(zeichenPara: TZeich... |
unit IdHTTP;
interface
uses
Classes,
IdGlobal,
IdHeaderList,
IdSSLIntercept,
IdTCPClient;
type
TIdHTTPMethod = (hmHead, hmGet, hmPost);
TIdHTTPProtocolVersion = (pv1_0, pv1_1);
TIdHTTPOnRedirectEvent = procedure(Sender: TObject; var dest: string; var
NumRedirect: Integer; var Handled: boolean) o... |
unit intensive.Controller.Interfaces;
interface
uses
FireDAC.Stan.Intf,
FireDAC.Stan.Option,
FireDAC.Stan.Error,
FireDAC.UI.Intf,
FireDAC.Phys.Intf,
FireDAC.Stan.Def,
FireDAC.Stan.Pool,
FireDAC.Stan.Async,
FireDAC.Phys,
FireDAC.Phys.SQLite,
FireDAC.Phys.SQLiteDef,
FireDAC.Stan.ExprFuncs,
Fir... |
// -------------------------------------------------------------
// Trabalho Conceito e Linguagens de Programacao
// Integrantes: Andre Peil, Daniel Retzlaff, Marlon Dias
// -------------------------------------------------------------
Program MatrizLU;
Type matriz = Record
a: array[1..100 , 1..100] of real;
upper: ... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1997,99 Inprise Corporation }
{ ... |
unit LLVM.Imports.Support;
interface
//based on Support.h
uses
LLVM.Imports,
LLVM.Imports.Types;
{**
* This function permanently loads the dynamic library at the given path.
* It is safe to call this function multiple times for the same library.
*
* @see sys::DynamicLibrary::LoadLibraryPermanently()
*}
f... |
unit uCompanias;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, JvBaseDlg, JvSelectDirectory, uDatos;
type
TfrmCompanias = class(TForm)
eCompania: TEdit;
Label1: TLabel;
Label2: TLabel;
eRuta: TEdit;
bSeleccionar: TBitBt... |
unit FormMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, Vcl.StdCtrls, Vcl.ComCtrls, Winapi.ShellAPI;
type
TfrmMain = class(TForm)
dlgOpen1: TOpenDialog;
dlgSave1: TSaveDialog;
mmo... |
unit U_GaussianElimination;
interface
uses U_typeset, U_MatrixFunctions;
function RowReduce(var react_matrix : matrix_array; var solution : dynamic_array_LInt; m,n : longint) : byte;
// What : Reduces the matrix in almost-RREF by using integer operations. The matrix
// is in it's base form (rows are reduced bu... |
unit uModel.Pessoa;
interface
uses System.SysUtils, System.Classes,
uModel.Interfaces, uModel.Endereco, uModel.PessoaContato, uModel.PessoaContatoList;
type
TPessoaModel = class(TInterfacedObject, iPessoaModel)
private
FId: Integer;
FNome: string;
FEndereco: TEnderecoModel;
FContatos: iPessoaCo... |
unit Frame.BigWindow;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
Frame.DiagramAndTable, GMGlobals, GMConst, Frame.CurrentsDiagramBase,
cxGraphics, cxControls, cxLookAndFeels, ... |
{ *********************************************************************** }
{ }
{ Delphi Runtime Library }
{ }
{ Copyright (c) ... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC DBX 4 Bridge metadata }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit adot.Grammar.Peg;
{ Parser for grammar based on TGrammarClass:
- recursive (similar to Recursive descent parser)
- stops at first successfull choice (similar to "parsing expression grammars")
- uses memoization of intermediate results (similar to "packrat parsing") }
interface
uses
adot.Grammar.Types,
... |
unit uDbActions;
interface
uses
uQueryServer_a, uQueryCommon_a, uAction_b, ...;
type
TDbAction = class(TAction_b)
protected
function getEnvironment: TActionEnvironmentDb;
procedure CheckFirstLockTry;
property Options: TOptions read FOptions;
property DbAccessId: string read FDbAc... |
unit uPubFunLib;
interface
uses
IniFiles, SysUtils, ActiveX;
function ReadString(const AFileName, Section, Ident, Default: string): string;
procedure WriteString(const AFileName, Section, Ident, Value: string);
function CreateGuid: string;
function GetPYM(AValue: string): string;
function AddZero(AS... |
unit NET.Nextar.ExportNexus;
// CrossTalk v2.0.20
interface
uses
NET.mscorlib,
Atozed.CrossTalk.Middle, Atozed.CrossTalk.BaseObject, Atozed.CrossTalk.Streams, SysUtils, Windows;
type
CardService = class;
SummaryService = class;
CardNXRepository = class;
SummaryNXRepository = class;
{$SCOPEDENUMS ON}
... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit geomunit;
interface
const
MaxN = 100;
Epsilon = 1e-6;
type
TNumber = real;
TAngle = TNumber;
TPoint = record
x,y:TNumber;
end;
TLine = record
a,b,c:TNumber;
end;
TCircle = record
o:TPoint;
r2:TNumber;
end;
TPoly = record
n:integer;
p:array [1..MaxN] of TPoint;
end;
... |
unit UI.Design.SVGImage;
interface
uses
UI.Utils.SVGImage,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, UI.Base,
FMX.Layouts, FMX.StdCtrls, FMX.Edit, FMX.Controls.Presentation, FMX.ListBox,
FMX.Colors, FMX.Scro... |
unit bCRC64;
{64 Bit CRC, bitwise without table}
interface
(*************************************************************************
DESCRIPTION : 64 Bit CRC, bitwise without table
REQUIREMENTS : TP6/7, D1-D7/D9-D10/D12/D17-D18/D25S, FPC, VP
EXTERNAL DATA : ---
MEMORY USAGE : ... |
{*********************************************************************
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Autor: Brovin Y.D.
* E-mail: y.brovin... |
unit Prog;
interface
uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons,
StdCtrls, ExtCtrls, Gauges, SysUtils, Dialogs;
type
TProgressDialog = class(TForm)
GroupBox1: TGroupBox;
Gauge: TGauge;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
CurrentlyPrintingLabel: TLabel... |
unit uCalcStrategy;
interface
uses uDisplay, System.Classes;
type
TCalculadoraStrategy = class
private
procedure AplicarSoma(const ADisplay: TDisplay);
procedure AplicarDivisao(const ADisplay: TDisplay);
procedure AplicarSubtracao(const ADisplay: TDisplay);
procedure AplicarMultiplicacao(const AD... |
unit Rubles;
{ Пропись © Близнец Антон '99 http:\\anton-bl.chat.ru\delphi\1001.htm }
{ 1000011.01->'Один миллион одинадцать рублей 01 копейка' }
interface
function RealToRouble(c: Currency): string;
implementation
uses SysUtils, math;
const
Max000 = 6; {Кол-во триплетов - 000}
MaxPosi... |
unit NoReturnBefore;
{ AFS 11 Jan 2003
Some tokens should not have a return before them for fomatting
}
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is NoReturnBefore, released May 2003.
The Initial Developer ... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit Unit1;
interface
uses
Winapi.Windows,
System.SysUtils, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Imaging.Jpeg,
//GLS
GLScene, GLCadencer, GLWin32Viewer, GLVectorFileObjects,
GLAsyncTimer, GLCelShader, GLGeomObjects, GLTexture, GLObjects,
GLCrossPlatform, GLM... |
unit UnCaixaModelo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UnModelo, FMTBcd, DB, DBClient, Provider, SqlExpr,
{ Fluente }
Util, DataUtil;
type
TCaixaModelo = class(TModelo)
ds_extrato: TSQLDataSet;
dsp_extrato: TDataSetProvider;
cds_ex... |
unit BodyTypesExcelDataModule;
interface
uses
System.SysUtils, System.Classes, ExcelDataModule, Excel2010, Vcl.OleServer,
CustomExcelTable, Data.DB, FireDAC.Comp.Client, FireDAC.Comp.DataSet,
ProducerInterface;
{$WARN SYMBOL_PLATFORM OFF}
type
TBodyTypesExcelTable = class(TCustomExcelTable)
private
//... |
{*********************************************}
{ TeeChart Delphi Component Library }
{ Areas Demo }
{ Copyright (c) 1995-1996 by David Berneda }
{ All rights reserved }
{*********************************************}
unit Stackare;
interface
{ Thi... |
unit TestStructureUnit;
interface
uses
System.SysUtils, System.Generics.Collections, RTTI;
type
TInputDataArray = array of TValue;
TTestDataDictionary = TDictionary<string, TInputDataArray>;
TSuiteRec = record
SuiteName: string;
SuiteClassName: string;
end;
TTestCaseRec = record
SuiteName:... |
unit arrays;
interface
type
TArray = array [3] of Int32;
var
A: TArray;
G: Int32;
implementation
procedure Test;
var
i: Int32;
begin
A[0] := 1;
A[1] := 2;
A[2] := 3;
for i := 0 to Length(A) - 1 do
G := G + A[i];
end;
initialization
G := 0;
Test();
finalization
Assert(G = 6);
en... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Copyright (c) 2020-2020 Skybuck Flying
// Copyright (c) 2020-2020 The Delphicoin Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-... |
unit Model;
interface
uses System.Generics.Collections, System.Classes;
type
TPhoneNumber = class
private
FPhoneNumber: String;
FPhoneType: String;
FPersonID: Integer;
FID: Integer;
public
constructor Create(NewPhoneType, NewPhoneNumber: String; NewPersonID: Integer; NewID: Integer = 0); o... |
program VariableFun;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp
{ you can add units after this };
type
{ TVariableFun }
TVariableFun = class(TCustomApplication)
protected
procedure DoRun; override;
public
constructor Cr... |
unit uMapForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, OleCtrls, SHDocVw, ExtCtrls, MSHTML, StdCtrls, XMLIntf;
type
TMapStyle = class
public
TypeValue: String;
MarkerIconName: String;
PolygonFillColor: String;
PolygonFillOpacity: Stri... |
unit vr_JsonRpc;
{$mode delphi}{$H+}
{$I vrode.inc}
interface
uses
Classes, SysUtils, strutils, vr_utils, vr_JsonUtils, fpjson;
type
TJsonRpcMessageType = (jrmtInvalid, jrmtRequest, jrmtNotification,
jrmtSuccess, jrmtError);
IJsonRpcMessage = interface
['{47C573F9-32F0-4F88-80DA-141A... |
unit DialogDateValue;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, AncestorDialogScale, StdCtrls, Mask, Buttons,
ExtCtrls, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus,
dxSkinsCore, dxSkinsDefaultPainters, cxControls, cxContainer, cxEdit,
... |
unit LikiDniproReceipt;
interface
uses
Windows, System.SysUtils, System.Variants, System.Classes, System.JSON,
Vcl.Dialogs, REST.Types, REST.Client, REST.Response.Adapter, Data.DB,
Vcl.Forms, ShellApi, IdHTTP, IdSSLOpenSSL, Datasnap.DBClient;
type
TRecipe = Record
// Рецепт
FRecipe_Number : String;... |
unit fpeMakerNoteFuji;
{$IFDEF FPC}
{$MODE DELPHI}
//{$mode objfpc}{$H+}
{$ENDIF}
interface
uses
Classes, SysUtils,
fpeTags, fpeExifReadWrite;
type
TFujiMakerNoteReader = class(TMakerNoteReader)
protected
procedure GetTagDefs({%H-}AStream: TStream); override;
end;
implementation
uses
fpeStrCo... |
/// <summary>
/// Html调用Delphi本地方法 demo
/// by 研究 (QQ:71051699)
/// </summary>
unit uMain;
interface
uses
WkeBrowser, Wke,
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs;
type
TfrmMain = class(TForm)
procedure FormCre... |
unit Tests_OriMath;
{$mode objfpc}{$H+}
interface
uses
FpcUnit, TestRegistry;
type
TTest_OriMath = class(TTestCase)
published
procedure StringFromFloat;
end;
implementation
uses
SysUtils,
OriStrings, OriMath;
procedure TTest_OriMath.StringFromFloat;
var
V: Double;
S: S... |
{************************************************}
{ Простейший класс для работы с API Quik }
{ }
{ Ginger, Иван }
{ http://www.quik.ru/user/forum/import/24427/ }
{************************************************}
unit quik;
i... |
PROGRAM PathFinder;
FUNCTION W(m, n: integer): integer;
BEGIN (* W *)
if (n = 1) OR (m = 1) then
W := m + n
else
W := W(m - 1, n) + W(m, n - 1);
END; (* W *)
const MAX = 100;
TYPE StackRecord = RECORD
n, m: integer;
w: longint;
... |
{********************************************}
{ TeeChart Pro Charting Library }
{ Copyright (c) 1995-2004 by David Berneda }
{ All Rights Reserved }
{********************************************}
unit DBEditCh;
{$I TeeDefs.inc}
interface
uses
{$IFNDEF LINUX}
Windows,
{$END... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ SOAP Support }
{ }
{ Copyright (c) 2001 Borland S... |
Unit RemDiskClass;
Interface
Uses
Windows, RemDiskDll, Generics.Collections, Utils;
Type
TRemDisk = Class
Private
FDiskNumber : Cardinal;
FDiskSize : UInt64;
FFLags : Cardinal;
FDiskType : EREMDiskType;
FState : EREmDiskInfoState;
FFIleName : WideString;
Class Function GetUnusedDis... |
unit IntensityColorUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls;
type
TIntensityColorForm = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TL... |
{***************************************************************************
*
* Orion-project.org Lazarus Helper Library
* Copyright (C) 2016-2017 by Nikolay Chunosov
*
* This file is part of the Orion-project.org Lazarus Helper Library
* https://github.com/Chunosov/orion-lazarus
*
* This Library is free soft... |
unit Chronogears.Form.Authorize;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.WebBrowser,
Winapi.Windows,
Chronogears.Azure.Model;
type
TAuthorizeForm = class(TForm)
WebBrowser: TWebBrow... |
{
Drag&Drop operations for GTK.
}
unit uDragDropGtk;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Controls, uDragDropEx
{$IF DEFINED(LCLGTK)}
,GLib, Gtk, Gdk
{$ELSEIF DEFINED(LCLGTK2)}
,GLib2, Gtk2, Gdk2
{$ENDIF}
;
type
TDragDropSourceGTK = class(TDragDropSource)
const... |
{ *********************************************************************** }
{ }
{ Delphi 通用 Hook 库,接口对象方法 Hook 支持单元 }
{ }
{ 设计:Lsuper 2016.10.01 ... |
unit swPHPSerializer;
interface
uses sysutils, math;
type
TPHPSerializer = class
private const
_BRACKET_OPEN = '{';
_BRACKET_CLOSE = '}';
_DATA_DELIMITER = ';';
var
_result_string: string;
public
constructor Create;
procedure Clear(dummy: boolean = true);
procedure CreateClass(c... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Copyright (c) 2020-2020 Skybuck Flying
// Copyright (c) 2020-2020 The Delphicoin Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: ScreenSaver<p>
Component for making screen-savers an easy task<p>
<b>History : </b><font size=-1><ul>
<li>16/10/08 - UweR - Compatibility fix for Delphi 2009
<li>17/03/07 - DaStr - Dropped Kylix support in favor of FPC (Bu... |
unit Dashboard.Infobox;
interface
uses
System.SysUtils, System.Classes;
type
IInfobox = interface
['{4EA7B8B0-476B-41D6-A748-60FDB3990B57}']
function Valor1(Value:string) : IInfobox;
function Valor2(Value:string) : IInfobox;
function Valor3(Value:string) : IInfobox;
function Valor4(Value:stri... |
{ Invokable implementation File for TuTravel which implements IuTravel }
unit uTravelImpl;
interface
uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns, Soap.encddecd,
System.IOUtils, FMX.Dialogs, FMX.Forms, Classes, SysUtils, System.UITypes,
System.Variants,
FMX.Graphics, Data.DB, Data.DbxSqlite... |
unit form_BackupRestore;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls,
SDUProgressDlg, SDUFrames, SDUFilenameEdit_U,
zlibex, zlibexgz, gzipWrap;
type
TBackupRestoreDlgType = (opBackup, opRestore);
TfrmBackupRestore = c... |
{
Cut Vertex
DFS Method O(N2)
Input:
G: Undirected Simple Graph
N: Number of vertices,
Output:
IsCut[i]: Vertex i is a CutVertex.
Reference:
Creative, p224
By Ali
}
program
CutVertex;
const
MaxN = 100 + 2;
var
N: Integer;
G: array[1 .. MaxN, 1 .. MaxN] of Integer;
IsCut: array[1 .. MaxN] ... |
{******************************************}
{ TMarksTipTool Editor Dialog }
{ Copyright (c) 1999-2004 by David Berneda }
{******************************************}
unit TeeMarksTipToolEdit;
{$I TeeDefs.inc}
interface
uses {$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
SysUtils, Classes,
... |
unit CheckBoxImpl1;
interface
uses
Windows, ActiveX, Classes, Controls, Graphics, Menus, Forms, StdCtrls,
ComServ, StdVCL, AXCtrls, DelCtrls_TLB;
type
TCheckBoxX = class(TActiveXControl, ICheckBoxX)
private
{ Private declarations }
FDelphiControl: TCheckBox;
FEvents: ICheckBoxXEvents;
procedu... |
unit UnPetisco;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, JvExExtCtrls, JvExtComponent, JvPanel,
{ Fluente }
Util, DataUtil, Configuracoes, UnPetiscoModel, UnComandaModelo, Componentes,
UnFabricaDeModelos, SearchUtil;
type
TPetiscoView = ... |
unit UMsg;
{
ResourceString: Dario 13/03/13
}
interface
Uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
function ConfirmaExclusao(St : String) : Boolean;
function SimNao(St : String) : Boolean;
function NaoSim(St : String) : Boolean;
function Gravar(St : String) : Word;
function C... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.