text
stringlengths
14
6.51M
{ File: HIToolbox/HIShape.h Contains: Generic Abstract Shape API Version: HIToolbox-219.4.81~2 Copyright: © 2001-2005 by Apple Computer, Inc., all rights reserved. Bugs?: For bug reports, consult the following page on the World Wide Web: ...
unit TrackingHistoryRequestUnit; interface uses REST.Json.Types, HttpQueryMemberAttributeUnit, JSONNullableAttributeUnit, GenericParametersUnit, NullableBasicTypesUnit; type TTrackingHistoryRequest = class(TGenericParameters) private [HttpQueryMember('route_id')] FRouteId: String; [HttpQueryMemb...
unit toki_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} m68000,main_engine,controls_engine,gfx_engine,seibu_sound,rom_engine, pal_engine,sound_engine,misc_functions; function iniciar_toki:boolean; implementation const toki_rom:array[0..3] of tipo_roms=( (n:'l10_6.bin';l:$20000;p:0;crc...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All...
unit aeGeometry; interface uses aeSceneNode, types, aeMesh, System.Generics.Collections, aeMaterial, aeMaths, aeOBB, aeConst, aeBoundingVolume, aetypes, aeLoggingManager; type TaeGeometry = class(TaeSceneNode) private _meshes: TList<TaeMesh>; _material: TaeMaterial; _MID: int64; _boundingvolume...
unit Providers.Mascara.Telefone; interface uses Providers.Mascaras.Intf, System.MaskUtils, System.SysUtils; type TMascaraTelefone = class(TInterfacedObject, IMascaras) private procedure RemoveParenteses(var Value: string); public function ExecMask(Value: string): string; end; implementation { TMa...
{$MODE OBJFPC} program HashValue; uses Math; const InputFile = 'HASH.INP'; OutputFile = 'HASH.OUT'; maxM = 2000; maxN = 5000; maxR = 32; type TNumber = array[0..maxM - 1] of Integer; TNumberR = array[0..maxM - 1] of Extended; TIndex = array[1..maxN] of Integer; PIndex = ^TIndex; var a: array[1..max...
unit WinSockRDOConnection; interface uses SmartThreads, Classes, ComObj, Windows, {$IFDEF AutoServer} RDOClient_TLB, {$ENDIF} RDOInterfaces, SocketComp, SyncObjs, RDOQueries; type TWinSockRDOConnection = {$IFDEF AutoServer} class(TAutoObject, IRDOConnec...
program Sort4; type top_ptr=^top; {тип "указатель на вершину дерева"} top=record {тип вершины дерева} value:integer; {целое число} left, right:top_ptr; {указатели на левое и правое поддеревья} end; var next_number:integer; r,pass:top_ptr; {корень бинарного дерева} {процедура добавления вершины к дере...
PROGRAM Pseudo(INPUT, OUTPUT); { Programm writes letters in pseudographics } CONST Rows = 5; Columns = 5; TYPE SignsPlace = SET OF 1 .. 25; PROCEDURE WritePseudo(VAR PseudoLetter: SignsPlace); VAR PositionInRow: INTEGER; BEGIN {WritePseudo} FOR PositionInRow := 1 TO (Rows * Columns) DO BEGIN ...
unit DW.Androidapi.JNI.Timer; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platform Library ...
unit aeColor; interface uses types, classes, graphics; type TaeColorCode = array [0 .. 2] of byte; type TaeColor = class public constructor Create(r, g, b: byte); overload; constructor Create; overload; procedure setColor(r, g, b: byte); overload; procedure setColor(c: TColor); overload; p...
unit glr_filesystem; {$i defines.inc} interface uses glr_utils; { FileSystem } const PACK_FILE_MAGIC: Word = $0F86; PACK_FILE_MAGIC_LZO: Word = $0F87; PACK_FILE_EXT = '.glrpack'; type NameString = String[255]; TglrPackFileResource = record FileName: NameString; Stride, CompressedSize, Origina...
unit pgDataProvider; // Модуль: "w:\common\components\rtl\Garant\PG\pgDataProvider.pas" // Стереотип: "SimpleClass" // Элемент модели: "TpgDataProvider" MUID: (55D6DA9E00BF) {$Include w:\common\components\rtl\Garant\PG\pgDefine.inc} interface {$If Defined(UsePostgres)} uses l3IntfUses , l3ProtoObject , daInterfa...
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: Arno Garrels <arno.garrels@gmx.de> Description: A few header translations from MS mlang.h. Requires Internet Explorer 5 or better, all functions fail with HRESULT E_NOTIMPL if the library isn't lo...
namespace Sugar.Test; interface uses Sugar, Sugar.Data.JSON, RemObjects.Elements.EUnit; type JsonArrayTest = public class (Test) private Obj: JsonArray; public method Setup; override; method &Add; method AddValue; method AddValueFailsWithNil; method Insert; method InsertFail...
unit nsPictureScaleMap; {* реализация мапы "строка"-"процент %" со спец значением "Во все окно"} {$Include nsDefine.inc } interface uses Classes, l3Interfaces, l3BaseWithID, l3ValueMap, l3Types, l3VCLStrings, vcmExternalInterfaces, vcmInterfaces, L10nInterfaces, nsStringValueMap ; type Tns...
unit Police; interface uses PublicFacility, Surfaces, BackupInterfaces; const modPoliceStrength = 1; type TPoliceBlock = class( TPublicFacility ) public destructor Destroy; override; protected procedure AutoConnect; override; private fCri...
{ *************************************************************************** } { } { This file is part of the XPde project } { } ...
unit SDFrameStockInstant; interface uses Windows, Messages, Classes, Forms, SysUtils, BaseFrame, define_dealitem, StockInstantData_Get_Sina, Controls, VirtualTrees; type PfmeStockInstantData = ^TfmeStockInstantData; TfmeStockInstantData = record OnGetDealItem: TOnDealItemFunc; StockQuoteInstants:...
program FeldSort (input, output); { sortiert ein einzulesendes Feld von integer-Zahlen } const FELDGROESSE = 5; type tIndex = 1..FELDGROESSE; tFeld = array [tIndex] of integer; var EingabeFeld : tFeld; MinPos, i : tIndex; Tausch: integer; function FeldMinimumPos (Feld : t...
unit Control.ControleAWB; interface uses FireDAC.Comp.Client, Common.ENum, Control.Sistema, System.Classes, Model.ControleAWB; type TControleAWBControl = class private FControleAWB: TControleAWB; public constructor Create; destructor Destroy; override; function Gravar: Boolean; function Loc...
{$include lem_directives.inc} unit LemStrings; interface uses LemCore; // version 0.8.0.0 added optional overriding with LVL files // version 0.8.0.1 added fixes to LemGame.pas: // 1) fix incorrect entrance order for 3 entrances, non-original DOS // 2) adds support for replaying the steel-diggin...
Unit TERRA_ClipRect; {$I terra.inc} Interface Uses TERRA_Vector2D, TERRA_Vector3D, TERRA_Matrix3x3; Type ClipRectStyle = ( clipNothing = 0, clipSomething = 1, clipEverything = 2 ); ClipRect = Object Protected _Style:ClipRectStyle; _X, _Y:Single; _Width, _Hei...
unit SingleDriverRoundTripGenericUnit; interface uses SysUtils, Route4MeExamplesUnit, BaseExampleUnit, NullableBasicTypesUnit; type TSingleDriverRoundTripGeneric = class(TBaseExample) public function Execute: NullableString; end; implementation uses IOptimizationParametersProviderUnit, OptimizationPara...
unit FPLIL; {$MODE OBJFPC}{$H+} // Enable recursion limit (similar to C LIL, but uses constant value below) { $DEFINE LIL_ENABLE_RECLIMIT} interface uses Classes, SysUtils; const LIL_VERSION_STRING = '0.1'; type TLILValue = class; TLILVariable = class; TLILEnvironment = class; TLILFunction = class...
unit d03.mocking.DelphiMocks; interface uses SysUtils, Rtti, DUnitX.TestFramework, Delphi.Mocks, d03.mocking.Driver, d03.mocking.Car, d03.mocking.AirCondition, d03.mocking.ACmode; type [TestFixture] TDriverTests_DelphiMock = class public [Test] procedure cannot_drive_a_running_car; [T...
unit RemoteProcessClient; interface uses SysUtils, SimpleSocket, TypeControl, FacilityControl, FacilityTypeControl, GameControl, MoveControl, PlayerContextControl, PlayerControl, TerrainTypeControl, UnitControl, VehicleControl, VehicleTypeControl, VehicleUpdateControl, WeatherTypeControl, WorldControl; ...
{******************************************************************************} { } { Library: Fundamentals 5.00 } { File name: flcDateTimeZone.pas ...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
unit TTSCITMTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSCITMRecord = record PLenderNum: String[4]; PCollCode: String[8]; PTrackCode: String[8]; PModCount: Integer; PCritical: Boolean; PCIFDate: String[8]; End; TTTSCITMBuf...
{*********************************************************************************************************************** * * TERRA Game Engine * ========================================== * * Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com) * ***************************************************...
unit ChampionUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ChampionsLogic; type TChampionForm = class(TForm) LolLogo: TImage; ChampionImage: TImage; InputField: TEdit; SearchButton: TButton; ClearButton: TButton;...
{$include lem_directives.inc} unit FMain; {------------------------------------------------------------------------------- This is the main form which does almost nothing. It's black and fullscreen to prevent seeing the desktop when changing forms. ----------------------------------------------------------...
unit Search_ScalingSupport_Controls; // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Search_ScalingSupport_Controls.pas" // Стереотип: "VCMControls" // Элемент модели: "ScalingSupport" MUID: (5278E45101D3) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface {$If NOT Defined(Admin)} use...
{ Subroutine SST_W_C_CONT_DEF * * This routine is called when a continuation line has just been created * within a DEFINE statement. When installed, this routine is called by * using SST_W.LINE_NEW_CONT^. * * DEFINE statements are continued by writing "\" to the end of the * line being continued. } module ...
// AKTools. akSysСover unit. // Модуль, содержащий обертки системных функций. //============================================================================= unit akSysCover; interface uses FileUtil, Windows, Classes{$IFNDEF NOFORMS}, forms, graphics, controls{$ENDIF}, Sysutils; resourcestring exUnable...
unit uFrmMQTTConfig; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls,IniFiles,MQTT,UFrmMQTTClient, Vcl.ComCtrls; type TFrmMQTTConfig = class(TForm) pnl2: TPanel;...
unit ScriptClasses_R; { Inno Setup Copyright (C) 1997-2008 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Script support classes (run time) $Id: ScriptClasses_R.pas,v 1.61 2012/02/05 18:59:23 mlaan Exp $ } interface {$I VERSION.INC} uses uPSRuntime; ...
unit umain; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, {$if defined(Darwin) or defined(Linux)} cthreads, {$endif} SynEdit, Utils.Logger, Utils.UDP, blcksock; type { TMainFrm } TMainFrm = class(TForm) Button1: TButton; edIP: T...
unit FlicPlayback; // Copyright (c) 1996 Jorge Romero Gomez, Merchise. interface uses GDI, Flics, Windows; // For extension purposes: type TChunkPlayerProc = function( Chunk : pointer; const FliSize : TPoint; Dest : pointer; DestWidth : integer ) : pointer; // Play...
unit WpcScriptExecutor; {$mode objfpc}{$H+} {$GOTO ON} interface uses Classes, SysUtils, WpcScriptCommons, WpcStatements, WpcScript, WpcExceptions, WallpaperSetter; type { TWpcScriptExecutor } TWpcScriptExecutor = class(TObject) private FScript : TWpcScript; FWallpaperSe...
unit evDropCombo; // Модуль: "w:\common\components\gui\Garant\Everest\qf\evDropCombo.pas" // Стереотип: "SimpleClass" // Элемент модели: "TevDropCombo" MUID: (48D399A20288) {$Include w:\common\components\gui\Garant\Everest\evDefine.inc} interface uses l3IntfUses , evDropControl , evQueryCardInt , evQueryCardDro...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit fpcorm_dbcore_utils; {< This unit contains helper/utility functions, for the fpcORM database object super classes. } {$mode objfpc}{$H+} interface uses Classes, SysUtils; { Prepares a data string for use, in a SQL statement. Also secures against SQL injection. @param(aString is any source string) @retur...
{ - | | --- | | ----- | | ------- | | --------- | | ----------- | | ------------- | | ======================================================= The objective is to move the 8 disks to the rightmost needle using the middle one as temporary stage, but...
unit GMServerRDOMger; interface uses GMServer, WinSockRDOConnectionsServer, RDOObjectProxy, RDOServer, RDOInterfaces, GMKernel; type TGMServerRDOMger = class public procedure SetupRDO( RDOPort : integer ); procedure DoneRDO; function GetIntServerConnection( Cl...
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: François PIETTE Description: Delphi encapsulation for LIBEAY32.DLL (OpenSSL) This is only the subset needed by ICS. Creation: Jan 12, 2003 Version: 1.17 EMail: francois.piette@overbyte.be h...
(* JCore WebServices, Public Interfaces Copyright (C) 2015 Joao Morais See the file LICENSE.txt, included in this distribution, for details about the copyright. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ...
unit DAO.Departamentos; interface uses DAO.Base, Model.Departamentos, Generics.Collections, System.Classes; type TDepartamentosDAO = class(TDAO) public function Insert(aDepartamentos: Model.Departamentos.TDepartamentos): Boolean; function Update(aDepartamentos: Model.Departamentos.TDepartamento...
unit FIFOUtils; interface uses Windows, FIFOIntf; function CreateFIFO : IFIFO; implementation uses FIFO; type TFIFOAdapter = class(TInterfacedObject, IFIFO) public constructor Create; destructor Destroy; override; private // IFIFO functi...
unit FeedbackFormUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CommUnit, StdCtrls, ComCtrls; type TFeedbackForm = class(TForm, IFeedback) ProgressBar1: TProgressBar; Memo1: TMemo; private { Private-Deklarationen } proced...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
program Weihnachtsbaum (input,output); { Stellt nach Eingabe der Höhe und des Zeichens einen Weihnachtsbaum dar } { Unterste Reihe des Baums ist (Hoehe*2)-1 } const LEER = ' '; var i, j, k, Hoehe : integer; Zeichen : char; begin write ('Bitte geben Sie die Höhe des Weihnachtsbaum...
unit nscInterfaces; // Библиотека : Интерфейсы компонентов проекта "Немезис"; } // Автор : Морозов М.А; } // Начат : 16.02.2005 14.44; } // Модуль : nscInterfaces; ...
unit ProgressIndicatorKeywordsPack; {* Набор слов словаря для доступа к экземплярам контролов формы ProgressIndicator } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Common\ProgressIndicatorKeywordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "ProgressIndicatorKeywordsPack" MUID: (F...
unit uAbstractProtoBufClasses; interface uses SysUtils, Classes, {$IFDEF FPC} fgl, {$ELSE} System.Generics.Collections, {$ENDIF} pbInput, pbOutput; type TFieldState = set of (fsRequired, fsHasValue); TAbstractProtoBufClass = class(TObject) strict private type {$IFD...
program ZahlenListeEinAus (input,output); {Liest eine Folge natürlicher Zahlen in eine lineare Liste ein und gibt diese anschließend wieder in der gleichen Reihenfolge aus} type tRefListe = ^tListe; tListe = record info : integer; next : tRefListe end; v...
{******************************************************************************} { } { Library: Fundamentals TLS } { File name: flcTLSConsts.pas ...
program Ch2; {$mode objfpc} uses SysUtils,GVector; type TVec = specialize TVector<Integer>; TFunc = function(N:Integer):Boolean; var I:Integer; Vec:TVec; function ReverseNum(N:Integer):Integer; begin Result := 0; while(N <> 0) do begin Result := (Result * 10) + (N mod 10); N := N div...
{***************************************************************************} { } { 功能:Scintilla类封装 } { 名称:ScintillaClass.pas } { 版本:1...
const cGain_ExpFactor = 0.840896415; cGain_ScaledOne_4_12 = $1000; cGain_ScaledOne_0_8 = $FF; procedure UpdateFromTrackbar_4_12(aLink : ISignalLink; aTrackbar : TInstrumentTrackBar; aLabel : TInstrumentLabel); var Gain : Double; Scaled : Cardinal; DB : Double; begin Gain := P...
unit ATxIconsProc; interface uses Windows, Controls; procedure FSaveIcons(IL: TImageList; const FN: string); procedure FLoadIcons(IL: TImageList; const FN: string); implementation uses SysUtils, Classes, Graphics, ATxParamStr; const clTool: TColor = $00FFFFEF; //Back color for saving //--------------------...
Program cjpeg; { Original: cjpeg.c ; Copyright (C) 1991-1996, Thomas G. Lane. } { This file contains a command-line user interface for the JPEG compressor. } { Two different command line styles are permitted, depending on the compile-time switch TWO_FILE_COMMANDLINE: cjpeg [options] inputfile outputfile ...
unit Unit1; {$mode delphi}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Variants, DateUtils; type { an interface definition } IRecyclable = Interface(IInterface) { a single function supporting the property } function GetIsRecyclable: Boolean; { a single pr...
program TESTSET2 ( OUTPUT ) ; (********) (*$A+ *) (********) type ERRTYPE = 1 .. 999 ; ERRSET = set of ERRTYPE ; var X : ERRTYPE ; S : ERRSET ; procedure WRITESET ( S : ERRSET ) ; var I : ERRTYPE ; begin (* WRITESET *) WRITE ( 'writeset:' ) ; for I := 1 to 999 do if I in S t...
unit NLDTExp; interface procedure Register; implementation uses ToolsAPI, ToolsAPITools, DesignIntf, Windows, CommCtrl, SysUtils, Classes, Controls, Forms, Menus, FTranslate, MImages; type TEventHandler = class(TObject) public procedure TranslateFormClick(Send...
unit InfoXDRACCTTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoXDRACCTRecord = record PAcctID: String[2]; PModCount: String[1]; PName: String[30]; PNextDraftNo: String[6]; End; TInfoXDRACCTBuffer = class(TDataBuf) protected f...
unit InfoNOTESTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoNOTESRecord = record PNoteNumber: SmallInt; End; TInfoNOTESBuffer = class(TDataBuf) protected function PtrIndex(Index:integer):Pointer;override; public Data: TInfoNOTESRec...
unit eInterestSimulator.Model.Interfaces.Calculadora; interface uses System.Generics.Collections, eInterestSimulator.Model.Interfaces, eInterestSimulator.Controller.Observer.Interfaces; type iCalculadora = interface ['{44213C01-9F0A-47A5-9B39-CC53BAE1123A}'] function Resultados: Tlist<iResultado>; ...
{$REGION 'Copyright (C) CMC Development Team'} { ************************************************************************** Copyright (C) 2015 CMC Development Team CMC is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software ...
unit InfoCLMNOTSTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoCLMNOTSRecord = record PClaimNumber: String[6]; PModCount: Integer; End; TInfoCLMNOTSClass2 = class public PClaimNumber: String[6]; PModCount: Integer; End; //...
unit fColOptions; interface uses Dialogs, ImgList, ssSpeedButton, ssPanel, dxTL6, dxDBCtrl6, dxDBGrid6, dxCntner6, dxDBTLCl6, dxGrClms6, cxControls, cxContainer, cxEdit, cxCheckBox, ssDBGrid, ssMemDS, ssBevel, ssBaseSkinForm, ssGradientPanel, xButton, ActnList, xLngManager, StdCtrls, ExtCtrls,...
Program VAR_PARAM_EXAMPLE; Procedure Square(Index : Integer; Var Result : Integer); Begin Result := Index * Index; End; Var Res : Integer; Begin Writeln('The square of 5 is: '); Square(5, Res); Writeln(Res); End.
unit evOutTextParaEliminator; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "Everest" // Модуль: "w:/common/components/gui/Garant/Everest/evOutTextParaEliminator.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML mod...
unit Controller.ListagemMovimentacoesJornal; interface uses System.SysUtils, FireDAC.Comp.Client, Common.ENum, Controller.Sistema, Model.ListagemMovimentacoesJornal, Controller.PlanilhaMovimentacoesJornal, Generics.Collections, System.Classes, Common.Utils, System.DateUtils, Model.PlanilhaMovimentacaoJornal; typ...
unit INFOCLAIMMASTERCODETable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TINFOCLAIMMASTERCODERecord = record PRecID: Word; PComponentNumber: Word; PCodeNumber: Word; PCode: String[6]; PDescription: String[30]; End; TINFOCLAIMMASTERCODE...
{ Copyright (C) Alexey Torgashin, uvviewsoft.com License: MPL 2.0 or LGPL } unit ATSynEdit_Adapter_EControl; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Graphics, ExtCtrls, ComCtrls, Forms, Dialogs, ATSynEdit, ATSynEdit_CanvasProc, ATSynEdit_Adapters, ATSynEdit_Carets, ATStringProc, ATStrin...
var i: integer; max, min: real; x: array[1..5] of real := (1, 6, 9, 2, 4); begin max := x[1]; min := x[1]; for i := 1 to 5 do begin if max < x[i] then max := x[i]; if min > x[i] then min := x[i]; end; writeln('Max = ', Max); writeln('Min = ', Min)...
unit FFSLOGTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TFFSLOGRecord = record PLogID: Integer; PDateStamp: String[20]; PUserID: String[10]; PRecordType: String[10]; PLogMessage: String[100]; End; TFFSLOGBuffer = class(TDataBuf) ...
{ *************************************************************************** } { } { } { Copyright (C) Amarildo Lacerda } { } { https://github.com/amarildolacerda } { } { } { *************************************************************************** } { } { Licensed under the Apache License, Version 2.0 (the "License...
unit chessdrawer; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Controls, Graphics, LCLType, IntfGraphics, fpimage, Math, chessgame, chessconfig; type { dsIdle - Accepts user input dsDragging - During an user input dsRunningAnimation - Does not accept user input because it is running an...
unit RDOVariantUtils; interface const varPointer = $201; type TMarshalPtr = packed record ptr : pointer; size : integer; end; procedure MarshalReturnPtr(buffer : pointer; size : integer; var v : variant); function MarshalPtr(buffer : pointer; size : integer) : variant; ...
unit UAStarSearch; //Fully annotated interface uses UListHandlerNodes, UListHandler, UMazeHandler, UInterface, SysUtils; type TState = record WasOutside, Open: boolean; Position: TCoord; end; TNodeStates = Array of TState; function FindSolution(Maze: TMazeHandler): TRoute; procedure MoveNode(x, y: ...
unit Unit32; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TMensagemEvent = procedure(const msg:string) of object; TForm32 = class(TForm) Button1: TButton; Memo1: TMemo; p...
{====================================================} { } { EldoS Visual Components } { } { Copyright (c) 1998 Alex Shovkoplyas } { Copyright (c) 1998-2003, EldoS Corporatio...
unit tdDataExport; interface uses System.Classes, System.SysUtils, System.SyncObjs, Winapi.Windows, System.Win.ComObj, Winapi.ActiveX, System.IOUtils, System.Variants, Data.DB, Data.Win.ADODB, ActiveDs_TLB, Vcl.Imaging.jpeg, ADC.Types, ADC.AD, ADC.LDAP, ADC.ADObject, System.TypInfo, System.AnsiStrings, ADC.AD...
unit uConsulta; interface uses Vcl.Forms, System.SysUtils, FireDAC.Comp.Client; function ultimoCodigo(conexao: TFDConnection; tabela, campo: string; condicao: string = ''): string; function buscarDado(conexao: TFDConnection; tabela: string; campoChave: string; campoDesejado: string; value: string; condicao: stri...
unit uCustomerInvoice; interface uses uModel, uPenjualan, System.Generics.Collections, uAR, System.SysUtils, uSupplier; type {$TYPEINFO ON} TCustomerInvoicePenjualan = class; TCustomerInvoicePenjualanItem = class; TCustomerInvoice = class(TAppObject) {$TYPEINFO OFF} private FAR: TAR; FCabang: T...
unit ActivityParametersUnit; interface uses HttpQueryMemberAttributeUnit, JSONNullableAttributeUnit, NullableBasicTypesUnit, GenericParametersUnit; type TActivityParameters = class(TGenericParameters) private [HttpQueryMember('route_id')] [Nullable] FRouteId: NullableString; [HttpQueryMember...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
{ Wolverine Squish Message base extensions } unit WSquish; interface uses WTypes; implementation const sqFrameId = $AFAE4453; {squish frame types} sqftNormal = 0; sqftFree = 1; sqftLZSS = 2; sqftLocked = 3; {frame is being used by another task} sqmaPrivate = 1; sqmaCrash = 2; sqmaRea...
{*******************************************************} { } { Borland Delphi Visual Component Library } { Remote Data Module support } { } { Copyright (c) 1997,99...
unit NurseStationResourceU; // EMS Resource Module interface uses System.SysUtils, System.Classes, System.JSON, EMS.Services, EMS.ResourceAPI, EMS.ResourceTypes, NurseStationStorageU; type [ResourceName('NurseStation')] TNurseStationResource = class(TDataModule) private FNurseStationStor...
unit main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, clFTP, clFTPUtils, clUtils, clTcpClient, ExtCtrls, clTcpClientTls, clTcpCommandClient, DemoBaseFormUnit; type TMainForm = class(TclDemoBaseForm) ProgressBar: TProgressBar; ...
{*********************************************************} {* VPSQLDIALECT.PAS 1.03 *} {*********************************************************} {* ***** BEGIN LICENSE BLOCK ***** *} {* Version: MPL 1.1 ...
unit SDFrameDataRepair; interface uses Windows, Messages, Forms, BaseFrame, Classes, Controls, Graphics, Sysutils, StdCtrls, ExtCtrls, VirtualTrees, VirtualTree_Editor, define_price, define_dealitem, define_data_sina, define_datasrc, define_stock_quotes, define_dealstore_file, DealItemsTreeView, StockD...
unit Control.TiposVerbasExpressas; interface uses System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Common.ENum, Control.Sistema, Model.TiposVerbasExpressas; type TTiposVerbasExpressasControl = class private FTipos : TTiposVerbasExpressas; public constructor Create; destructor Destroy; override...
unit uGeradorSQL; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, uGeraSQL; type TFGeradorSQL = class(TForm) pnlTop: TPanel; gbxCondicao: TGroupBox; gbxTabela: TGroupBox...
unit DibDraw; // Copyright (c) 1996 Jorge Romero Gomez, Merchise. interface uses Windows, Dibs; // GDI routines (Dib to Screen) // ============================================================================================= function DibPaint( dc : HDC; x, y : integer; DibHeader : PDib; DibPixels : poi...