text
stringlengths
14
6.51M
unit UnitUsuario; interface uses System.SysUtils, System.Variants, System.Classes, Data.DB, UnitCuentaDebito, UnitCuentaCredito; type TUsuario = class public idUsuario : integer; nombres: string; apellidoPaterno: string; apellidoMaterno: string; claveElector: string; correoElectronico:...
{=============================================================================== 常量单元 ===============================================================================} unit xConsts; interface uses System.SysUtils, IniFiles; const /// <summary> /// 回复类型 /// </summary> C_REPLY_NORESPONSE = -...
unit JetCommon; (* Contains common procedures for printing/converting stuff *) interface function VarIsNil(val: OleVariant): boolean; function str(val: OleVariant): WideString; function arr_str(val: OleVariant): WideString; function int(val: OleVariant): integer; function uint(val: OleVariant): int64; ...
unit ClassWords; interface const IS_WORD_FLAG = 32; LAST_FLAG = 64; HAS_CHILD_FLAG = 128; CHAR_MASK = 31; END_OF_WORDS = 'END OF WORDS'; type TWordsCallback = function( Word : string ) : boolean of object; TWordsStr = array of string; TWords = class private ...
unit MobileDays.ListVertFrame.Mobile.View.Person.ItemList; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, MobileDays.ListVertFrame.Mobile.View.ItemList.Model, FMX.Objects, FMX.Layouts, ...
unit Test.Devices.TRM138.ReqCreator; interface uses Windows, TestFrameWork, GMGlobals, Test.Devices.Base.ReqCreator, GMConst; type TTRM138ReqCreatorTest = class(TDeviceReqCreatorTestBase) protected function GetDevType(): int; override; procedure DoCheckRequests(); override; end; implementation { TTRM...
unit BaseNodeReader; interface uses GMGlobals, Generics.Collections; type TBaseNodeReader = class FReadResults: TList <TVTNodeData>; public constructor Create; destructor Destroy; override; property ReadResult: TList <TVTNodeData> read FReadResults; procedure ReadChildren(ID_Node: int); virtu...
unit EngLangRes; {$mode objfpc}{$H+} interface uses Classes, SysUtils; resourcestring msgConfirmDelete = 'Are you sure you want to delete the script named'; msgFormatNotRecognisedTitle = 'File format not recognised'; msgFormatNotRecognised = 'Sorry, unable to recognise that particular filetype!'; msgForm...
unit uGLObjects; interface uses Windows, Classes, Contnrs, Graphics, OpenGL, uPlImagePluginInterface; type TGLStimTexture = class(TObject) private FImage: HIMAGE; FTexName: GLuint; procedure SetImage(const Value: HIMAGE); procedure SetTexName(const Value: GLuint); public pr...
unit GC.LaserCutBoxes.Test.Sides; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpcunit, testutils, testregistry, GC.LaserCutBoxes.Box.Sides; type { TSideTest } TSideTest = class(TTestCase) private FSide: TLaserCutBoxSide; protected published procedure TestSideCreate; end; implementat...
unit Optimizer; interface uses SysUtils, Classes, Forms, Generics.Collections, Optimizer.Template, Optimizer.Hibernation, Optimizer.LastAccess, Optimizer.Prefetch, Optimizer.Defrag, Optimizer.Indexer, Optimizer.SystemRestore, Optimizer.P2P; type TOptimizeList = TList<Boolean>; TMetaOptimizationUnit = cla...
unit ncDBCommands; interface uses Classes, SysUtils, DB, ADODB, ADOInt, ncCommandPacking, ncSources, ncSerializeADO; const ncDBOpenDataset = 0; // uses TDBDatasetData as param ncDBCloseDataset = 1; // uses no params ncDBUpdateDataset = 2; // uses TDBUpdateDatasetData as param ncDBExecDataset = 3; /...
unit fNoteIDParents; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, fAutoSz, ORCtrls, ComCtrls, StdCtrls, ORFn, VA508AccessibilityManager; type TfrmNoteIDParents = class(TfrmAutoSz) cmdOK: TButton; cmdCancel: TButton; lstIDParents: TORListBox; lblSelect...
{ --------------------- Unit CRC32C.PAS 8<----------------------- Modified from a version posted on the Pascal echo by Floor A.C. Naaijkens (note introduction of a Constant and a Function and making the Array a Constant outside of crc32() which should improve speed a lot; further references made to a C versio...
{ /*************************************************************************** indSliders ---------- sliders for the Industrial package The initial version of this unit was published in the Lazarus forum by user bylaardt (http...
{*******************************************************} { } { Borland Visibroker for Delphi Event Service } { } { PushConsumer Impl Template } { ...
unit TrackBarImpl1; interface uses Windows, ActiveX, Classes, Controls, Graphics, Menus, Forms, StdCtrls, ComServ, StdVCL, AXCtrls, DelCtrls_TLB, ComCtrls; type TTrackBarX = class(TActiveXControl, ITrackBarX) private { Private declarations } FDelphiControl: TTrackBar; FEvents: ITrackBarXEvents; ...
unit IniUtils; interface function GetIniFile(out AIniFileName: String):boolean; function GetValue(const ASection,AParamName,ADefault: String): String; function GetValueInt(const ASection,AParamName: String; ADefault : Integer): Integer; //возвраащет тип кассового аппарата; function iniCashType:String; //возвращает ...
unit Example1.Form; interface { Example showing the use of the uDataSetHelper unit } uses System.Classes, Data.DB, Datasnap.DBClient, Vcl.Controls, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Forms, Vcl.Grids, Vcl.DBGrids; type TForm1 = class(TForm) MemOutput: TMemo; PnlTop: TPanel; PnlMain: TPanel; Btn...
// 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-...
{*******************************************************} { } { Delphi FireMonkey Platform } { } { Copyright(c) 2011 Embarcadero Technologies, Inc. } { ...
unit uColorDialog; interface uses {$IF CompilerVersion > 22} Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, {$ELSE} Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, For...
unit dxSkinsdxExplorerBarView; interface uses Types, Windows, Graphics, Classes, ImgList, dxNavBar, dxNavBarBase, dxNavBarCollns, dxNavBarStyles, dxNavBarExplorerViews, dxNavBarGraphics, dxNavBarOffice11Views, dxNavBarOfficeViews, cxLookAndFeels, cxLookAndFeelPainters,cxGraphics, cxClasses, dxSkinInfo...
{*******************************************************} { } { Borland Delphi Runtime Library } { } { Copyright (C) 1999 Inprise Corporation } { ...
unit Initializer.PartitionAlign; interface uses SysUtils, Windows, Classes, Graphics, Global.LanguageString, Device.PhysicalDrive, Getter.PhysicalDrive.PartitionList; type TMainformPartitionAlignApplier = class private PartitionList: TPartitionList; procedure AppendThisEntryAsInvalid(CurrentEntry: ...
unit uImagem; interface uses Messages, Windows, SysUtils, Classes, Contnrs, Controls, Forms, Menus, Graphics, StdCtrls, GraphUtil, ShellApi; type TImagem = class(TGraphicControl) private FBitmap: TBitmap; FOnProgress: TProgressEvent; FStretch: Boolean; FCenter: Boolean; FIncrementalDisplay...
{ Serial communication port (UART). In Windows it COM-port, real or virtual. In Linux it /dev/ttyS or /dev/ttyUSB. Also, Linux use file /var/lock/LCK..ttyS for port locking (C) Sergey Bodrov, 2012-2018 Properties: Port - port name (COM1, /dev/ttyS01) BaudRate - data excange speed MinDataBytes - minimal...
unit uClient; interface uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns, Soap.encddecd, System.IOUtils, FMX.Dialogs, FMX.Forms, Classes, SysUtils, System.UITypes, System.Variants, FMX.Graphics, Data.DB, Data.DbxSqlite, Data.SqlExpr, iClientsTalking1; type TClient = class(TCollectionItem) ...
unit uPlStimModule; {$WARN SYMBOL_PLATFORM OFF} interface uses Windows, ActiveX, Classes, ComObj, uModules, MMSystem, SysUtils, Dialogs, OpenGL, uPlStimModuleInterface, uPlDirectSoundPluginInterface, uPlImagePluginInterface; type TPlStimModule = class(TCustomModule, IPlStimModuleInterface) //IMo...
{ Copyright (C) 1998-2018, written by Shkolnik Mike, Scalabium Software E-Mail: mshkolnik@scalabium.com mshkolnik@yahoo.com WEB: http://www.scalabium.com In this unit I described the design-time editor for TSMLanguage component } unit SMLangR; interface {$I SMVersion.inc} uses Classes...
{******************************************} { TeeChart Surface Series Nearest Tool } { Copyright (c) 2003-2004 by David Berneda } { All Rights Reserved } {******************************************} unit TeeSurfaceTool; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, Messages, ...
unit UFRMWalletKeys; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} { Copyright (c) 2016 by Albert Molina Distributed under the MIT software license, see the accompanying file LICENSE or visit http://www.opensource.org/licenses/mit-license.php. This unit is a part of Pascal Coin, a P2P crypto currency without ...
unit IdSocks; interface uses Classes, IdStack; type TIdSocksRequest = record Version: Byte; OpCode: Byte; Port: Word; IpAddr: TIdInAddr; UserId: string[255]; end; TIdSocksResponse = record Version: Byte; OpCode: Byte; Port: Word; IpAddr: TIdInAddr; end; TSocksVersi...
unit adot.Grammar; { Uniform grammar presentation classes/record types } interface uses adot.Types, adot.Collections, adot.Collections.Vectors, adot.Collections.Sets, adot.Tools, adot.Tools.IO, adot.Strings, adot.Grammar.Types, adot.Tools.RTTI, System.Generics.Collections, System.Generics.Defau...
unit Fonetiza.Intf; interface type IFonetiza = interface ['{B906D0E0-1BD1-4D90-BB17-39FE665DBD7C}'] /// <summary> /// Gerar conteúdo fonético /// </summary> /// <param name="AValue"> /// Conteúdo que será processado para geração fonética /// </param> /// <returns> /// Retor...
unit Ths.Erp.Database.Table.AyarHaneSayisi; interface {$I ThsERP.inc} uses SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils, FireDAC.Stan.Param, System.Variants, Data.DB, Ths.Erp.Database, Ths.Erp.Database.Table; type TAyarHaneSayisi = class(TTable) private FHesapBakiye: TField...
program bubblesort; const maximum = 20; var x: array [1..maximum] of integer; {array to sort} outer, inner, size: integer; procedure order (var x, y: integer); var h: integer; begin if x > y then begin h := x; x := y; y := h end end; begin {Read unsorted numbers} read (siz...
unit ColorEditor; interface uses Graphics, ExtCtrls; // Функция загружает нашу политру цветов procedure LoadColors(aColorListBox: TColorListBox); implementation procedure LoadColors(aColorListBox: TColorListBox); var aColor: TColor; begin aColorListBox.Items.Clear; aColor := clRed; aColorListBox.Items.Ad...
unit MainForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, ActnList, Buttons, DataPortSerial, DataPort, DataPortIP, DataPortHTTP, DataPortFile, LCLType, ComCtrls; type { TFormMain } TFormMain = class(TForm) a...
unit testbdssunit; interface uses Math, Sysutils, Ap, tsort, descriptivestatistics, bdss; function TestBDSS(Silent : Boolean):Boolean; function testbdssunit_test_silent():Boolean; function testbdssunit_test():Boolean; implementation procedure Unset2D(var A : TComplex2DArray);forward; procedure Unset1D(var...
unit uTestuGenericCommands; { 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, uGener...
{*********************************************} { TeeBI Software Library } { DataEditor VCL } { Copyright (c) 2015-2016 by Steema Software } { All Rights Reserved } {*********************************************} unit VCLBI.DataEditor; interfac...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC FireMonkey Login dialog } { } { Copyright(c) 2004-2018 Embar...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLMeshCSG<p> Constructive Solid Geometry in GLScene. The CSG system uses BSP to optimize what triangles it considers. Its kept on a mesh basis to simplyfy things, it allways generates new BSP's, even if the meshes allready h...
{----------------------------------------------------------------------------- Author: Roman Fadeyev Purpose: Трейдер, работающий в границах канала. Канал определяется границами Болинджера History: -----------------------------------------------------------------------------} unit FC.Trade.Trader....
unit fOptionsSurrogate; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ORCtrls, ORDtTmRng, ORFn, ExtCtrls, fBase508Form, VA508AccessibilityManager; type TfrmOptionsSurrogate = class(TfrmBase508Form) lblSurrogate: TLabel; cboSurrogate: TORComboBox; ...
program GameMain; uses SwinGame, SysUtils; const ARRAY_SIZE = 20; type NumberArray = Array [0..19] of Integer; procedure PopulateArray(var data : NumberArray); var i: Integer; begin for i := Low(data) to High(data) do data[i] := Rnd(ScreenHeight()); end; procedure ShowNumbersInList(var data: NumberArray); var ...
unit uModel.PessoaContatoList; interface uses System.SysUtils, System.Classes, uModel.Interfaces; type TPessoaContatoList = class(TInterfacedObject, iPessoaContatoList) private FList: TList; public constructor Create; destructor Destroy; override; class function New: iPessoaContatoList; fu...
unit uGlobals; interface uses uHIDControl, Classes, FSUIPCcontrol, FSXControl, uBuffer, uGameDevices, uXplControl, uScriptEngine, uMapForm, CfgForm, KbdMacro, uConfig; type TOnLogEvent = procedure(pMessage: String) of object; THDMGlobals = class (TObject) private fOwner: TComponent; fFSX: TFSXcon...
unit SocketIncludes; interface //#ifndef RAKNET_SOCKETINCLUDES_H //#define RAKNET_SOCKETINCLUDES_H // All this crap just to include type SOCKET //#ifdef __native_client__ //#define _PP_Instance_ PP_Instance //#else type _PP_Instance_ = Integer; // //#if defined(WINDOWS_STORE_RT) // #include <windows.h> // #inc...
//f09_tambah_buku //Dev : Sandra //v1.0.0 unit f09_tambah_buku; interface uses banana_csvparser; procedure tambah_buku; //prosedur untuk menambah buku baru ke dalam list //input berupa data buku dari user //output berupa data baru type buku_baru = record b_id : string; b_judul : string; b_author : str...
unit Kafka.Factory; interface uses Kafka.Interfaces, Kafka.Types, Kafka.Classes, Kafka.Helper, Kafka.Lib; type TKafkaFactory = class public class function NewProducer(const ConfigurationKeys, ConfigurationValues: TArray<String>): IKafkaProducer; overload; class function NewProducer(const Config...
unit mCoverSheetDisplayPanel_CPRS_Immunizations; { ================================================================================ * * Application: Demo * Developer: doma.user@domain.ext * Site: Salt Lake City ISC * Date: 2015-12-21 * * Description: Co...
unit appMobile.Menu; 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.StdCtrls, FMX.Objects, FMX.Layouts; type TfrmMenu = class(TForm) LyButtom...
unit APedidoCompra; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios, ExtCtrls, PainelGradiente, Componentes1, StdCtrls, ComCtrls, Buttons, Localizacao, Grids, DBGrids, Tabela, DBKeyViolation, Db, DBTables, Mask, numericos, UnPedidoCompra, UnDados, M...
@model System.Web.Mvc.HandleErrorInfo @{ ViewBag.Title = "Error"; } <h1 class="text-danger">Error.</h1> <h2 class="text-danger">An error occurred while processing your request.</h2>
unit GC.LaserCutBoxes.Box.Dividers; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type { TBoxDivider } TBoxDivider = class(TObject) private FWidth: Double; FHeight: Double; FTabsWidth: Double; FLegend: String; procedure SetHeight(Value: Double); procedure SetLegend(Value: Stri...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit UNcm; interface uses DateUtils, SysUtils; type Ncm = class protected Id : Integer; Numero : Integer; Porcentagem_Ipi : Real; DataCadastro : TDateTime; DataAlteracao : TDateTime; public Constructor CrieObjeto; Destr...
unit pFIBComponentEditors; interface {$I ..\FIBPlus.inc} uses Classes, SysUtils, {$IFDEF D_XE2} Vcl.Forms,Vcl.Controls,DB,Vcl.Dialogs, {$ELSE} Forms,Controls,DB,Dialogs, {$ENDIF} ToCodeEditor,TypInfo, ColnEdit, {$IFDEF D6+} DesignEditors,DesignIntf, Variants {$else} DsgnIntf {$...
(** This module contains a class which represents a form on which the project options for the active project can be edited. @Author David Hoyle @Version 1.0 @Date 05 Jan 2018 **) Unit ITHelper.ProjectOptionsDialogue; Interface {$I 'CompilerDefinitions.inc'} Uses Windows, Messages, SysUtils, ...
{*******************************************************} { } { Delphi Runtime Library } { UDDI Browser } { } { Copyright(c) 1995-2011 Embar...
program GenericFunc(input,output); type gftype = array [0..15] of integer; var a, b, c, d:integer; fresult:integer; func: gftype; (* Standard Pascal does not provide the ability to shift integer data *) (* to the left or right. Therefore, we will simulate a 16-bit value *) (* using an ...
unit uStrategy; interface uses Classes, SysUtils, StrUtils, Math, pFIBQuery, superobject, uGameItems, uDefs, uServerConnect, uDB, uLogger; type TStrategy = class private FID, FGroupID, FPriority: integer; FActive: boolean; FImperium: TImperium; FServer: TMoonServerConnect; FDB: ...
program Ems_Test; { ************************************************************* * This program shows you how to use the basic functions of * * the LIM Expanded Memory Specification. Since it does not * * use any of the LIM EMS 4.0 function calls, you can also * * use it on systems with EMS versions less t...
unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, StdCtrls, ExtCtrls; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; Button4: TButton; Button5: TButton...
unit Kafka.FMX.Helper; interface uses System.Types, FMX.Grid; type TFMXHelper = class public const MAX_LOG_LINES = 5000; public class procedure SetGridRowCount(const Grid: TGrid; const RowCount: Integer; const ScrollToBottom: Boolean = True); static; end; implementation class procedure TFMXHel...
unit ncafbMaqConfig; { ResourceString: Dario 10/03/13 } interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufmFormBase, dxPSGlbl, dxPSUtl, dxPSEngn, dxPrnPg, dxBkgnd, dxWrap, dxPrnDev, dxPSCompsProvider, dxPSFillPatterns, dxPSEdgePatterns, dxBar, dxPSCore, c...
(* Chapter 3 - Program 3 *) program AllSimpleVariableTypes; var A,B : integer; C,D : 0..255; DogTail : real; Puppy : boolean; AnimalCookies : char; begin A := 4; B := 5; C := 212; D := C + 3; DogTail := 345.12456; Puppy :=...
unit uBuffer; interface uses Classes, ExtCtrls; type THDMBuffer = class (TObject) private fOwner: TComponent; fTimer: TTimer; fValue: String; fOnValueChange: TNotifyEvent; procedure OnTimer(Sender: TObject); function GetResetInterval: Integer; procedure SetResetInterval(const pValue: ...
{------------------------------------------------------------------------------- // EasyComponents For Delphi 7 // 一轩软研第三方开发包 // @Copyright 2010 hehf // ----------------------------...
{ *********************************************************************** } { } { Copyright (c) 2003 Borland Software Corporation } { } { Written by: Ri...
unit datetime_test_1; interface implementation uses VM_System, VM_SysUtils, VM_DateUtils; type TCalcResult = (CalcSuccess, CalcExpireDate, CalcNotEnoughMoney); var R: TCalcResult; DT, NDT: TDateTime; procedure Test; begin DT := Now(); NDT := Now(); if DT > NDT then R := CalcSuccess else ...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit ncgFormBase; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls; type TFormBaseGuard = class(TForm) procedure FormCreate(Sender: TObject); private FDontForceForeground : Boolean; { Private declarations } procedure OnMostrar(Sender:...
unit fODMedIV; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, fODBase, Grids, StdCtrls, ORCtrls, ComCtrls, ExtCtrls, Buttons, Menus, IdGlobal, strUtils, VA508AccessibilityManager, VAUtils, fIVRoutes; type TfrmODMedIV = class(TfrmODBase) VA508CompOrderSig: TVA508C...
(***************************************************************************** * Pascal Solution to "The 15-Puzzle" from the * * * * Seventh Annual UCF ACM UPE High School Programming Tournament * ...
unit g_player; interface uses OpenGL, Windows, u_winapi, u_math, g_class_gameobject, g_game_objects, g_rockets, g_hud, u_sound, g_sounds; type TPlayer = class (TGameObject) FireTimer : Integer; RocketTime : Integer; FakeTimer : Integer; TrailTime : Integer; BlinkTime : Integ...
unit ParamsHelper; interface uses Data.DB, System.Classes, System.SysUtils, UIRestore; type TParamsHelper = class helper for TParams function AddParam(pParamName : string; pFieldType: TFieldType; pValue : Variant): TParam; overload; function AddParam(pField: TField) : TParam; overload; end; function St...
unit IdThreadMgrPool; interface uses Classes, IdThread, IdThreadMgr; type TIdThreadMgrPool = class(TIdThreadMgr) protected FPoolSize: Integer; FThreadPool: TThreadList; // procedure ThreadStopped(AThread: TIdThread); public constructor Create(AOwner: TComponent); override; destructo...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
{ Cut Edge DFS Method O(N2) Input: G: Undirected Simple Graph N: Number of vertices, Output: EdgeNum: Nunmber of CutEdges EdgeList[i]: CutEdge I Reference: Creative, p224 By Ali } program CutEdge; const MaxN = 100 + 2; var N: Integer; G: array[1 .. MaxN, 1 .. MaxN] of Integer; EdgeNum: ...
unit UFrmWorkerInfo; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uFrmGrid, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, dxSkinsCore, dxSkinsDefaultPainters, dxSkinscxPCPainter, cxCustomData, cxFilter, cxData, cxDataStor...
unit UnFabricaDeModelos; interface uses SysUtils, Classes, DB, SqlExpr, DBClient, { helsonsant } Util, DataUtil, Configuracoes, UnModelo, Dominio; type TFabricaDeModelos = class private FConexao: TSQLConnection; FConfiguracoes: TConfiguracoes; FDataUtil: TDataUtil; FModelos: TStr...
program ExampleEnumerate; {$ifdef MSWINDOWS}{$apptype CONSOLE}{$endif} {$ifdef FPC}{$mode OBJFPC}{$H+}{$endif} uses SysUtils, IPConnection, Device; type TExample = class private ipcon: TIPConnection; public procedure EnumerateCB(sender: TIPConnection; const uid: string; cons...
{**********************************************} { TeeChart JPEG related functions } { Copyright (c) 1996-2004 by David Berneda } {**********************************************} unit TeeJPEG; {$I TeeDefs.inc} {$IFDEF TEEOCX} {$I TeeAXDefs.inc} {$ENDIF} interface uses {$IFNDEF LINUX} Windows, Me...
unit LocalUser; interface uses Role; type TLocalUser = class private FUserId: string; FPasskey: string; FRoles: array of TRole; FName: string; function GetHasName: boolean; function GetHasPasskey: boolean; function GetRole(const i: integer): TRole; procedure SetRole(const i: in...
unit uRenderer; {$MODE Delphi} interface uses ExtCtrls,Windows,Forms; Type ProcRenderer=Procedure; procedure RendererInit(p:TPanel); procedure RendererDestroy(p:TPanel); procedure RendererAktivieren; procedure RendererDeaktivieren; procedure RendererAktualisieren; procedure RendererStart(animation:ProcRenderer); imp...
unit PTA30402; interface uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons, StdCtrls, DB, DBTables, Grids, DBGrids, Messages,Dialogs,SysUtils, Mask, ExtCtrls,datelib, Tmax_DataSetText, OnPopupEdit, OnGrDBGrid, OnFocusButton, MemDS, DBAccess, Ora, OnEditBaseCtrl, OnEditStdCtrl, ...
//1.6 se cambiaron los procedimientos de levantarbloque unit Unidad; interface Uses sysUtils; const LongBloque = 1024; type tArchivoLibres = file of word; tNroBloque = word; //tipo de numero de bloque tBloque = array [1 .. LongBloque] of byte; //buffer bloque archivo = File; tEstado = (C, E, LE); ...
unit NtUtils.Environment; interface uses NtUtils.Exceptions, Ntapi.ntdef; type TEnvVariable = record Name, Value: String; end; IEnvironment = interface function Environment: Pointer; function Size: NativeUInt; function IsCurrent: Boolean; function SetAsCurrent: TNtxStatus; function S...
Unit WlanAPIClient; Interface Uses Windows, WlanAPI, Classes; Type TWlanAPIClient = Class Private FAPIVersion : DWORD; FError : LONG; FHandle : THandle; Constructor Create; Reintroduce; Public Class Function NewInstance:TWlanAPIClient; Destructor Destroy; Override; ...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
{ Access functions for I/O ports for GPC on an IA32 platform. This unit is *not* portable. It works only on IA32 platforms (tested under Linux and DJGPP). It is provided here only to serve as a replacement for BP's Port and PortW pseudo arrays. Copyright (C) 1998-2005 Free Software Foundation, Inc. Author: ...
unit Restaurantes.Utils; interface uses System.JSON.Writers, System.SysUtils, System.StrUtils, System.NetEncoding, System.Classes, FireDAC.Comp.Client, Data.Db, Data.DBXPlatform, Restaurantes.Constantes; type TUtils = class private public class procedure A...
unit SDIMAIN; interface uses Winapi.Windows, System.Classes, Vcl.Graphics, Vcl.Forms, Vcl.Controls, Vcl.Menus, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.ImgList, Vcl.StdActns, Vcl.ActnList, Vcl.ToolWin, System.ImageList, System.Actions, uParserQuery, FireDAC.VCLUI.Memo; type TSD...
{*******************************************************} { } { Delphi VCL Extensions (RX) } { } { Copyright (c) 1997 Master-Bank } { ...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC TFDBatchMove dataset driver } { } { Copyright(c) 2004-2018 Embar...
{ @abstract(@code(google.maps.Map) class from Google Maps API.) @author(Xavier Martinez (cadetill) <cadetill@gmail.com>) @created(Septembre 30, 2015) @lastmod(October 1, 2015) The GMMap contains the implementation of TCustomGMMap class that encapsulate the @code(google.maps.Map) class from Google Maps API an...
{ *************************************************************************** } { } { Delphi and Kylix Cross-Platform Visual Component Library } { Internet Application Runtime } ...