text
stringlengths
14
6.51M
unit uMultiClipboard; interface uses Windows , ToolsAPI , SysUtils , Classes , Contnrs; type TClipboardItem = class private Lock: Boolean; public Text: string; end; TMultiClipboard = class(TList) private function GetItem(Index: Integer): string; function GetLock...
unit devcon; interface uses typex, exe, betterobject, tools, classes, stringx, CommandProcessor, systemx; const DEFAULT_DEVICE_SEARCH = '@"USB\VID_29AA*"'; MIDI_DEVICE_SEARCH = '@"SWD\MMDEVAPI\MIDII*"'; type TDevCon = class(TBetterObject) private FProg: TNotifyEvent; protected capturedData: str...
unit Posix.ffmpeg.libavutil.pixdesc; (* * pixel format descriptor * Copyright (c) 2009 Michael Niedermayer <michaelni@gmx.at> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the F...
unit EIntf; interface uses Rtti, SysUtils, Generics.Collections; type EField = class(TRttiField); EMethod = class(TRttiMethod); EConstrutor = class(TRttiMethod); EAnnotation = class(TCustomAttribute); EObject = class(TInterfacedObject); EList<T> = class(TList<T>); EValue = TValue; ...
unit Xc12DataTable5; {- ******************************************************************************** ******* XLSReadWriteII V6.00 ******* ******* ******* ******* Copyright(C) 1999,2017 Lars Arvidsson,...
unit InitializeLists; interface uses RealListUnit; procedure ClearAndInitializeMainVertexList; procedure ClearAndInitializeMainCellList; procedure ClearAndInitializeCombinedCellList; procedure ClearAndInitializeCrossRowCellsList; procedure ClearAndInitializeCrossColumnCellsList; procedure ClearAndInitializeRowList;...
unit U_Version; interface const C_Major=4; C_Minor=0; C_Release=0; C_Revision=28814; C_Date=42664.5135884954; C_DB_Revision=5927; implementation end.
{***********UNITE************************************************* Auteur ...... : TG Créé le ...... : 21/05/2003 Modifié le ... : / / Description .. : Source TOF de la FICHE : AFACTIVITEPAI_MUL () Mots clefs ... : TOF;ACTIVITEPAI_MUL *****************************************************************} Unit UTofAfAct...
unit QuoteTimeButton; interface uses Windows, Classes, Graphics; type TDirectionType = (dtBuy, dtSell); TIconButton = class private FRect: TRect; FTime: Integer; FFocused: Boolean; FDirectionType: TDirectionType; public constructor Create; destructor Destroy; override; property...
unit RandomWordSearch1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Generics.Collections, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Samples.Spin; type TWordCheckDelegate = reference to function (const word: string): ...
program mediaPond; var nota1, nota2, nota3, media: Real; begin writeln('Informe 3 notas para calcular a média ponderada.'); write('Digite a primeira nota:'); readln(nota1); write('Digite a segunda nota:'); readln(nota2); write('Digite a terceira nota:'); readln(nota3); media := ((nota1 * 2) + (nota...
{******************************************************************************* 作者: dmzn@163.com 2011-10-8 描述: 支持自定义皮肤的窗体基类 *******************************************************************************} unit USkinFormBase; interface uses Windows, Classes, SysUtils, Forms, Messages, UImageButton, USk...
unit XLSHyperlinks5; {- ******************************************************************************** ******* XLSReadWriteII V6.00 ******* ******* ******* ******* Copyright(C) 1999,2017 Lars Arvidsson,...
unit HandMadeMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TfrmHandMade = class(TForm) btnIterate: TButton; btnGetFirst: TButton; lbLog: TListBox; procedure btnIter...
unit DriverMessageThread; interface uses System.Classes, System.SysUtils, System.SyncObjs, ProtocolTypes, MessageSpool, commtypes, CircleQueue, AbstractTag; type TSynMessageThreadEvents = record MessageEvent, StopEvent : THandle; end; TMessageThread = class(TThread...
unit frmAboutUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ASLink, StdCtrls, ExtCtrls, Buttons; type TfrmAbout = class(TForm) ImageLogo: TImage; lblName: TLabel; ASLinkEmail: TASLink; Label1: TLabel; lblVersion: TLabel; ASLinkWebPage: TAS...
unit UPessoa; interface uses classes, dialogs, SqlExpr, sysutils; Type TPessoa = class private idPes: integer; nome: string; endereco: string; contato: string; data_nasc: string; cpf: string; cnpj: string; tipo: string; protected SQL: TSQLQuery; public property pIdPe...
unit RDTPServerList; {$include 'DelphiDefs.inc'} interface uses rdtpprocessor, sharedobject, betterobject, numbers, systemx, typex, classes, sysutils, debug, commandprocessor,orderlyinit; type ERDTPMultiplexerException = exception; TRDTPServerList = class(TLockQueuedObject) strict private function Get...
unit Scanner; interface uses SysUtils, Classes, ExtCtrls, ADPort, SerialDev ; type EBadCmd = class(Exception); ETimeout = class(Exception); TSPDE = procedure(const Sym: String; const value: String) of object; TProcParser = procedure(); TFuncSetup = function() : boolean; TScanner = class(TDa...
{============================================================================== _ ve'va'CHe __ _(_)_ ____ _ ___ ___ ™ \ \ / / \ \ / / _` |/ __/ _ \ \ V /| |\ V / (_| | (_| __/ \_/ |_| \_/ \__,_|\___\___| game toolkit Copyright © 2020 tinyBigGAMES™ LLC All rights re...
unit UPaiCadastro; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UPai, Data.DB, Vcl.StdCtrls, Vcl.Mask, JvExMask, JvToolEdit, JvBaseEdits, Vcl.Buttons, Vcl.ExtCtrls, UDMPaiCadastro, Datasnap.DBClient; type...
unit FMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Messaging, System.DateUtils, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Edit, FMX.ScrollBox, FMX.Memo, ...
{ Copyright (C) 2013-2023 Tim Sinaeve tim.sinaeve@gmail.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
unit uFichaTecnica; interface uses DBClient, SysUtils, CmObjNegocio, CmConexaoBcoDados, uFTecEmbalagem, uFTecProcesso; type TFichaTecnica = class(TObjetoNegocio) private FCodPtk : String; FVariante : String; FFTecEmbalagens: TListaObjetosFilhos; FFTecProcessos : TListaObjetosFilho...
unit VideoSettingsUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, VFW; type TOnDriverChange = procedure of object; TVideoSettings = class(TForm) SrcDlgBtn: TSpeedButton; FormatDlgBtn: TSpeedButton; DisplayDlgBtn: TSpeedButton; ...
{ This file is part of Dev-C++ Copyright (c) 2004 Bloodshed Software Dev-C++ 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 ...
{***********UNITE************************************************* Auteur ...... : Vincent Laroche Créé le ...... : 11/01/2005 Modifié le ... : / / Description .. : Source TOF de la FICHE : MULBUDS () Mots clefs ... : TOF;MULBUDS *****************************************************************} Unit MULBUDS_TOF ; ...
unit modulo; (* this unit implements modulo arithmetic for RSA and ElGamal (cyclic group) *) (* this unit can easily be used to support other units which need limited 4096 cardinals (a.k.a. value) it has not been fully optimized, and the modulus must be set before performing operations. please ...
unit MF_SW_Viscosity; interface uses ANE_LayerUnit, SysUtils, MFGenParam; type TViscosityParam = class(TCustomSteadyParameter) class Function ANE_ParamName : string ; override; function Value : String; override; Class Function TimeVarying: boolean; class function WriteParamName : string; override; ...
unit StatusNewsDataMgrImpl; //////////////////////////////////////////////////////////////////////////////// // // Description: StatusNewsDataMgr Implementation // Author: lksoulman // Date: 2017-11-22 // Comments: // //////////////////////////////////////////////////////////////////////////////// interfa...
unit individual; interface uses globals, helpers; type IIndividual = class; IndivArray = Array of IIndividual; IIndividual = class procedure InitializePopulation(var population: IndivArray); virtual; procedure FillNeighborhood(const origin: IIndividual; var population: IndivArray); virtual; abstract; ...
unit UserSectorSetUI; //////////////////////////////////////////////////////////////////////////////// // // Description£º SectorTreeUI // Author£º lksoulman // Date£º 2018-1-12 // Comments£º // //////////////////////////////////////////////////////////////////////////////// interface uses Windows, C...
unit GetCellUnit; interface uses Classes, SysUtils, ANEPIE; function GGetCountOfCellLists : ANE_INT32; procedure GGetCountOfCellListsMMFun (const refPtX : ANE_DOUBLE_PTR ; const refPtY : ANE_DOUBLE_PTR ; numParams : ANE_INT16 ; const parameters : ANE_PTR_PTR ; myHandle : ANE_PTR ...
unit ThreadedFooBar.Polling; interface uses System.Generics.Collections, ThreadedFooBar; type TPollingFooBarThread = class(TFooBarThread) strict private FQueue: TThreadedQueue<string>; strict protected procedure SendMessage(const msg: string); override; public procedure AfterConstruction; ove...
unit fPDMPMgr; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, fBase508Form, System.ImageList, Vcl.ImgList, System.Actions, Vcl.ActnList, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, oPDMPData, uPDMP; type ...
unit ProcessInfo; interface uses typex, types, windows, classes, sysutils, debug; type TPIDList = array of DWORD; TProcInfo = record id: DWORD; name: string; end; TProcIterate = reference to Procedure(inf: TProcInfo); function GetProcessName(PID: DWORD; var ProcessName: string): DWORD; functio...
{******************************************************************************} { } { Carousel View } { ...
//////////////////////////////////////////////////////////////////////////////// // // // Copyright (c) 2008-2020 Alliance for Sustainable Energy. // // All rights reserved. ...
unit MF_HUF; interface uses ANE_LayerUnit; type THUFTopParameter = class(T_ANE_LayerParam) class Function ANE_ParamName : string ; override; function Units : string; override; end; THUFThicknessParameter = class(T_ANE_LayerParam) class Function ANE_ParamName : string ; override; function Units...
unit Viper.TriggerEditor; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, WinSvc, ServiceHelper, TriggerUtils, ComCtrls, Vcl.Samples.Spin, ExtCtrls, VirtualTrees, CommonResources, WnfUtils; type TDataItemNodeData = record Item: SERVI...
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) lblResult: TLabel; btnAdicao: TButton; btnSubtracao: TButton; btnMultiplicacao: TButton; ...
unit NestorBP; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CheckLst, MemoryZ80; type TFrmBreakPoints = class(TForm) ListDebug: TCheckListBox; procedure ListDebugClickCheck(Sender: TObject); procedure FormCreate(Sender: TObject); p...
unit RTRefFile; {$mode objfpc}{$h+} interface uses contnrs; type TRTRefFile = class public Name: String; Sections: TFPHashObjectList; constructor Create(AFileName: String); destructor Destroy; override; end; implementation constructor TRTRefFile.Create(AFileName: String); begin inherite...
{$MODE OBJFPC} program LQDHAUNT; uses Math; const maxW = 30; maxH = 30; maxN = maxW * maxH; maxM = maxN * 4; maxD = maxM * Round(1e5); dx : array[1..4] of Integer = ( 0, -1, 0, 1 ); dy : array[1..4] of Integer = ( -1, 0, 1, 0 ); type THole = record x, y, t : Integer; end; T...
unit TIReadPlugin_Types; interface uses OGame_Types, Classes; const MaxListSize = MaxInt div 16; type // 0 -> gala, 1 -> sys, 2 -> pos, 3 -> planet(0), moon(1), tf(2) PPortablePlanetPosition = ^TPortablePlanetPosition; TPortablePlanetPosition = array[0..3] of integer; TPortableSolarSystemPositio...
{ uMarshalSuper.pas } // version: 2021.0116.1923 unit uMarshalSuper; {$IFDEF FPC} {$mode delphi} {$ENDIF} interface uses {%H-}Types, SysUtils, Classes, {%H-}Rtti, supertypes, superobject; type EJsonSerializer = class(ESuperObject); JsonSerializer = record public class function Marshal<T>(const Data:...
{**********************************************************************} { } { Модуль NXDBGrids } { Copyright (c) 2002 ООО "ЛУКОЙЛ - Нижневолжскнефть" } { ОИТиВТ ...
unit Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Connector, Vcl.ExtCtrls, Vcl.ComCtrls, Math; const wm_scandone = WM_APP + 2; type TfmScanner = class(TForm) Panel2: TPanel; ...
unit UntDiscountInfoMng; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DBGridEhGrouping, StdCtrls, RzEdit, RzSplit, GridsEh, DBGridEh, ExtCtrls, RzPanel, DB, MemDS, DBAccess, MyAccess,BaseFrm,UntDMDB; type TFrmDiscountInfoMng = class(TBaseForm) ...
unit IFB_Conn; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} interface uses SysUtils, Classes, DB, strUtils; const ctDriveFB = 'FB'; ctDriveSQLite = 'SQLite'; type IIFB_DataSet = Interface ['{AB93642E-40B2-4F11-ADB9-8EF03FA6A090}'] procedure setAutoCommit(const Value: Boolean); function getAutoCommit :...
unit XLSExport5; {- ******************************************************************************** ******* XLSReadWriteII V6.00 ******* ******* ******* ******* Copyright(C) 1999,2017 Lars Arvidsson, Axo...
unit EspecificacaoContaPorPeriodoTipo; interface uses Especificacao, system.SysUtils; type TEspecificacaoContaPorPeriodoTipo = class(TEspecificacao) private FDti :TDateTIme; FDtf :TDateTIme; FStatus :String; FCodigoFornecedor :integer; FNRDoc :integer; public constructor Create(cons...
unit LogProvider; interface uses Windows, Classes, SysUtils, DB, LogTypes, Contnrs, Forms, SqlExpr; type TLogDBConnection = class(TPersistent) private FUserName: string; FPassword: string; FDataBase: string; FSQLConnection: TSQLConnection; function ArquivoConfiguracao: string; procedure...
unit DeDeBPL; // DeDe Symbol File Format // DSF! - Magic // BYTE - Flag ( 0 = Delphi3, 1=Delphi4, 2=Delphi5, 3=Delphi2, 4=Delphi6, 5,6,7 - Reserved) // WORD - Record Count // BYTE - Pattern Length // DWORD - Patterns Offset // DWORD - Names Offset // PS - File Comment // // Patterns Blo...
unit GridButton; interface uses System.SysUtils, System.Classes, Vcl.Controls, Vcl.StdCtrls; type TGridButton = class(TButton) private FX, FY : Integer; protected { Protected declarations } public { Public declarations } published property X: Integer read FX write FX; ...
{*******************************************************} { } { Vladimir Gaitanoff Delphi VCL Library } { Compression: LZSS with Huffman coding } { } { Copyright (c) 1...
{============================================================================== _ ve'va'CHe __ _(_)_ ____ _ ___ ___ ™ \ \ / / \ \ / / _` |/ __/ _ \ \ V /| |\ V / (_| | (_| __/ \_/ |_| \_/ \__,_|\___\___| game toolkit Copyright © 2020 tinyBigGAMES™ LLC All rights re...
unit AssetServiceCommandImpl; //////////////////////////////////////////////////////////////////////////////// // // Description£º AssetServiceCommand Implementation // Author£º lksoulman // Date£º 2017-11-14 // Comments£º // //////////////////////////////////////////////////////////////////////////////// ...
Program BCryptHashTest; {$mode objfpc}{$H+} {$ASSERTIONS ON} {$UNITPATH ../} {$CODEPAGE UTF-8} uses BCrypt, Classes, SysUtils, Crt; const HashToMatch1 = '$2y$14$6m54yWmpJRWWVkUz9p7feOlfQvafHGwsWt9pYupeLr8DU5wKMv.wW'; HashToMatch2 = '$2y$16$d6eiNIIJPsVWtF.RCr.GUuCRs2hHFDB.0wPR.uK4kTi7KJvIO7k8e'; BSDHashToMatch = ...
unit nnMLPList; {$mode objfpc}{$H+} interface uses Classes, syncobjs, nnBarList, nnLog, nnTypes, nn2Stream, Ap; type PMLPList = ^TMLPList; TMLPList = class(TObject) private fSymbol: String; fInterval: TInterval; fLastBar: TDateTime; fLog: PLog; fBarList: PBarList; fCS: TCriticalSection; fMLPParam...
unit DW.ScreenEdgeManager; interface type TScreenEdge = (Top, Left, Bottom, Right); TScreenEdges = set of TScreenEdge; TScreenEdgeManager = record private class var FPreferredScreenEdges: TScreenEdges; public class procedure SetPreferredScreenEdges(const AEdges: TScreenEdges); static;...
unit c_Globals; { ======================================================================================================================================== ALT| DATA |HORA |UNIT |Descrição | ---|--------|-----|---------...
unit XLSGraphics5; interface uses Classes, SysUtils; type TMSOShapeType = (mstUnknown,mstCtrlLabel,mstCtrlButton,mstCtrlListBox, mstCtrlCheckBox,mstCtrlComboBox,mstCtrlRadioButton, mstCtrlGroupBox,mstCtrlScrollBar,mstTextBox,mstTextShape, mst...
unit dlgRadio; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TRadioDialog = class(TForm) RadioGroup: TRadioGroup; ButtonPanel: TPanel; CancelBtn: TButton; OkBtn: TButton; procedure FormShow(Sender: TObject); p...
unit PedidoFaturado; interface uses MetodoDelegadoObtemCampoInteger, NotaFiscal, Pedido; type TPedidoFaturado = class private FCodigoNotaFiscal :Integer; FCodigoPedido :Integer; FBuscadorCodigoNotaFiscal :TMetodoDelegadoObtemCampoInteger; FPedido: TPedido; procedure S...
{=============================================================================== RzCommon Unit Raize Components - Component Source Unit Copyright © 1995-2015 by Raize Software, Inc. All Rights Reserved. Components ------------------------------------------------------------------------------ TRzDialogC...
unit ImportUnit; // Save TD32 information and used Turbo debugger to debug. // Click F3 and enter the name of your dll. // After Argus ONE has started attach to ArgusONE.dll. // From the File menu change to the directory with the source code of the PIE. // Click F3 and double click on your dll // Click F3 again and lo...
unit DW.ExternalDevice.Win; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...
unit DW.Androidapi.JNI.DWBiometricFragmentActivity; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross...
unit UModelDepend; interface uses SysUtils; type TDependElement = class; TArrDouble = array of Double; TDependSystem = class Element: array of TDependElement; Group: array of array of LongWord; Name: string; FL, FHY, FCY, FDY, Fr_zad: Double; TimeWait:Double; AllValueSk...
unit DBJoinDictionary; interface uses namevaluepair, betterobject, sysutils; type TDBJoinDictionary = class(TSharedobject) protected nvp: TNameValuePairList; public procedure RegisterJoin(db, t1, t2, clause: string); function FindJoin(db, t1, t2: string): string; function Joinclause(db, t1...
unit varlist; {$mode objfpc}{$H+} interface uses Classes, SysUtils, TreeClass, Dialogs, utils, ContNrs ; type TVar = class private Fvarctx, Fvarname : string; TAllowedType : string; public constructor Create(_ctx,_varname:string); property ctx:string read Fvar...
{Pirates AIO 2011 Pascal Sample Solution} program Solution; {Declare variables.} var inputFile: text; l, x, y: longint; ans: longint; outputFile: text; begin { Open the input and output files. } assign(inputFile, 'piratein.txt'); reset(inputFile); assign(outputFile, 'pirateout.txt'); rewrite(ou...
unit HiddenExecuteUnit; // Debug parameter: ..\..\..\src\TestHiddenExecute-by-making-directories-in-TEMP.bat interface uses Classes, StringListWrapperUnit, HiddenExecuteArgumentsUnit, HiddenExecuteSettingsUnit, LoggerInterfaceUnit; type IHiddenExecute = interface(IInterface) procedure Run; ...
unit ALPC_LPC_Define; interface uses Windows,Logger,Classes,SysUtils,Generics.Collections,SyncObjs; {$REGION 'Type'} type NTSTATUS = Integer; ULONG = Cardinal; uint64_t = UInt64; uint32_t = Cardinal; HANDLE = THandle; ALPC_HANDLE = HANDLE; PALPC_HANDLE =^ALPC_HANDLE; PSIZE_T = ^SIZE_T; SIZE_T = Ca...
unit Xmpp.x.Option; interface uses Element,XmppUri,Xmpp.x.Value; type TOption=class(TElement) const TagName='option'; private function FGetLab():string; procedure FSetLab(value:string); public constructor Create();override; constructor Create(lab,val:string);overload; function GetValue...
unit UTofAFArticle_Mul; interface uses {$IFDEF EAGLCLIENT} eMul,Maineagl, {$ELSE} Mul, FE_Main, db, {$IFNDEF DBXPRESS} dbTables, {$ELSE} uDbxDataSet, {$ENDIF}DBGrids, {$ENDIF} Ent1,windows,StdCtrls,Controls,Classes,forms,sysutils,ComCtrls, HCtrls,HEnt1,HMsgBox,UTOF, UtilGc, AfUtilArticle, ...
{***********UNITE************************************************* Auteur ...... : Créé le ...... : 16/03/2007 Modifié le ... : / / Description .. : Source TOF de la FICHE : PGAFFPROFILPRES_MUL () Mots clefs ... : TOF;PGAFFPROFILPRES_MUL ***************************************************************** PT1 17/08/2...
unit ThreadedFooBar.Queue; interface uses System.SysUtils, ThreadedFooBar; type TQueueFooBarThread = class(TFooBarThread) strict private FOnNewValue: TProc<string>; FOnTerminated: TProc; strict protected procedure SendMessage(const msg: string); override; public procedure Execute; overrid...
unit vfs; interface uses handles, services, cclasses, sysutils, filesystem, storagedev; const fmOpenRead = 1; fmOpenWrite = 2; fmCreate = 4; soFromBeginning = 1; soFromCurrent = 2; soFromEnd = 4; type TVFS = class(TServiceObject) private fPartitions: TStringList; function FindFile(handle: THandle): TF...
unit Synchro; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, {$IFDEF EAGLCLIENT} {$ELSE} {$IFNDEF DBXPRESS}dbtables,{$ELSE}uDbxDataSet,{$ENDIF} {$ENDIF} Vierge, HSysMenu, HTB97, StdCtrls, Hctrls, HPanel, UiUtil, ...
unit uCompOiscSubleq; interface type TLineTokens = record Lbl: string; Oper: string; A: string; B: string; C: string; Comment: string; Result: string; Address: Integer; Error: Boolean; end; TLinesTokens = array of TLineTokens; TError = record Line: Integer; Error:...
unit OGameVersionDetector; interface uses ReadSource_cS, creax_HTML, regexpname; type TOGameVersionDetector = class private public function detectOGameVersion(html: THTMLElement): TOGameVersion; end; implementation uses SysUtils; { TOGameVersionDetector } function TOGameVersion...
unit DW.NativeShape; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library } {...
{ TDiskPartitionInfo Component Version 3.0 - Suite GLibWMI Copyright (©) 2020, by Germán Estévez (Neftalí) La clase Win32_DiskPartition representa las posibilidades y la capacidad de administración de un área con particiones en un disco físico de un sistema Win32. Ejemplo: Disco nº 0, Partición nº1. Utilización/Us...
unit WriteGwtParticleObservation; interface uses SysUtils, Forms, Classes, contnrs, AnePIE, WriteModflowDiscretization; type TParticleLocation = class(TObject) Layer: integer; Row: integer; Column: integer; end; TLocationList = class(TObject) private List: TList; function GetCount: integ...
unit Clock; interface uses System.SysUtils, System.Classes, Vcl.Controls, Vcl.ExtCtrls, Graphics; type TCLock = class(TImage) private { Private declarations } timer: TTimer; angle: real; sx1, sy1, mx1, my1, hx1, hy1: integer; hour, min, sec, oth: word; procedure TimerHandler(Sender: TOb...
unit EProvider; interface uses EIntf; type TMirrorReflectionProvider = class(EObject, IReflectionProvider) protected function getMethodReflectionProvider(target:TObject;clazz:Tclass; method:EMethod):IMethodReflectionProvider; function geFieldReflectionProvider(target :TObject;clazz :Tclas...
unit AbstractStpMethod; interface uses WinApi.Windows, System.Classes; type TAbstractStpMethod = class; TStpThread = class(TThread) protected fMethod : TAbstractStpMethod; fBoard, fBoardProc, fMainProc : TObject; fExecResult : Byte; public constructor Create(const AMethod : TAbst...
unit PointContourUnit; interface uses Classes, Sysutils, Graphics, RBWZoomBox, AnePIE; type TArgusPoint = class(TRBWZoomPoint) public function PointToString : string; procedure StringToPoint(AString : string; const Separator: char); Procedure Draw; virtual; abstract; function Select(const AnX, AY...
unit untStatus; interface Var SPREAD_FILES_INFECTED :INTEGER = 0; SPREAD_FILES_SHARED :INTEGER = 0; SPREAD_EMAIL_FOUND :INTEGER = 0; SPREAD_EMAIL_SENT :INTEGER = 0; Function GetStatus: String; implementation function InttoStr(const Value: integer): string; var S: st...
unit PN; {$mode objfpc}{$H+}{$J-} { The main class used for high level access to PN routines } interface uses SysUtils, PNCalculator, PNParser, PNStack, PNBase; type TPN = class strict private FVariableMap: TVariableMap; FCurrentStack: TPNStack; procedure SetStack(vStack: TPNStack); public constru...
unit QuoteTimeDisplay; interface uses Windows, SysUtils, Graphics, AppContext, QuoteCommLibrary, QuoteTimeStruct, CommonFunc, BaseObject; type // QuoteTimeDisplay TQuoteTimeDisplay = class(TBaseObject) private protected function GetColors(_Index: Integer): TColor; public FSkinStyle...
unit RegionLock; interface uses sharedobject, abstractlocker, types, stringx, sysutils, collision, typex, geometry; type TRegionLock = class(TAbstractLock) public filename: string; user: string; device: string; rect: TRect; expires: TDateTime; function CollidesWith(l: TAbstractLock): b...
unit BoundaryContourUnit; interface uses Classes, SysUtils, VertexUnit; type TBoundaryContour = class(TObject) private FVertexList : TList; function GetVertex(Index : integer) : TVertex; function GetVertexCount : integer; public constructor Create(Lines : TStrings); Destructor...
unit ClientModuleUnit1; interface uses System.SysUtils, System.Classes, ClientClassesUnit1, Datasnap.DSClientRest, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client, FireDAC.Sta...
unit DW.Location.FusedLocation.Android; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Li...
Const Planet_Names : Array [22..25] of String[20] = ('Amalthea', 'Trantor', 'Magrathea', 'Terminus'); mdays : byte = 1; Players_Needed : Byte = 1; Number_of_Planets : Integer = 400; Number_of_Ships : Byte = 6; number_of_radars : Byte = 3; Number_of_Players : Byte = 20; Number_of_Squads : Intege...
{ ************************************* Created by Danilo Lucas Github - https://github.com/dliocode ************************************* } unit Validator.IsJSON; // JSON (JavaScript Object Notation) interface uses DataValidator.ItemBase, System.SysUtils, System.JSON; type TValidatorIsJson = class(TD...
{ TPrinterInfo Component Version 3.0 - Suite GLibWMI Copyright (©) 2020, by Germán Estévez (Neftalí) Utilización/Usage: (ES) Basta con "soltar" el componente y activarlo. (EN) Place the component in the form and active it. MSDN Info: https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-printer ======...