text
stringlengths
14
6.51M
unit Lab07; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Edit1: TEdit; Label1: TLabel; Button1: TButton; Edit2: TEdit; Label2: TLabel; CheckBox1: TCheckBox; procedure Button1Cl...
{******************************************************************************} { CnPack For Delphi/C++Builder } { 中国人自己的开放源码第三方开发包 } { (C)Copyright 2001-2012 CnPack 开发组 } { ...
unit uPromise; interface uses SmartCL.System, W3C.Console, W3C.HTML5, W3C.DOM, W3C.XMLHttpRequest; type JDeferred = class; TCallback = procedure(Value: Variant); TCallbackFn = procedure(d: variant; f: variant); TJDeferred_object_new_fn_ = function (d: TCallback): variant; TJDeferred_object_ne...
unit UMyImageList; interface uses Fmx.Types, Fmx.Objects, Fmx.Graphics, System.Classes, System.Types; type TMyImageList = class protected FCount: Integer; FWidth: Integer; FHeight: Integer; procedure SetCount(value: integer); procedure SetWidth(value: integer); procedure Set...
unit RedLib; (* Version 1.5.0 Stable github.com/FelixBanan/RedLib *) interface uses crt; ///Это тот же write только возможно выбрать цвет(только цифрой) ///Вместо запятой, ставится + для объединения переменных ///Пример: wrc(a+b+'test'+1, 10); procedure wrc(text: object; color: integer := 15); procedure wrc(text...
unit RLngUtils; interface uses Windows; function lng_GetSystemLCID: LCID; function lng_GetSystemLang: UINT; function lng_GetLcidHex4(const iLCID: LCID): string; function lng_GetLcidAbbr(const iLCID: LCID): string; function lng_GetLcidName(const iLCID: LCID): string; function lng_GetLangName(const iLANG: UINT): st...
unit UFrmLogin; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, REST.Types, REST.Client, Data.Bind.Components, Data.Bind.ObjectScope, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC...
unit Di03; { ULDI03.DPR ================================================================ File: DI03.PAS Library Call Demonstrated: cbDInScan() Purpose: Multiple reads of a digital input port. Demonstration: Reads a digital input port and d...
{ //************************************************************// } { // // } { // Código gerado pelo assistente // } { // // } { // Projeto MVCBr ...
unit AlxJSON; interface uses Classes, Contnrs, SysUtils; type TAlxJSONElementType = (jetUnknown, jetObject, jetArray, jetValue); //тип JSON элемента TAlxJSON_R_State = (jsNone, jsObj, jsArr, jsStr, jsVal, jsKey, jsNStr); type TNamedObjectList = class(TObjectList) public Key: String; Constructor Cr...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit PluginFactory; interface uses Vcl.Forms, Vcl.Menus, Vcl.Controls, Vcl.StdCtrls, System.Classes, System.SysUtils, Winapi.Windows, System.Types, System.IOUtils, Generics.Collections, PluginUtils, PluginIntf; type TNamePathMap = TDictionary<string, string>; TPluginLoad = procedure(con...
unit compItems; // %compItems : 包含对应Component的TCollectionItem和TCollection (***** Code Written By Huang YanLai *****) interface uses classes,menus,controls; type TComponentCollection = class; // My Collection Item that contain a component // note : override GetDisplayName // when Component changed , it will c...
unit Base_Display_unit; interface uses Windows; { TODO : Логировать недоступность дисплея } type // Base interface for pole display IBaseDisplay = interface ['{8F009273-1887-46C3-82C6-BC1D93FBD31F}'] procedure WritePos(const Name: String; const Quantity: Currency; const Cost: Curren...
unit SearchByCaption; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ActnList, dsdAction, System.DateUtils, cxClasses, cxPropertiesStore, dsdAddOn, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPa...
{ departamento, división, número de empleado, categoría y cantidad de horas extras realizadas por el empleado. Se sabe que el archivo se encuentra ordenado por departamento, luego por división, y por último, por número de empleado. Presentar en pantalla un listado con el siguiente formato: Para obtener el valo...
unit BaseForm; interface uses Classes, Forms, Messages, SysUtils, Windows, BaseApp; type TfrmBaseData = record App: TBaseApp; end; TfrmBase = class(TForm) protected fBaseFormData: TfrmBaseData; public constructor Create(AOwner: TComponent); override; procedure Initialize(App: TB...
unit UJuridicalPerson; interface uses SysUtils, UPerson; type TJuridicalPerson = class(TPerson) private id : integer; cnpj : string; name : string; companyName : string; email : string; comment : string; status : boolean; createAt : TDateTime; public Constructor Create(id ...
PROGRAM Sum(INPUT, OUTPUT); VAR I, S: INTEGER; PROCEDURE ReadDigit(VAR F: TEXT; VAR D: INTEGER); VAR Ch: CHAR; BEGIN {ReadDigit} D := -1; IF NOT EOLN(F) THEN BEGIN READ(F, Ch); IF Ch = '0' THEN D := 0 ELSE IF Ch = '1' THEN D := 1 ELSE IF Ch = '2' THEN D := 2 ELSE IF Ch = '3' ...
unit Main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Dialogs, StdCtrls, LCLType, StrUtils, RegExpr, Process; type { TfrmPrincipal } TfrmPrincipal = class(TForm) btnVisualizarLog: TButton; btnSalvarLog: TButton; btnDescribe: TButton; btnConectarBash: TButton; ...
unit UAMC_RELSLogin; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. } { This unit is used to get the appraisers RELS credentials (vendr id and } { password as wel...
unit sc32442b_clock; {$mode fpc} interface type TClock = (clkNAND, clkLCDC, clkUSBHost, clkUSBDevice, clkPWMTimer, clkSDI, clkUART0, clkUART1, clkUART2, clkGPIO, clkRTC, clkADC, clkI2C...
{$MODE OBJFPC} { Color constant guide for TextColor: Black = 0; Blue = 1; Green = 2; Cyan = 3; Red = 4; Magenta = 5; Brown = 6; LightGray = 7; DarkGray = 8; LightBlue = 9; LightGreen = 10; LightCyan = 11; LightRed = 12; LightMagenta = 13; Yellow = 14; White = 15; } uses crt, sysutils; ...
unit DsnAgent; // Runtime Design System Version 2.x June/08/1998 // Copyright(c) 1998 Kazuhiro Sasaki. interface uses Windows, Messages, SysUtils,Classes, Forms, Controls, Dialogs, DsnMes, DsnLgMes; type TDeleteQuery = procedure (Sender:TObject;Component:TComponent; ...
{ Treat the challenging_spell_learning.esp as a dynamic patch file which can be updated based on all loaded mods. Just run this script and magic happens. Tomes updated will be listed in the Messages tab with ---------------------------------------- prefixed to make spotting errors easier. } unit Transmundane_Ap...
unit Composite.CompositeComponent; interface uses System.Generics.Collections, Composite.Component; type TComposite = class(TComponent) protected FChildren: TList<TComponent>; public constructor Create; function Operation: string; override; procedure Add(AComponent: TComponent); override; ...
//*************************************************** // Suaviza o serrilhado de labels com fontes grandes // IMPORTANTE: Sempre importar *apůs* a unit StdCtrls //*************************************************** unit unApAntiAliasedLabel; interface uses Windows, Messages, SysUtils, Controls, StdCtrls, G...
unit uProductView; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts, System.Rtti, FMX.Grid.Style, FMX.ScrollBox, FMX.Grid, FMX.Effects, FMX.Edit, FMX.Objects, FMX.Controls.Presentation, FMX...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit QEngine.Types; interface uses QuadEngine, QEngine.Camera, Strope.Math; type IQuadEngine = interface (IUnknown) function GetDevice(): IQuadDevice; function GetRender(): IQuadRender; function GetCamera(): IQuadCamera; procedure SetCamera(const ACamera: IQuadCamera); function GetDefau...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.Generics.Collections; type TForm1 = class(TForm) OpenDialog1: TOpenDialog; SaveDialog1: TSaveDialog; Button3: TBut...
unit FormMinder; interface uses Forms; type TFormMinder = class private FHKEY_CURRENT_USER_key : string; public function RunModalForm( FormClass : TFormClass ) : integer; procedure AdjustForm( Form : TForm ); procedure RecordForm( Form : TForm ); constructor Create( const HKEY_CU...
{$MODESWITCH RESULT+} {$GOTO ON} (************************************************************************* Copyright (c) 2005-2007, Sergey Bochkanov (ALGLIB project). >>> SOURCE LICENSE >>> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License...
unit DIOTA.Dto.Response.AddNeighborsResponse; interface uses DIOTA.IotaAPIClasses; type TAddNeighborsResponse = class(TIotaAPIResponse) private FAddedNeighbors: Integer; public constructor Create(AAddedNeighbors: Integer); reintroduce; virtual; property AddedNeighbors: Integer read FAddedNeighbor...
(* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Softwa...
unit Device; {$ifdef FPC}{$mode OBJFPC}{$H+}{$endif} interface uses {$ifdef UNIX}CThreads,{$endif} SyncObjs, SysUtils, Base58, BlockingQueue, LEConverter; const RESPONSE_EXPECTED_INVALID_FUNCTION_ID = 0; RESPONSE_EXPECTED_ALWAYS_TRUE = 1; { Getter } RESPONSE_EXPECTED_ALWAYS_FALSE = 2; { Callback...
unit ShowIPS; { SimThyr Project } { A numerical simulator of thyrotropic feedback control } { Version 4.0.2 (Merlion) } { (c) J. W. Dietrich, 1994 - 2020 } { (c) Ludwig Maximilian University of Munich 1995 - 2002 } { (c) Ruhr University of Bochum 2005 - 2020 } { This unit draws the information processing structure ...
PROGRAM RACE; CONST Max_points = 50; Max_Arrows = 100; TYPE Point_array = ARRAY [0..Max_points-1] OF BOOLEAN; VAR input_file,output_file : text; current_arrow,current_point,number_of_points,number_of_arrows, number_unavoidable_points,number_splitting_points : INTEGER; Arrows : ARRAY [0..Max_Arrows-...
unit RESTRequest4D.Request.NetHTTP; interface uses System.Net.Mime, System.Net.HttpClientComponent, System.Net.HttpClient, RESTRequest4D.Request.Contract, System.Classes, System.JSON, System.SysUtils, REST.Json, IdURI, System.NetEncoding, RESTRequest4D.Utils, System.Net.URLClient, RESTRequest4D.Response.NetHTTP, ...
{ 4. Suponga que trabaja en una oficina donde está montada una LAN (red local). La misma fue construida sobre una topología de red que conecta 5 máquinas entre sí y todas las máquinas se conectan con un servidor central. Semanalmente cada máquina genera un archivo de logs informando las sesiones abiertas por ...
unit ECC; INTERFACE uses ed25519,Sha1; type tEccKey=ed25519.tKey32; type tPoWRec=packed record data:ed25519.tKey32; stamp:LongWord; {NetOrder} end; var SecretKey:ed25519.tKey64; var PublicKey:tEccKey; var PublicPoW:tPoWRec; var ZeroDigest:tSha1Digest; const cDig3PowMask=%0010; const cPoWValidDays=5; const cTSEpoch...
unit diffie; interface uses ComObj,ActiveX; const MAX_PRIME_NUMBER=2147483648; MAX_RANDOM_INTEGER=2147483648; type DiffieHellman=class private function XpowYmodN(xi,yi,ni:int64):int64; function GeneratePrime():int64; function IsItPrime(ni,ai:int64):boolean; function MillerRabin(ni,tria...
unit LoginFormU; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, BOsU; type TLoginForm = class(TForm) LabeledEdit1: TLabeledEdit; LabeledEdit2: TLabeledEdit; btnRegist...
unit UGatewaySvc; interface uses Winapi.Windows , System.Win.Registry , System.SysUtils , System.Classes , Vcl.SvcMgr , USettings , ULog , UGateway; type TWMSGatewaySvc = class(TService) procedure ServiceStart(Sender: TService; var Started: Boolean); procedure ServiceStop(Sender: TService; ...
program Temperature(Input, Output); uses wincrt; var First, ConvertedFirst, Second, ConvertedSecond : real; CorF : char; procedure GetInput(var First, Second : real; var CorF : char); begin clrscr; writeln('Enter the lower and upper values of the range to be converted'); re...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, iniFiles, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; ListBox1: TListBox; Button4: TButton; Button5: TButton; Button6: TButto...
unit SizeInfo; {$mode objfpc}{$H+} interface uses Classes, SysUtils, BaseModel; type IBaseSizeInfo = interface(IBaseModel) ['{2D23FE84-A7EC-4511-A713-AA47CEBECC90}'] function GetMeters: Double; function GetFeet: Double; procedure SetMeters(AValue: Double); procedure SetFeet(AValue: Double); ...
unit class_edit_ctrl; interface uses Classes ,SysUtils ,tiObject ,mapper ,mvc_base ,widget_controllers ,app_mdl ,class_edit_view ,event_const ; type // ----------------------------------------------------------------- // Class Objects // -----------------------------------------------------...
unit UGrayscaleImages; interface uses Graphics, UBinaryImages; const HistLength = 255; type tH = array[0..HistLength] of integer; TCGrayscaleImage = class private ImgHeight: word; ImgWidth: word; ImgPixels: array of array of double; procedure SetHeight(newHeight: word...
program bitgrid; uses CRT; { The simplest possible implementation of the BitGrid array as a text based program in a turbo pascal equivalent. I hope } procedure welcome; begin Writeln('Welcome to the BitGrid simulator, this is the simplest possible implementation,'); Writeln('Here we simulate a single cell of th...
unit IDACDevice; ////////////////////////////////////////////////////////////////////////// // Revision : 03-12-99 ////////////////////////////////////////////////////////////////////////// interface uses DAC_Const; const MAJOR_VERSION = $0001; // essential change MINOR_VERSION = $0005; // n...
{$WARN SYMBOL_PLATFORM OFF} unit VideoEffectInt; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ImgList, Vcl.Menus, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.OleCtrls, SHDocVw, Vcl.ComCtrls, Vcl.Buttons, Video...
unit CertificadoNFCE; interface type TCertificado = class private FSenha :String; FNumeroSerie: String; procedure SetNumeroSerie(const Value: String); public property NumeroSerie :String read FNumeroSerie write SetNumeroSerie; property Senha :String read FSenha write SetNumeroSerie; end; ...
unit ZDataSetReader; interface uses DataSetDataReader, DB, SysUtils, Classes; type TZDataSetReader = class (TDataSetDataReader) public function ToDataSet: TDataSet; override; end; implementation uses ZDataset, ZSqlUpdate; { TZDataSetReader } function TZDataSetReader.ToDataSet: TDa...
unit fmOsciladores; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, fmBase, TB2Item, SpTBXItem, TB2Dock, TB2Toolbar, fmEditFS, StdCtrls, frEditorCodigo, frEditorCodigoDatos, frFS, frEditFS, ExtCtrls, JvExExtCtrls, JvNetscapeSplitter, dmOsciladores, VirtualTre...
{*****************************************************************************} { BindAPI } { Copyright (C) 2020 Paolo Morandotti } { Unit BindManagerTest } ...
unit uMalaDiretaRel; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, q_RelPadrao, QRPDFFilt, JvExControls, JvXPCore, JvXPButtons, StdCtrls, ExtCtrls, QRCtrls, QuickRpt, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, ComCtrls, DBCtrls, uFrameAluno, uFrameCl...
{*****************************************************************************} { BindAPI } { Copyright (C) 2020 Paolo Morandotti } { Unit plBindAPI.CoreBinder } ...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
unit UChat; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, UzLogConst, UzLogGlobal, HelperLib; type TChatForm = class(TForm) Panel1: TPanel; ListBox: TListBox; editMessage: TEdit; buttonSend: TButton; Panel2: TPanel; checkPop...
program showprefs; {$IFNDEF HASAMIGA} {$FATAL This source is compatible with Amiga, AROS and MorphOS only !} {$ENDIF} { Project : showprefs Source : RKRM } {* ** The following example shows a way to read a Preferences file. ** ** showprefs.c - parse and show some info from an IFF Preferences file ** NOT...
unit uSimpleConnectionProtocol; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, uUser, uSmsClient, FMX.Dialogs; Type TCmdType = (ctGREETING, ctACCESS, ctSMS, ctUNKNOWN_CMD, ctCLOSE_SOCK); TMsgType = (mtERR, mtINFO, mtINFO_IP, mtINFO_...
unit Mm02; { ULMM02.DPR================================================================ File: MM02.PAS Library Call Demonstrated: cbMemRead() and cbMemWrite() Purpose: Write data to a memory board and then read it back again De...
unit DIOTA.Pow.ICurl; interface type { This interface abstracts the curl hashing algorithm. } ICurl = interface { * Absorbs the specified trits. * * @param trits The trits. * @param offset The offset to start from. * @param length The length. * @return The ICurl instance (us...
// Aero Glass Effekt fur Delphi-Forms // // Mit der Methode GlassForm kann fur eine Form der // Aero Glass Effekt unter Vista aktiviert werden. // Der erste Parameter ist die Form-Klasse, der zweite // optionale Parameter ist der BlurColorKey. Mit dem // BlurColorKey wird eine Farbe festgelegt, auf dem // ...
unit DIOTA.Pow.JCurl; interface uses DIOTA.Pow.ICurl, DIOTA.Utils.Pair, DIOTA.Pow.SpongeFactory; type { * (c) 2016 Come-from-Beyond * * TJCurl belongs to the sponge function family. } TJCurl = class(TInterfacedObject, ICurl) private var numberOfRounds: Integer; stateLow: TArray...
unit ServerMethodsUnit1; interface uses System.SysUtils, System.Classes, System.Json, Datasnap.DSServer, Datasnap.DSAuth, DataSnap.DSProviderDataModuleAdapter, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.St...
{ ============================================================================ } { DELPHI CONFERENCE 2012 - 23/10/2012 } { José Mário Silva Guedes - mario.guedes@arrayof.com.br } { ...
unit UInsertPDF; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 2011 by Bradford Technologies, Inc. } { This unit is for inserting PDFs into the report. } interface uses Classes, ComCtrls, Controls...
unit uVarEditor; {$mode objfpc}{$H+} interface uses Classes, SysUtils, VirtualTrees, uVtBaseEditor, uPropertyEditorNew, uLibrary; type { TVarData } TVarData = class(TPropertyData) private fVar: IVarDefine; end; { TIndexVarData } TIndexVarData = class(TVarData) protected function Ge...
unit TSTOSbtpEx.JSon; interface Uses Windows, HsJSonEx; Type IJSonSbtpSubVariable = Interface(IHsJSonObject) ['{4B61686E-29A0-2112-BE0B-99AD11FF41D2}'] Function GetVariableName() : String; Procedure SetVariableName(Const AVariableName : String); Function GetVariableData() : String; Procedure...
unit ufrmCCusto; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, IBX.IBQuery, uLib, uConst, upCCusto, udmFinanc, Data.DB; type TfrmCCusto = class(TFrame) edCodigo: TEdit; edDescricao: TEdit; Label1: TLabel; Label2: TLabel; proc...
unit DragonThrusters; {$mode objfpc}{$H+} interface uses Classes, SysUtils, ThrustInfo, BaseModel; type IBaseDragonThrusters = interface(IBaseModel) ['{77C1FFE5-83C7-4B8C-BA7C-3D64DA101936}'] function GetAmount: LongWord; function GetFirstFuel: string; function GetIsp: LongWord; function GetPod...
unit VersionInfo_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.Controls.Presentation, FMX.Layouts, FMX.ListBox; type TForm2 = class(TForm) ListBox1: TListBox; ListBo...
unit ReturnInTest; interface uses dbTest, dbMovementTest, ObjectTest; type TReturnInTest = class(TdbMovementTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TReturnIn = class(TMovementTest) private function InsertDefault: integer; override; public func...
unit BookBO; interface uses System.Generics.Collections, MVCFramework.Serializer.Commons; type [MVCNameCase(TMVCNameCase.ncLowerCase)] TBook = class(TObject) private FYEAR: Integer; FAUTHOR: String; FTITLE: String; FID: Integer; FPLOT: String; FNUMBER_OF_PAGES: Integer; procedure...
unit CPInAndStockReader; interface uses Classes, SysUtils, ComObj, CommUtils, ADODB, SAPMB51Reader2, SAPStockReader2, SAPMrpAreaStockReader; type TCPInAndStorkColHeader = packed record icol: Integer; sml: string; sfox: string; sdate: string; end; PCPInAndStorkColHeade...
unit UApprworldLogin; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2013 by Bradford Technologies, Inc. } interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, ...
{***************************************************************************} { } { DUnitX } { } { ...
{$mode objfpc} UNIT ed25519; INTERFACE type tKey32=packed array [0..31] of byte; type tKey64=packed array [0..63] of byte; type tPubKey=tKey32; tPrivKey=tKey64; tSig=tKey64; (*procedure CreateSeed(out seed: tKey32);*) procedure CreatekeyPair(out pub:tPubKey; var priv:tPrivKey); procedure Sign(out signature:tSig; c...
// SMSMETEOR.RU API для Delphi (sms-meteor.ru) версия 2.8 (06.08.2012) unit smsc_api; interface uses IdHTTP, IdURI, IdMessage, IdSMTP, IdStrings, SysUtils, Forms, Classes, DateUtils, Types, Windows; const // Константы с параметрами отправки SMSC_LOGIN: String = '<login>'; // логин клиента SMSC_PASSWORD: String ...
unit UServerConfiguration; interface uses Classes, SyncObjs, KRK.Lib.Rtl.Common.Classes, CRAccess, DASQLMonitor; type TServerConfiguration = class(TObjectFile) private FFileName: String; FCheckSessions: Boolean; FUseCompression: Boolean; FUseDBMonitor: Boolean; FDBMonitorSendTi...
unit Model.Item; interface uses Model, Model.Produto, SysUtils; type TItem = class(TModel) private FProduto: TProduto; FValorVenda: Double; FValorTotal: Double; FQuantidade: Double; FSequencia: Integer; procedure SetProduto(const Value: TProduto); procedure SetQuantidade(const Value...
{******************************************************************************} { } { Organization Chart } { ...
(*============================================================================ -----BEGIN PGP SIGNED MESSAGE----- This code (c) 1994, 1997 Graham THE Ollis GENERAL NOTES ============= This is 16bit DOS TURBO PASCAL source code. It has been tested using TURBO PASCAL 7.0. You will need AT LEAST version 5.0 ...
{ *********************************************************** } { * ksTools Library * } { * Copyright (c) Sergey Kasandrov 1997, 2010 * } { * ----------------------------------------- * } { * http://sergworks.wordpress.com/kstools ...
unit UAdjustCtrlFrame; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Spin, Buttons, UTools, RPCtrls; type TfaAdjustCtrls = class(TFrame) GroupBox1: TGroupBox; btnAlignLeft: TSpeedButton; btnAlignCenter: TSpeedButton; btnAlignRight: TSpeedBut...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit UIARUMulti; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, UWWMulti, UMultipliers, StdCtrls, ExtCtrls, JLLabel, Grids, UzLogConst, UzLogGlobal, UzLogQSO; type TIARUZone = class Multi : string; Worked : array[b19..b28] of boolean; function Summary : s...
unit FacturaElectronica; interface uses FacturaTipos, ComprobanteFiscal; type TOnComprobanteGenerado = procedure(Sender: TObject) of Object; ///<summary>Representa una factura electronica sus metodos para generarla, leerla y validarla /// cumpliendo la ley del Codigo Fiscal de la Federacion (CFF) Articulos 29 y 29...
unit Project87.Resources; interface uses QEngine.Core, QEngine.Texture, QEngine.Font; type TGameResources = class public HeroTexture: TQuadTexture; SmallEnemyTexture: TQuadTexture; MeduimEnemyTexture: TQuadTexture; BigEnemyTexture: TQuadTexture; RocketTexture: TQuadTexture; ...
{ } { GT Delphi Components } { GT Threaded Timer } { } { Copyright (c) GT Delphi Components } { http://www.gtdelp...
{**********************************************************************} { } { "The contents of this file are subject to the Mozilla Public } { License Version 1.1 (the "License"); you may not use this } { file except in comp...
unit RepositorioDepartamento; interface uses DB, Auditoria, Repositorio; type TRepositorioDepartamento = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; function GetIde...
unit RGBCIEUtils; interface uses SysUtils, Windows, Graphics, Math; const // Observer= 2°, Illuminant= D50 ref_X = 96.422; ref_Z = 82.521; type xyz = record x: real; y: real; z: real; end; function RGBToXYZ(c: TColor): xyz; procedure RGBToLab(clr: TColor; var l, a, b: real); ...
unit TSTOScriptTemplateImpl; interface Uses Classes, HsInterfaceEx, TSTOScriptTemplateIntf; Type TTSTOScriptTemplateSettings = Class(TInterfacedObjectEx, ITSTOScriptTemplateSettings) Private FOutputFileName : WideString; FCategoryNamePrefix : WideString; FStoreItemsPath : WideString; FReq...
unit URateDialog; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ExtCtrls, System.Math, System.DateUtils, VclTee.TeeGDIPlus, VCLTee.TeEngine, VCLTee.TeeProcs, VCLTee.Chart, VCLTee.Series, UOptions, UzLogGlobal, UzLogQSO, UzLogConst; type TRateDialog = class(TForm) ...
{$ifdef license} (* Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com ) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this l...
unit Unit2; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Layouts, FMX.Objects, FMX.Memo; type TForm2 = class(TForm) Panel1: TPanel; Button1: TButton; Button2: TButton; Button3: TButton; ...
{$MODESWITCH RESULT+} {$GOTO ON} (************************************************************************* Copyright (c) 2007, Sergey Bochkanov (ALGLIB project). >>> SOURCE LICENSE >>> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as p...