text
stringlengths
14
6.51M
{----------------------------------------------------------------------------- The contents of this file are subject to the GNU General Public 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.gnu.org/copyleft/gpl...
unit UnitTraitement; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, CheckLst, ComCtrls, UnitVariables, strUtils, ExtCtrls, ZipForge, DBTables, Hydras; type TFormTraitement = class(TForm) procedure FormCreate(Sender: TObject); proc...
unit IdPOP3; interface uses Classes, IdGlobal, IdMessage, IdMessageClient; type TIdPOP3 = class(TIdMessageClient) protected FPassword: string; FUserId: string; public function RetrieveRaw(const MsgNum: Integer; const Dest: TStrings): boolean; function CheckMessages: longint; procedure C...
{ WAGNER VASCONCELOS 21/03/2020 - 08:56 } unit uPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Mask, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls; type TfrmMain = class(TForm) ...
unit Horse.Paginate; interface uses System.SysUtils, Horse, System.Classes, System.JSON, Web.HTTPApp; procedure Middleware(Req: THorseRequest; Res: THorseResponse; Next: TProc); function Paginate : THorseCallback; overload; implementation uses System.Generics.Collections; function Pagi...
// // Created by the DataSnap proxy generator. // 2011-01-26 ¿ÀÈÄ 3:09:25 // unit ServerMethodsUnit; interface uses DBXCommon, DBXClient, DBXJSON, DSProxy, Classes, SysUtils, DB, SqlExpr, DBXDBReaders, DBXJSONReflect; type TServerMethods1Client = class(TDSAdminClient) private FGet_ReporttCommand: TDBXComm...
{ example of constant definition part } program convert(output); const addin = 32; mulby = 1.8; low = 0; high = 39; seperator = '------------'; var degree : low..high; begin writeln(seperator); for degree := low to high do begin writeln(degree, 'c', round(degree * mulby + add...
{*******************************************************} { } { Borland Delphi Test Server } { } { Copyright (c) 2001 Borland Software Corporation } { ...
unit BD.frmSync; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, Vcl.StdCtrls, OXmlPDOM, Generics.Collections, FireDAC.Stan.Intf,...
{------------------------------------------------------------------------------ This file is part of the MotifMASTER project. This software is distributed under GPL (see gpl.txt for details). This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even th...
///////////////////////////////////////////////////////// // // // FlexGraphics library // // Copyright (c) 2002-2009, FlexGraphics software. // // // // History actions and grou...
unit fNoteBA; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ORCtrls, StdCtrls, ORFn, uTIU, fBase508Form, VA508AccessibilityManager; type TfrmNotesByAuthor = class(TfrmBase508Form) pnlBase: TORAutoPanel; lblAuthor: TLabel; radSort: TRadioGroup; ...
unit mCoverSheetDisplayPanel; { ================================================================================ * * Application: CPRS - CoverSheet * Developer: doma.user@domain.ext * Site: Salt Lake City ISC * Date: 2015-12-04 * * Description: Inherite...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit Rx.Implementations; interface uses Rx, Generics.Collections, Classes, SyncObjs; type IAutoRefObject = interface ['{AE37B031-074C-4F46-B475-1E392E4775CB}'] function GetValue: TObject; end; TAutoRefObjectImpl = class(TInterfacedObject, IAutoRefObject) strict private FValue: TObj...
unit UBaby; interface uses System.SysUtils, System.Generics.Collections, FMX.Graphics, FMX.Objects, System.iOUtils, System.UITypes, FMX.Dialogs; type {$METHODINFO ON} TBaby = class private _Id: integer; _Age: single; _FirstName: string; _LastName: string; _ProfileImage: TBitmap; _Pre...
unit uController.Usuario; interface uses DB, DBClient, Classes, System.JSON, uDM, uController.Base, DataSet.Serialize, Horse; type TControllerUsuario = class(TControllerBase) public procedure Index(Req: THorseRequest; Res: THorseResponse; Next: TProc); procedure Store(Req: THorseRequest; ...
{*************************************************************************** * * Orion-project.org Lazarus Helper Library * Copyright (C) 2016-2017 by Nikolay Chunosov * * This file is part of the Orion-project.org Lazarus Helper Library * https://github.com/Chunosov/orion-lazarus * * This Library is free soft...
{*******************************************************} { } { 泛型动态数组扩展类 } { } { 版权所有 (C) 2016 武稀松 } { ...
{ *********************************************************************** } { } { Delphi / Kylix Cross-Platform Runtime Library } { Variants Unit } { ...
unit MD5.FileUtils; // String default is UnicodeString INTERFACE {$DEFINE FINDFILES_DEBUG} uses MD5.Utils, MD5.Message, System.SysUtils, System.Classes, System.StrUtils, Windows; const ALL_FILES_MASK = '*'; // NOT *.* !!! EXTENDED_PATH_PREFIX = '\\?\'; SKIP_FOLDER_NAME_1 = ...
unit IdTCPStream; interface uses Classes, IdTCPConnection; type TIdTCPStream = class(TStream) protected FConnection: TIdTCPConnection; public constructor Create(AConnection: TIdTCPConnection); reintroduce; function Read(var ABuffer; ACount: Longint): Longint; override; function Write(const ...
(* Multiset: MM, 2020-04-17 *) (* ------ *) (* Unit to create String Multisets as ADT *) (* ========================================================================= *) ...
unit uMain; { * Copyright 2017 ZXing.NET authors * * 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...
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 1024,0,0} { by Behdad Esfahbod Algorithmic Problems Book April '2000 Problem 115 O(NLgN) Greedy Method } program Experiments; var N : Integer; Fl : Boolean; I, J, K : Integer; procedure ReadInput; begin Readln(N); end; procedure WriteOutput; be...
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 1024,0,0} { by Behdad Esfahbod Algorithmic Problems Book April '2000 Problem 66 Winning Strategy N=(M+1)K => Second Pl. else First Pl. N=(M+1)K is the kernel of the game } program MatchesGame; var N, M, T : Integer; procedure ReadInput; begin Wri...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2016-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
{@author Tarun Amarnath @version 1 @description This program creates a virtual bank with a set number of customers (10)} PROGRAM BankOriginal (input, output); USES CRT; TYPE Customer_Info = Record Name : String; Address : String; PhoneNumber : String; MaritalStatus : Ch...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC async notify form } { } { Copyright(c) 2004-2018 Embar...
unit UDaoProduto; interface uses uDao, DB, SysUtils, Messages, UProduto, UDaoMarca, UDaoCategoria, UProdutoFornecedor, UFornecedor, UDaoUnidade, UDaoNcm, UEndereco; type DaoProduto = class(Dao) private protected umProduto : Produto; umaDaoMarca : DaoMarca; umaDaoCategoria ...
unit CompFrameUnit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinBlueprint, dxSkinCaramel, dxSkinCoffee, dxSkinDarkRoom, dxSkinDarkSide, dxSkinDevExpressDarkStyl...
unit h_LangLib; interface uses Classes,SysUtils ; //type // TLANG_DESC = Record // FORMID : String; // DB_COLUMN_YN : String; // FIELD_NAME: String; // DESC : Array [1..5] of String; // end; // // TLANG_INFO = Record // Form Field Description // ID : String; // LANG : Array [0..100] of TL...
unit Support.Fallback.CDI; interface uses SMARTSupport, SMARTSupport.Factory, SysUtils, Support, Device.SMART.List; type TFallbackCDISupport = class sealed(TNSTSupport) private FSMARTSupport: TSMARTSupport; FIsWriteValueSupported: Boolean; function GetCDISupport: TSupportStatus; function Is...
{ *************************************************************************** } { } { Audio Tools Library (Freeware) } { Class TAPEtag - for manipulating with APE tags ...
unit Ths.Erp.Database.Table.Adres; interface {$I ThsERP.inc} uses SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils, FireDAC.Stan.Param, System.Variants, Data.DB, Ths.Erp.Database, Ths.Erp.Database.Table , Ths.Erp.Database.Table.SysCountry , Ths.Erp.Database.Table.SysCity ; type ...
unit UpdatePASUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ComCtrls, Buttons, ShellAPI; type TUpdatePASForm = class(TForm) StartCopyTimer: TTimer; Label1: TLabel; CancelButton: TBitBtn; TryLabel: TLabel; FileCopyAnimate: ...
unit FMainForm; interface uses Winapi.Windows, System.SysUtils, System.Classes, System.Actions, System.Math, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ValEdit, Vcl.Grids, Vcl.Menus, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.ToolWin, Vcl.ExtCtrls, Vcl.ActnList, Vcl.ImgList, //GLS GLHeightTil...
PROGRAM Test; USES VectorClass, NaturalVectorClass, PrimeVectorClass; PROCEDURE TestVector; VAR v: Vector; i: INTEGER; success: BOOLEAN; BEGIN (* TestVector *) New(v, Init); FOR i := 0 TO 9 DO BEGIN v^.Add(i - 5); END; (* FOR *) v^.WriteVector; WriteLn('I...
unit PlotReadersAux; interface uses Classes, PlotReaders; type TRSFileReader = class(TDataReader) private FSettings: TStream; public procedure Read(const AFileName: String); override; procedure Read(AStream: TStream); override; class procedure FileFilters(Strings: TStrings)...
unit ReadingFrame; interface uses Global, LTClasses, Generics.Collections, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ReadingQuestionFrame; type TfmReading = class(TFrame) lbQuestionInput: TLabel; ScrollBox1: TScrollBox; ScrollBox2:...
unit u_xpl_gui_resource; {$mode objfpc}{$H+} interface uses Classes , SysUtils , ImgList ; type // TxPLGUIResource ======================================================= TxPLGUIResource = class private fImages16 : TCustomImageList; fImages32 : TCustomImageLis...
unit ClsProducto; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls,VCIF1Lib_TLB, IB_Components, StrMan, ESBDates,IniFiles, ClsTablas; type TExistencias = record NumAlmacen: string; NombreAlmacen: string; Existencia: Double; end; type TProducto = ...
{$A8} {$R-} {*************************************************************} { } { Embarcadero Delphi Visual Component Library } { InterBase Express core components } { ...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
{ *************************************************************************** Copyright (c) 2016-2018 Kike Pérez Unit : Quick.ImageFX.Types Description : Image manipulation with multiple graphic libraries Author : Kike Pérez Version : 4.0 Created : 10/04/2013 Modified : 27/03/2018...
unit Umisc; // SpyroTAS is licensed under WTFPL interface uses Windows, Forms, Classes, SysUtils, Graphics, Math; // TCustomIntegerArray class: type TCustomIntegerArray = class(TObject) public procedure SetSize(NewSize: Integer); function GetSize(): Integer; procedure ClearFrom(Index...
unit CardsUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Menus, MMSystem, Buttons; var CardHeight, CardWidth, CardRadius: integer; AllCardBitmaps: TBitmap; CardBitmap: TBitmap; const CARD_COUNT_ON_ROW = 9; type TCardId = byte; TSet...
unit UImplementacao; interface uses InvokeRegistry; type Iinterface = interface(IInvokable) { id da interface gerada pelo delphi CTRL + SHIFT + G} ['{0E756257-0A15-47C2-8EE2-A172A60E5B2D}'] { param param type return deixa disponivel para o ws} function somar(valorA, valorB: Inte...
unit TestSpaceBeforeColon; { AFS October 2008 Test the option for spacing before colon } {(*} (*------------------------------------------------------------------------------ Delphi Code formatter source code The Original Code is TestSpaceBeforeColon, released October 2008. The Initial Developer of the...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2019 Embarcadero Technologies, Inc. } { All rights reserved } { ...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit PlayerThreads; {$mode objfpc}{$H+} interface uses {$ifdef unix} cthreads, cmem, {$endif} Classes, SysUtils, CpuCount; type TPlayerThread = class; TCustomPlayerThread = class(TThread) public property Terminated; end; { TPlayerThreadManager } TPlayerThreadManager = class(TCustomPlayerThr...
unit ScrollBarImpl1; interface uses Windows, ActiveX, Classes, Controls, Graphics, Menus, Forms, StdCtrls, ComServ, StdVCL, AXCtrls, DelCtrls_TLB; type TScrollBarX = class(TActiveXControl, IScrollBarX) private { Private declarations } FDelphiControl: TScrollBar; FEvents: IScrollBarXEvents; pr...
unit MediaStream.Framer.HV; interface uses Windows,SysUtils,Classes,MediaProcessing.Definitions,MediaStream.Framer,H264Parser; type TStreamFramerHV = class (TStreamFramer) private FStream : TStream; FH264Parser: TH264Parser; FBuffer: TBytes; public constructor Create; override; destructor ...
namespace OxygeneStack; interface type StackItem<T> = class public property Data: T; property Prev: StackItem<T>; end; Stack<T> = public class private property Top: StackItem<T>; public method Count: Integer; method Pop: T; method Push(aData: T); end; imple...
unit glslang.ShaderLang; interface //#################################################################### ■ // //Copyright (C) 2002-2005 3Dlabs Inc. Ltd. //All rights reserved. // //Redistribution and use in source and binary forms, with or without //modification, are permitted provided that the following condition...
{*******************************************************} { } { Borland Delphi Visual Component Library } { SOAP Support } { } { Copyright (c) 2001 Borland S...
unit UnitFactorPeriodo; interface uses SysUtils, frm_connection, DBCtrls, DB, Global, frxDBSet, Classes,ZAbstractRODataset, ZAbstractDataset, ZDataset, RXDBCtrl, Math; type TFactorPeriodo=class(TComponent) private bError:boolean; sContrato:string; rFactorPer:real; fFechaIni:tDateTime; fFechaFin:tDat...
unit MainUnit; interface uses Windows, Types, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Math, StdCtrls, ExtCtrls, GR32_Image, GR32_LowLevel, {$IFDEF FPC} LResources, {$ENDIF} GR32, GR32_Polygons, GR32_Math, GR32_Transforms, GR32_Blend, GR32_Layers, GR32_Misc, GR32_Text, ComCtrls; type TFor...
unit XERO.API.Invoices; interface uses System.SysUtils, DB, Classes, XERO.API, XERO.API.Response.ClientDataset; // Invoice Status // --- // DRAFT A Draft Invoice (default) // SUBMITTED An Awaiting Approval Invoice // DELETED A Deleted Invoice // AUTHORISED An Invoice that is Approved and Awaiting Pa...
unit Vigilante.Aplicacao.SituacaoBuild; interface type TSituacaoBuild = (sbUnknow, sbProgresso, sbFalhouInfra, sbAbortado, sbFalhou, sbSucesso); TSituacaoBuildSet = set of TSituacaoBuild; TSituacaoHelper = record helper for TSituacaoBuild class function Parse(const AValue: string): TSituacaoBuild; over...
unit BTREE; INTERFACE TYPE TreePtr = ^Tree; Tree = RECORD DataPtr : POINTER; left, right : TreePtr; END; CompProc = FUNCTION(ptr1,ptr2 : POINTER) : BOOLEAN; { Return TRUE if first item is less than second } VAR LessThan : CompProc; PROCEDUR...
unit HKSearchHeader; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, HKPaginationModel, ZConnection, ZDataset; type { THKSearchHeader } { THKSearchPanelHeader } THKSearchPanelHeader=class(TPanel) private FOnPerPageChange: T...
{ Описание модуля Help предназначенного для создания справочных служб программ, написанных на языке Turbo Pascal Version 2.0 Copyright (C)1995 Yury Konovalov Moscow,RASSIA.} Unit Help; Interface Uses Crt; Const BlockBegin= '<#Begin'; {Маркер начала блока} BlockEnd= '<#E...
unit MyTreeView; //# BEGIN TODO Completed by: author name, id.nr., date { E.I.R. van Delden, 0618959, 29-06-2008 } //# END TODO //------------------------------------------------------------------------------ // This unit defines class TMyTreeView, which is a descendant of the standard // TTreeView component...
{*******************************************************} { } { Delphi Runtime Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
{ ********************************************************************** } { } { Delphi and Kylix Cross-Platform Visual Component Library } { Component and Property Editor Source } { ...
namespace MetalExample; interface // Buffer index values shared between shader and Oxygene code to ensure Metal shader buffer inputs match // Metal API buffer set calls const AAPLVertexInputIndexVertices = 0; const AAPLVertexInputIndexViewportSize = 1; type vector_float2 = Array[0..1] of Single;...
UNIT afsSect; INTERFACE function GetSector( secfield, secnum : BYTE; short : BOOLEAN) : STRING; procedure RemapSect(VAR sec1 : BYTE; VAR sec2 : BYTE;VAR sec3 : BYTE); implementation TYPE Codes = ARRAY[0..1] OF CHAR; CONST Sec1Array : ARRAY[0..8] OF STRING[30] = ( 'NA NOT SPECIFIED', 'HY'...
{*******************************************************} { } { Delphi REST Client Framework } { } { Copyright(c) 2013-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit fAbout; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, fAutoSz, StdCtrls, ExtCtrls, VA508AccessibilityManager; type TfrmAbout = class(TfrmAutoSz) pnlLogo: TPanel; Image1: TImage; lblProductName: TStaticText; lblFileVersion: TStaticText; lblComp...
unit Legend; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, SUIListBox, Grids, ExtCtrls, Buttons, SUIForm, StrUtils; type TLegendForm = class(TForm) suiForm1: TsuiForm; btn_Print: TBitBtn; btn_ok: TBitBtn; btn_cancel: TBitBtn; ...
{#################################################################################################################### TINJECT - Componente de comunicação (Não Oficial) www.tinject.com.br Novembro de 201...
inherited fBlankLines: TfBlankLines Width = 380 Height = 280 Font.Charset = ANSI_CHARSET Font.Height = -15 Font.Name = 'Segoe UI' ParentFont = False object Label1: TLabel Left = 8 Top = 144 Width = 284 Height = 20 Caption = 'Number of returns after the unit'#39's final end....
unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, JvGammaPanel, JvTypes; type { TDemoForm } TDemoForm = class(TForm) FgColorBtn: TColorButton; BgColorBtn: TColorButton; JvGammaPanel1: TJvGammaPanel; DemoLabel: TLabel; procedu...
unit Thread.Download; interface uses Classes, SysUtils, Thread.Download.Helper; type TDownloadThread = class(TThread) private Downloader: TDownloader; Request: TDownloadRequest; IsRequestSet: Boolean; PostDownloadMethod: TThreadMethod; IsPostDownloadMethodSet: Boolean; protected pro...
unit RuleConfig; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TRuleConfigForm = class(TForm) CB1: TCheckBox; CB2: TCheckBox; CB3: TCheckBox; Label1: TLabel; LowRuleEdit: TEdit; CB...
unit VA508ImageListLabeler; interface uses Windows, Messages, SysUtils, Classes, Controls, ImgList, VAClasses, Graphics, ComCtrls, Contnrs, Forms, oleacc2, VA508MSAASupport; type TVA508ImageListLabeler = class; TVA508ImageListLabels = class; TVA508ImageListLabel = class(TCollectionItem) private FIma...
{ *** Get MAC Adress *** *** by Filip Skalka, fip@post.cz *** *** September 2002 *** } unit MACAdress; interface uses classes; function GetMACAdresses(const Adresses:TStringList;const MachineName:string=''):integer; function GetMACAdress(const MachineName:string=''):string; implementation uses NB30,sysutils; type ...
unit WebSite; interface type IWebSite = interface ['{D9458634-F21B-4CE2-BB4E-587E95CF4694}'] function GetContent(const Url: string): string; end; function BuildWebSiteWithCache: IWebSite; implementation uses Code02.HttpGet, HttpCache; type TWebSiteWithCache = class(TInterfacedObject, IWebSite)...
{********************************************} { TeeChart Pro Charting Library } { Themes Editor Dialog } { Copyright (c) 2003-2004 by David Berneda } { All Rights Reserved } {********************************************} unit TeeThemeEditor; {$I TeeDefs.inc} ...
{ Copyright (c) 2010, Loginov Dmitry Sergeevich All rights reserved. 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 list of conditio...
unit frmReplaceU; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Menus; type TfrmReplace = class(TForm) Label1: TLabel; Label2: TLabel; edtKey: TEdit; edtReplace: TEdit; btnReplace: TButton; btnReplaceAll: TBut...
{$mode objfpc}{$H+}{$J-} uses SysUtils; type TFruit = class procedure Eat; end; TApple = class(TFruit) procedure Eat; end; procedure TFruit.Eat; begin Writeln('Изядохме плод'); end; procedure TApple.Eat; begin Writeln('Изядохме ябълка'); end; procedure DoSomethingWithAFruit(const Fruit: TFruit)...
unit query_filter; {$mode objfpc}{$H+} interface uses Classes, lcltype, SysUtils, Forms, DB, ExtCtrls, Dialogs, Controls, StdCtrls, metadata, Spin, Buttons; type TRelationalOperation = (roContaining, roStartsWith, roGreater, roLess, roNotLess, roNotGreater, roEqual, roInequal); TCustomEditClass = clas...
unit CoordinatesSystems; interface uses SysUtils, Classes, Graphics, Points; type TCoordinatesSystem = class Private Canvas : TCanvas; ClientWidth : Integer; ClientHeight : Integer; procedure ConvertCoordinates(x, y : Real; var xOut, yOut : Real); Public XCenter : Integer; YCenter : ...
unit Validator; interface uses Dictionary, Classes, ForestTypes; type TValidator = class(TObject) private DictForestries: TDictionary; DictLocalForestries: TDictionary; DictLanduse: TDictionary; DictProtectCategory: TDictionary; DictSpecies: TDictionary; DictDamage: TDictionary; Dic...
unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, Buttons, ExtCtrls, Menus, DbCtrls, DBGrids, db, uPSUtils, uPSComponent_Default, uPSComponent, uPSC_strutils, RxMemDS, LCLIntf; type { TfrmMain } TfrmMain = class(TForm) btnAdd: TB...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 2015-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit u_xpl_listener; {============================================================================== UnitName = uxPLListener UnitDesc = xPL Listener object and function UnitCopyright = GPL by Clinique / xPL Project ============================================================================== 1....
unit emrinject; {$mode delphi} interface uses Classes, SysUtils, winhooks; const {$IFDEF CPUX86} HookDLLName = 'emrhook.dll'; {$ELSE} HookDLLName = 'emrhook64.dll'; {$ENDIF} AppTitle = 'Exemusic Recorder'; type { TEMRThread } TEMRThread = class(TThread) private FFinished:...
program Aleatorio; uses crt; const MAX_CANTIDAD_SERIES = 4; MAX_TEMPORADAS_POR_SERIE = 5; MAX_EPISODIOS_POR_TEMPORADA = 5; type {Estructura de datos de las series} trVideo = record titulo : string[72]; descripcion : string[234]; d...
unit iaExample.ConsumerThread; interface uses System.Classes, System.Generics.Collections; type TConsumerState = (ConsumerWorking, ConsumerDone, ConsumerAbortedWithException); TExampleLinkedConsumerThread = class(TThread) private fTaskQueue:TThreade...
unit FormsUtil; interface uses Vcl.Controls, RzDBCmbo, RzDBGrid, RzGrids, DB, RzLstBox, RzChkLst, Vcl.ExtCtrls, System.Classes, RzCmboBx, IFinanceGlobal, Location, PaymentMethod; procedure OpenDropdownDataSources(const parentCtrl: TWinControl; const open: boolean = true); procedure OpenGridDataSources(const pa...
{===================} { ZXing is required } {===================} unit DataPak.Android.BarcodeScanner; interface uses System.Classes {$IFDEF ANDROID} , FMX.Platform, FMX.Helpers.Android, System.RTTI, FMX.Types , System.SysUtils, AndroidAPI.JNI.GraphicsContentViewText , AndroidAPI.JNI.JavaTypes, FMX.StdCtrl...
unit BrickCamp.Repositories.IQuestion; interface uses System.JSON, BrickCamp.Model.TQuestion; type IQuestionRepository = interface(IInterface) ['{7F4F7450-E7AF-4CD5-9B69-1FA0A99E09E9}'] function GetOne(const Id: Integer): TQuestion; function GetList: TJSONArray; procedure Insert(const Question:...
unit TestuFuncionarioController; { 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, Vcl.Forms, Syste...
///////////////////////////////////////////////////////// // // // FlexGraphics library // // Copyright (c) 2002-2009, FlexGraphics software. // // // // FlexGraphics library fil...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
program HelloWorld; var length : real; width : real; height : real; Volume : real; begin length := 7; width := 5; height := 3; Volume:=(length * (height * width))/3; writeln('The Volume of this Pyramid is ' , Volume); writeln('This is test5') end.