text stringlengths 14 6.51M |
|---|
unit fConsultBD;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ORFN,
StdCtrls, ExtCtrls, ORCtrls, ORDtTm, uConsults, fBase508Form,
VA508AccessibilityManager;
type
TfrmConsultsByDate = class(TfrmBase508Form)
pnlBase: TORAutoPanel;
lblBeginDate: TLabel;
ca... |
unit NaturalSort;
interface
uses System.Generics.Defaults, System.SysUtils, System.Character;
type
TNaturalStringComparer = class(TComparer<String>)
private
function InChunk(Ch, OtherCh: Char): Boolean;
public
function Compare(const Left, Right: String): Integer; override;
end;
implementation
type
... |
{*******************************************************************************
Unit description: class for Load DLL
Developer: cy Date: 2003/03/22
Modifier: cy Date: 2003/03/25
Modifier: mjg Date: 2003/10/15
Coding standard v... |
unit Main;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.ScrollBox, FMX.Memo, FMX.Controls.Presentation, System.StrUtils,
{$IFDEF MSWINDOWS}
Winapi.ShellAPI, Winapi.Windows,
{$ENDI... |
unit ComPortSettings;
interface
uses
Windows,
SysUtils, Messages,
Classes, Graphics, Controls,
Forms, Dialogs, ExtCtrls, StdCtrls, AdPort, OoMisc, AdTSel, Mask,
rxPlacemnt, rxToolEdit;
type
TfrmComPortSettings = class(TForm)
GroupBox2: TGroupBox;
Label4: TLabel;
fedLogFileName: TFilenameEdit... |
unit rhlFNV64;
interface
uses
rhlCore;
type
{ TrhlFNV64 }
TrhlFNV64 = class(TrhlHash)
private
m_hash: QWord;
protected
procedure UpdateBytes(const ABuffer; ASize: LongWord); override;
public
constructor Create; override;
procedure Init; override;
procedure Final(v... |
unit uI010;
interface
// O Modelo não precisa conhecer ninguem
// Ai esta o interessante do MVC.
// Desta forma o modelo fica desacoplado e podendo ser utilizado por vários controles
uses
Contnrs, // <-- Nesta Unit está implementado TObjectList
MVCInterfaces,uRegistroEmpresaContabil,uIndicadorOpe... |
unit YuanWeiCeShi;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Mask, ToolEdit, CurrEdit, Buttons, Grids, ExtCtrls, DB;
type
TYuanWeiCeShiForm = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
sgDrills: TStringGrid;
Panel3: TPanel;
... |
unit DelphiUtils.AutoObject;
interface
type
{ Interfaces}
IAutoReleasable = interface
procedure SetAutoRelease(Value: Boolean);
property AutoRelease: Boolean write SetAutoRelease;
end;
IHandle = interface(IAutoReleasable)
function Handle: THandle;
end;
IMemory = interface(IAutoReleasable)
... |
///////////////////////////////////////////////////////////////////
// uAnggota //
///////////////////////////////////////////////////////////////////
// Unit yang menangani hal-hal yang berhubungan dengan anggota //
////////////////////////////////////////////////... |
unit mSpeech;
{
Monster Speech 1.1.0
written by Chen Yu (monster)
E-Mail: mftp@21cn.com ICQ UIN: 6740755
Homepage: http://homepages.msn.com/RedmondAve/mftp/
Suggestions and bug reports are warm welcomed.
This file used a Delphi translation of Speech API from
Project JEDI, and full packag... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Classe de controle do Registro R.
The MIT License
Copyright: Copyright (C) 2010 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associa... |
(**********************************************************************************)
(* Code generated with NexusDB Enterprise Manager Data Dictionary Code Generator *)
(* *)
(* Version: 3,1004 ... |
unit TreeEditor;
//# BEGIN TODO Completed by: author name, id.nr., date
{ E.I.R. van Delden, 0618959, 29-06-2008 }
//# END TODO
interface
uses
Variants, Forms,
Dialogs, StdCtrls, ComCtrls, ExtCtrls, Grids,
SysUtils, Windows, Messages, Classes, Graphics, Controls,
Nodes;
type
TTreeEditor =
class(TObjec... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC Data Adapter Column mapping }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit f11_riwayatPeminjaman;
interface
uses
utilitas,
buku_handler,
peminjaman_handler;
{ KAMUS }
var
inp : string;
{ DEKLARASI FUNGSI DAN PROSEDUR }
procedure filter(var data_bersih : tabel_peminjaman; data_kotor : tabel_peminjaman; inputan : string);
procedure cetak(var data_buku : tabel_buku; data... |
(***********************************************************)
(* xPLRFX *)
(* part of Digital Home Server project *)
(* http://www.digitalhomeserver.net *)
(* info@digitalhomeserver.net *)
(****... |
unit uFrmWorkerClassEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DBClient,
uFrmModal, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus,
cxControls, cxContainer, cxEdit, dxSkinsCore, dxSkinsDefaultPainters, cxMemo,
cxTextEdit, StdCt... |
unit U_FacturesCheques;
interface
uses U_Element, U_Tableaux;
// cree un tableau avec les numeros de factures de 1 nombre
// chaque numero est present une seule fois
function factures (nombre : CARDINAL) : TABLEAU;
// cree un tableau de cheques a partir du tableau factures dans lequel nb_impayes numeros de facture... |
unit oPKIEncryptionCertificate;
interface
uses
System.Classes,
System.SysUtils,
Winapi.Windows,
wcrypt2,
WinSCard,
oPKIEncryption
{oPKIEncryptionEx};
type
TPKIEncryptionCertificate = class(TObject)
private
fCertFriendlyName: string;
fCertSerialNumber: string;
fCertNameUPNType: string;
... |
UNIT QWIKSORT;
interface
{*****************************************************}
{ You must pass parameters to this procedure of type }
{ DataArray; an array with comparable elements }
{ for example }
type
dataitem = integer;
dataarray = array[1..10] of dataitem;
procedure QuickSort(var item : DataArray; ... |
unit lib_acesso;
interface
uses IdHashMessageDigest, Windows, Messages, sysutils, lib_db, TypInfo, lib_mensagem;
type
TPermissoes = (TpmExcluir, TpmInserir, TpmEditar, TpmVisualizar, TpmProcessar);
TTipoOperacao = (TopAdicionar, TopExcluir);
Tcriptografia = class
public
class function MD5(co... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ SOAP Support }
{ }
{ Copyright (c) 2001 Borland S... |
program CMDWorld;
uses crt;
type
Entity = record
x: integer;
y: integer;
graphic: char;
color: integer;
collidable: boolean;
collectable: boolean;
slippable: boolean;
end;
var
// Bricks
bricks: array [1..2000] of Entity;
bricksCount: intege... |
unit eSocial.Models.Components.Connections.Interfaces;
interface
uses
Data.DB;
type
iModelComponentConnection = interface
['{E14316CA-4550-4273-BCD0-109F08BCE77B}']
function Active(aValue : Boolean) : iModelComponentConnection;
function AddParam (aParam : String; aValue : Smallint) : iMode... |
{ A three dimensional graphics demonstration program }
{ Written 2/11/1988 by Gus Smedstad }
{ 3-d primitives provided by TRI_D.TPU, by Gus Smedstad }
{$N-}
uses Crt, graph, tri_d;
const tablemax = 12; { Maximum number of color/pattern combinations needed }
type ObjInfo = record
... |
unit MenuGerente;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, UnitUsuario;
type
TFormMenuGerente = class(TForm)
LabelMenuGerente: TLabel;
Button1: TButton;
btnRegistrarCuenta: TBu... |
// NIM / Nama : 16518189 / M Mirza Fathan Al Arsyad
Program tigainteger;
(* Input: 3 integer: A, B, C *)
(* Output: Sifat integer dari A, B, C (positif/negatif/nol dan ganjil/genap)
Nilai maksimum, minimum, dan nilai tengah *)
(* KAMUS *)
var
A, B, C : integer;
nilaitengah : integer;
proc... |
{
* fpwm.pas - initialization and event loop
}
{
* Copyright (c) 2006 Felipe Monteiro de Carvalho, Daniel Franzini, Andrew Haines
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software wit... |
// Modified by houidef 24-01-2020 18:52:28
unit iCalendar;
interface
uses Classes, XMLDoc, XMLIntf, TypInfo, Variants, SysUtils, XmlDom,contnrs,dialogs;
type
TCalendarEvents = class;
TCalendarEvent = class(Tobject)
private
FStartEvent: TDateTime;
FEndEvent: TDateTime;
FSummary : stri... |
{
관련글 : http://blog.hjf.pe.kr/326
원글
- http://www.gesource.jp/weblog/?p=6835
- http://www.gesource.jp/weblog/?p=6833
- http://www.gesource.jp/weblog/?p=6832
권한설정
Bluetooth
Bluetooth Admin
}
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.V... |
////////////////////////////////////////////
// Базовые функции для приборов фирмы Логика
////////////////////////////////////////////
unit Devices.Logica.Base;
interface
uses Windows, GMGlobals;
function Logica_CalcCRC(buf: array of Byte; Len, Start: int): WORD;
procedure LogicaM4_CRC(var buf: array of Byte; Len: i... |
{Implementation for writer}
Unit Writer;
Interface
uses Statist;
type
p_Writer = ^WriterObj;
WriterObj = object
private
{name for file text}
output: text;
{path to our file}
path : string;
public
{initialization the field}
constructor Init;
{closing file}
destructo... |
unit ff7snd;
interface
Uses MMSystem, Classes, SysUtils, Cappo, RiffUtil;
Const
WAVE_FORMAT_ADPCM = $2;
Type
EFF7Error = class(Exception);
TADPCMCoefset = packed record
iCoef1,iCoef2: Smallint;
end;
TFF7SndHeader = packed record
Length, Offset: Longint;
ZZ1: A... |
namespace RemObjects.DataAbstract.CodeGen4;
interface
uses
System,
System.Collections.Generic,
System.Text,
RemObjects.SDK.CodeGen4,
RemObjects.DataAbstract.Schema;
type
[System.Reflection.ObfuscationAttribute(Exclude := True, ApplyToMembers := True)]
CocoaTableDefinitionsCodeGen = public... |
PROGRAM UnitTest;
USES CIStringSetUnit, StringSetUnit;
FUNCTION IntToString(x: INTEGER): STRING;
VAR s: STRING;
BEGIN (* IntToString *)
Str(x, s);
IntToString := s;
END; (* IntToString *)
VAR s1, t: CIStringSet;
s2: CIStringSetObj;
i: INTEGER;
BEGIN (* UnitTest *)
New(s1, In... |
unit ncgPrintInstall;
interface
uses
SysUtils, Classes;
procedure RemovePrinters(aNex: Boolean);
procedure InstallNexPrinter(aForce: Boolean);
function NexPrinterInstalled: Boolean;
function GetPrinterList(const aExcludeNexcafe: Boolean=false): TStrings;
implementation
uses
ncShellStart,
Windows,
Wins... |
(* StackADT3: SWa, 2020-04-15 *)
(* ---------- *)
(* Stack abstract data type - version 3. *)
(* ========================================================================= *)
... |
unit uConnect;
interface
uses IniFiles,Forms,SysUtils,JSON,REST.Client,REST.Types;
type
TCfgConnect = class(TIniFile)
private
function GetEndereco: String;
function GetPorta: Integer;
procedure SetEndereco(const Value: String);
procedure SetPorta(const Value: Integer);
public
property Endere... |
{
Main source of the Lazarus Mazes program.
A maze implementation based on a depth-first backtracking algorithm.
For more detais, see wikipedia:
http://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker
Copyright (C) 2012 G.A. Nijland (eny @ lazarus forum http://www.lazarus.free... |
// This unit is common to Configurator and Logger apps, listener object
unit u_Configuration_Record;
{$i xpl.inc}
interface
uses Classes,
SysUtils,
fgl,
fpc_delphi_compat,
u_xml_plugins,
u_xpl_address,
u_xpl_config,
u_xpl_messages,
u_xpl_application,
u_... |
unit BabyList;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
Data.Bind.EngExt, Fmx.Bind.DBEngExt, System.Rtti, System.Bindings.Outputs,
Fmx.Bind.Editors, FMX.ListView.Types, FMX.ListV... |
unit cls_TQuotes;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TQuotes = class
private
{ Private declarations }
clientName : string ;
totalCost : decimal ;
public
{ Public declarations }
Constructor Create (pClientName : strin... |
{*******************************************************************************
This file is part of Argument
This source file is public domain. It is provided as is, with no explicit
or implied warranties regarding anything whatsoever.
********************************************************************************
A... |
{ @abstract(This unit contains HTML reader and writer for TKMemo control)
@author(Christian Ulrich (christian@cu-tec.de))
@created(16 Feb 2016)
@lastmod(16 Feb 2016)
Copyright © Christian Ulrich (christian@cu-tec.de)<BR><BR>
<B>License:</B><BR>
This code is distributed as a freeware. You are free to use i... |
unit MobilePermissions.Permissions.Interfaces;
interface
type
IMobilePermissions = interface
['{4AA3D2CE-F6D5-470A-85DA-C7857B662B95}']
function Request(Permissions: TArray<String>): IMobilePermissions;
end;
IMobilePermissionsFactory = interface
['{B0C3F51D-6981-4D83-921E-716504C48C1F}']
functi... |
//passwordhash unit
//Update : 12/04/2019 20.00 WIB
//Dev : mk
//v1.0.0
unit passwordhash;
interface
function numConv(n:integer):char;
{Konversi angka [0..61] menjadi [a..z,A..Z,0..9]}
function hash(user,pass:string):string;
{Mengembalikan password yang sudah di-hash}
implementation
function numConv(n:integer):ch... |
{
GMElevationFMX unit
ES: contiene las clases FMX necesarias para calcular elevaciones de terreno
de un conjunto de LatLng
EN: includes the FMX classes needed for calculate a terrain elevations of a
set of LatLng
=========================================================================
MODO DE USO/HOW... |
{$i deltics.inc}
unit Test.InterfacedObjectList;
interface
uses
Deltics.Smoketest;
type
TInterfacedObjectListTests = class(TTest)
procedure InterfacedObjectAddedToListIsRemovedWhenDestroyed;
procedure AddingItemsViaObjectReferenceIsAnInvalidOperation;
procedure AddingItemsViaInter... |
unit ccCylPlaneCapFrame;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, StdCtrls, IniFiles,
ccBaseFrame;
type
{ TCylPlaneCapFrame }
TCylPlaneCapFrame = class(TBaseFrame)
Bevel3: TBevel;
CbCapaUnits: TComboBox;
CbDistUnits: TComboBox;
CbRadiusUnit... |
unit TestCommandLine;
{ AFS 26 April 03
test the jcf.exe commandline }
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is TestCommandLine, released May 2003.
The Initial Developer of the Original Code is Anthony S... |
unit Security4D.UnitTest.Credential;
interface
uses
System.SysUtils;
const
ROLE_ADMIN = 'Admin';
ROLE_MANAGER = 'Manager';
ROLE_NORMAL = 'Normal';
type
TCredential = class
private
fUsername: string;
fPassword: string;
fRole: string;
protected
{ protected declarations }
public
co... |
Program twitter_2;
Uses
sysutils;
Type
tweet = record
codigoUsuario: integer;
nombreUsuario: string;
mensaje: string;
esRetweet: boolean;
end;
listaTweets = ^nodoLista;
nodoLista = record
dato: tweet;
sig: listaTweets;
end;
{... |
unit Test_FIToolkit.Commons.FiniteStateMachine.FSM;
{
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
TestFramew... |
unit SMCnst;
interface
{Bulgarian strings }
//translated by Nikolay Marinov marinov@bg-soft.com
const
strMessage = 'Печат...';
strSaveChanges = 'Наистина ли желаете да съхраните промените на сървъра?';
strErrSaveChanges = 'Не може да се запишат промените! Проверете връзката със сървъра или валидността ... |
unit LLVM.Imports.OrcBindings;
interface
//based on OrcBindings.h
uses
LLVM.Imports,
LLVM.Imports.Types,
LLVM.Imports.TargetMachine,
LLVM.Imports.Error;
type
TLLVMSharedModuleRef = type TLLVMRef;
TLLVMSharedObjectBufferRef = type TLLVMRef;
TLLVMOrcJITStackRef = type TLLVMRef;
TLLVMOrcModuleHandle = ... |
unit System_DBUnit;
interface
uses
System.SysUtils, System.Classes, 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.MySQL,
FireDAC.Phys.MySQLDef, FireDAC.VCLUI.Wait, Data.DB, Fir... |
unit Test.CoffeeMachine;
interface
uses
Classes,
Rtti,
DUnitX.TestFramework,
Delphi.Mocks,
Model.CoffeMachine;
{$TYPEINFO ON}
type
[TestFixture]
TestCoffeeMaker = class(TObject)
private
// -----
fCoffeeMachine: TCoffeeMachine;
// -----
fBrewingUnit: TMock<IBrewingUnit>;
fGrinder... |
unit WritingFrame;
interface
uses
Global,
LTConsts,
LTClasses,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TfmWriting = class(TFrame)
lbQuestionInput: TLabel;
lbText: TLabel;
lbQuestion: TLabel;
lbNumber: TLabel;
memoWri... |
{ ****************************************************************************** }
{ Fast KDTree Integer type support }
{ ****************************************************************************** }
{ * https://zpascal.net ... |
unit consts_float_1;
interface
implementation
const
F1 = 1.123;
F2 = -1.321;
var
G1, G2: Float32;
procedure Test;
begin
G1 := F1;
G2 := F2;
end;
initialization
Test();
finalization
Assert(G1 = F1);
Assert(G2 = F2);
end. |
UNIT StopWtch;
interface
{$DEFINE float}
uses DOS; { GetTime }
TYPE
{$ifdef float}
MyType = REAL;
{$else}
MyType = INTEGER;
{$ENDIF}
VAR
T2, T3,
ST, ET : MyType;
PROCEDURE StartWatch;
FUNCTION SplitTime : MyType;
PROCEDURE StopWatch;
FUNCTION ElapsedTime : MyType;
PROCEDURE ResetWatch;
implementati... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit Antlr.Runtime.Tests;
interface
uses
Classes,
SysUtils,
TestFramework,
Antlr.Runtime;
type
// Test methods for class IANTLRStringStream
TestANTLRStringStream = class(TTestCase)
strict private
const
NL = #13#10;
GRAMMARSTR = ''
+ 'parser grammar p;' + NL
... |
unit UPaletteEditor;
{$mode objfpc}{$H+}
interface
uses
Classes, ExtCtrls, UBaseShape, UInspector, typinfo, Graphics;
type
TMainColorUpdateEvent = procedure(Sender: TObject) of object;
TSecondaryColorUpdateEvent = procedure(Sender: TObject) of object;
{ TPenColorEditor }
TPenColorEditor = class(TParamE... |
unit ClassPlayer;
interface
uses ClassBoard, ClassLetters, ClassLetterStack;
type TMove = array of TTile;
TPlayer = class
protected
FLtrStack : TLetterStack;
FBoard : TBoard;
FLastMove : TMove;
FScore : integer;
public
constructor Create( Letters :... |
{
GetACK: Get the ACK on the record
}
FUNCTION GetACK(timeoutSecs : INTEGER) : ResponseType;
CONST
CTRLC = ^C;
ACK = ^F;
NAK = ^U;
CAN = ^X;
WANTCRC = 'C';
VAR
ticks,canCount : INTEGER;
c : CHAR;
BEGIN
ticks := timeoutSecs * 500;
canCount := 0;
c := #$00;
REPEAT
IF KeyPresse... |
unit eSocial.Services.Utils;
interface
uses
System.Classes,
System.Types,
Vcl.ExtCtrls;
type
TServiceUtils = class
class function ImageResource(aResourceName : String; aImage : TImage) : string;
end;
implementation
{ TServiceUtils }
class function TServiceUtils.ImageResource(aResou... |
program FizzBuzz;
var i:integer;
begin
for i:=1 to 100 do begin
if (i mod 3=0) and (i mod 5=0) then writeln('FizzBuzz') else begin
if i mod 3=0 then writeln('Fizz') else
if i mod 5=0 then writeln('Buzz') else writeln(i);
end;
end;
readln;
end.
|
{
AD.A.P.T. Library
Copyright (C) 2014-2018, Simon J Stuart, All Rights Reserved
Original Source Location: https://github.com/LaKraven/ADAPT
Subject to original License: https://github.com/LaKraven/ADAPT/blob/master/LICENSE.md
}
unit ADAPT.Demo.EventEnginePlayground.Events;
{$I ADAPT.inc}
interface
uses
S... |
unit mEvntDelay;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ORCtrls, ORDtTm, uCore, ORFn, ExtCtrls,UConst;
type
TfraEvntDelayList = class(TFrame)
pnlDate: TPanel;
pnlList: TPanel;
mlstEvents: TORListBox;
edtSearch: TCaptionEdit;
lblEff... |
unit UValidacao;
interface
uses SysUtils, Messages, Dialogs;
function validar_CPF_CNPJ (valor : string) : Boolean;
function validarEmail (const EMailIn: String) : Boolean;
function validarUF(UF : String) : Boolean;
function validarData(Data:TDateTime; Tipo:Integer) : Boolean;
procedu... |
{
Ultibo QEMU Launcher Tool.
Copyright (C) 2022 - SoftOz Pty Ltd.
Arch
====
<All>
Boards
======
<All>
Licence
=======
LGPLv2.1 with static linking exception (See COPYING.modifiedLGPL.txt)
Credits
=======
Information for this unit was obtained from:
References
==========
QEMU Launcher
=============
... |
unit FC.StockWizards.fmStockWizardContainer;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufmDialogOKCancel_B, ActnList, StdCtrls, ExtCtrls,
ComCtrls, ExtendControls, FC.Definitions;
type
TfmStockDataConnectionWizardContainer = class(TfmDialogOkCancel_B)
... |
(* StringListSet: MM, 2020-05-30 *)
(* ------ *)
(* A simple class for StringSet Operations using a single linked list *)
(* ========================================================================= *)
... |
unit SecurityUtil;
interface
uses
SysUtils, LbCipher, LbClass, Math;
function GetSuperUserCredentials(var AName, AKey: string): boolean;
function GetKey(const phrase: string; const toUpper: boolean = false): string;
function Encrypt(const str: string): AnsiString;
function Decrypt(const str: AnsiString): AnsiStri... |
{
//////////////////////////--| SFS DAEMON |--////////////////////////////
* This multithread demon handle the mount/unmount command for a SFS file.
* It comunicates with sfslauncher and keep the sended commands and then
* execute the relative command.
* This daemon create a thread for any sended command and execute it... |
{
This unit is part of the Lua4Delphi Source Code
Copyright (C) 2009-2012, LaKraven Studios Ltd.
Copyright Protection Packet(s): L4D014
www.Lua4Delphi.com
www.LaKraven.com
--------------------------------------------------------------------
The contents of this file are subject to the Mozilla P... |
unit taCsv;
interface
uses
taTypes, System.Classes, Data.DB;
const
SComma = ',';
STab = ''#9;
type
TTaCsv = class(TObject)
strict private
FLine: TStringList;
FLineIdx: Integer;
FReader: TStreamReader;
FWriter: TStreamWriter;
procedure Close;
procedure CommitLine;
function Eof: ... |
{
WriteBytes: write formatted byte count.
}
PROCEDURE WriteBytes(numBytes : REAL);
BEGIN
IF numBytes < 1024 THEN
Write(numBytes:6:0)
ELSE IF numBytes < 10240 THEN
Write(numBytes/1024:5:1,'K')
ELSE IF numBytes < 1048576.0 THEN
Write(numBytes/1024:5:0,'K')
ELSE
Write(numBytes/1048576... |
unit rODDiet;
interface
uses SysUtils, Windows, Classes, ORNet, ORFn, uCore, uConst, rOrders;
type
TOutpatientPatchInstalled = record
PatchInstalled: boolean;
PatchChecked: boolean;
end;
TUserHasFHAUTHKey = record
UserHasKey: boolean;
KeyChecked: boolean;
end;
TDietParams = record
Tra... |
unit fChangePassword;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TfrmChangePassword = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4... |
unit JD.Weather.AccuWeather;
interface
uses
System.Classes, System.SysUtils, System.Generics.Collections,
Vcl.Graphics, Vcl.Imaging.Jpeg, Vcl.Imaging.PngImage, Vcl.Imaging.GifImg,
JD.Weather, JD.Weather.Intf, SuperObject;
type
TAWEndpoint = (aeLocations, aeConditions, aeAlerts, aeDailyIndices,
aeAlarms, ... |
unit uROR_VistAStore;
{$I Components.inc}
interface
uses
SysUtils, Classes, Forms, OvcStore, TRPCB;
type
TRPCStringList = class(TStringList)
protected
fRPCBroker: TRPCBroker;
fRPCLoadParams: String;
fRPCSaveParams: String;
public
constructor Create(const aLoadParamsRPC: String; const aSaveP... |
unit metadata;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, db, dialogs, typinfo, connection_transaction, sqldb, StdCtrls, Types;
type
TDBTable = class;
TDBField = class;
TDBField = class
private
FFieldType: TFieldType;
FName: string;
FCaption: string;
FWidth: integer;
FPrim... |
{
File: vecLib/vDSP.h
Contains: AltiVec DSP Interfaces
Version: vecLib-325.4
Copyright: ? 2000-2011 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://develope... |
unit caXml;
{$INCLUDE ca.inc}
interface
uses
// Standard Delphi units
Windows,
SysUtils,
Classes,
Graphics,
// ca units
caTypes,
caConsts,
caClasses,
caVector,
caLog,
caUtils;
type
IcaXmlBuilder = interface;
TcaXmlWriteEvent = procedure(Sender: TObject; AXmlBuilder: IcaXmlBuilder) ... |
unit IdIrcServer;
interface
uses
Classes,
IdTCPServer;
const
KnownCommands: array[1..40] of string =
(
'ADMIN',
'AWAY',
'CONNECT',
'ERROR',
'INFO',
'INVITE',
'ISON',
'JOIN',
'KICK',
'KILL',
'LINKS',
'LIST',
'MODE',
'NAMES',
'NICK',
'NOTICE',
... |
unit JSONToDataSet;
interface
uses
Datasnap.DBClient, System.JSON, Data.DB, System.SysUtils,
System.IOUtils, InterfaceConversor;
type
TJSONToDataSet = class(TConversor)
private
DataSet: TClientDataSet;
CaminhoDoArqv: String;
public
function Converter: string; override;
constructor Create(c... |
unit udatabuilder;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, umsr_defines,UOther;
type
{ TMSRDataBuilder }
TMSRDataBuilder = class
private
function MakeCommand(Command: byte):TMSRCMD;
public
Constructor Create;
Destructor Destroy;override;
procedure MakeCommTest(out... |
unit fDCSummProps;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ORDtTm, ORCtrls, ExtCtrls, uConst, rTIU, rDCSumm, uDocTree, uDCSumm,
uTIU, fBase508Form, VA508AccessibilityManager, ORStaticText,
VA508AccessibilityRouter,
Vcl.ComCtrls, Math;
type
TfrmD... |
unit Router4D.Switch;
{$I Router4D.inc}
interface
uses
Classes,
System.Generics.Collections,
Router4D.Interfaces,
Router4D.History;
type
TRouter4DSwitch = class(TInterfacedObject, iRouter4DSwitch)
private
FSideBarList : TDictionary<String, iRouter4DSidebar>;
public
con... |
{
PROG: fence3
LANG: PASCAL
ID: asiapea1
}
program fence3;
const
maxf=150;
zero=1e-5;
var
fin,fout:text;
x1,y1,x2,y2:array[1..maxf]of byte;
f,i:byte;
x,y,best:real;
function min(a,b:real):real;
begin
if a<b then min:=a else min:=b;
end;
function dist(x,y:real;fence:byte):real;
... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLMaterialMultiProxy<p>
Implements a multi-proxy object, useful for discreet LOD.<p>
Allows assign a unique material for each proxy master.<p>
<b>History : </b><font size=-1><ul>
<li>30/08/10 - Yar - Fixed transformation ... |
unit SynLCHighlighter;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Graphics, LCLProc,
SynEditHighlighter, SynEditHighlighterFoldBase, SynEditTypes;
type
TLCTokenKind = (tLCAttributeName, tLCComment, tLCDataType, tLCIdentifier, tLCKey, tLCNull, tLCNumber,
tLCReservedWord, tLCSpace,... |
unit ExtraChargeGroupUnit;
interface
uses
QueryGroupUnit2, System.Classes, ExtraChargeQuery2, ExtraChargeTypeQuery,
NotifyEvents, ExtraChargeExcelDataModule, ExtraChargeInterface;
type
TExtraChargeGroup = class(TQueryGroup2, IExtraCharge)
strict private
function HaveDuplicate(const AExtraChargeTypeName, AR... |
unit Display;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls;
type
TSegmenty = array[1..7] of Boolean;
TDisplay = class(TImage)
private
// Vlastnosti pre cely DISPLAY
DigitsColor, PozadieColor : TColor;
// Vlastnosti pre DISPLAY1
Cislo : ... |
unit UWindowReservationForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ListBox,
FMX.Layouts, FMX.ScrollBox, FMX.Memo, FMX.StdCtrls, FMX.Controls.Presentation,
FMX.Edit, System.Rtti, System... |
unit TestViewer;
interface
uses
Vcl.Forms, Sparkle.Http.Client,{} Vcl.StdCtrls, Vcl.Controls, System.Classes,
IdUDPServer, IdGlobal, IdSocketHandle, IdBaseComponent, IdComponent, IdUDPBase;
type
TfrmTestViewer = class(TForm)
cbUrl: TComboBox;
Label1: TLabel;
btGo: TButton;
Label2: TLabel;
b... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.