text
stringlengths
14
6.51M
unit AcessoDados; interface uses FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, Data.DB, FireDAC.Comp.Client, FireDAC.Phys.IBBase, FireDAC.Phys.IB, FireDAC.Phys.FB, Fire...
unit PrevendaRepository; interface uses BasicRepository, ViewPrevendaVO, System.SysUtils, PrevendaVO, Generics.Collections, ProdutoVO, PrevendaItemVO, VendedorVO, PrevendaCartaoRecebimentoVO, PrevendaRecebimentoVO, ViewPrevendaItemVO; type TPrevendaRepository = class(TBasicRepository) class function getPr...
unit ShiftOpTest; {$mode objfpc}{$H+} interface uses fpcunit, testregistry, uIntXLibTypes, uIntX; type { TTestShiftOp } TTestShiftOp = class(TTestCase) published procedure Zero(); procedure SimpleAndNeg(); procedure Complex(); procedure BigShift(); procedure MassiveShift(); ...
namespace proholz.xsdparser; interface type XsdParserCore = public class protected // // * A object that contains a parse function to each {@link XsdAbstractElement} concrete // * type supported by this mapper, this way based on the concrete {@link XsdAbstractElement} tag the according parse // * ...
(* Category: SWAG Title: CRT ROUTINES Original name: 0041.PAS Description: Borders and Boxes for DOS text mode Author: DANIEL DICKMAN Date: 08-30-96 09:36 *) {Unit Boxes; Interface } Uses Crt; { in SWAG .. set CRT.SWG } { Procedure Box (X1, Y1, X2, Y2 : Byte; C : Char; At : Byte); Procedure SingleFram...
unit usbhid; {$mode delphi} interface uses Classes, SysUtils, libusb, Graphics, msgstr; type TPString = array [0..255] of Char; TDeviceDescription = record idVENDOR:integer; idPRODUCT:integer; nameProduct:PANSIChar; nameVendor:PANSIChar; end; // usbOpenDevice() error codes: const USBOPEN_SUCCESS ...
unit UPiece; interface uses USquare; type TPiece = class private location: TSquare; published constructor create(location: TSquare); public function getLocation: TSquare; procedure setLocation(location: TSquare); end; implementation { TPiece } constructor TPiece.create(location: TSquar...
// Inherited; unit ADOQueryControler; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Db, Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, System.TypInfo, Generics.Collections, Vcl.ExtCtrls, Vcl.DBCtrls, SyncObjs, Vcl.Themes, Vcl.Buttons, Data.Win.ADODB, Winapi.ADOInt, ...
(* Category: SWAG Title: FILE HANDLING ROUTINES Original name: 0028.PAS Description: Check for file EXIST Author: MARTIN RICHARDSON Date: 09-26-93 09:04 *) {***************************************************************************** * Function ...... Exist() * Purpose ....... Checks for the existance of...
unit Objekt.DateTime; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, DateUtils; type TTbDateTime = class(TComponent) private fJahr: Word; fSekunde: Word; fStunde: Word; fTag: W...
unit mParserBase; interface uses API_HTTP, API_MVC_DB, eGroup, eLink, IdCookieManager, System.Classes; type TEachGroupRef = reference to procedure(const aArrRow: string; var aGroup: TGroup); TModelParser = class abstract(TModelDB) private FCurrLink: TLink; function GetNextLink: TLink; ...
{..............................................................................} { Summary ImportWaveforms - Demonstrate the use of the ImportWaveforms } { process to import data from a csv file } { Copyright (c) 2009 by Altium Limited ...
unit LCR_api; interface uses util1; (* * API.h * * This module provides C callable APIs for each of the command supported by LightCrafter4500 platform and detailed in the programmer's guide. * * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ * ALL RIGHTS RESERVED * *) Const STAT_BIT...
unit Odontologia.Modelo.Agenda.Interfaces; interface uses Data.DB, SimpleInterface, Odontologia.Modelo.Estado.Cita.Interfaces, Odontologia.Modelo.Medico.Interfaces, Odontologia.Modelo.Paciente.Interfaces, Odontologia.Modelo.Entidades.Agenda; type iModelAgenda = interface ['{A89CD856-0A9B-46E5-94E8-...
//------------------------------------------------------------------------------ //! @author Polyakova M.V. Copyright (C) 2013 ILS LLC. All Rights Reserved. //! { ! @file @brief Функции для работы с реестром @details В данном модуле реализованы следующие функции: - считывание настроек ConnectionDBParams из ...
unit uRunOnce; interface uses PersonalCommon, uCommonDB, DB, Controls, SysUtils; procedure RunOnce; implementation resourcestring histSQL = 'SELECT * FROM Act_History WHERE Name_Action = ''TableFHoursFix'''; resourcestring CurDateSelectSQL = 'SELECT DISTINCT Tbl_Day, Table_MONTH, Table_YEAR FROM Dt_Table'; resourc...
// +------------------------------------------------------------------------- // Microsoft Windows // Copyright (c) Microsoft Corporation. All rights reserved. // -------------------------------------------------------------------------- unit CMC.HString; {$IFDEF FPC} {$MODE delphi} {$ENDIF} interface uses Win...
unit ULoteVO; interface uses Atributos, Classes, Constantes, Generics.Collections, SysUtils, UGenericVO, UCondominioVO; type [TEntity] [TTable('Lote')] TLoteVO = class(TGenericVO) private FidLote : Integer; FdtLote : TDateTime; FnrLote : String; FdsLote : String; FidCondominio : Integer; ...
unit Dsource; {-------------------------------------------------------------------} { Unit: Dsource.pas } { Project: EPANET2W } { Version: 2.0 } { ...
unit ThWebDataDictionary; interface uses SysUtils, Classes, Controls, ThContent, ThWebVariable; type TThDictionaryDatum = class(TCollectionItem) private FDatum: TThDatum; protected function GetDisplayName: string; override; function GetValidator: TThValidator; function GetWebName: string; ...
(* * FPG EDIT : Edit FPG file from DIV2, FENIX and CDIV * * * 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 SYS_OPTIONS; interface uses pFIBDatabase, pFIBQuery, Controls, Classes, Graphics, IBase; type TAccessResult=record Login : string; Pswrd : string; Name_User : string; ID_User : integer; User_Id_Card : integer; User_Fio : string; Connection : TISC_DB_HANDLE; end; const ...
unit HumDB; interface uses Windows, Classes, SysUtils, Forms, Share, Mudutil; type TIdxHeader = packed record //Size 124 sDesc: string[39]; //0x00 n2C: Integer; //0x2C n30: Integer; //0x30 n34: Integer; //0x34 n38: Integer; //0x38 n3C: Integer; //0x3C n40: Integer; //0x40 n44: Inte...
unit abMasksDlg; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CheckLst, nsGlobals, Registry, Menus, Vcl.ActnList, Vcl.PlatformDefaultStyleActnCtrls, Vcl.ActnPopup; type TfrmMasks = class(TForm) btnOk: TButton; btnCancel: TBut...
 unit EcranCombat; interface uses GestionEcran, OptnAffichage, Variables; { Affichage de l'écran et appel des fonctions & procédures associées } procedure afficher(Joueur : TJoueur); { Lance un assaut contre le joueur } procedure assautAleatoire(Joueur : TJoueur); { Génère un nombre aléatoire de troup...
unit ViewTributacaoIpi; {$mode objfpc}{$H+} interface uses HTTPDefs, BrookRESTActions, BrookUtils, FPJson, SysUtils, BrookHTTPConsts; type TViewTributacaoIpiOptions = class(TBrookOptionsAction) end; TViewTributacaoIpiRetrieve = class(TBrookRetrieveAction) procedure Request({%H-}ARequest: TRequest; ARe...
unit fpclib; {****************************************************************************** * stdio.pp * * DelphineOS fpc library. It has to define a lot of functions that are used * by the Free Pascal Compiler. * * Functions defined (for the moment) : * * - FPC_SHORTSTR_COPY : OK * - FPC_...
unit TextureBankItem; interface uses dglOpenGL, BasicMathsTypes, BasicDataTypes, BasicFunctions, Windows, Graphics, JPEG, PNGImage, DDS, SysUtils, Abstract2DImageData, Dialogs; type TTextureBankItem = class private Counter: longword; Editable : boolean; ID : GLInt; ...
unit ThCustomCtrl; interface uses Windows, Classes, Controls, Messages; {$R-} type //:$ Ancestor class for all TurboHtml Windowed controls, base class for //:$ TThStyledCustomControl. //:: TThCustomControl adds auto-sizing and text handling machinery to //:: TCustomControl. TThCustomControl = cl...
unit BrushToolUnit; interface uses System.UITypes, System.SysUtils, System.Classes, System.Math, Winapi.Windows, Vcl.Forms, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.Controls, Vcl.Graphics, Vcl.Dialogs, Vcl.ExtCtrls, Dmitry.Graphics.Types, Dmitry.Graphics.Utils, Dmitry.Control...
unit Objekt.BaseList; interface uses SysUtils, Classes, Contnrs; type TBaseList = class private function GetCount: Integer; protected fList: TObjectList; fId: Integer; public constructor Create; virtual; destructor Destroy; override; property Count: Integer read GetCount; proced...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
(* Category: SWAG Title: DATE & TIME ROUTINES Original name: 0057.PAS Description: Natural display of time Author: DAVID ADAMSON Date: 11-25-95 09:26 *) (* QT displays the time in natural English. Example: It's twenty past seven. *) program QueryTime; uses Dos; const QNear: array[0..4] of string[11] = ...
Unit ImageLoadRequest; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} Interface Uses Windows, IRPMonDll, IRPMonRequest; Type TImageLoadRequest = Class (TDriverRequest) Private FImageBase : Pointer; FImageSize : NativeUInt; FExtraInfo : Boolean; FKernelDriver : Boolean; FMappedToAllPids : Boolea...
unit DgInp; interface uses Windows, Forms, Classes, DAQDefs, pwrdaq32, pdfw_def, pd_hcaps; type // base acquisition thread TDigitalInput = class(TThread) private hAdapter: DWORD; dwError: DWORD; FFrequency: DWORD; FOnUpdateView: TUpdateViewProc; protected procedure DoTerminate; overri...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit CallSettings; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Grids, Client, Simplex.Types; type TfrmCallSettings = class(TForm) gbxCallSettigs: TGroupBox; btnOK: T...
////////////////////////////////////////////////////////////////////////// // This file is a part of NotLimited.Framework.Wpf NuGet package. // You are strongly discouraged from fiddling with it. // If you do, all hell will break loose and living will envy the dead. /////////////////////////////////////////////////////...
unit HS4bind; interface uses HS4Bind.Interfaces; type THS4Bind = class(TInterfacedObject, iHS4Bind) private FCredencial : iHS4BindCredential; public constructor Create; destructor Destroy; override; class function New : iHS4Bind; function Credential : iHS4BindCredential; ...
unit aStrings; {by Jesse, Matt, and Nick} {----} interface {----} uses CRT; type StringType = array [0..255] of Char; procedure StringLength (var AString : StringType;var actualength:byte); procedure StringWriteLn (var AString : StringType); procedure StringReadLn (var StringResult : StringType); PROC...
unit MenuPresenter; interface uses Interfaces; type TMenuPresenter = class(TInterfacedObject, IMenuPresenter) private FView: IMenuView; public constructor Create(AView: IMenuView); procedure Start; end; implementation { TMenuPresenter } constructor TMenuPresenter.Create(AView: IMenuView); be...
unit ScannerTests; {$mode objfpc}{$H+} interface uses TestFramework, HandlebarsScanner; type TTokenInfo = record Content: String; Value: THandlebarsToken; end; TTokenArray = array of THandlebarsToken; { TTokenList } TTokenList = class private FValues: TTokenArray; FContents: array ...
unit ThreadRepeaterPool; interface uses Classes, SysUtils, ThreadRepeater; type TThreadRepeaterPool = class (TComponent) private FList : TList; procedure create_Pool; procedure release_Pool; procedure on_Repeat(Sender:TObject); private FTimeOut: integer; FSize: integer; FOnRepeat:...
{ GLDynamicTexture Demo. Use F2 and F3 to toggle between PBO and non-PBO updates, if your card supports it. Use F4 to toggle partial updates. Version history: 16/10/07 - LC - Updated to use DirtyRectangle property 12/07/07 - DaStr - Restored FPC compatibility 29/06/07 - DaStr - Initial v...
unit NFSMaskButtonedEdit; interface {$R 'NFSMaskButtonedEdit.dcr'} uses SysUtils, Classes, vcl.Controls, vcl.StdCtrls, vcl.Mask, vcl.ImgList, vcl.ExtCtrls, Messages, vcl.Menus, Windows, vcl.Themes, vcl.Forms, vcl.Graphics, NfsCustomMaskEdit, System.UITypes, System.Types; type TNFSCustomMaskButtonedEdit =...
unit NewtonRagdoll; interface uses System.Classes, System.SysUtils, GLVectorGeometry, GLVectorTypes, GLVectorFileObjects, NewtonImport; type TNewtonRagdoll = class private FERP, FSlideLimit, FAngleLimit: single; FEnabled: boolean; newtonworld: PNewtonWorld; proced...
{******************************************************************************* * * * ksDrawFunctions - control drawing functions for ksListView * * ...
unit Desktop; interface uses Classes, Controls, LrObserverList, LrDocument; type TDesktop = class(TList) private FIndex: Integer; FLastIndex: Integer; FNilDocument: TLrDocument; FDocumentObservers: TLrObserverList; FOnDocumentsChanged: TNotifyEvent; FOnCurrentChanged: TNotifyEvent; ...
unit FastRGB; // TFastRGB // Gordon Alex Cowie <gfody@jps.net> // www.jps.net/gfody // shared properties for TFastBMP,TFastDDB,TFast256 interface type TFColor = record b,g,r:Byte end; PFColor =^TFColor; TLine = array[0..0]of TFColor; PLine =^TLine; TPLines = array[0...
{ Thread safe generic queue implementation with optional async notification of main thread, WaitWor, non-blocking or blocking Get() with Timeout, etc. Copyright (C) 2017 Bernd Kreuss <prof7bit@gmail.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library...
unit ini_Unit_Meas_Form; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Db, FIBDataSet, pFIBDataSet, Buttons, ToolWin, ComCtrls, Grids, DBGrids, FIBQuery, pFIBQuery, pFIBStoredProc, Menus, ActnList, cxInplaceContainer, cxTL, cxControls, cxGraphics, cxCustomDat...
{ ****************************************************************************** } { * Generic list of any type (TGenericStructList). * } { ****************************************************************************** } { * https://zpascal.net ...
unit MapDataSetField; interface uses System.SysUtils, System.Classes, Vcl.DBCtrls, Data.DB, MapEvent, Vcl.Controls, System.UITypes, System.Generics.Collections, DBDateTime; type TMapDataSetField = class(TComponent) private FDataSource: TDataSource; FLimitEditCharacters: Integer; FOnCreateDbEdit: ...
unit UExporta; interface type TExportacao = class abstract public function Exportar: String; virtual; abstract; end; TExportaTexto = class(TExportacao) private FTexto: String; procedure SetTexto(const Value: String); published property Texto: String read FTexto write SetTexto; end; ...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { Texture-based Lens flare object. } unit VXS.TexLensFlare; interface {$I VXScene.inc} uses System.Classes, VXS.OpenGL, VXS.Scene, VXS.VectorGeometry, VXS.PersistentClasses, VXS.Objects, VXS.Te...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, clisted, nfsCheckListEdit, contnrs; type TCheckObj = class Id: Integer; Kurz: string; Text: string; Checked: Boolean; ...
unit XLSHTMLDecode; {- ******************************************************************************** ******* XLSReadWriteII V3.00 ******* ******* ******* ******* Copyright(C) 1999,2006 Lars Arvidsson, Axolot...
unit ExtensionTypeUnit; interface uses sysUtils, Generics.Collections, Generics.Defaults; Type TExtensionType = (etModelInput, etModelOutput, etModpathInput, etModpathOutput, etZoneBudgetInput, etZoneBudgetOutput, etMt3dmsInput, etMt3dmsOutput, etAncillary); TExtensionObject = Class(TObject) Extension: ...
unit AvgHolPrintDM; interface uses SysUtils, Classes, DB, FIBDataSet, pFIBDataSet, FIBDatabase, pFIBDatabase, frxClass, frxDBSet, frxDesgn, IBase, IniFiles, Forms, Dates, Variants, Unit_SprSubs_Consts, ZProc, ZSvodTypesUnit, Controls, FIBQuery, pFIBQuery, pFIBStoredProc, ZMessages, Dialogs, Math, ZSvodProcUni...
unit GLDPyramid; interface uses Classes, GL, GLDTypes, GLDConst, GLDClasses, GLDObjects; type TGLDPyramid = class(TGLDEditableObject) private FWidth: GLfloat; FDepth: GLfloat; FHeight: GLfloat; FWidthSegs: GLushort; FDepthSegs: GLushort; FHeightSegs: GLushort; FFront...
unit ProjectView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ImgList, ActnList, Menus, ProjectDocument, ServerDatabases; type TProjectViewForm = class(TForm) Tree: TTreeView; Icons: TImageList; ProjectPopup: TPopupMenu; Actio...
PROGRAM RandNum; VAR x: LONGINT; FUNCTION IntRand: INTEGER; const A = 3421; K = 1; BEGIN x := (A * x + K) MOD (High(INTEGER) + 1); IntRand := x; END; // 0 <= x < n FUNCTION WrongRangeRand(n: INTEGER): INTEGER; BEGIN WrongRangeRand := IntRand MOD n; END; FUNCTION RangeRand(n: INTEGER): INTEGER; VAR x: ...
unit uSprOrder; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, ADODB, StdCtrls, Grids, DBGrids, StrUtils, ImgList, uSprJoin, Math, Buttons; type TsprOrderItem = class(TCollectionItem) private FDesc: Boolean; FFieldName: string; FCaption: ...
unit TerminologyServices; interface uses SysUtils, Classes, StringSupport, AdvObjects, AdvStringLists, FHIRTypes, FHIRComponents, FHIRResources, YuStemmer; Type TFhirFilterOperator = FHIRTypes.TFhirFilterOperator; TCodeSystemProviderContext = class (TAdvObject) public function Link : TCodeSystem...
(* Category: SWAG Title: DATE & TIME ROUTINES Original name: 0017.PAS Description: TIME2.PAS Author: SWAG SUPPORT TEAM Date: 05-28-93 13:37 *) { PW>question, I want to declare Type Time as (Hour,Min). Where hour and PW>minute are predeifed Types 0..23 and 0..59 respectively. I then take PW>the Type Time...
// Wheberson Hudson Migueletti, em Brasília, 1999. // Para mostrar o conteúdo de arquivos ZIP unit DelphiZip; interface uses Windows, Classes, SysUtils; const cLocal_File_Header_Signature = $04034B50; cCentral_File_Header_Signature= $02014B50; cEnd_Central_Dir_Signature = $06054B50; type Local_File_Hea...
unit OvExpTypeRef; interface uses uCommonForm, Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Base, StdCtrls, Menus, Db, DBTables, Grids, DBGridEh, Buttons, ExtCtrls,uOilQuery,Ora, uOilStoredProc, ActnList, MemDS, DBAccess, RXCtrls; type TOvExpTypeRefForm = class(TBaseForm) ...
unit CCJSO_MyOrder; { © PgkSoft 04.09.2015 Журнал интернет заказов Механизм избранных заказов Подчиненный раздел «Управление избранными заказами» } interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ToolWin, ComCtrls, ExtCtrls, DB, ADODB, ActnList, Grids, DBG...
{******************************************************************************} { CnPack For Delphi/C++Builder } { 中国人自己的开放源码第三方开发包 } { (C)Copyright 2001-2017 CnPack 开发组 } { ...
unit uProdutoDAOClient; interface uses DBXCommon, DBXClient, DBXJSON, DSProxy, Classes, SysUtils, DB, SqlExpr, DBXDBReaders, Produto, DBXJSONReflect, Generics.Collections, FornecedorProduto, Validade; type TProdutoDAOClient = class(TDSAdminClient) private FListCommand: TDBXCommand; FNextCodigoCommand: ...
unit uMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls , uObserver , uTickTockTimer , uFactory; type TFormMain = class(TForm, IVMObserver) pnlClock: TPane...
unit UrsJSONCommonSerializers; interface uses System.Rtti, UrsJSONUtils; type TJsonBooleanDefaultAttribute = class(TJsonFieldAttribute) protected function IsDefault(const AValue: TValue): Boolean; override; end; TJsonDateTimeAttribute = class(TJsonFieldAttribute) strict protected function Seri...
unit MainLoader; interface uses Windows, Messages, Ini,ShellAPI,SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,ErrorLogsUnit; type TLoaderForm = class(TForm) procedure FormShow(Sender: TObject); private { Private declarations } public { Public declarations } en...
{$i deltics.inc} unit Test.Path; interface uses Deltics.Smoketest; type PathTests = class(TTest) procedure AbsoluteReturnsAbsolutePathUnmodified; procedure AbsoluteReturnsRelativePathAsAbsolute; procedure AbsoluteToRelative; procedure AbsoluteToRelativeRaisesEPathExceptionIfP...
unit uFrmMarginTable; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, PAIDETODOS, siComp, siLangRT, StdCtrls, LblEffct, ExtCtrls, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB, cxDBData, Buttons, ADODB, PowerADOQuery, cxGridLevel, cxClasses...
unit GameLogic; interface type TDirection = (drLeftUp, drRightUp, drLeftDown, drRightDown); TDirectionTable = array [TDirection, 0..31] of Integer; PPosition = ^TPosition; TPosition = record Field: array[0..31] of ShortInt; MoveStr: array[0..11] of ShortInt; Active: Integer; Take...
(*----------------------------------------------------------------------------* * Direct3D sample from DirectX 9.0 SDK December 2006 * * Delphi adaptation by Alexey Barkovoy (e-mail: directx@clootie.ru) * * * ...
unit Dmitry.Controls.WebLinkList; interface uses Generics.Collections, System.Types, System.SysUtils, System.Classes, System.Math, Winapi.Messages, Winapi.Windows, Vcl.Controls, Vcl.StdCtrls, Vcl.Forms, Vcl.Graphics, Vcl.Themes, Dmitry.Memory, Dmitry.Controls.WebLink; ...
unit Odontologia.Controlador.Ciudad; interface uses Data.DB, System.SysUtils, System.Generics.Collections, Odontologia.Controlador.Ciudad.Interfaces, Odontologia.Controlador.Departamento, Odontologia.Controlador.Departamento.Interfaces, Odontologia.Modelo, Odontologia.Modelo.Entidades.Ciudad, Odonto...
unit uDBRepository; interface uses System.SysUtils, Generics.Collections, Data.DB, uConstants, uDBClasses, uMemory; type TSimpleEntity = class strict private DS: TDataSet; protected FUC: TUpdateCommand; function GetUC: TUpdateCommand; procedure Ini...
unit VendaService; interface uses BasicService, System.Generics.Collections, System.SysUtils, CartaoVO, Vcl.Forms, Vcl.ExtCtrls, Vcl.Controls, PanelHelper, Datasnap.DBClient, PessoaVO, VendaVO, EsperaVO, System.Math, Vcl.StdCtrls; type TVendaService = class(TBasicService) class procedure getCartao(Scrol: T...
unit uMaths; interface uses uPoint; { Returns random num of [min;max) } function getRand(min, max: real): real; { Returns random num of range } function getRandPoint(minX, maxX, minY, maxY: real): Point; { Returns angle between line specified by 2 points and OX } function getAngleOf2P(x1, y1, x2, y2: re...
//============================================================================= //调用函数说明: // 发送文字到主程序控制台上: // procedure MainOutMessasge(sMsg:String;nMode:integer) // sMsg 为要发送的文本内容 // nMode 为发送模式,0为立即在控制台上显示,1为加入显示队列,稍后显示 // // 取得0-255所代表的颜色 // function GetRGB(bt256:Byte):TColor; // bt256 要查询数字 ...
unit uPctColorFch; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uParentButtonFch, mrConfigFch, DB, StdCtrls, XiButton, ExtCtrls, cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit, mrDBEdit, mrSubListPanel, uMRSQLParam, uNTUpdateControl; type TPctCol...
unit Lib.HTTPServer.StaticFiles; interface uses System.SysUtils, System.Classes, Lib.HTTPConsts, Lib.HTTPContent, Lib.HTTPUtils, Lib.HTTPServer; type TStaticFiles = class(TInterfacedObject,IMiddleware) private FHome: string; FAliases: TStrings; public constructor Create(const Home: stri...
unit feli_user_event; {$mode objfpc} interface uses feli_document, feli_collection, fpjson; type FeliUserEventKeys = class public const eventId = 'event_id'; createdAt = 'created_at'; end; FeliUserEvent = class(FeliDocument) pu...
unit TestUUnidadeController; { 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, UCondominioVO, SysU...
// // Generated by JavaToPas v1.5 20180804 - 082355 //////////////////////////////////////////////////////////////////////////////// unit java.sql.ClientInfoStatus; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes; type JClientInfoStatus = interface; JClientInfoStatusClass = interface(JObjectCl...
//------------------------------------------------------------------------------ //ItemTypes UNIT //------------------------------------------------------------------------------ // What it does- // Contains Item related Types // // Changes - // ...
unit Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.ToolWin, Vcl.OleCtrls, SHDocVw, Vcl.StdCtrls, System.Net.URLClient, System.Net.HttpClient, System.Net.HttpClientComponent, System.I...
(**************************************************************) (******* BINARY SEARCH TREE ADT ********) (**************************************************************) TYPE KeyType = Integer; (* the type of key in Info part *) TreeElementType = RECORD (* the type of the user's data *) Key : KeyType; (* other fiel...
unit uByScienceReportForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,dmScienceReport, StdCtrls, Buttons, frxDesgn, frxClass, frxDBSet, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalendar, cxLookupEdit, cxDBLookupEdit, cxDB...
namespace CirrusTrace; interface type ConsoleApp = class public class method Main; end; implementation // Here several methods of WorkerClass will be called to show how // its implementation was changed class method ConsoleApp.Main; begin var lWorker: WorkerClass := new WorkerClass(); Console.Write...
unit uConfiguration; interface uses uiConfig; Type TConfig = class(TInterfacedObject, IConfig) private fTypeDataBase : Integer; public function getTypeDataBase: Integer; procedure setTypeDataBase(const Value: Integer); Constructor Create; end; function configuration : IConfig; implementa...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; type { TForm1 } TForm1 = class(TForm) btObter: TButton; edID: TEdit; edNome: TEdit; lbID: TLabel; lbNome: TLabel; procedure btObterClick(Sender: TObject); end;...
unit SpFoto_Classes; interface uses Classes,Controls,cxImage,Graphics,Messages,Types,ExtCtrls, Forms; type TFotoFrame = class(TGraphicControl) private // pLeft,pTop,pWidth,pHeight:Integer; pFrameWidth:Integer; pIsPressed:Boolean; pMouseStartPoint:TPoint; pOwnStartPoint:TPoint; pSourceImage:Tc...
{******************************************************************************* Title: T2Ti ERP Description: Controller do lado Cliente relacionado à tabela [COMPRA_FORNECEDOR_COTACAO] ...
unit TESTORCAMENTO.Entidade.Model; interface uses DB, Classes, SysUtils, Generics.Collections, /// orm ormbr.types.blob, ormbr.types.lazy, ormbr.types.mapping, ormbr.types.nullable, ormbr.mapping.Classes, ormbr.mapping.register, ormbr.mapping.attributes; type [Entity] [Table('TESTORCAME...
unit uImageLoader; interface uses SysUtils, Classes, System.Generics.Collections, FMX.Types, FMX.Objects, FMX.Controls, AsyncTask, AsyncTask.HTTP, FMX.Graphics; type TLoadQueueItem = record ImageURL: String; Bitmap: TBitmap; end; TLoadQueue = TList<TLoadQueueItem>; TImageLoader = class(TObject) ...
unit ZipInterfaceAbbrevia; {- ******************************************************************************** ******* XLSReadWriteII V3.00 ******* ******* ******* ******* Copyright(C) 1999,2006 Lars Arvidsson,...