text
stringlengths
14
6.51M
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
{GENERAL METHODS USED BY TWAIN DELPHI} {december 2001®, made by Gustavo Daud} {This unit contains general methods used by Delphi} {Twain component. Some of the methods bellow aren't} {directly related to Twain, but are pieces needed} {to implement the component.} unit DelphiTwainUtils; {$INCLUDE DELPHITWAI...
unit postgres_ext; interface uses Windows; { Pointers to basic pascal types, inserted by h2pas conversion program.} Type {$ifndef PLongint} PLongint = ^Longint; {$endif} {$ifndef PSmallInt} PSmallInt = ^SmallInt; {$endif} {$ifndef PByte} PByte = ^Byte; {$endif} {$ifndef PWord} PWord = ^Word; {$endif...
unit LazUTF8Classes; { LLCL - FPC/Lazarus Light LCL based upon LVCL - Very LIGHT VCL ---------------------------- This file is a part of the Light LCL (LLCL). This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL ...
{ "Fast Huge String manipulation and search classes" - Copyright (c) Danijel Tkalcec @exclude } unit rtcFastStrings; {$include rtcDefs.inc} interface uses memStrIntList, SysUtils, Classes; const RTC_STROBJ_SHIFT = 4; // = 16 RTC_STROBJ_PACK = 1 shl RTC_STROBJ_SHIFT; RTC_STROBJ_AND = RTC_STROBJ_PACK-1; ...
{******************************************************************************* * * * TkToolbar - Toolbar with form stack/transitions awareness * * ...
unit UnitSelectPorts; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Spin, ComCtrls, UnitConnection, UnitMain, Menus; type TFormSelectPorts = class(TForm) lvPorts: TListView; se1: TSpinEdit; btn1: TButton; chk1: TCheckBox; edt1: ...
unit U_POWER_ANALYSIS; interface uses Classes, SysUtils, U_POWER_LIST_INFO, U_POWER_LIST_ACTION, Dialogs; type TIntArray = array of Integer; type TFloatArray = array of Double; type /// <summary> /// 功率解析类 /// </summary> TPowerAnalysis = class private FPowerAction : TPowerListActi...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit PrintView; interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs, Quickrpt, StdCtrls, Spin, Buttons, ExtCtrls, QRPrntr, Db, Tmax_DataSetText; type TViewForm = class(TForm) Panel1: TPanel; Bexit: TBitBtn; SE_Zoom: TSpinEdit; Bprin...
{*********************************************} { TeeChart Delphi Component Library } { TSmithSeries Component } { Copyright (c) 2000-2004 Marjan Slatinek } {*********************************************} unit TeeSmith; {$I TeeDefs.inc} interface uses {$IFDEF CLR} Windows, ...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit NewButton; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Math, ExtCtrls ; type TBtnState =(Leave,Enter,Down,Up); TNewButton = class(TGraphicControl) private FStep:integer; FAnimateStep:integer; FR,FG,FB,FR1,FG1,FB1,FR2,FG2,FB2:integer; FBtnSt...
{***********************************<_INFO>************************************} { <Проект> Компоненты медиа-преобразования } { } { <Область> Мультимедиа ...
unit uEngineResource; {$ZEROBASEDSTRINGS OFF} {.$DEFINE FORTEST} // *************************************** // 管理所有的资源文件(所有的图片资源,JSON文档信息) // 任何一个Sprite都可以调用这个Unit来获取图片资源.... interface uses System.SysUtils,System.Classes,System.JSON,System.UITypes, FMX.Graphics, FMX.Dialogs, zipPackage; Type TEngineR...
{ 25/05/2007 10:35:31 (GMT+1:00) > [Akadamia] checked in } { 25/05/2007 10:34:36 (GMT+1:00) > [Akadamia] checked out /} { 14/02/2007 08:29:56 (GMT+0:00) > [Akadamia] checked in } { 14/02/2007 08:29:41 (GMT+0:00) > [Akadamia] checked out /} { 12/02/2007 10:17:14 (GMT+0:00) > [Akadamia] checked in } { 08/02/2007 14...
unit UntDmREST; interface uses System.SysUtils, System.Classes, System.JSON, System.JSON.Readers, System.NetEncoding, System.JSON.Types, System.Types, IPPeerClient, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.P...
unit ExtraChargeSimpleView; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, GridFrame, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinBl...
unit UViewPort; {$mode objfpc}{$H+} interface uses Classes, Math, UGeometry; type TScrollBarType = (sbHorizontal, sbVertical); TScrollUpdateEvent = procedure(AVisible: Boolean; APageSize, APosition: Integer; AKind: TScrollBarType) of object; { TViewPort } TViewPort = class const MaxScale ...
unit UPluginGroups; interface uses SysUtils, Classes, Contnrs, UPluginClasses; type TPluginItem = class(TObject) private FPlugin: TPluginClass; FPluginName: string; public property Plugin: TPluginClass read FPlugin write FPlugin; property PluginName: string read FPluginName writ...
unit uConnection; interface uses SysUtils, ADODB, Classes, Dialogs, Windows; const connstrORA = 'Provider=MSDAORA.1;Password=%s;User ID=%s;Data Source=%s;Persist Security Info=True'; connstrMS = //'Provider=SQLOLEDB.1;Password=%s;User ID=%s;Data Source=%s;Initial Catalog=IFRS;'; //'Provider=SQLNCLI...
unit CalcLogic; interface uses SysUtils; type TCalcLogic = class public function Add(a, b: integer): integer; function Sub(a, b: integer): integer; function Mul(a, b: integer): integer; function Division(a, b: integer): integer; end; implementation function TCalcLogic.Add(a, b: integer): int...
{----------------------------------------------------------------------------- Author: Roman Fadeyev Purpose: Базовый класс реаизации источника данных (IStockDataSource) History: -----------------------------------------------------------------------------} unit FC.StockData.StockDataSource; {$I Compiler.inc}...
unit main; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, AppEvnts, ActnList, Menus, StdCtrls; type TMainForm = class(TForm) ApplicationEvents: TApplicationEvents; ActionList: TActionList; Action: TAction; MainMenu: TMainMenu; MenuAction: TMenuItem;...
unit UnClienteListaRegistrosView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGrids, StdCtrls, JvExControls, JvButton, DB, JvTransparentButton, ExtCtrls, { Fluente } Util, DataUtil, UnModelo, Componentes, UnAplicacao, UnClienteListaRegistrosM...
unit TiledMap; interface uses System.Classes, Vcl.Imaging.PNGImage; type TTiledMap = class(TObject) private type TLayer = array of array of Integer; private FWidth: Integer; FHeight: Integer; FTileSize: Integer; FOwner: TComponent; FName: string; FLevel: Intege...
unit Optimizer.Indexer; interface uses SysUtils, OS.EnvironmentVariable, Optimizer.Template, Global.LanguageString, OS.ProcessOpener, Registry.Helper; type TIndexerOptimizer = class(TOptimizationUnit) public function IsOptional: Boolean; override; function IsCompatible: Boolean; override; funct...
// Copyright 2021 Darian Miller, Licensed under Apache-2.0 // SPDX-License-Identifier: Apache-2.0 // More info: www.radprogrammer.com unit radRTL.Base32Encoding; interface uses System.SysUtils; type TBase32 = class public const Dictionary:AnsiString = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567'; // 3...
{*********************************************************************** Unit gfx_colors.PAS v1.2 0801 (c) by Andreas Moser, amoser@amoser.de gfx_colors is part of the gfx_library collection You may use this sourcecode for your freewareproducts. You may modify this source-code for your own use....
{------------------------------------------------------------------------------- // EasyComponents For Delphi 7 // 一轩软研第三方开发包 // @Copyright 2010 hehf // ----------------------------...
unit SpaceToTab; {(*} (*------------------------------------------------------------------------------ Delphi Code formatter source code The Original Code is SpaceToTab, released May 2003. The Initial Developer of the Original Code is Anthony Steele. Portions created by Anthony Steele are Copyright (C) 199...
{ ******************************************************* Threading utilities for Delphi 2009 and above Utilidad para programación concurrente. ******************************************************* 2012 Ángel Fernández Pineda. Madrid. Spain. This work is licensed under the Creative Commons Attributio...
unit elcohttpclient; interface uses superobject, System.sysutils; type ERemoteError = class(Exception); function GetResponse(method: string; params: ISuperobject): ISuperobject; implementation uses registry, System.Net.HttpClient, winapi.windows, ujsonrpc, classes, System.Net.URLClient; function _httpad...
{* DialogLongMessage.pas/dfm ------------------------- Begin: 2005/06/20 Last revision: $Date: 2011-09-30 19:12:57 $ $Author: areeves $ Version number: $Revision: 1.19 $ Project: APHI General Purpose Delphi Libary Website: http://www.naadsm.org/opensource/delphi/ Author: Aaron Reeves <aaron.reeves@naadsm.org> ---------...
{** * @Author: Du xinming * @Contact: QQ<36511179>; Email<lndxm1979@163.com> * @Version: 0.0 * @Date: 2018.10 * @Brief: *} unit org.utilities.buffer; interface uses WinApi.Windows, System.SysUtils, System.Classes, org.algorithms.queue; type TBuffer = class public function GetBuffer(Buffer: PAn...
unit Security.Matrix.View; 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, Vcl.Imaging.pngimage, Vcl.Imaging.jpeg, System.StrUtils, PngSpeedButton, PngFunctions , ...
// ******************************************************* // // playIoT Global Library // // Copyright(c) 2016 playIoT. // // jsf3rd@playiot.biz // // // ******************************************************* unit JdcGlobal; interface uses Classes, SysUtils, Windows, ZLib, IdGlobal, IOUtils, JclF...
unit XMLUtils; interface uses SysUtils, MSXML_TLB, ORFn; function Text2XML(const AText: string): string; function FindXMLElement(Element: IXMLDOMNode; ElementTag: string): IXMLDOMNode; function FindXMLAttributeValue(Element: IXMLDOMNode; AttributeTag: string): string; function GetXMLWPText(Element: IXMLDOMNode): st...
unit MIDI; interface uses System.Types, mmsystem; type TMIDIInstrument = (midiAcousticGrandPiano, midiBrightAcousticPiano, midiElectricGrandPiano, midiHonkyTonkPiano, midiRhodesPiano, midiChorusedPiano, midiHarpsichord, midiClavinet, midiCelest...
unit fLabTests; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ORCtrls, StdCtrls, ExtCtrls, fBase508Form, VA508AccessibilityManager; type TfrmLabTests = class(TfrmBase508Form) pnlLabTests: TORAutoPanel; cmdOK: TButton; cmdCancel: TButton; lstList: TORLi...
unit BindDocUnit; interface uses DocBindExcelDataModule; type TBindDoc = class(TObject) protected class procedure DoBindDocs(ADocBindExcelTable: TDocBindExcelTable); static; public class procedure LoadDocBindsFromExcelDocument(const AFileName : string); static; end; implementation uses AllF...
unit CAM_CCM; (************************************************************************* DESCRIPTION : Camellia Counter with CBC-MAC (CCM) mode functions REQUIREMENTS : TP5-7, D1-D7/D9-D12/D17-D18, FPC, VP, WDOSX EXTERNAL DATA : --- MEMORY USAGE : --- DISPLAY MODE : --- REMARKS ...
PROGRAM Avg; var x, s, n: integer; BEGIN (* Avg *) s := 0; n := 0; Read(x); WHILE (x <> 0) DO BEGIN s := s + x; n := n + 1; Read(x); END; (* WHILE *) IF (n>0) THEN BEGIN WriteLn('Avg: ', s/n :5:3); //--> 5: Vorkommastellen, 3: nachkommastellen END ELSE BEGIN WriteLn('No data.'); ...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1995, 2001 Borland Software Corp. } { ...
unit Vigilante.Compilacao.DI; interface uses ContainerDI.Base.Impl, ContainerDI.Base; type TCompilacaoDI = class(TContainerDI) public class function New: IContainerDI; procedure Build; override; end; implementation uses ContainerDI, Vigilante.Compilacao.View, Vigilante.View.URLDialog.Impl, Vi...
unit caProcesses; {$INCLUDE ca.inc} interface uses // Standard Delphi units  Windows, SysUtils, Classes, Contnrs, Tlhelp32, PSAPI, Forms, // ca units  caClasses, caConsts, caTypes, caLog, caUtils; type //--------------------------------------------------------------------------- /...
unit uSetOfExemplo; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, typinfo; type TDiasSemana = (Domingo, Segunda, Terca, Quarta, Quinta, Sexta, Sabado); TAlfabeto = (a, b, c, d, e, f); TConjunto = set of TAlfabeto; TCLetras = set of char; ...
Unit BaseObject_f_ID; Interface Uses BaseObject_c_FunctionResult, BaseObject_c_ID; // Function BaseObjectIDCreate(Var xxBaseObjectID: TBaseObjectID): TBaseObjectFunctionResult; Function BaseObjectIDToHexString(xxBaseObjectID: TBaseObjectID): String; Implementation Uses BaseObject_f_File, SysUt...
{ @abstract(@code(google.maps.LatLngBounds) class from Google Maps API.) @author(Xavier Martinez (cadetill) <cadetill@gmail.com>) @created(October 1, 2015) @lastmod(October 1, 2015) The GMLatLngBounds contains the implementation of TGMLatLngBounds class that encapsulate the @code(google.maps.LatLngBounds) cl...
unit CORBAClientForm; { The CorbaConnection Component's Repository ID property is used to connect to the Server. Please make sure that the Server is either running or registered with OAD (using OADUtil). Note that Delphi does not require the complete Repository ID. Both the short form, 'CORBAServer/DemoCORBA...
unit Unitres; interface uses SysUtils, Classes,Graphics ; type TBase = class private x: integer; y: Integer; bitmap: TBitmap; { Private declarations } public constructor Create(x0,y0 : Integer ; bitmap0 : TBitmap);//создание изображения с этими значениями procedure setX(x0:Int...
unit uMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, uPiThread; type TfmMain = class(TForm) cbCalculate: TCheckBox; Label1: TLabel; Label2: TLabel; laBuiltIn: TLabel; laValue: TLabel; laIterNum: TLabel; procedure ...
//****************************************************************************** //*** SCRIPT VCL FUNCTIONS *** //*** *** //*** (c) Massimo Magnano 2006 ...
unit udemutil; interface Uses Classes,Graphics,Dialogs; Function EditColor(AOwner:TComponent; AColor:TColor):TColor; implementation Function EditColor(AOwner:TComponent; AColor:TColor):TColor; Begin With TColorDialog.Create(AOwner) do try Color:=AColor; if Execute then AColor:=Color; finally Free...
unit Crypto.RSA; interface uses System.SysUtils, RSA.main; function RSAGenPrivateKey: TBytes; function RSAGetPublicKey(const PrivateKey: TBytes): TBytes; function RSAEncrypt(const PrivateKey,Data: TBytes): TBytes; function RSADecrypt(const PublicKey,Data: TBytes): TBytes; implementation const KeySize = 512; ...
unit BodyTypesGroupUnit2; interface uses QueryGroupUnit2, System.Classes, NotifyEvents, BodyKindsQuery, BodyTypesQuery2, ProducersQuery, BodyTypesSimpleQuery, BodyTypesExcelDataModule, SearchBodyVariationQuery, BodyKindsColorQuery; type TBodyTypesGroup2 = class(TQueryGroup2) private FqBodyKinds: TQuery...
// // Copyright (c) 2009-2010 Mikko Mononen memon@inside.org // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for any purpose...
unit PassForm; 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, Vcl.WinXCtrls; type Tfrm_Password = class(TForm) RelativePanel1: TRelativePanel; ed...
{ InternetExpress sample component. TReadFileClientDataSet is a custom TClientDataSet that does not write the client data set file to disk when the data set is closed. The inetxcenter sample application uses a client data set file for read only data. } unit ReadFileClientDataSet; interface uses Window...
unit Ex7Unit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, MTUtils, ComCtrls; type TMyThread = class(TThread) private FResult: Int64; FCurrValue: Integer; procedure SetProgressParams; procedure SetProgressCurrValue...
unit ltrapitypes; interface uses SysUtils; const COMMENT_LENGTH =256; ADC_CALIBRATION_NUMBER =256; DAC_CALIBRATION_NUMBER =256; type {$A4} SERNUMtext=array[0..15]of AnsiChar; TLTR_CRATE_INFO=record CrateType:byte; CrateInterface:byte; end; TLTR_DESCRIPTION_MODULE=...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Copyright (c) 2020-2020 Skybuck Flying // Copyright (c) 2020-2020 The Delphicoin Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-...
(* Morse: MM, 2020-04-09 *) (* ------ *) (* A Program do encode and decode morse messages *) (* ========================================================================= *) ...
unit BarrasGantt; interface Uses Windows, Forms, SysUtils, Classes, ZDataset, DB, ExtCtrls, Graphics, Grids, DBGrids, StdCtrls, Menus, Tabs, DateUtils, Frm_Propiedades, Messages, global, Controls ; Type { Estructura para información de las barras } TBarra = Class Tipo: String; NumeroActividad: Strin...
{ $Id: UnitTestExtensions.pas 7 2008-04-24 11:59:47Z judc $ } {: DUnit: An XTreme testing framework for Delphi programs. @author The DUnit Group. @version $Revision: 7 $ } (* * The contents of this file are subject to the Mozilla Public * License Version 1.1 (the "License"); you may not use this file * except...
unit WHookInt; interface uses Windows, Messages, SysUtils; function SetHook(WinHandle: HWND; MsgToSend: Integer): Boolean; stdcall; export; function FreeHook: Boolean; stdcall; export; function MsgFilterFuncKbd(Code: Integer; wParam, lParam: Longint): Longint stdcall; export; function MsgFilterFuncMou(Code: Intege...
unit FormatDateSQLiteU; interface uses System.SysUtils; type FormatDateSQLite=class public function FormatDate(datef:TDate):string; end; implementation { StringUtils } { FormatDateSQLite } function FormatDateSQLite.FormatDate(datef: TDate): string; var Present: TDateTime; Year, Month, Day, Hour, Min, ...
unit EdParamToFields; interface {$i ..\FIBPlus.inc} uses Windows, Messages, SysUtils, Classes, {$IFDEF D_XE2} Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.StdCtrls, {$ELSE} Graphics, Controls, Forms, Dialogs, ComCtrls, ExtCtrls, StdCtrls, {$ENDIF} DB...
unit NtUtils.Security.Sid; interface uses Winapi.WinNt, Winapi.securitybaseapi, NtUtils.Exceptions; type ISid = interface function Sid: PSid; function EqualsTo(Sid2: PSid): Boolean; function Parent: ISid; function Child(Rid: Cardinal): ISid; function SDDL: String; function IdentifyerAutho...
unit rConsults; interface uses SysUtils, Classes, ORNet, ORFn, rCore, uCore, TRPCB, dialogs, uConsults, rTIU, uTIU; type TUnresolvedConsults = record UnresolvedConsultsExist: boolean; ShowNagScreen: boolean; end; {Consult Titles } function DfltConsultTitle: integer; function DfltConsultTitleName: str...
unit MinStopsPlanner; interface uses Contnrs, MetroBase, Planner; type TMinStopsPlanner = class(TPlanner) protected FNetwork: TNetwork; public // construction/destruction constructor Create(ANetwork: TNetwork); // queries -------------------------------------------- ...
unit uZeichnerFarben; {$mode delphi}{$H+} interface uses Classes, SysUtils, uZeichnerBase, fgl, uFarben; type TZeichnerFarben = class(TZeichnerBase) private FFarben: TFarben; procedure aktionSchrittMtLinie(list: TStringList); public constructor Create(zeichenPara: TZeichenParameter); override; ...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit ExPolygon1; interface uses System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, //GLS GLScene, GLObjects, GLGeomObjects, GLTexture, GLMultiPolygon, GLVectorGeometry, GLWin32Viewer, GLCrossPlatform, GLMaterial, GLCoordinates, GLBaseClasses; type TVektor...
{*******************************************************} { } { Borland Delphi Visual Component Library } { XML Data File to XML Schema Translator } { } { Copyright (c) 2001-2002 Bor...
{*********************************************} { TeeChart Delphi Component Library } { Logarithmic Labels Demo } { Copyright (c) 1996 by David Berneda } { All rights reserved } {*********************************************} unit LogLab; {$P-} interface {...
unit UnitCuentaCredito; interface uses System.SysUtils, System.Variants, System.Classes, Data.DB; type TCuentaCredito = class public estadoCuenta : string; deudaTotal : currency; idClienteCuenta : integer; idCuentaCredito : integer; numeroDeCuenta : string; currentDate: TDateTime; ...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type charge=class private _q:Real ; _pos:TPoint; //1-point,2-sphere,3-cylinder,4-plane _OBJTYPE: Integer ; _r:Integer ; _height...
unit Authentication; interface uses Storage; type /// <summary> /// Класс хранящий информацию о текущем пользователе /// </summary> /// <remarks> /// </remarks> TUser = class strict private class var FLocal: boolean; class var FLocalMaxAtempt: Byte; private FSession: String; FLogin:...
{----------------------------------------------------------------------------- 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...
{Copyright (C) 2006 Benito van der Zander 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 version. This program is distributed ...
unit TestDirectPartitionTrimmer; { 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, Mock.Getter.T...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2019 Embarcadero Technologies, Inc. } { All rights reserved } { ...
{PROGRAM hello (output); Write 'Hello, world.' ten times VAR i : integer; BEGIN hello FOR i := 1 TO 10 DO BEGIN writeln('Hello, world.'); END; END hello} 0 1 20 000000000045 0 2
unit UISearchController; interface type ISearchController = interface procedure Close; procedure Search(Value : String); procedure Add; procedure Update(Id : String); procedure Delete(Id : String); procedure UpdateFilters; end; implementation end.
{ @html(<b>) ISAPI Server Connection @html(</b>) - Copyright (c) Danijel Tkalcec @html(<br><br>) Introducing the @html(<b>) @Link(TRtcISAPIServer) @html(</b>) component: @html(<br>) Server connection component for ISAPI communication using HTTP requests. } unit rtcISAPISrv; {$INCLUDE rtcDefs.inc} inter...
unit uLivroModel; interface uses uEnumerado, FireDAC.Comp.Client; type TLivroModel = class private FAcao: TAcao; FCodigo: string; FTitulo: string; FAutor: string; FAno: Integer; FLocalizacao: integer; procedure SetAcao(const Value: TAcao); procedure SetAno(const Value: Integer...
unit U_Hex; interface Uses Forms,ADODB,Dialogs,Messages, Windows, SysUtils, Variants, Classes, Graphics, Controls, DB, StdCtrls, Grids, DBGrids, Buttons, ExtCtrls,Clipbrd,StrUtils; procedure ShowMsgB(Msg: String); function ReadAndCheckHexFile(strFileName:string):string;//合法返回数据串,不合法返回串'-1' function LoadHex...
unit UfrmConfig; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, IniFiles, Buttons; type TfrmConfig = class(TForm) lblBD: TLabel; edtBD: TEdit; lblSenha: TLabel; edtSenha: TEdit; btnGravar: TBitBtn; lblEmpresa: TLabel; edt...
unit AHistoricoTelemarketingProspect; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios, ExtCtrls, PainelGradiente, Componentes1, StdCtrls, Buttons, Localizacao, ComCtrls, Db, DBTables, DBCtrls, Tabela, Grids, DBGrids, DBKeyViolation, Mask, numericos,...
unit ServersUtils; interface type TServerData = record name, adress: string; id, players, slots: integer; status: boolean; end; procedure AddServer(data: TServerData); function GetServer(ID:integer):TServerData; var Servers: array of TServerData; implementation procedure AddS...
{: GLHiddenLineShader<p> A shader that renders hidden (back-faced) lines differently from visible (front) lines. Polygon offset is used to displace fragments depths a little so that there is no z-fighting in rendering the same geometry multiple times.<p> <b>History : </b><font size=-1><ul> <l...
/////////////////////////////////////////////////////////////////////////// // // // Copyright © 1997-1998, NetMasters, L.L.C // // - All rights reserved worldwide. - // // Portions may...
// ==================================================================== // // Unit uWarrior.pas // // This class contains the main properties from the player/character // // Esta classe contém as propriedades principais do jogador/personagem // // ================================================================...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit TestTypes; interface type TDateTimeRec = record Year, Month, Day, Hour, Minute, Second : Word; class operator Implicit(ADateTimeRec : TDateTimeRec) : TDateTime; end; implementation uses System.DateUtils; { TDateTimeRec } class operator TDateTimeRec.Implicit(ADateTimeRec : TDateTimeRec) :...
{ rxCRC unit Copyright (C) 2005-2020 Lagunov Aleksey alexs@yandex.ru and Lazarus team original conception from rx library for Delphi (c) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundat...
unit uDelphiLexer; interface uses uLexer, uText, Character; const ltDfmIdentifier = 1; ltDfmStrin = 2; ltDfmNumber = 3; ltDfmEqual = 6; // = ltDfmLT = 7; // < ltDfmGT = 8; // > ltDfmLeftBracket = 9; // ( ltDfmRightBracket = 10; // ) ltDfmColon ...
// // uSettings for GLSViewer // unit uSettings; interface uses Winapi.Windows, Winapi.Messages, System.Win.Registry, System.IniFiles, System.SysUtils, Vcl.Forms, Vcl.Graphics, Vcl.ActnList, // GNUGettext; procedure InitGeneralRegistry; //------------------------------------------------...
{ ******************************************************************************************************************* SpiderForm: Contains TSpiderForm component which used to generate HTML form Author: Motaz Abdel Azeem email: motaz@code.sd Home page: http://code.sd License: LGPL Last...