text
stringlengths
14
6.51M
unit uSharedMemoryPoint; interface uses System.SysUtils, Winapi.Windows; type TSharedMemoryPoint = class(TObject) protected const POINT_DATA_SIZE = 4096; POINT_WAIT_TIMEOUT: Cardinal = 300; POINT_ATTEPMTS_COUNT = 10; type EGetSharedMemoryName = class(Exception); ...
unit Thread.Trim.Helper.Partition.OS; interface uses SysUtils, Character, Thread.Trim.Helper.Partition, OS.ProcessOpener {$IfNDef UNITTEST}, OS.EnvironmentVariable, ThreadToView.Trim {$Else}, Mock.Getter.TrimBasics.Factory{$EndIf}; type TOSPartitionTrimmer = class abstract(TPartitionTrimmer) private ...
unit uDownLoad; interface uses Windows; const FTP_ERROR = 0; FTP_OVERWRITE = 1; FTP_APPEND = 2; FTP_IGNORE = 3; FTP_NONE = 0; FTP_COMPLETED = 1; FTP_STOPED = 2; FTP_CANCELED = 3; // DEFAULT_DIR = '/data/prime_new/IK_LevelTest/Files/'; DEFAULT_DIR = '/prime_new/IK_LevelTest/Files/'; type TFt...
{*************************************************************** XLSFile version 1.0 (c) 1999 Yudi Wibisono & Masayu Leylia Khodra (DWIDATA) e-mail: yudiwbs@bdg.centrin.net.id Address: Sarijadi Blok 23 No 20, Bandung, Indonesia (40164) Phone: (022) 218101 XLSfile is free and you can modify it as long as this hea...
{----------------------------------------------------------------------------- Author: Roman Fadeyev Purpose: Диалог для выборка активного соединения с брокером History: -----------------------------------------------------------------------------} unit FC.Trade.BrokerConnection.SelectDialog; int...
{ ******************************************************* Additional functionality to IOUtils unit 2012 Ángel Fernández Pineda. Madrid. Spain. This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/lic...
unit MD5.Parameters; INTERFACE uses System.SysUtils, System.Classes, // shared.FileUtils, shared.Console, shared.Globals; type // Класс опции TClazz = (CLS_NONE, // Команда не указана CLS_COMMAND, // Класс ключевого слова: команда CLS_OPTION, // Класс клю...
unit PreviewFormUnit; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Math.Vectors, System.Tether.Manager, System.Tether.AppProfile, IPPeerServer, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.ScrollBox, FM...
unit frContestType; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, StdCtrls, IniFiles; type TContestType = class private fContestName : String; fFileName : String; fFilePath : String; fGlobalFile : Boolean; public property ContestNam...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, fphttpclient, zipper, ShellApi,UMyUtils, LCLType; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Label1: TLabel; procedure FormActivate(Sender: TObject); procedure Fo...
unit ncaWebcam; { ResourceString: Dario 11/03/13 } interface uses Windows, sysutils,jpeg,graphics,classes; const // WM_CAP_START = $400; // WM_CAP_DRIVER_CONNECT = WM_CAP_START + $a; // WM_CAP_DRIVER_DISCONNECT = WM_CAP_START + $b; // WM_CAP_EDIT_COPY = WM_CAP_START + $1e; // WM_CAP_GRAB_FRAME = WM_CAP_ST...
unit MainFrm; {source: http://delphifmandroid.blogspot.com/2014/06/sms.html } interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, //System.Thread...
unit FIToolkit.Logger.Utils; interface uses FIToolkit.Logger.Types, FIToolkit.Logger.Consts; function InferLogMsgType(Severity : TLogMsgSeverity) : TLogMsgType; implementation function InferLogMsgType(Severity : TLogMsgSeverity) : TLogMsgType; var LMT : TLogMsgType; begin Result := lmNone; for LMT := H...
{***********************************<_INFO>************************************} { <Проект> Библиотека медиа-обработки } { } { <Область> 16:Медиа-контроль ...
unit OS.DeleteDirectory; interface uses SysUtils, ShellAPI; function DeleteDirectory(const DirectoryToDelete: String): Boolean; implementation function GetSHFileOpStruct(const DirectoryToDelete: String): TSHFileOpStruct; begin FillChar(result, sizeof(SHFileOpStruct), 0); result.Wnd := 0; result.pFrom := PCha...
unit RE; interface uses SysUtils, Nodes, TreeVisitor; { This unit defines subclasses of TNode for representing the following signature: Data = Char | String Sorts = RE Prop = Eps | Id | Seq | Dot | Stick | Range | Star | Plus Eps = [] Id = D[name: Char] Seq...
{ Public include file for the Embed Inc CAN library. This library provides a * procedural interface to a CAN bus via one of the supported devices. } const can_subsys_k = -58; {ID of this subsystem} can_stat_devtype_bad_k = 1; {unrecognized CAN device type ID} can_stat_nodev_k = 2; ...
unit u_math; interface type TGamePos = record x,y,z:Single; end; function Sinus(x:Single):Single; function Cosinus(x:Single):Single; function Distance(Pos1, Pos2 : TGamePos) : Single; function MakeNormalVector(x,y,z:Single):TGamePos; function MakeVector(x,y,z:Single):TGamePos; function AddVector(P1, P2 : TGam...
{*******************************************************} { } { Delphi FireMonkey Platform } { } { Copyright(c) 2011 Embarcadero Technologies, Inc. } { ...
{------------------------------------------------------------------------ kid v1.00.03 (c) 1995 Marco A. Marrero ----------------------------} program kid_1; uses game,vga,palette; {,sonic;} const FALL=1; JUMP=2; DUCK=3; DEAD=4; TURN=5; {-- What you're doing? } WALK=6; LEFT=13; RIGHT=0; {-- Whe...
{*******************************************************} { } { Borland Delphi Visual Component Library } { Connection classes } { } { Copyright (c) 1997,9...
unit uFrmProduct; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, uTypeProduct, uFrmAtributo ; type TfrmProducto = class(TForm) BtnAgregar: TButton; BtnElimAtr: TButton; BtnAgrAtr: TB...
unit ui_CustomListView; interface uses System.Generics.Collections, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, UI.Standard, UI.Base, System.ImageList, FMX.ImgList, UI.ListView, UI.Frame; type T...
unit ulesson01; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Dialogs; function Analize(St : string): string; implementation var Look: char; InputStr: string; Index: integer = 1; OutputStr: string; ErrorStr: string; procedure GetChar; begin if (Index > Length(InputStr)) then Look := #0 ...
unit classe.Category; interface uses System.SysUtils; type TCategory = class private FName : String; procedure SetName(const Value: String); public property Name : String read FName write SetName; procedure SaveInDatabase; end; implementation { TTypeSpend } uses untDM; //****************...
{ HIDAPI.pas - Bindings for libhidapi Copyright (C) 2016 Bernd Kreuss <prof7bit@gmail.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your ...
unit U.GenericsPrincipal; interface uses Vcl.Dialogs, Data.DB, System.Character, System.Generics.Collections; type TGenericsPrincipalEntityBase<TChave> = class strict protected procedure HydrateObject(const ctDataSet: TDataSet); function TemMaiusCula(const csTexto: String): Boolean; function...
unit ValuationTypes; interface uses DBTables, Classes, DB; type GroupTotalsRecord = record MinimumSalePrice : LongInt; MaximumSalePrice : LongInt; MedianSalePrice : LongInt; AverageSalePrice : LongInt; MinimumPSF : Double; MaximumPSF : Double; MedianPSF : Double; AveragePSF : Double...
unit uEstado; interface // Criacao da Classe modelo TEstado type TEstado = class private // atributo do meu objeto TEstado codigo: Integer; descricao: String; sigla: String; ativo: char; public // construtor, alocador de memoria constructor TEstadoCreate; // remocao de espaco da...
{_______________________________________________________________ Fractal Landscape Generator Accompanies "Mimicking Mountains," by Tom Jeffery, BYTE, December 1987, page 337 revised: 12/11/87 by Art Steinmetz Version for IBM Turbo Pascal v.4.0 Combines 3-D.pas, Map.pas Uses more flexible 3-D plotting routin...
{ ----------------------------------------------------------------------------- Unit Name: XERO.API Author: Tristan Marlow Purpose: XERO Accounting API (http://developer.xero.com/) ---------------------------------------------------------------------------- * Copyright (c) 2014 Tristan Marlow ...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit uFrame4; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, UI.Frame, UI.Standard, UI.Base; type TFrame4 = class(TFrame) LinearLayout1: TLinearLayout; tvTitle: TTextView; ...
{ Module of event handler routines. } module gui_evhan; define gui_win_evhan; %include 'gui2.ins.pas'; { ************************************************************************* * * Function GUI_WIN_EVHAN (WIN, LOOP) * * Handle events for the window. One of the following values is returned: * * GUI_EVHAN_NO...
unit NsCryptoLibSSHTerminal; interface uses StdCtrls, SysUtils, Classes, DelphiCryptlib, cryptlib, NsLibSSH2Session, NsLibSSH2Const; type TNsCryptoLibSSHTerminal = class(TCustomMemo) private FSession: TNsLibSSH2Session; FCryptoSSH: TCryptSession; FOpened: Boolean; FStatus: string; LenData: ...
unit Nathan.Firebird.Validator.Syntax.Keywords.Scanner; interface uses System.Generics.Collections, // System.Generics.Defaults, Nathan.Firebird.Validator.Syntax.Keywords.Intf, Nathan.Firebird.Validator.Syntax.Keywords.Types; {$M+} type TFb25Scanner = class(TInterfacedObject, IFb25Scanner) strict private...
unit UnitTSintaxFormulizer; interface uses SysUtils; type TSintaxFormulizer=class private sFormula:string; bError:boolean; sDescError:string; Function evalToken(sEntrada:string):boolean; Function esOperador(sEntrada:string):boolean; Function esCondicional(sEntrada:string):boolean; Function esNumer...
unit Storage; {$I dsdVer.inc} interface uses SysUtils, System.Classes; type /// <summary> /// Интерфейс - мост между приложением и средним уровнем. /// </summary> /// <remarks> /// Используейте данный Интерфейс для вызова методов на сервере базе данных /// </remarks> IStorage = interface function...
unit Initializer.Mainpart; interface uses SysUtils, Graphics, Global.LanguageString, Device.PhysicalDrive, Getter.LatestFirmware, MeasureUnit.DataSize, BufferInterpreter, Getter.PhysicalDrive.NCQAvailability, Device.SlotSpeed, Support; type TMainformMainpartApplier = class private procedure ApplyCo...
unit iCoverSheetIntf; { ================================================================================ * * Application: CPRS - Coversheet * Developer: doma.user@domain.ext * Site: Salt Lake City ISC * Date: 2015-12-04 * * Description: Main interface ...
unit UShapeJSONConverter; {$mode objfpc}{$H+} interface uses Classes, SysUtils, UBaseShape, fpjson, fpjsonrtti; function LoadJSON(AJSON: String): TShapes; function SaveJSON(AShapes: TShapes): String; implementation function ShapePropsToJSON(AShape: TShape): TJSONObject; var Streamer: TJSONStreamer; begin Stre...
unit UI.Design.Accessory; interface uses UI.Base, System.TypInfo, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Layouts, FMX.Colors, UI.Standard; type ...
unit PascalCoin.RPC.Test.Node; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.Layouts, FMX.ListBox, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo; type TNodeStatusFrame = cla...
///////////////////////////////////////////////////////// // // // FlexGraphics library // // Copyright (c) 2002-2009, FlexGraphics software. // // // // Common controls classes ...
{*******************************************************} { } { Delphi REST Client Framework } { } { Copyright(c) 2013-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit LoanClassChargeList; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BasePopup, Vcl.StdCtrls, RzLabel, Vcl.Imaging.pngimage, Vcl.ExtCtrls, RzPanel, Data.DB, Vcl.Grids, Vcl.DBGrids, RzDBGrid, RzButton, Rz...
unit UnitElecMasterData; interface uses System.Classes, UnitEnumHelper; type TElecMasterQueryDateType = (emdtNull, emdtProductDeliveryDate, emdtShipDeliveryDate, emdtWarrantyDueDate, emdtFinal); const R_ElecMasterQueryDateType : array[Low(TElecMasterQueryDateType)..High(TElecMasterQueryDateType)] ...
unit macro_4; interface implementation var AR: array [2] of Int32; #macro ADD(V1, V2); begin V1 := V1 + V2; end; procedure Test; begin AR[0] := 1; AR[1] := 2; ADD(AR[0], AR[1]); end; initialization Test(); finalization Assert(AR[0] = 3); end.
unit pointers_proc_explicit_2; interface implementation type TProc = procedure(a, b: Int32; const s: string); var P: Pointer; GA, GB: Int32; GS: string; procedure SetG(a, b: Int32; const s: string); begin GA := a; GB := b; GS := s; end; procedure Test; begin P := @SetG; TProc(P)(44, 33, 'str...
{*******************************************************} { } { Delphi Runtime Library } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit NtUiLib.Icons; { This module provides storage for icons extracted from executable files. Once obtained, the icon is cached in an ImageList and can be used in the UI. } interface uses System.SysUtils, System.Generics.Collections, Vcl.Controls; type TProcessIcons = class strict private class var Imag...
program cidlinux; // 'sudo apt-get install libhidapi-dev' komutu gerekli hid kütüphanesini indirmek için! // 'https://packages.debian.org/sid/libhidapi-dev' // modeswitch {$modeswitch autoderef} uses sysutils, hidapi; procedure EnumerationDemo; var EnumList, EnumItem: PHidDeviceInfo; Path: String; Vid, Pi...
unit UMyRCS; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Windows; type TMyRCS=class Public //Public Declarations const ARIALN_TTF = 'ARIALN.TTF'; COUR_TTF = 'cour.ttf'; COURI_TTF = 'couri.ttf'; MICROSS_TTF = '...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit ufmTranslatorMonitor; interface uses Windows, Messages, SysUtils, Variants, Classes, DB, nxdb, nxsdServerEngine, nxsrServerEngine, nxllComponent, nxlltypes, nxllBDE, nxsdSimpleMonitor, nxsdTypes, nxsdDataDictionary; type TDefTextModifiedEvent = procedure (Sender:TObject; aMd5Tra...
unit umsr_defines; {$mode objfpc}{$H+} interface uses Classes, SysUtils; const // ESC is frequently used as a start delimiter character MSR_ESC = $1b;//Escape character // ASCII file separator character is used to separate track data MSR_FS = $1c; //File separator MSR_STS_OK = $30; // Ok MSR_STS_ERR ...
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 16384,0,0} { by Behdad Esfahbod Algorithmic Problems Book April '2000 Problem 122 O(N2) Dfs Method } program TwoSat; const MaxN = 100; MaxM = 100; var M, N : Integer; Pairs : array [1 .. MaxM, 1 .. 2] of Integer; Mark, MarkBak, Value : array [1...
const fileinp = 'wildlife.inp'; fileout = 'wildlife.out'; maxN = 100000; maxM = 200000; type edge = record u,v,w: longint; end; vector = array [1..maxN] of longint; var head,lab: vector; link: array [-maxM..maxM] of longint; e: array [-maxM..maxM] of edge; res,n,m: ...
{*********************************************} { TeeBI Software Library } { TChart 3D Charts } { Copyright (c) 2015-2016 by Steema Software } { All Rights Reserved } {*********************************************} unit FMXBI.Chart.ThreeD; {$DEFIN...
unit FC.StockChart.UnitTask.ValueSupport.Snapshot; interface {$I Compiler.inc} uses SysUtils,Classes, BaseUtils, Serialization, Dialogs, StockChart.Definitions.Units,StockChart.Definitions, FC.Definitions, FC.Singletons, FC.StockChart.UnitTask.Base; implementation type TStockUnitTaskValueSupportSnapshot = c...
unit OS.ServiceController; interface uses Windows, WinSvc; type TServiceController = class private SCManagerHandle: THandle; ServiceHandle: THandle; ServiceStatus: TServiceStatus; procedure OpenSCManager; procedure CloseSCManager; function StopServiceAndSetServiceStatus: Boolean; fu...
unit uIntX; {$I ..\Include\IntXLib.inc} interface uses {$IFDEF DELPHI} Generics.Collections, {$ENDIF DELPHI} Math, SysUtils, {$IFDEF DEBUG} SyncObjs, {$ENDIF DEBUG} uIntXGlobalSettings, uIntXSettings, uEnums, uStrings, uIntXLibTypes; type /// <summary> /// numeric record which represents arbit...
unit Security.Permission.View; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.StrUtils, System.Variants, System.Classes, Vcl.Graphics, System.Hash, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Vcl.Mask, Vcl.Imaging.pngimage, Vcl.Imaging.jpeg, PngSpe...
{********************************************************************* * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Autor: Brovin Y.D. * E-mail: y.brovin...
unit Thread.Update; interface uses Classes, SysUtils, Thread.Update.Helper; type TUpdateThread = class(TThread) private class var InnerUpdateNotice: String; CheckUpdateResult: TCheckUpdateResult; Updater: TUpdater; procedure StartUpdate; protected procedure Execute; override; public ...
{------------------------------------------------------------------------------ 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...
unit uUpdateNotification; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, Vcl.StdCtrls, Math; type TfUpdateNotification = class(TForm) lb01: TLabel; lb02: TLabel; lb03: TLabel; lb0...
unit UFuncionario; interface uses SysUtils, UPessoa, UCargo; type Funcionario = class(Pessoa) protected idCargo : Integer; umCargo : Cargo; CNH : string[8]; CTPS : string[8]; DataVencimento : TDateTime; DataAdmissao : TDateTime;...
unit UAgenteLogado; interface uses UAgente , URepositorioAgente ; type TAgenteLogado = class private FAGENTE: TAGENTE; FRepositorioAgente: TRepositorioAgente; public constructor Create; destructor Destroy; override; procedure RealizaLogin(const csLogin: String;const csSenha: Strin...
unit UTransformation; {$mode objfpc}{$H+} interface uses Classes, UGraph, StdCtrls, Spin; type TTransform = Class protected _Offset: TPoint; _Scale: Double; _ScrollBarX, _ScrollBarY: TScrollBar; _FilledArea: TDoubleRect; _FSEScale: TFloatSpinEdit; procedure SetScale(AScale: Double)...
{ Chokyi Ozer / 16518269 / Minggu 10 DasPro } Program ProsesLingkaran; { Input: 2 buah Lingkaran } { Output: luas, keliling, dan hubungan lingkaran A dan B } { KAMUS } const PI : real = 3.1415; type { Definisi Type Koordinat } Koordinat = record x, y : real; { komponen ...
{******************************************} { TDraw3D component } { Copyright (c) 1995-2004 by David Berneda } { All Rights Reserved } {******************************************} unit TeeDraw3D; {$I TeeDefs.inc} interface Uses {$IFNDEF LINUX} Windows, {$ENDIF} ...
// released under MIT license unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, Unit2; const VERSION = '1.5'; type { TForm1 } TForm1 = class(TForm) ButtonAbout: TButton; ButtonON: TButton; ButtonOFF: TButton; Check...
unit Mender; interface type TPrintWay = (pwUnilateral, pwBidirectional); TMender = class private FPinState: Cardinal; FPrinterName: String; FFileName: String; FPrintWay: TPrintWay; function GetFileName: String; function GetPinState: Cardinal; function GetPrinterName...
unit uFileSourceExecuteOperation; {$mode objfpc}{$H+} interface uses Classes, SysUtils, uFileSourceOperation, uFileSourceOperationTypes, uFileSource, uFile; type TFileSourceExecuteOperationResult = (fseorSuccess, //<en the command was executed successfully fseorError, ...
unit OpenGateState; interface uses System.SysUtils, GateInterface, GateClass; type TOpenGate = class(TInterfacedObject, IGate) private Gate: TGate; public constructor Create(Gate: TGate); procedure Enter; procedure Pay; procedure PayOk; end; implementation uses CloseGateState; { TO...
{**********************************************} { TeeChart Selector Tool } { Copyright (c) 2001 by David Berneda } {**********************************************} unit TeeSelectorTool; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, Messages, {$ENDIF} SysUtils, Classe...
unit TntFileListBox; interface uses SysUtils, Classes, Windows, Messages, Graphics, RTLConsts, Forms, Controls, StdCtrls, TntStdCtrls, TntSysUtils, FileCtrl; type TTntFileListBox = class(TTntCustomListBox) private procedure CMFontChanged(var Message: TMessage); message CM_FONTCHANGED; function Get...
{----------------------------------------------------------------------------- Unit Name: uhCells Author: n0mad Version: 1.1.7.83 Creation: 28.08.2003 Purpose: Cells creation History: -----------------------------------------------------------------------------} unit uhCells; interface uses Classes, E...
// NOT Ported CDI unit SMARTSupport.NVMe; interface uses BufferInterpreter, Device.SMART.List, SMARTSupport, Support; type TNVMeSMARTSupport = class(TSMARTSupport) private function GetTotalWrite(const SMARTList: TSMARTValueList): TTotalWrite; public function IsThisStorageMine( const IdentifyDev...
unit SearchFamilyParamValuesQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,...
{*******************************************************} { } { Borland Delphi Test Server } { } { Copyright (c) 2001 Borland Software Corporation } { ...
unit ButtonsFrame; interface uses TestClasses, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TCallByRefEvent = procedure (var IsNull: Boolean) of object; TfrmButtons = class(TFrame) btDelete: TButton; btInsert: TButton; btModify: T...
unit CommandLineOptions; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Contnrs; type { TOption } TOption = class Names: array of String; Values: array of String; Identifier: Integer; HasArg: Boolean; Present: Boolean; Help: String; MultipleValues: Boolean; function Lo...
unit uEngine2DClasses; {$ZEROBASEDSTRINGS OFF} interface uses System.Types, System.SysUtils, System.Variants, System.UITypes, System.Classes, System.Generics.Collections, FMX.Graphics, System.ZLib, FMX.Ani, FMX.Types, FMX.Dialogs; //HashOrderList Vector type T2DNameList<T: class> = class(TPersistent) strict priv...
unit MediaProcessing.VideoAnalytics; interface uses SysUtils,Classes, UiTypes, SyncObjs, SvaLib,Windows, Types, Bitplane,MediaProcessing.Definitions,Player.VideoDecoding, MediaProcessing.VideoAnalytics.Definitions, OpenCV.HighGui,OpenCV.Types,OpenCV.Core,OpenCV.ImgProc; type TVaParameters = record OtEnab...
unit xUDPClient1; interface uses System.Types,System.Classes, xFunction, system.SysUtils, xUDPServerBase, xConsts, System.IniFiles, xVCL_FMX, FrmSelectTCPServer, {$IFDEF MSWINDOWS} Winapi.Windows, ShlObj, CommCtrl, Messages, Winapi.WinSock, {$ENDIF} xClientType, xClientControl; type TUDPClien...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1995-2002 Borland Software Corporation } { ...
unit Financas.Controller.Entity.Produto; interface uses Financas.Controller.Entity.Interfaces, Financas.Model.Connections.Interfaces, Financas.Controller.Connections.Factory.Connection, Financas.Controller.Connections.Factory.DataSet, Financas.Model.Entity.Interfaces, Financas.Model.Entity.Factory, Data.DB; Type ...
unit intf_props_1; interface implementation uses System; type INested = interface function GetCNT: Int32; property CNT: Int32 read GetCNT; end; TNested = class(TObject, INested) FCNT: Int32; function GetCNT: Int32; constructor Create; end; IRoot = interface function ...
unit WasmSample_Table; interface uses System.SysUtils , Wasm {$ifndef USE_WASMER} , Wasmtime {$else} , Wasmer {$ifend} ; function TableSample() : Boolean; implementation // A function to be called from Wasm code. function neg_callback(const args : PWasmValVec; results : PWasmValVec) : PWasmTrap; cdecl; be...
{*******************************************************} { } { Delphi LiveBindings Framework } { } { Copyright(c) 2011-2018 Embarcadero Technologies, Inc. } { All rights rese...
{Ejercicio 15 Escriba un programa en PASCAL que convierta un número positivo hexadecimal tomado de la entrada estándar de tres dígitos en su equivalente en base 10. Un dígito hexadecimal es uno de los dígitos 0 a 9 o A(10), B(11), C(12), D(13), E(14), o F(15). El equivalente decimal de un número hexadecimal de la fo...
unit SearchCategoriesPathQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, Fi...
{*******************************************************} { } { Borland Delphi Visual Component Library } { Database Web server application components } { } { Copyright (c) 1997,98...
unit uBuildFile; {$mode objfpc}{$H+} interface uses Classes, SysUtils, IniFiles; type TBuildFile = class(TMemIniFile) private fCurrentTask: string; fGlobals: TStringList; fSuppressed: TStringList; protected function RunTasklist(const aOrder: TStringList): Integer; function RunTask(const ...
unit TestDeclarations; { AFS 9 Jan 2000 This unit compiles but is not semantically meaningfull it is test cases for the code formatting utility This unit contains simple var, const & procedure declarations also uses a few of the more complex features of the language ie - use of var and const in declar...
unit uRoutine; interface uses Classes, SysUtils, Windows, Winapi.ShellAPI, TlHelp32, PsAPI, // PID取得のため Types, TypInfo, Vcl.Dialogs , Vcl.FileCtrl, contnrs, // TObjectListのため IOUtils, Math, uRecord, SkRegExpW, shlobj, ActiveX, Vcl.Controls; // for ...
unit ImageWin; interface uses Windows, Classes, Graphics, Forms, Controls, FileCtrl, StdCtrls, ExtCtrls, Buttons, Spin, ComCtrls, Dialogs; type TImageForm = class(TForm) DirectoryListBox1: TDirectoryListBox; DriveComboBox1: TDriveComboBox; FileEdit: TEdit; UpDownGroup: TGroupBox; SpeedButton1...
{*******************************************************} { } { Delphi Visual Component Library } { Value Editor Dialog } { } { Copyright (c) 1999-200...