text
stringlengths
14
6.51M
unit UBackupFirebird; interface uses Windows, SysUtils {$IFDEF VER210}, uADStanIntf, uADPhysManager, uADPhysIB {$ENDIF} {$IFDEF VER270}, OutrasUses {$ENDIF} ; type {$IFDEF VER210} TComponenteBackup = class(TADIBBackup); TComponenteLink = class(TADPhysIBDriverLink); {$ENDIF} {$IFDEF VER270} TComponenteB...
unit Atm.Tests.Stubs.Communicator; interface uses Atm.Services.Communicator; function CreateCommunicatorStub: IAtmCommunicator; implementation type TAtmCommunicatorStub = class(TInterfacedObject, IAtmCommunicator) public procedure SendMessage(const AText: string); end; procedure TAt...
unit frmEvents; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.SyncObjs, Vcl.StdCtrls, Spring.Collections, Vcl.ExtCtrls, uEventThread; type TForm61 = class(TForm) Button1: TButton; Timer1: TTim...
unit ufrmproyecto; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, JvExComCtrls, JvComCtrls, JvStatusBar, Vcl.ImgList, Vcl.ActnList, Vcl.PlatformDefaultStyleActnCtrls, Vcl.ActnMan, Vc...
unit DevMax.View.Types; interface uses FMX.Types, FMX.Controls, System.Generics.Collections; type TPageChangeTransition = (None, Slide{, Popup}); TPageChangeTransitionDirection = (Normal, Reversed); TViewItemClass = class of TControl; TViewItemDataControl = record Name: string; Control: TControl;...
unit UMessageSendThread; interface uses Classes, Types, Dialogs, Windows, SysUtils; type TMsgRecipient=record // имя компьютера-получателя CompName :string; // статус отправки сообщения (0 - успешно доставлено) Status :integer; end; TMsgRecipients=array of TMsgRecipient; PNe...
unit U_ViznerCypher; interface uses U_Util; function ViznerCypher(text: string; keyWord: string): string; function ViznerDeCypher(text: string; keyWord: string): string; implementation function shiftKeyWord(keyword: string): string; var i: integer; begin for i := 1 to length(keyword) do begin keyword[...
unit uTetris; interface uses Windows, Classes, ShellAPI, Graphics, ExtCtrls, uType, uGrid, uFiguraInterface; type TTetris = class private const BONUS_ROTATE = 1000; MSG_GAME_OVER = 'Game is over! Your points: %d'; private FActive : Boolean; FTime : Cardinal; ...
{ ID: a_zaky01 PROG: latin LANG: PASCAL } const fact:array[0..7] of int64 = (1,1,2,6,24,120,720,5040); type st = record row,col:array[1..7,1..7] of boolean; end; cal = record r,c,num:integer; end; var n,i:integer; ans:int64; stat:st; next:cal; label closefile; function latin(stat:st; ne...
unit EditValidator; interface uses System.SysUtils, System.Classes, Vcl.Controls, Vcl.StdCtrls, EditNumber, System.StrUtils; type TEditType = (etCNPJ, etCPF, etCEP, etTelefone, etTitulo); EInvalidCPF = class(Exception) constructor Create; end; EInvalidCNPJ = class(Exception) constr...
unit RRManagerEditAdditionalLayerInfoFrame; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CommonComplexCombo, ExtCtrls, RRManagerObjects, RRManagerBaseOBjects, ClientCommon, RRManagerBaseGUI; type TfrmAdditionalLayerInfo = class(TBaseFrame) // TfrmAdditi...
unit Pkg.Json.Lists; interface uses System.SysUtils, System.Generics.Defaults, System.Generics.Collections, Pkg.Json.JSONName; type TJsonNameList<T: TJsonName> = class abstract(TObjectList<T>) strict protected constructor Create(AOwnsObjects: Boolean); reintroduce; overload; public constructor Crea...
unit PasVideoTransferProcessor; interface uses PasRequestProcessor, IdCustomHTTPServer, System.SysUtils, System.Classes; type TVideoTransferProcessor = class(TRequestProcessor) protected function innerRequested(requestUri: string; requestAction: string) : Boolean; override; function onGet(reques...
{ Helpers functions for the X2Software XML Data Binding Last changed: $Date$ Revision: $Rev$ URL: $URL$ } unit XMLDataBindingUtils; interface uses Classes, SysUtils, XMLDoc, xmldom, XMLIntf; type EBase64Error = class(Exception); TXMLDateTimeForma...
unit UTransferJobScan; interface uses SyncObjs, Classes, SysUtils, Generics.Collections, UMyUtil, Windows, uDebug; type {$Region ' 扫描发送的 文件 ' } // 扫描 发送 Job 父类 TTransferJobScanHandle = class public ScanType : string; ScanPath : string; DesPcList : TStringList; public ScanSize : Int64; p...
unit JPP.Common; interface uses Winapi.Windows, System.SysUtils, System.Classes, Vcl.Controls, Vcl.Buttons, Vcl.Graphics, Vcl.Dialogs, System.UITypes, JPP.Types, JPP.Gradient, JPP.Graphics; type TJppFocusRectType = (frtSystem, frtCustom, frtNone); {$region ' --------- TJppTagExt ------------- '} TJppTagE...
unit RTF_EdytorTaksowki; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, JvUIB, JvUIBLib; type TFrmEdytorTaksowki = class(TForm) GbxDaneOgolne: TGroupBox; LblNazwa: TLabel; EdtNazwa: TEdit; LblNumerBoczny: TLabel; EdtNumerBocz...
unit DataProxy.Factory; interface uses // --- FireDAC - TFDQuery ------- FireDAC.Comp.Client, FireDAC.DApt, FireDAC.Stan.Param, FireDAC.Stan.Async, // ------------------------------ Data.DataProxy, System.Classes, DataProxy.Categories, DataProxy.Customers, DataProxy.Order, DataProxy.OrderDetai...
unit UUtilsForms; interface Uses Windows, Classes, Controls, Dialogs, Forms, StdCtrls, ExtCtrls, UUtils, USourceInfo; function MessageDlg(const Msg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; HelpCtx: Longint): Integer; function Question(strQuestion: string): boolean; function QuestionYNC(strQuest...
unit TextEditor.SpellCheck; interface uses Winapi.Windows, System.Classes, System.SysUtils, System.Types, TextEditor.Types; type TIncompatCharBehaviour = (icUseDefault, icBestFit, icError); TTextEditorSpellCheck = class(TComponent) private FCodePage: Word; FFilename: string; FHandle: Pointer; ...
unit TestTest1Unit; { 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, AdaptersUnit, System.Generic...
// NAME: TUMAKOV KIRILL ALEKSANDROVICH, 203 // ASGN: N3 unit Filters; interface uses Graphics, Gauges, Recognition; var Gauge: TGauge; procedure MedianFilter(var Bmp:TBitmap; const R:Integer); procedure ConvertToBinary(var Bmp:TBitmap); procedure BExpand(var Bmp:TBitmap; R:Integer); procedure BShrink(v...
unit ScreenCIEWrite; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Spin, ExtDlgs; type TFormWriteCIEFile = class(TForm) SpinEditCIESize: TSpinEdit; LabelPixelsPerSide: TLabel; BitBtnOK: TBitBtn; BitBtnCancel: TBitBtn; ...
unit Options; interface uses Classes, SysUtils, PxSettings, PxCommandLine; type TOptions = class (TPxCommandLineParser) private function GetHelp: Boolean; function GetQuiet: Boolean; function GetDTDFile: String; function GetUnitName: String; protected procedure CreateO...
{********************************************************} { CeosServer Main Form } { } { Copyright (c) 2013 JBS Soluções. } { } {************************...
{ 单元名称: uJxdDataStruct 单元作者: 江晓德(Terry) 邮 箱: jxd524@163.com 说 明: 数据结构操作 开始时间: 2009-02-09 修改时间: 2010-09-15 (最后修改) 注意事项: 非线程安全 主要类 : THashArrayBasic, THashArray THashArrayBasic: 分配内存, 包含 HashTable和HashNodeMem 子类共同需要的方法 -- THashArray: 处理数据,ID是不可重复的 -- THashArrayEx: ID是可重复的 THashArray key1 --> item1 ...
unit REPMeasureCmd; interface uses REPViewCommand, REPWorldCanvas, PlanarMathTools, Windows, Classes, Controls, Graphics; type PGG_MeasurePoint = ^TGG_MeasurePoint; TGG_MeasurePoint = record Lat, Lon : Double; end; TMeasureDistanceCmd = class(TViewCmd) private Vertexes : array of TGG_MeasurePoint; ...
{$MODE delphi} {$r+} uses sysutils,character,math; const letters = 'abcdefghijklmnopqrstuvwxyz'; function decimalToN(input:integer; base:integer):string; var s:string=''; digit:integer; begin if input = 0 then exit('0'); while input > 0 do begin digit := input mod base; if digit > 9 then s := letters[d...
unit SQLConnection; interface uses SysUtils, IniFiles, Forms, Dialogs, ADODB, Windows; type // Класс овечает за подключение к базе MSSQL и подготовку хранимых процедур TSqlConnection = class public serverName: String; databaseName: String; public function SetConnection: TAdoConnection; ...
{ ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi Copyright (c) 2016, Isaque Pinheiro All rights reserved. GNU Lesser General Public License Versão 3, 29 de junho de 2007 Copyright (C) 2007 Fre...
unit UDoublePoint; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Math; type TDoublePoint = object private function GetAngle: Double; procedure SetAngle(AAngle: Double); public X, Y: Double; property Angle: Double read GetAngle write SetAngle; function Length: Double; function G...
unit winwcp_TLB; // ************************************************************************ // // WARNING // ------- // The types declared in this file were generated from data read from a // Type Library. If this type library is explicitly or indirectly (via // another type library referring to this type library) re...
Unit Graph; Interface type // Описание графа tInfo=Integer; pEdge = ^tEdge; tEdge = record Start: tInfo; //вершина Final: tInfo; //конец Took:boolean; //добавили или нет в подмножество ...
{* Tunnel components module Copyright (C) 1999 Gregor Ibic (gregor.ibic@intelicom-sp.si) All rights reserved. This package is an Tunnel implementation written by Gregor Ibic (gregor.ibic@intelicom-sp.si). This software is provided 'as-is', without any express or implied warranty. In no event wi...
unit uCefScriptDict; interface uses // System.SysUtils, System.Classes, System.Generics.Collections, System.Generics.Defaults, System.SyncObjs, // uCEFInterfaces, uCEFChromium, // uReLog3, uLoggerInterface, // uCefScriptBase, uCefUtilType; type TCefScriptClass = class of TCefScri...
{$R+} {$B+} program Kreisumfang(input, output); {berechnet den Kresiumfang bei gegebenem Radius} const PI = 3.141592654; {Konstante, unveränderb ar} var Radius, Umfang : real; {Variabeln vom Typ real, veränderbar} begin writeln ('Berechnu...
//ALTERED VERSION unit DSE_SearchFiles; interface Uses Classes, SysUtils, StrUtils; type SE_FileAttributeMode = (faYes, faNo, faBoth); SE_FileAttributes=class(TPersistent) private FArchive: SE_FileAttributeMode; FReadOnly: SE_FileAttributeMode; FHidden: SE_FileAttributeMode; FSystem: SE_FileAt...
unit Data.Entities.Customer; interface uses Aurelius.Mapping.Attributes; type [Entity] [Automapping] [Table('Customers')] TCustomer = class private FId: Integer; FName: string; FEmail: string; FPhone: string; FAddress: string; public property Id: Integer read ...
unit UFormAbout; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, GIFImg, siComp; type TfrmAbout = class(TForm) NbMain: TNotebook; plBackupCow: TPanel; plFolderTransfer: TPanel; CodingBest: TLabel; Label1: TLabel; lbE...
unit EcranCombat; interface uses GestionEcran, OptnAffichage, Variables; { Affichage de l'écran et appel des fonctions & procédures associées } procedure afficher; { Génère un nombre aléatoire de troupes ennemis en fonction de la taille indiquée } procedure genererEnnemis(taille : String); // 'petit' ou '...
unit native; {$mode objfpc}{$H+} {$COPERATORS ON} {.$INLINE ON} {$MODESWITCH ADVANCEDRECORDS} interface uses Classes, SysUtils, BZVectorMath, BZVectorMathEx; type {%region%----[ TNativeBZVector2i ]---------------------------------------------} TNativeBZVector2i = record { Return vector as string } proced...
unit Upload; interface type HCkUpload = Pointer; HCkTask = Pointer; HCkByteData = Pointer; HCkString = Pointer; function CkUpload_Create: HCkUpload; stdcall; procedure CkUpload_Dispose(handle: HCkUpload); stdcall; function CkUpload_getAbortCurrent(objHandle: HCkUpload): wordbool; stdcall; procedure CkUpload_putAb...
unit CatStrings; { Catarinka - String Operation functions Copyright (c) 2003-2017 Felipe Daragon License: 3-clause BSD See https://github.com/felipedaragon/catarinka/ for details Base64 encode and decode functions by Lukas Gebauer (BSD license, included below) MD5 function by Stijn Sanders (MIT license, i...
unit Desenha.Discos; interface uses Math, System.UITypes, Vcl.ExtCtrls, Vcl.Graphics; type TDesenjaDiscos = class strict private const ESCALA_TAMANHO_DISCO = 15; ESCALA_LARGURA_DISCO = 20; public type TDisco = record Cor: TColor; Tamanho: Integer; // é um seque...
program tp2_5; uses Crt, sysutils; const v_a = 9999; // Voy a analizar 2 sedes (nacimientos y defunciones), por un tema de escribir muchos archivos // pero esto puede exterderse a tantas sedes como archivos se tengan. const cant_sedes = 2; type str20 = string[20]; str40 = string[40]; nacimiento = rec...
unit Unit_SD_TD05_EX_UNIT_VERSION2; interface type TData = record cadeau : String; nom : String; prix : String; end; PItem = ^TItem; TItem = record data : TData; pPrec : PItem; pSuiv : PItem; end; TListe = record pDeb : PItem; ...
unit RRManagerEditMainFieldInfoFrame; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, RRManagerBaseObjects, FramesWizard, CommonComplexCombo, StdCtrls, RRmanagerObjects, RRManagerBaseGUI, RRmanagerCommon, ExtCtrls; type TfrmMainFieldInfo = class(TBaseFrame) // TfrmMa...
{ Routines that read the next command line token are return it as a * floating point number. All the routines are the same except for the * type of floating point number they return. * * Subroutine STRING_CMLINE_TOKEN_FPx (FP,STAT) * * Read the next command line token, convert it to a floating point number, ...
{$include kode.inc} unit syn_thetic_voice; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses kode_voice, //syn_thetic_env, //syn_thetic_lfo, syn_thetic_phase, //syn_thetic_phaseshaper, syn_thetic...
{$MODE OBJFPC} { -*- delphi -*- } {$INCLUDE settings.inc} unit resutils; interface type TResourceCallback = procedure (const Data: Pointer; const Size: Cardinal); TResourceCallbackNested = procedure (const Data: Pointer; const Size: Cardinal) is nested; TResourceCallbackMethod = procedure (const Data: Pointe...
unit DynArray; //////////////////////////////////////////////////////////////////////////////// // // Author: Jaap Baak // https://github.com/transportmodelling/Utils // // Implementation of an array with dynamic rank // //////////////////////////////////////////////////////////////////////////////// ////////////////...
unit Console; interface uses SysUtils, Windows; procedure StringFromVarRec(const Data: array of const; var S: String); overload; function StringFromVarRec(const Data: array of const): String; overload; procedure InitConsoleModule; procedure SetBackgroundColor; procedure DeleteLastLine; procedure ClearConsole; func...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [PATRIM_GRUPO_BEM] The MIT License ...
{******************************************************************************* Title: T2Ti ERP 3.0 Description: Model relacionado à tabela [PDV_TIPO_PLANO] The MIT License Copyright: Copyright (C) 2021 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and assoc...
unit PJBank.Boleto.Request; interface type TBoletoRequest = class public vencimento: string; valor: currency; juros: currency; multa: currency; desconto: currency; nome_cliente: string; cpf_cliente: string; endereco_cliente: string; numero_cliente: string; complemento_clien...
{EXPORT TO EXCEL} {*****************************************************} { } { TOLEExcel 1.0 for Delphi 2 by Duong Luu } { E-mail: dluu@wt.net } { http://web.wt.net/~dluu/index.html } { ...
unit vagrantcli; { < Unit with classes to wrap the vagrant-cli tool in FreePascal } {$mode objfpc}{$H+} interface uses Classes, SysUtils, Process; type { record to wrap the output which is produced by vagrant when the --machine-readable option was set } TVagrantReadableOutput = record out_timestamp :...
unit Hashtable; interface type HCkStringTable = Pointer; HCkStringBuilder = Pointer; HCkHashtable = Pointer; HCkString = Pointer; function CkHashtable_Create: HCkHashtable; stdcall; procedure CkHashtable_Dispose(handle: HCkHashtable); stdcall; function CkHashtable_getLastMethodSuccess(objHandle: HCkHashtable): wor...
{*******************************************************} { } { NTS Aero UI Library } { Created by GooD-NTS ( good.nts@gmail.com ) } { http://ntscorp.ru/ Copyright(c) 2011 } { License: Mozilla Pu...
{*******************************************************} { } { Copyright (c) 2001-2013 by Alex A. Lagodny } { } {*******************************************************} unit aOPCImage2In; interface...
{ALGORITHME Jeu_Allumettes //BUT: Jeu où un utilisateur et un ordinateur (aléatoire) s'affrontent. Ils doivent tour à tour retirer 1 à 3 allumettes sur un total de 21, //celui qui retire la dernière perd. //ENTREE: 21 allumettes //SORTIE: gagnant du jeu VAR allum, choixjoueur, ordirandom : ENTIER gagnantjoueur : BOOL ...
unit ModelStorage; {$mode objfpc}{$H+} interface uses Classes, SysUtils, ModelDataModel, sqldb, DB, sqlite3conn, vkcmconfig, vkdao, syncobjs, fgl; type { TLongPollServer } TLongPollServer = class private FCommunityId: string; FId: string; FTS: string; FKey: string; FServer: string; ...
{******************************************************************************* 作者: dmzn@163.com 2011-01-23 描述: 生成采购计划 *******************************************************************************} unit UFormBuyPlan; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, ...
unit uAluno; interface uses sysUtils; type TAluno = class private FID : integer; FIdResponsavel : integer; FIdEndereco : integer; FNome : String; FCpf : string; FRG : string; FDataNasc : TDateTime; FContato : String; FEmail : string; FContatoCom : string; F...
unit SketchView; interface uses Windows, Graphics, Dialogs, SysUtils, Classes, // для чтения размеров заготовки InputData; type // Класс овечает за формирование внутреннего и внешнего контуров эскизов // в виде массива точек и за вывод их на экран TSketchView = class private flagPod...
unit RRManagerCreateReportForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, FramesWizard, RRManagerCreateReportFrame, RRManagerReport, RRManagerBaseGUI, RRManagerArrangeReportColumnsFrame, RRManagerBaseObjects, RRManagerGroupReportFrame; type TQuerySaveAction = ...
unit uPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TfrmSampleUse = class(TForm) memSample: TMemo; btnJsonToObject: TButton; lbl1: TLabel; lblid: TLabel; lbl...
{ ID: ndchiph1 PROG: castle LANG: PASCAL } uses math; const LM = 50; var fi,fo: text; a: array[1..LM,1..LM] of longint; b: array[0..LM+1,0..LM+1] of longint; dx: array[0..3] of longint = (0,-1,0,1); dy: array[0..3] of longint = (-1,0,1,0); c: array[0..LM*LM] of longint; cnt1,cnt2: longint; ...
{$include kode.inc} unit kode_markov; { Dynamic Markov Compression (DMC) http://en.wikipedia.org/wiki/Dynamic_Markov_Compression http://plg1.cs.uwaterloo.ca/~ftp/dmc/ [link is dead?] http://webhome.cs.uvic.ca/~nigelh/Publications/DMC.pdf i think there is a bug with this.. don't remember what it was, but it ...
unit EventPacket; interface Type TClearPacket = class(TObject) end; TEventPacket = class(TObject) private FData: Pointer; FMsg: String; function GetData: Pointer; procedure SetData(const Value: Pointer); public constructor Create(AMsg:String; AData:Pointer); reintroduce;...
{ this file is part of Ares Aresgalaxy ( http://aresgalaxy.sourceforge.net ) This program 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 Foundation; either version 2 of the License, or (at your option) any later v...
unit controller.image.dto; {$mode delphi} interface uses Classes, SysUtils, controller.auth.dto; type { TDrawCommand } TDrawCommand = record public const PROP_TOP_LEFT_X = 'topLX'; PROP_TOP_RIGHT_X = 'topRX'; PROP_BOTTOM_LEFT_X = 'botLX'; PROP_BOTTOM_RIGHT_X = 'botRX'; ...
unit SChannel; interface uses Windows, WinCrypt; const UNISP_NAME ='Microsoft Unified Security Protocol Provider'; SSL2SP_NAME ='Microsoft SSL 2.0'; SSL3SP_NAME ='Microsoft SSL 3.0'; TLS1SP_NAME ='Microsoft TLS 1.0'; PCT1SP_NAME ='Microsoft PCT 1.0'; SCHANNEL_NAME ='Schannel'...
unit DW.UIHelper.iOS; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library } ...
{ Subroutine STRING_F_INT24H (S, I) * * Convert 24 bit integer I to a 6 character HEX string in S. Only * the low 24 bits of I are used. } module string_f_int24h; define string_f_int24h; %include 'string2.ins.pas'; procedure string_f_int24h ( {make HEX string from 24 bit integer} in out s: univ st...
(*======================================================================* | cmpCWRichEdit | | | | Rich edit control with support for version 2 & 3. Supports custom | | character formatt...
function Includes5(N:integer) :Boolean; begin n:=abs(n); if n = 0 then Includes5:= false else if n mod 10 = 5 then Includes5:= true else Includes5:= Includes5(n div 10); end;
unit Excel; interface uses Windows, Activex; // originally from Excel97.pas // XlFileFormat constants type XlFileFormat = TOleEnum; const xlAddIn = $00000012; xlCSV = $00000006; xlCSVMac = $00000016; xlCSVMSDOS = $00000018; xlCSVWindows = $00000017; xlDBF2 = $00000007; xlDBF3 = $00000008; xlDBF4 = ...
unit ModUserMgmt; interface uses PObjConst, KernelIntf, XVariant, PClasses, SysUtils, Classes, PClassIntf; type (* PCLASS: BRANCHLOCATION *) TP_BranchLocation = class(TPObjImpl, IP_BranchLocation, IPObjImpl, IUnknown) protected function GetPClassImpl: IPClassImpl; override; procedure ...
unit Login; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Imaging.pngimage, Vcl.StdCtrls, Vcl.Buttons; type TFrmLogin = class(TForm) Panel1: TPanel; imgFundo: TImage; pnlLog...
// Copyright 2018 by John Kouraklis and Contributors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 // // Unle...
unit PhisicsControllerUnit; interface uses SysUtils, Dialogs,System.Generics.Collections, stdCtrls, Test1LoggingUnit, TestsUnit, MenuLoggingUnit, MainUnit, ControllersUnit; type PhisicsController = class(TInterfacedObject, Controllers) private /// <link>aggregation</link> Test: Tests; /// <link>ag...
unit uNewImpIntfUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TFrmNewImptUntfUnit = class(TForm) Label1: TLabel; edt_className: TEdit; Label2: TLabel; cb_Factory: TComboBox; GroupBox1: TGroupBox; chk_Int...
{Realizar un programa que analice las inversiones de las empresas más grandes del país. Para cada empresa se lee su código (un número entero), la cantidad de inversiones que tiene, y el monto dedicado a cada una de las inversiones. La lectura finaliza al ingresar la empresa con código 100, que debe procesarse. El progr...
unit MBBuilderPacketClasses; {$mode objfpc}{$H+} { Реализация классов строителей запросов для MODBUS Application Protocol Specification V1.1b } interface uses Classes, MBBuilderBase, MBInterfaces; const cMaxBitRegCount = 2000; cMaxWordRegCount = 125; wcMAXWORD = 65535; type...
unit uAnt; interface {$OPTIMIZATION ON} uses SysUtils, uAntWorld; type EAntException = class(Exception); TAnt = class X, Y: integer; Face: Integer; Rule: array of boolean; RuleLength: integer; constructor Create(const aHHP: Cardinal); procedure SetHHP(const aHHP: Cardinal); funct...
unit GameForms; interface uses Windows, AvL, avlUtils, avlEventBus, avlMath, avlVectors, OpenGL, oglExtensions, VSEOpenGLExt, VSECore, VSEGUI, VSEFormManager, Game, GameObjects; type {$IFDEF VSE_DEBUG} TLogPointsForm = class(TAlignedForm) private FPoints: array of TVector3D; FListFont:...
unit SettingsUnit; 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.ComCtrls, JPEG, Vcl.ExtDlgs, Vcl.ExtCtrls; type TSettingsForm = class(TForm) LanguagesBox: TC...
unit Database.Connector; interface uses FireDAC.Comp.Client; type EDatabaseConnector = interface function GetMainConnection: TFDConnection; function GetNewConnection: TFDConnection; end; type TDatabaseConnector = class (TInterfacedObject, EDatabaseConnector) private class var MainConnection: T...
unit UFrmCadastroUsuario; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, UFrmCRUD, Menus, Buttons, StdCtrls, ExtCtrls , UUsuario , UUtilitarios , URegraCRUDUsuario , UPapel , URepositorioPapel ; type TFrmCadastroUsuario = class(TFrmCRUD) gbInf...
(*======================================================================* | cmpPersistentPosition unit for MiscUnits package | | | | Drop one on your main form, and it will run in the same position | | as when it was pr...
unit Datapar.Context; interface uses Classes, DBClient, //connection SynDBFireDAC, FireDAC.Comp.Client, SynCommons, SynLog, SynSQLite3Static, SynDB, mORMot,mORMotSQLite3, mORMotDB, mORMotMidasVCL; type TDtQuery = TFDQuery; TDataparContext = class(TComponent) protected fExternalDB: TSQLDBConne...
unit LangToolEditor; // LangTool alternative TLang component editor interface uses System.SysUtils,System.UITypes,System.Classes, FMX.Dialogs, FMX.Types, // TLang DesignEditors, DesignIntf; type TLangToolComponentEditor = class(TComponentEditor) private fOldEditor: TComponentEdito...
{ ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi Copyright (c) 2016, Isaque Pinheiro All rights reserved. GNU Lesser General Public License Versão 3, 29 de junho de 2007 Copyright (C) 2007 Free S...
unit RemoteStreamSocket; interface uses SysUtils, Classes, Windows, Types, IOCPSocket, DefineUnit, BasisFunction, BaseSocket, Logger, Math; type TRemoteStreamSocket = class(TBaseSocket) private FFileStream: TFileStream; {* 读取的数据缓存 *} FBuffer: array of Byte; protected { *处理数...
unit PJBank.Boleto.Response; interface type TBoletoResponse = class public status: string; msg: string; nossonumero: string; id_unico: string; banco_numero: string; token_facilitador: string; credencial: string; linkBoleto: string; linkGrupo: string; linhaDigitavel: string;...
unit USlideLayout; interface uses System.Generics.Collections, UITypes, Types, Graphics, Data.DBXJSON, System.JSON, UFastKeysSO; const CScreenWidth = 1920; CScreenHeight = 1080; CViewMarge = 10 * 2; CRibbonWidth = 45 * 2; CFooterHeight = 40 * 2; CFooterLeftWidth = 200 * 2; CRemarkHeight = 40 * 2; ...
unit InfraHibernateAnnotation; interface Uses InfraHibernateAnnotationIntf, InfraCommonIntf, InfraCommon; Type TZTypeAnnotation = Class(TElement, IZTypeAnnotation) private FNullSafeGetter: TZTypeGetter; FNullSafeSetter: TZTypeSetter; function GetNullSafeGetter: TZTypeGetter; functi...
unit UsesTreeBuilderVisitor; interface uses Classes, SysUtils, StrUtils, PascalParser, ParseTreeNode, ParseTreeNodeType, SourceToken, SourceTreeWalker; type TUsesTreeBuilderVisitorMode = (vmFull, vmSimple); TUsesTreeBuilderVisitor = class (TInterfacedObject, INodeVisitor) private FMode...
{ Copyright (C) 2013-2021 Tim Sinaeve tim.sinaeve@gmail.com Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 Unless required by applicable...