text
stringlengths
14
6.51M
unit UFrmNotificacao; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, //Units Necessárias IniFiles, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, IdBaseComponent, IdMessage, IdExplicitTLSClientServerBase, IdMess...
unit iaRTL.Cloud.AmazonContext; interface uses iaRTL.API.Keys, iaRTL.Cloud.AmazonRegions; type TAmazonConfigSettings = record ConfigFileName:string; CredentialsFileName:string; ProfileName:string; end; /// <summary> Attempt to retrieve AWS keys+region from environment variab...
{ GeoJSON/Geometry/MultiPoint Object Test Copyright (c) 2018 Gustavo Carreno <guscarreno@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including withou...
unit uEndereco; interface uses sysUtils; type TEndereco = class private FID: integer; FRua: string; FNumero: integer; FBairro: string; FCidade: string; FCEP: string; function getID: integer; procedure setID(value: integer); function getrua: string; procedure setrua(value...
program dataStructures; type tNumberName = (zero, one, two, three, four, five, six, seven, eight, nine, ten); tMatrixIndex = 0 .. 3; {dt. "Verbundtyp" } tStudent = record name : string; age : integer; end; {tStudent} var { array[<index type>] of <compo...
unit uHttpHandler; interface uses uTcpHandler, IdExplicitTLSClientServerBase, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHttp, IdMultipartFormData; type { // PHP CODE <? $uploadDir = "uploads/"; $tmpAttachPath = $_FILES['attach']['tmp_name']; $attachPath = $uploadDir.$_FILE...
unit uSalaryChangerIntf; interface uses Spring.Interception ; type ISalaryChanger = interface(IInvokable) procedure ChangeSalary(const aNewSalary: Integer); end; TSalaryChanger = class(TInterfacedObject, ISalaryChanger) procedure ChangeSalary(const aNewSalary: Integer); end; TSalaryC...
unit untDependente; interface type TDependente = class private FId_Dependente: Integer; FNome: String; FIsCalcularIR: Integer; FIsCalcularINSS: Integer; function GetId_Dependente: Integer; function GetNome: String; function GetIsCalcularIR: Integer; function GetIsCalcularINSS: Int...
unit AllObjectsFrame; interface uses Windows, BaseObjects, BaseGUI, Registrator, ExtCtrls, Buttons, UniButtonsFrame, StdCtrls, Forms, Controls, Classes; type TfrmAllObjects = class; TAllObjectsGUIAdapter = class (TCollectionGUIAdapter) private function GetFrameOwner: TfrmAllObjects; public pr...
unit teste.dao.produto; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, teste.classes.produto, teste.dao.objects, Datasnap.Provider, Datasnap.DBClient; type TdaoProduto = class private public class procedure getProduto(var oclass: TProdutoClass); class ...
unit uProgramMgr; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, dxSkinsCore, dxSkinCaramel, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, Menus, StdCtrls, cxBu...
(* А) Напишите процедуры для ввода и вывода множества символов. Можно ли здесь для счетчика цикла применить символьную переменную? *) type tSetChars = set of char; procedure ReadSet(var aFile: text; var s: tSetChars); var c: char; begin while not Eoln(aFile) do begin Read(aFile, c); s := s + [c]; end; Readln(a...
{@unit RLFilters - Implementação do filtro padrão de impressão e classes abstratas para filtros de gravação e impressão. } unit RLFilters; interface {$WARN SYMBOL_DEPRECATED OFF} uses Classes, SysUtils, Math, Windows, Types, Forms, Dialogs, RLMetaFile, RLConsts, RLTypes, RLUtils, RLFeedBack, RLPrinters;...
unit utime; interface uses Windows, mmsystem; type TTicks = record PerformanceCounter: Int64; Ticks: DWord; end; var gUsePerformanceCounter: boolean = false; procedure GetTimeFreq (var Freq: int64; var Time: TTicks); function MSelapsed (Freq: int64; StartTime: TTicks): Int64; implementati...
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 a...
unit Perforator; interface uses Registrator, BaseObjects; type TPerforatorType = class(TRegisteredIDObject) public function List(AListOption: TListOption = loBrief): string; override; constructor Create(ACollection: TIDObjects); override; end; TPerforatorTypes = class(TRegisteredIdObjects)...
{ For each selected object that has the specified Papyrus script attached, create a property on that script with the specified name and assign it the specified Form ID. (If the property already exists, it is set -- a duplicate is not added.) We do not validate the specified Form ID. We also don't...
unit UMyFileSearch; interface uses UChangeInfo, Classes, UFileBaseInfo, UMyClient, UMyUtil, SysUtils, SyncObjs, UModelUtil, Generics.Collections, uDebug, Windows; type {$Region ' 递归文件搜索 ' } // 递归 搜索文件 TFolderSearchBase = class private SearchCount : Integer; SearchNum : Integer; private Fo...
{Ä Fido Pascal Conference ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ PASCAL Ä Msg : 224 of 231 From : Gregory P. Smith 1:104/332.11 12 Apr 93 17:21 To : Tim Strike 1:259/423.0 Subj : Detect OS/2 and WINDOWS sessions ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ...
unit FullScreenTabs; interface uses System.Types, System.Generics.Collections, FMX.Layouts, FMX.ImgList, FMX.Objects, FMX.Types, FMX.Forms, FMX.Ani, uFrame; type FSTab = class private layout: TLayout; image: TGlyph; text: TText; public property txt: TText read text; property img: TGly...
unit Helper.TGroupBox; interface uses System.Types, Vcl.StdCtrls, Vcl.Controls; type TGroubBoxClassHelper = class helper for Vcl.StdCtrls.TGroupBox function ChildrensSumHeight(ControlsToExclude: TArray<TControl>): Integer; end; implementation function TGroubBoxClassHelper.ChildrensSumHeight(ControlsToEx...
unit VirtListView; interface uses Windows, Messages, Classes, Controls, ComCtrls, CommCtrl; const LVN_ODSTATECHANGED = LVN_FIRST-15; type PLVCacheHint = ^TLVCacheHint; TLVCacheHint = packed record Hdr: TNMHDR; iFrom: Integer; iTo: Integer; end; PLVFindItem = ^TLVFindItem; ...
unit uMainForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, ExtDlgs, ComCtrls, Spin, BZImageViewer, BZClasses, BZColors, BZGraphic, BZBitmap, {%H-}BZBitmapIO; type { TMainForm } TMainForm = class(TForm) Panel1 : TPanel; Panel2 : TPa...
unit uMainForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, Spin, Buttons, ExtDlgs, BZColors, BZGraphic, BZVectorMath, BZBitmap, BZImageViewer, BZBitmapIO; //BZGeoTools; type { TMainForm } TBZPaintTool = (ptNone, ptPen, ptLine, ptRect, ptEll...
unit UBunkersReport; interface uses Windows, SysUtils, Messages, Classes, Graphics, Controls, StdCtrls, ExtCtrls, Forms, Quickrpt, QRCtrls, tc; type TBunkersReport = class(TQuickRep) QRBand1: TQRBand; QRLabel1: TQRLabel; QRLabel2: TQRLabel; QTime: TQRLabel; QCommBunkers: TQRLabel...
unit Aurelius.Engine.DatabaseManager; {$I Aurelius.inc} interface uses Generics.Defaults, Generics.Collections, Aurelius.Drivers.Interfaces, Aurelius.Engine.AbstractManager, Aurelius.Mapping.Explorer, Aurelius.Schema.Commands, Aurelius.Schema.Interfaces, Aurelius.Schema.Messages, Aur...
unit DmRtcCommonFunctions; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DmRtcCustom, rtcFunction, rtcSrvModule, rtcInfo, rtcConn, rtcDataSrv, rtcDb, DmMain, uRtcDmList, DmRtcUseMonth, rtclog, SQLTableProperties, CommonInterface, FbApiQuery, IB, rtcHttpSrv,...
unit LinkedList.Standard; interface type TLinkedListItem = class abstract private FNext: TLinkedListItem; public property Next: TLinkedListItem read FNext; end; type TLinkedList<T: TLinkedListItem> = class private FHead: T; public procedure Add(const AItem: T); property Head: T rea...
{ *********************************************************** } { * TForge Library * } { * Copyright (c) Sergey Kasandrov 1997, 2016 * } { *********************************************************** } unit tfHashes; interface {$I TFL.inc} uses SysUti...
{ ID: ndchiph1 PROG: namenum LANG: PASCAL } program namenum; uses crt; var fi,fo: text; d: array[1..5000] of string[20]; a: array[1..12] of 2..9; n,len: integer; c: array[2..9] of set of char; procedure input; begin n:= 0; assign(fi,'dict.txt'); reset(fi); w...
{6. Una empresa importadora de microprocesadores desea implementar un sistema de software para analizar la información de los productos que mantiene actualmente en stock. Para ello, se conoce la siguiente información de los microprocesadores: marca (Intel, AMD, NVidia, etc), línea (Xeon, Core i7, Opteron, Atom, Centrin...
{*******************************************************} { } { Модуль для работы с купюроприемником } { по протоколу CCNET } { } { Автор : Гузенко А....
program lcg(input, output); { Linear congruential generator, taken from Wikipedia. <http://en.wikipedia.org/wiki/Linear_congruential_generator> Error's in file Line 55 end requires a period } const InitialSeed = 30203; var GlobalSeed: Integer; function PseudoRand(var seed: Integer): Integer; cons...
unit F13; interface uses typelist; CONST LineSep= #10; function StrToInt(x: string):integer; {Mengubah bentuk string ke dalam integer} procedure loadBuku(namafile:string; var c:List_Buku); {Membaca file eksternal buku dan menuliskannya ke dalam array type bentukan List_Buku} procedure loadUser(namafile:string; v...
unit PessoaEndereco; interface uses MVCFramework.Serializer.Commons, ModelBase; type [MVCNameCase(ncLowerCase)] TPessoaEndereco = class(TModelBase) private FID: Integer; FID_PESSOA: Integer; FLOGRADOURO: string; FNUMERO: string; FCOMPLEMENTO: string; FBAIRRO: string; FCIDADE: str...
program VGtester; {$mode objfpc}{$H+} { Raspberry Pi Application } { Add your program code below, add additional units to the "uses" section if } { required and create new units by selecting File, New Unit from the menu. } { ...
unit UHistory; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, Menus, StdCtrls, UFigures, Buttons, Spin, Grids, typinfo, LCLType, Math; type THistory = class SaveList: TStringList; UndoRedoIndex: integer; SavedIndex:Integer; ObjectE...
unit dmAttributes; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, rtc.dmdoc, MemTableDataEh, Db, DataDriverEh, MemTableEh, RtcInfo, VkVariable, VkVariableBinding, VkVariableBindingDialog, uDocDescription, RtcSqlQuery, rtcConn, rtcDataCli, rtcCliModule; type...
{***************************************************************************** Unit Text Separated Read character separated files. CSV Comma Separated Values (, or ;) TSV Tab Separated Values (Chr(9)) PSV Pipe Separated Values (|...
{******************************************************************************* Title: T2Ti ERP Description: Controller do lado Cliente relacionado à tabela [FISCAL_APURACAO_ICMS] ...
{$IFDEF DontDefineThisVar} // Only for jedi code unit neverusedname; interface implementation {$EndIf} { TIssues } function TIssues.GetItem(index: Integer): TIssue; begin Result := inherited GetItem(index) as TIssue; end; function TIssues.Add(AObject: TIssue): TIssue; begin Result := inherited Add(AObject) a...
unit uSimpleStubDemo; interface type ILogger = interface(IInvokable) ['{B571A28D-A576-4C83-A0D3-CB211435CDEA}'] procedure Log(aString: string); end; TDollarToGalleonsConverter = class private FLogger: ILogger; public constructor Create(aLogger: ILogger); function ConvertDollarsToGalleons(...
unit RTF_Main; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, IniFiles, StdCtrls, ExtCtrls, ToolWin, ComCtrls, Menus, Grids, FileCtrl, JvUIB, JvUIBLib, RT_Tools, RT_Updater; const WM_SHOWMINIMANAGER = WM_USER + 1; RemindInterval = 5; {minuty o przypomnie...
unit RttiContext_GetTypes_vs_GetType_on_Interfaces_ConsoleReportUnit; interface uses System.Rtti; procedure ReportRttiTypes(const RttiContext: TRttiContext; const AInterfaceGUID: TGUID; const InterfaceName: string; const InterfaceTypeInfo: Pointer); procedure ReportImplementedInterfacesByClass(const RttiConte...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://localhost:8081/Project1.coServico/wsdl/IOperacoes // >Import : http://localhost:8081/Project1.coServico/wsdl/IOpera...
unit anBmp8; (***<Implements 8 bit per pixel bitmaps. *) (* See LICENSE.txt for copyright information. *) interface uses anBitmap; (*** Creates an 8 bit per pixel bitmap. *) function anCreate8bitBitmap (const w, h: Integer): andanteBitmapPtr; (* * Internal stuff. ************************...
unit DBStore; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TDBStore=class type ValueType=(vtInt32, vtInt64, vtBool, vtWStr); type ValueStore=record VArray:array of byte; VType:ValueType; end; private Int32Value...
program modulo2; var x: integer; negative: boolean; begin read(x); negative := x < 0; if negative then x := -x; writeln(x) end.
unit uQueueDemo; interface uses Generics.Collections ; type TWorkOrder = record Description: string; constructor Create(aDescription: string); end; TWorkOrderQueue = TQueue<TWorkOrder>; procedure DoRepairs; implementation procedure DoWorkOrder(aWorkOrder: TWorkOrder); begin WriteLn('...
unit artArticle; interface uses Forms, PluginManagerIntf, cxLookAndFeelPainters, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB, cxDBData, cxDBEdit, Menus, TB2Item, Dialogs, ExtDlgs, Classes, ActnList, cxGridLevel, cxGridCustomTableView, cxGridTableView, cxGridDBTableView, cxClasses,...
unit SkyrimUtils; // =Settings const // FormID of Keyword, used for Weapon Tempering COBJ records WEAPON_TEMPERING_WORKBENCH_FORM_ID = '00088108'; // CraftingSmithingSharpeningWheel // FormID of Keyword, used for Armor Tempering COBJ records ARMOR_TEMPERING_WORKBENCH_FORM_ID = '000ADB78'; // CraftingSmithingAr...
unit SmartPointer; interface type ISmartPtr<T: class> = interface function GetRef: T; { For testing only } function GetRefCount: Integer; property Ref: T read GetRef; end; type TSmartPtr<T: class> = class(TInterfacedObject, ISmartPtr<T>) private FRef: T; protected { ISmartPtr<T> }...
(******************************************************************) (* Programmname : FIFO.PAS V1.0 *) (* Programmautor : Michael Rippl *) (* Compiler : Quick Pascal V1.0 *) (* Inhalt : Routinen zur Verwaltun...
unit uHandlerCrossDM; interface uses uClientDM, Generics.Collections, IdTCPConnection, SyncObjs, SysUtils, uRequestDM, uCrossDM, uHandlerClientDM; type THandlerCross = class (THandlerClient) private FOnAddCross: TAddRemoveUpdateClientEvent; FOnRemoveCross: TA...
{---------------------------------------------------------------------- DEVIUM Content Management System Copyright (C) 2004 by DEIV Development Team. http://www.deiv.com/ $Header: /devium/Devium\040CMS\0402/Source/PhotoGallery/pgDataModule.pas,v 1.3 2004/04/10 07:12:11 paladin Exp $ -------------...
unit sToolBar; {$I sDefs.inc} {.$DEFINE LOGGED} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs{$IFNDEF DELPHI5}, Types{$ENDIF}, ToolWin, ComCtrls, sCommonData, sConst, sDefaults{$IFDEF TNTUNICODE}, TntComCtrls{$ENDIF}; type {$IFDEF TNTUNICODE} TsToolBar = class(TTntTool...
unit PropertyChangeMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, DB, adsdata, adsfunc, adstable, adscnnct; type TPropertyChangeForm = class(TForm) PropertyNameEdit: TEdit; ActionGroup: TRadioGroup; GoButton: TButton; ...
{ Routines that handle sequential numbers, like could be used for serial * numbers. * * The format of serial number files is described in the SEQUENCE documentation * file. } module string_seq; define string_seq_get; define string_seq_set; %include 'string2.ins.pas'; %include 'file.ins.pas'; { *****************...
unit PasWebSrvProcessor; interface uses PasRequestProcessor, IdCustomHTTPServer, System.SysUtils, System.Classes; type TWebSrvProcessor = class(TRequestProcessor) protected function innerRequested(requestUri: string; requestAction: string): Boolean; override; function onGet(requestInfo: TIdHTTPRequestI...
unit Model.GrijjyDeployFile; interface uses { NOTE: If you get compilation errors here because a unit cannot be found, then make sure you clone this repository recursively. For example: > git clone --recursive https://github.com/grijjy/GrijjyDeployMan } System.Generics.Collections, Grijjy.Bson, Grijjy...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm1 = class(TForm) txtCelsius: TEdit; txtFahrenheit: TEdit; btnGetFahrenheit: TButton; btnGetCelsius: TButton; ...
{ This script will prepend or append supplied value to the EditorID field of every selected record. Doesn't modify records that already have the same prefix/suffix. } unit UserScript; var DoPrepend: boolean; s: string; function Initialize: integer; var i: integer; begin Result := 0; // ask for pr...
unit Animations; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LCLIntf, Math, ExtCtrls, Graphics, Controls, LResources, Dialogs; type PNotifyEvent = ^TNotifyEvent; TPaintEvent = procedure(DrawCanvas: TCanvas; Step: integer; TimeElapsed: cardinal) of object; ECanvasIsNilException = class(Exceptio...
{******************************************************************************* 作者: dmzn@163.com 2011-10-22 描述: 硬件处理工作对象 *******************************************************************************} unit UHardWorker; {$I Link.Inc} interface uses Windows, SysUtils, Classes, ComCtrls, UMgrDBConn, UP...
unit rtz_photo_find; interface uses Windows, Controls, Classes, DB, SysUtils, ExtDlgs, Forms, ComCtrls, Graphics, CommCtrl, ExtCtrls, TypInfo, StrUtils, Variants, ide3050_intf, idf3050_intf, idf3050_fibp, rtz_dev_cntr, rtz_const, rtz_const_sql, rtz_photo_card; type IrtzPhotoFindComp = interfa...
unit COMPortParamsFrame; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, StdCtrls, MBRTUMasterDispatcherTypes, COMPortParamTypes; type { TTframParamsPort } TTframParamsPort = class(TFrame) btnAply : TButton; btnCancel : TButton; cbPortBaudRate : TC...
{ 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 Artist; interface uses Aurelius.Mapping.Attributes, Aurelius.Types.Nullable; type [Entity] [Table('ARTISTS')] [Sequence('SEQ_ARTISTS')] [Id('FId', TIdGenerator.IdentityOrSequence)] TArtist = class private [Column('ID', [TColumnProp.Unique, TColumnProp.Required, TColumnProp.NoU...
{$Q-} {$R-} {$T-} unit uClass; interface const { TStream seek origins } soFromBeginning = 0; soFromCurrent = 1; soFromEnd = 2; fmCreate = $FFFF; fmOpenRead = $0000; fmOpenWrite = $0001; fmOpenReadWrite = $0002; fmShareCompat = $0000 platform; // DOS compatibility mod...
{ Copyright (C) 1998-2003, written by Mike Shkolnik, Scalabium Software E-Mail: mshkolnik@scalabium.com mshkolnik@yahoo.com WEB: http://www.scalabium.com This component is an extended label that supports the url-processing (http/mailto starting). } unit URLLbl; interface uses Windows, Messages, ...
{---------------------------------------------------------------------- DEVIUM Content Management System Copyright (C) 2004 by DEIV Development Team. http://www.deiv.com/ $Header: /devium/Devium\040CMS\0402/Source/Products/prodTypesForm.pas,v 1.3 2004/04/26 08:40:45 paladin Exp $ ----------------...
program conditional; var x: integer; negative: boolean; begin read(x); negative:= x < 0; if negative then x:= -x; writeln(x) end.
unit xxmPReg; interface uses Windows, SysUtils, xxm, MSXML2_TLB; type TXxmProjectCacheEntry=class(TObject) private FName,FFilePath:WideString; FProject: IXxmProject; FHandle:THandle; FSignature:string; FContextCount:integer; function GetProject: IXxmProject; procedure S...
unit WTSAPI32; interface uses Windows; const NOTIFY_FOR_ALL_SESSIONS = 1; NOTIFY_FOR_THIS_SESSION = 0; WM_WTSSESSION_CHANGE = $2B1; WTS_CONSOLE_CONNECT = $1; WTS_CONSOLE_DISCONNECT = $2; WTS_REMOTE_CONNECT = $3; WTS_REMOTE_DISCONNECT = $4; WTS_SESSION_LOGON ...
unit PrintTableUnit; // -------------------------------------- // Print data stored in string grid table // -------------------------------------- // 8.05.09 Created interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ValidatedEdit, grids, printers ; type ...
unit FormMockMobile; //this unit is intended to allow windows apps to //behave similarly to mobile apps. interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, typex, formFMXBase, FMX.Objects, F...
unit UnitChrono; interface uses Classes, SysUtils, Windows, ShellApi; type TChrono = class(TObject) ids : TStringList; Totals : array of Cardinal; Values : array of Cardinal; SavePath : string; Infos : TStringList; constructor Create(Path : string); destructor Destroy; override; pro...
unit XParticleClasses; interface { Particle classes for this demo. } uses XParticles, CgTexture, CgTypes, CgGeometry, XTexObject, GL; type TSnowFlake = class(TParticle) private FTexture: TTexObject; FSize: Single; FSpeed: TCGVector; FRot: Single; public procedure Reset; ...
unit LuaCustomType; {$mode delphi} interface uses Classes, SysUtils; procedure initializeLuaCustomType; implementation uses CustomTypeHandler, lua, LuaClass, LuaObject, luahandler, LuaByteTable; function getCustomType(L: Plua_State): integer; cdecl; var s: string; ct: TCustomType; begin ...
unit UMessage; interface uses SysUtils, Classes, IdBaseComponent, IdComponent, IdUDPBase, IdUDPClient, IdCoder, IdCoder3to4, IdCoderMIME; type TMessage = class(TObject) clienteUDP : TIdUDPClient; IdEncoderMIME : TIdEncoderMIME; private { Private declarations } lstUdpMsg : TStringLis...
unit Utils; interface uses SysUtils, StrUtils, Windows, Messages, DateUtils, Classes; type {$IFNDEF UNICODE}RawByteString = AnsiString;{$ENDIF} TFNChanged = procedure(Sender: TObject; const OldFN, NewFN: string) of object; {$IFDEF MSWINDOWS} // AllocWnd types TWndProcMethod = function(wnd: HWND; msg: UIN...
unit CBSPrintComponents; interface uses Windows, Classes, Controls, Messages, DB, DBCtrls, CBSGraphics, DBGrids, ExtCtrls,StdCtrls, Forms, SysUtils, adscnnct, adsdata, adsfunc, adstable, Graphics, GR32, GR32_Image, strutils, CheckCBSDefault, CBSExtComponents, jpeg; type IPrintProperties = Interface ['{18BE250D...
unit iterator; {$mode objfpc}{$H+} {$ModeSwitch advancedrecords} interface uses SysUtils, Generics.Collections; type { TIterator } generic TIterator<T, TEnumerator, TArg> = record private type TTArray = Array of T; TTList = specialize TList<T>; private FArg: TArg; public constructor Cr...
unit PedidoProdutoDAO; interface uses FireDAC.Comp.Client, PedidoU; type TPedidoProdutoDAO = class public procedure gravar(const memTable: TFDMemTable; const conexao: TFDConnection; const pedido: TPedido); procedure delete(const NumeroPedido: Integer; const conexao: TFDConnection); end;...
{******************************************************************************* Title: T2Ti ERP Fenix Description: Model relacionado à tabela [BANCO_AGENCIA] The MIT License...
unit ActiveDirectory.Winapi.DllMapper; interface uses System.SysUtils, System.Variants, Winapi.Windows, Winapi.ActiveX, ActiveDirectory.Winapi.TLB; const S_ADS_NOMORE_ROWS = $00005012; MAX_ADS_ENUM_COUNT = 100; type { Helpers } TADsEnumCallBack = procedure(disp: IADs) of obje...
unit uBookStoreTests; interface uses DUnitX.TestFramework; const CanonicalVersion = '1.1.0'; type [TestFixture] hpTests = class(TObject) public [Test] // [Ignore('Comment the "[Ignore]" statement to run the test')] procedure A_basket_containing_only_a_single_book; [Test] [Ignore] p...
unit CaseToAreaIdGeneratorTest; interface uses Classes, SysUtils, TestFramework, CaseToAreaIdGenerator; type TCaseToAreaIdGeneratorTest = class (TTestCase) published procedure TestCreate; procedure TestCreateUpdateStatement; end; implementation { TCaseToAreaIdGeneratorTest } {...
unit View.Formulario; { Exemplo de Visitor com Delphi Criado por André Luis Celestino: www.andrecelestino.com } interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Generics.Collections, Vcl.StdCtrls, Vc...
unit untDataStoreList; {$mode objfpc}{$H+} interface uses Classes, SysUtils, untDataStore; type { TDataStoreList } TDataStoreList=class private DataStores:array of TDataStore; public constructor Create; destructor Destroy; override; function Count: inte...
unit PIPXSnd; (***************************************************************************** Prozessprogrammierung SS08 Aufgabe: Muehle Diese Unit beinhaltet den IPX-Sender, der IPX-Nachrichten an den Darstellungsrechner sendet. Autor: Alexander Bertram (B_TInf 2616) ************************************...
{ An IRC client object with events and stuff. License: WTFPL (see /copying) } unit tubeyIRC; {$mode objfpc}{$H+} interface uses Classes, SysUtils, lnet, kUtils, ircUserManager; type kMessageFlags = set of (mfHighlight, mfAction); kChannel = record name : string; users: tStringL...
unit DBUtil; interface uses ActiveX, ComObj, Variants, IniFiles, SysUtils, Classes; function WriteDB(const SQL :string): boolean; function getLabelItems(Fields:TStrings):string; implementation uses main, myADO, utilites; function WriteDB(const SQL :string): boolean; var MyADO: TMyADO; begin Result:=False; M...
unit UMyBackupRemoveInfo; interface uses classes, UModelUtil, Generics.Collections, UChangeInfo; type {$Region ' 数据结构 ' } // 删除的备份路径信息 TRemoveBackupPathInfo = class public FullPath : string; public constructor Create( _FullPath : string ); end; TRemoveBackupPathPair = TPair< string , TRemoveB...
unit delphiDatadog.event; interface uses delphiDatadog.header; type TDataDogEvent = class(TObject) private FTitle: string; FText: string; FMillisSinceEpoch: Int64; FHostName: string; FAggregationKey: string; FPriority: TDataDogEventPriority; FSourcerTypeName: string; FAlertType: ...
{ Created by BGRA Controls Team Dibo, Circular, lainz (007) and contributors. For detailed information see readme.txt Site: https://sourceforge.net/p/bgra-controls/ Wiki: http://wiki.lazarus.freepascal.org/BGRAControls Forum: http://forum.lazarus.freepascal.org/index.php/board,46.0.html This li...
{$include kode.inc} unit kode_filter_dc; { DC offset filter. one pole, one zero DC offset filter from julius orion smith (jos). http://www-ccrma.stanford.edu/~jos/filters/ } //---------------------------------------------------------------------- interface //-----------------------------------------------------...
unit Unit65; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, JclExprEval, StdCtrls, TeEngine, Series, ExtCtrls, TeeProcs, Chart, cufft, cuda , JclMath ; type TForm65 = class(TForm) Edit1: TEdit; Button1: TButton; Edit_start: TEdit; ...
unit htmlReport; interface uses Windows, Classes, Dialogs, SysUtils, SHDocVw, DB; type THtmlReport=class(TStringList) private fTempName:String; function SaveToTemp:String; function getAccessibleTempName:String; public procedure OpenInBrowser; published property TempName: String read fTempName ...
unit uDataInit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uBase, StdCtrls, Buttons, ExtCtrls, ComCtrls, Mask, RzEdit, RzBtnEdt, RzPrgres, CheckLst; type TfrmDataInit = class(TfrmBase) Label3: TLabel; pb: TProgressBar; imgInit: ...