text
stringlengths
14
6.51M
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit NtUtils.Security.AppContainer; { This module includes routines for working with AppContainer and capability SIDs. } interface uses Ntapi.WinNt, Ntapi.ntrtl, NtUtils; { Capabilities } type TCapabilityType = (ctAppCapability, ctGroupCapability); // Convert a capability name to a SID function RtlxDerive...
unit Main; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Sensors, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Objects; type TForm2 = class(TForm) PaintBox1: TPaintBox; Label1: TLa...
{$ifdef DEBUG} {$D+,L+,Y+,R+,I+,C+,S+,V+,Q+} {$endif} {$X+,G+,O+} unit GraphO; interface uses Graph, Seznam, Zpravy, Konsts; type TGrSettings = record ts : TextSettingsType; fs : FillSettingsType; {bkcol,} col : word; ...
{$MODESWITCH RESULT+} {$GOTO ON} (************************************************************************* Cephes Math Library Release 2.8: June, 2000 Copyright by Stephen L. Moshier Contributors: * Sergey Bochkanov (ALGLIB project). Translation from C to pseudocode. See subroutines comments for...
unit uEnvioEmail; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL, IdMessage, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdExplicitTLSClientServerBase, Id...
unit YOTM.DB.Comments; interface uses SQLite3, SQLLang, SQLiteTable3, System.Generics.Collections, HGM.Controls.VirtualTable, YOTM.DB; type //Комментарии к задаче TCommentItem = class; TCommentItems = class; TCommentItem = class(TObject) private FOwner:TCommentItems; FID:Integer;...
unit Analize; interface uses Structures; type TIndex = Integer; TCharFile = TextFile; TLexeme = (lexNone, lexType, lexControl, lexOProc,lexOperator, lexIProc); procedure AnalizeCode(const AnalFile, TypesFile, IOProcFile, ReservedIds: String); procedure Skip_WhiteSpaces(var f: TCharFile); procedure...
{$ifdef license} (* Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com ) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this li...
(** * Exports (a selection of) all available dumps. *) unit ExportAll; uses ExportTabularALCH, ExportTabularARMO, ExportTabularCLAS, ExportTabularCOBJ, ExportTabularENTM, ExportTabularFACT, ExportTabularFLOR, ExportTabularGLOB, ExportTabularGMST, ExportTabularIDs, Ex...
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=] Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie All rights reserved. [=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=} {$loadlib ../Includes/AeroLib/core/minimap/Walker/libWalker.dll} {...
unit UnitFormMain; { =============================================================================== CodeRage 9 - Demo for Parallel Future This code shows how to use the parallel for loop. The parallel For loop runs in parallel to the main thread, and divides pieces of the for loop into a number of t...
PROGRAM Encryption(INPUT, OUTPUT); {Переводит символы из INPUT в код согласно Chiper и печатает новые символы в OUTPUT} CONST Len = 20; FirstSymOfCpr = ' '; LastSymOfCpr = 'Z'; CorrSetSymbols = [' ', 'A' .. 'Z']; TYPE Str = ARRAY [1 .. Len] OF CHAR; Chiper = ARRAY [FirstSymOfCpr .. LastSymOfCpr] OF CHAR;...
unit CompanyLinks; {$mode objfpc}{$H+} interface uses Classes, SysUtils, BaseModel; type IBaseCompanyLinks = interface(IBaseModel) ['{1947D844-0B77-4B86-AA73-95960C0AA320}'] function GetWebsite: string; function GetFlickr: string; function GetTwitter: string; function GetElonTwitter: string; ...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
unit RelatorioInadimplenciaAnual; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, RelatorioTemplate, DB, AdvOfficeStatusBar, AdvOfficeStatusBarStylers, DBTables, Placemnt, StdCtrls, Mask, ToolEdit, RxLookup, Buttons, ExtCtrls, ComCtrls, RxQuery; type TForm...
unit uWindowsVersion; interface uses Windows, SysUtils; const TStrWindowsVersion : array [0..8] of String = ('Windows 3.x', 'Windows 95', 'Windows 98/Me', 'Windows Nt 4.0', 'Windows 2000', 'Windows XP', 'Windows Server 2003', '...
unit VolumesNotaFiscal; interface //uses // MetodoDelegadoObtemCampoInteger; type TVolumesNotaFiscal = class private FCodigoNotaFiscal :Integer; FEspecie :String; FQuantidadeVolumes :Integer; FPesoLiquido :Real; FPesoBruto :Real; ...
{$ifdef license} (* Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com ) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this li...
unit PolyclinicBaseUnit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Menus, ComCtrls, StdCtrls, ExtCtrls, Lists, DateTimePicker; type { TForm1 } TForm1 = class(TForm) BAdd: TButton; //Кнопка создания Узла BSearch: TButton; ...
{ This unit defines a SQL parser that translates BOM property names into DB field names. } unit tiSQLParser; {$IFDEF FPC} {$mode objfpc}{$H+} {$ENDIF} interface uses SysUtils ,Classes ,TypInfo ,tiObject ,tiRTTI ,tiCriteria ,tiAutoMap ,tiVisitorDB ,tiVisitorCriteria ; type // -------------...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
{ NIM/Nama : 16518332/Dhafin Rayhan Ahmad } { Tanggal : 22 Maret 2019 } unit upecahan; interface { Type pecahan } type pecahan = record n : integer; d : integer; end; { Deklarasi Fungsi/Prosedur } function ...
unit dmEstrategiaInterpreter; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, dmEstrategiaBase, DB, ScriptEstrategia, Script_Log, dmEstrategias, IBDatabase, kbmMemTable; type EScriptExecution = class(Exception) private FColumna: integer; FFila: int...
unit CSVtools; interface uses uType; { FUNGSI DAN PROSEDUR } procedure ctWrite (arrBuku : bukuArr; filename : string); procedure ctWrite (arrUser : userArr; filename : string); procedure ctWrite (arrPeminjaman : peminjamanArr; filename : string); procedure ctWrite (arrPengembalian : p...
unit DW.RichEdit.Win; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platform Library } { ...
unit RunType; interface uses FrogObj; type TRunTypeEnum = (rteTheory, rteExperimental, rteReadIn); TRunType = class (TFrogObject) public function GetEnum: TRunTypeEnum; virtual; abstract; end; implementation end.
unit NetwokAdapter_Helper; //IMG// http://res.cloudinary.com/trt/image/upload/v1553024238/egrmympfglakpszpkmcn.png interface Uses Classes, ExtCtrls, SysUtils, Variants, ActiveX, ComObj; Type TOnAdapterListChange = Procedure( aChangeList: Classes.TStrings ) of object; Type TNetworkAdapter_Helper = C...
unit dmPanelIndicadores; interface uses SysUtils, Classes; type TPanelIndicadores = class(TDataModule) private function GetNivel(const nivel: string): integer; function GetNivelSube: integer; function GetNivelBaja: integer; function GetNivelActual: integer; function GetExisteCambio: boolean...
unit RCSdebugger; { Trida TRCSd se stara o komunikaci s RCS debugger klienty po standardnim panelovem TCP spojeni. RCS debugger je klient, ktery ma pravo zobrazovat a nastavovat konkretni RCS vstupy/vystupy. Jedna se primarne o DEBUG funkci, predpokladanym klientem jsou predevsim mobilni zarizeni. Pro pouzi...
unit LAPI_TaskMan; { Sandcat Task Manager Lua functions Copyright (c) 2011-2014, Syhunt Informatica License: 3-clause BSD license See https://github.com/felipedaragon/sandcat/ for details. } interface uses Windows, Messages, Classes, Forms, SysUtils, Dialogs, Controls, StdCtrls, Lua, LuaObject, uTaskMan; ...
unit qCDKmodbusClasses; interface uses uCalcTypes,qCDKclasses; const tmASCII=0; tmRTU=1; tmTCP=2; // transmission modes type TModbusProtocol=class(TCommunicationProtocol) private protected procedure DoSetUInt(const ndx:integer; const ui:UInt64); override; // все беззнаковые целые свойства protected...
unit Song; // example from https://www.webucator.com/ interface uses xmldom, XMLDoc, XMLIntf, XMLDocHelper, Artist; type { Forward Decls } IXMLArtists = interface; IXMLSong = interface; { IXMLArtists } IXMLArtists = interface(IXMLNodeCollection) ['{F208170C-788F-4E50-94CD-F596B8C...
unit BaseFrameController; interface uses Classes, SysUtils, Controls, tiObject, mapper, mvc_base, widget_controllers, AppModel, EventsConsts, VCL.Forms; type // ----------------------------------------------------------------- // Class Objects // -----------------------------------------------------------...
unit UPhoenixMobileLogin; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Registry, OleCtrls, SHDocVw,ShellAPI, RzLabel,UContainer; //const // PhoenixMobileDLL = 'PhoenixDLL.dll';//'E:\PhoenixMobile\PhoenixDLL\Win32\Debug\PhoenixDLL.dll'; // type ...
unit UAMC_RELSPort; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2008 by Bradford Technologies, Inc. } { This unit is used to connect to the RELS/NAsoft web service for getting } { order details, v...
unit HNM.Raytrace.Geometry; interface //#################################################################### ■ uses LUX, LUX.D1, LUX.D2, LUX.D3, LUX.Matrix.L4, LUX.Raytrace, LUX.Raytrace.Geometry, HNM.Raytrace; type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】 //$$$...
unit uDataTable; interface uses System.Types, mORMot; type TSQLData = class(TSQLRecord) private fField1: Int64; fField2: Int64; fField3: Int64; fField4: Int64; function ReadValues: TIntegerDynArray; procedure WriteValues(AValue: TIntegerDynArray); published property Field1: Int6...
unit UAWSI_Utils; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2012 by Bradford Technologies, Inc.} interface uses Classes, Controls, AWSI_Server_Access, AWSI_Server_AreaSketch, ULicUser, AwsiAc...
unit SettingsFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ToolWin, ExtCtrls, TSTOProject.Xml, dmImage, SpTBXItem, SpTBXControls, TB2Dock, TB2Toolbar, TB2Item, SpTBXExPanel, VTEditors, SpTBXEditors, System.ImageList, Vcl.ImgList; t...
unit Main; interface uses System.SysUtils, System.Classes, System.IOUtils, AppConfiguration; type TMainApplication = class private fAppConfig: TAppConfiguration; fSilentMode: boolean; procedure ValidateSourceConfiguration(); function ExtractInputParameters(): string; procedure Proces...
unit SAPStockReader; interface uses Classes, SysUtils, ComObj, CommUtils; type TSAPStockSum = class; TSAPStockRecord = packed record snumber: string; sstock: string; dqty: Double; dQty_Alloc: Double; end; PSAPStockRecord = ^TSAPStockRecord; TSAPStockReader = class private...
unit DbgOutp; {**************************************************************** * Модуль отладочного вывода (С) Зайцев О.В., АСУ тел. 0-48 * ****************************************************************} interface // Добавить строку к отладочному дампу Function DebugOutput(s:string):boolean; var ...
(* SDL SMPEG library (MPEG-1) This file is a part of Audio Components Suite. Copyright (C) 2002-2005 Andrei Borovsky. All rights reserved. See the license file for more details. This is the ACS for Linux and Windows version of the unit. *) //{$weakpackageunit on} // Linux and Windows C-Compilers use dif...
unit ClientBankLoad; {$I ..\dsdVer.inc} interface uses dsdAction, DB, dsdDb, Classes, ExternalLoad {$IFDEF DELPHI103RIO}, Actions {$ENDIF}; type TClientBankType = (cbPrivatBank, cbForum, cbVostok, cbFidoBank, cbOTPBank, cbOTPBankXLS, cbPireusBank, cbPireusBankDBF, cbMarfinBank, cbUrkExim, cbProkreditBank, cb...
unit ConfigurationWSIntf; interface uses InvokeRegistry, Types, XSBuiltIns, CommunicationObj; type IConfigurationWS = interface(IInvokable) ['{712FF90D-6010-4692-BB7B-55889DD01519}'] // IConfiguration function Get_Osciloscope_Port: cardinal; safecall; function Get_Radar_ID: Integer; safe...
{ ID:because3 PROG:preface LANG:PASCAL } program preface; const a:array [1..3,0..9] of integer= ((0,1,2,3,1,0,1,2,3,1), (0,0,0,0,1,1,1,1,1,0), (0,0,0,0,0,0,0,0,0,1)); ch='IVXLCDM'; var ans:array [1..9] of longint; n,i,x:integer; procedure order(x,i:integer); var j:integer; begin for ...
unit TBlokUvazka; //definice a obsluha technologickeho bloku Usek interface uses IniFiles, TBlok, TechnologieJC, Menus, TOblsRizeni, SysUtils, Classes, IdContext, StrUtils, TOblRizeni, Generics.Collections; type //technologicka nastaveni useku (delka, RCS moduly, ...) TBlkUvazkaSettings = record parent:In...
unit ServerURLs; interface const URL_ALTA: string = '/client/alta.html'; URL_RECORDAR: string = '/client/recordar.html'; URL_AYUDA: string = '/client/ayuda.html'; URL_FORO: string = '/client/foro.html'; URL_BASE_AYUDA_MENSAJES: string = '/client'; URL_CONFIG_ESCENARIO: string = '/client/escenarios.html'; ...
unit seekbar; {$mode delphi} interface uses Classes, SysUtils, And_jni, AndroidWidget, systryparent; type TOnSeekBarProgressChanged = procedure(Sender: TObject; progress: integer; fromUser: boolean) of Object; TOnSeekBarStartTrackingTouch= procedure(Sender: TObject; progress: integer) of Object; TOnSeekBarStop...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit dsdDB; interface uses Classes, DBClient, DB; type TOutputType = (otResult, otDataSet, otMultiDataSet, otBlob, otMultiExecute); TdsdParam = class(TCollectionItem) private FComponent: TComponent; FDataType: TFieldType; FValue: Variant; FOldValue: Variant; FName: String; FComponentIt...
unit Configuration; interface uses gr32, INIFiles, SysUtils, Classes, Forms; type TPatchConfiguration = class public end; TConfiguration = class private _Filename : String; _Changed : Boolean; _RecentlyOpenedFiles : TStringlist; _GridlineColour : TColor32; // Whether or not to enable...
unit UAdjustCtrls; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, CheckLst, Spin, RPDefines, RPCtrls, UAdjustCtrlFrame, UTools; type TdlgAdjustCtrls = class(TForm, ISimpleSelection) lsCtrls: TCheckListBox; Panel1: TPanel; BitB...
unit uFuncoes; interface uses uMd5, DB, uDm, SysUtils, Classes, Forms, Dialogs, Windows, Messages, Graphics, ExtCtrls, ADODB, Inifiles; function validaAcesso(login : String; pws : String) : TDataSet; procedure VerticalText(Form : TForm; Texto1, Texto2 : String; Top : Integer; FontSize : Integer);overload...
unit TSTOSbtpIntfReg; interface implementation Uses HsInterfaceEx, TSTOSbtpIntf, TSTOSbtp.IO, TSTOSbtp.Bin, TSTOSbtp.Xml, TSTOSbtpEx.JSon; Initialization //TSTOSbtpIntf RegisterInterface('ISbtpSubVariable', ISbtpSubVariable); RegisterInterface('ISbtpSubVariables', ISbtpSubVariables); RegisterInterface('IS...
unit imagefactorycore; interface uses Classes, SysUtils, BGRAGraphics, BGRABitmap, BGRABitmapTypes, BGRAGradientScanner; procedure MakeDisk(const AScale: integer; const AColor: TBGRAPixel; const AGradient: boolean; const AFileName: string; const ALabel: boolean = FALSE); procedure MakeGrid(const AScale: integer...
unit unSystemAuthentificationForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, StdCtrls, cxButtons, ValidateEditUnit, RegExprValidateEditUnit, ExtCtrls, SystemAuthentificationFormViewModel; type ...
unit uF2_exit; interface uses uP1_tipeBentukan, uP2_pesan, uP3_umum; procedure mainExit(var programSelesai: boolean; dataSimulasi : tabelSimulasi; dataInventoriBahanMentah : tabelBahanMentah; dataInventoriBahanOlahan : tabelBahanOlahan; nf_simulasi : string; nf_inventoriBahanMentah : s...
(*----------------------------------------------------*) (* Developer: Neuhold Michael *) (* Date: 03.12.2018 *) (* "WLA MODUL" *) (*----------------------------------------------------*) UNIT WLA_Modul; INTERFACE TYPE...
unit VerInfo; interface uses SysUtils, WinTypes, Dialogs, Classes; type EVerInfoError = class(Exception); ENoVerInfoError = class(Exception); ENoFixedVerInfo = class(Exception); type TVerInfoType = (viCompanyName, viFileDescription, viFileVersion, viInternalName, viLegalCopyri...
unit OlegDigitalManipulation; interface uses Windows,Math,OlegVector,OlegType; type TFunWidowFiltr=Function(i:word):double of object; {функція розрахунку i-го коефіцієнта віконного фільтра} TVDigitalManipulation=class(TVector) private fA,fB:TArrSingle; {масиви для коефіцієнтів фільтрування...
{ PCMEArmControl v1.1 Copyright (C) 2015 Paulo Costa All rights reserved. This file is licensed under the BSD License. See http://www.opensource.org/licenses/bsd-license.php Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ...
unit UFormLicense; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. } { Purpose: A form to display a user license agreement. } interface uses ActnList, Classes, ...
unit RemoveFileFromProjectFrm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, SpTBXControls, SpTBXItem, Vcl.ExtCtrls, TSTOTreeviews, TSTOProjectWorkSpaceIntf; type TFrmRemoveFileFromProject = class(TForm) ...
unit Module.Applications; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Vcl.ImgList, Dialogs, ExtCtrls, ComCtrls, System.Win.Registry, ShellAPI, Vcl.StdCtrls, Vcl.ValEdit, // CMW.Utils, CMW.ModuleStruct, CMW.OSInfo, Vcl.Grids; // type TApplicationUnit = class;...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://webservices.appraisalworld.com/secure/ws/awsi/GeoDataServer.php?wsdl // >Import : http://webservices.appraisalworld...
UNIT Data; (*<Manages and stores game data. *) (* Copyright (c) 2018 Handoko (c) 2019-2020 Guillermo Martínez. This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission...
unit uRegistrarFrequencia; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, Buttons, StdCtrls, MaskEdit, uFormBase, uAluno, uFrequenciaService, LCLType, sqldb, uAlunoService; type { TfrmRegistrarFrequencia } TfrmRegistrarFrequencia = class(Tfr...
{ ID:because3 PROG:kimbits LANG:PASCAL } program kimbits; var i,x,total,uplim:int64; n,l,j:longint; function check(x:int64):boolean; begin x:=(x and $55555555)+((x shr 1) and $55555555); x:=(x and $33333333)+((x shr 2) and $33333333); x:=(x and $0f0f0f0f)+((x shr 4) and $0f0f0f0f); x:=(x an...
unit FreeBasicRTTI; interface uses SysUtils, Windows, Classes, Controls, TypesUnit, HelperUnit, Dialogs; type TFieldTypeKind=(ftkUnknown,ftkByte,ftkShort,ftkLong,ftkInteger,ftkSingle,ftkDouble,ftkZString,ftkString,ftkType,ftkEvent); TFieldKind=(fkUnknown,fkFunction,fkSub,fkOperator,fkProperty); ...
unit AqDrop.Core.Automaton.Text; interface {$I 'AqDrop.Core.Defines.inc'} uses AqDrop.Core.Automaton, AqDrop.Core.Types; type TAqTextAutomaton<TIdentifier, TOutput> = class(TAqAutomaton<TIdentifier, Char, TOutput>) strict private type TAqInternalAutomaton = TAqAutomaton<TIdentifier, Char, TOut...
unit MarginCategoryItem; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorEnum, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxPCdxBarPopupMenu, cxStyles, cxCustomData, cxFilter, cxDa...
{************************************************************* www: http://sourceforge.net/projects/alcinoe/ svn: svn checkout svn://svn.code.sf.net/p/alcinoe/code/ alcinoe-code Author(s): Stéphane Vander Clock (alcinoe@arkadia.com) Sponsor(s): Arkadia SA (http://www.arkadia.com) pr...
// ****************************************************************** // // Program Name : AT Software_DNA Library // Program Version: // Platform(s) : Win32, Win64, OSX // Framework : None // // Filename : AT.SoftwareDNA.Types.pas // File Version : 1.00 // Date Created : 26-APR-2016 // Author ...
unit dmValoresLoader; interface uses SysUtils, Classes, DB, IBCustomDataSet, IBQuery, IBSQL, UtilDBSC; type TValoresLoader = class(TDataModule) qValores: TIBQuery; qValoresOID_VALOR: TSmallintField; private procedure InitializeDiarioSemanal(const DiarioSemanalQuery: TDiarioSemanalDatosQuery); pro...
{ Invokable implementation File for TVideoWS which implements IVideoWS } unit VideoWSImpl; interface uses InvokeRegistry, Types, XSBuiltIns, VideoWSIntf, CommunicationObj; type { TVideoWS } TVideoWS = class(TCommObj, IVideoWS) public // IVideo function Get_Frecuencia_AD: Integer; safecall; ...
unit SearchDlg.Opts; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, CCDBv2; type TSearchQueryDialog = class(TForm) QueryEdit: TLabeledEdit; GroupBox_0: TGroupBox; CatsGroupBox: TGroupBox; CatCheck_0: TCheckBox; CatCheck...
program testeBerechneTiefeUndMaxTiefe (input, output); { testet die Prozedur BerechneTiefeUndMaxTiefe } type tRefBinbaum = ^tBinbaum; tBinBaum = record Info, Tiefe : integer; links, rechts : tRefBinBaum; end; tNatZahl = 0..maxint; var Wurzel : tRefBin...
unit INumberGeneratorUnit; interface uses SysUtils; type TCurrentNumberNotFoundException = class (Exception) end; INumberGenerator = interface function GetCurrentNumber: LongInt; function GetNextNumber: LongInt; procedure Reset; property CurrentNumber: LongInt read GetCurrentNumber; ...
unit XHBomReader; interface uses Classes, SysUtils, ComObj, CommUtils, KeyICItemSupplyReader; type TXHBomRecord = packed record snumber: string; sname: string; smodel: string; serpclsid: string; sextra: string; end; PXHBomRecord = ^TXHBomRecord; TXHBomChilcRecord = pa...
unit qtxscrolltext; interface uses System.Types, SmartCL.System, SmartCL.Components, SmartCL.Effects, w3c.dom, qtxeffects, qtxutils; Type TQTXScrollText = Class(TW3CustomControl) private FActive: Boolean; FText: String; FSpeed: Integer; FContent: TW3CustomControl; function ...
unit xlcodec_base64; interface uses define_char; (* Base64是网络上最常见的用于传输8Bit字节代码的编码方式之一, 大家可以查看RFC2045~RFC2049,上面有MIME的详细规范。 Base64编码可用于在HTTP环境下传递较长的标识信息。例如, 在Java Persistence系统Hibernate中,就采用了Base64来将一个较长 的唯一标识符(一般为128-bit的UUID)编码为一个字符串, 用作HTTP表单和HTTP GET URL中的参数。在其他应用程序中, 也常常需要把二进制数据编码为适合放在URL(包括隐藏表单域) 中的形式。此时,采用Ba...
Unit XTxtDev; Interface Uses Classes, ppDrwCmd, ppDevice, ppForms, XTxtPrn; type { TXTextPrintDevice } TXTextPrintDevice = class(TppDevice) private FFirstPage: Boolean; FSkipLines: Byte; FOffsetX: Integer; FOffsetY: Integer; FCharWidth: Integer; FCharHeight: Integer; ...
//WinDu.ScanThread // //MIT License // //Copyright (c) 2020 ottigeda // //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 without limitation the rights /...
unit flags; interface type TCaracteristicaFlag = ( cInicioCiclo, cInicioCicloVirtual, cMantener, cPrimeraAdvertencia, cPrimeraAdvertenciaVirtual, cAdvertencia, cResistenciaPura, cFranjaResistencia, cAreasResistencia, cSoportePuro, cFranjaSoporte, cAreasSoporte, cAcumulacion, cPreparandoAcumulaci...
unit uPrimes; interface function IsPrime1(const i: integer): Boolean; function IsPrime2(const i: integer): Boolean; implementation uses Spring.Collections ; function IsPrime1(const i: Integer): Boolean; var Temp: Integer; begin Assert(i > 0); if i = 1 then begin Result := False; Exit; ...
unit DragonPressurizedCapsule; {$mode objfpc}{$H+} interface uses Classes, SysUtils, VolumeInfo, BaseModel; type IBaseDragonPressurizedCapsule = interface(IBaseModel) ['{33A57FCF-0068-4320-A24F-7B83F60E20BE}'] function GetPayloadVolume: IVolumeInfo; procedure SetPayloadVolume(AValue: IVolumeInfo); e...
{ MastApp Main Window. By default, the database component's alias is DBDEMOS, and so the application accesses the Paradox tables. You can upsize the application to use Local InterBase data by choosing View | Remote Data from the application's main menu. For this to work, however, ...
unit RadarWSIntf; interface uses InvokeRegistry, Types, XSBuiltIns, CommunicationObj; type IRadarWS = interface(IInvokable) ['{67A4EA08-C272-44E0-A63A-6918E7E61ED5}'] function Get_Red_Listo: WordBool; safecall; function Get_Radar_On: WordBool; safecall; function Get_Tx1Status: RadarStatu...
unit mnFileChooser; interface uses cxMRUEdit, Messages, Classes; type {-------------------------------- 用于选择文件的编辑框控件。 编辑框有两个附加按钮,一个弹出MRU下拉列表,另一个弹出选择文件对话框。 也可以将文件拖拽入编辑框。 Tested in TestApp. --------------------------------} mnTFileChooser = class(TcxMRUEdit) private procedure WMDropFiles(var Message: ...
unit FH.DeckLink.InputFrame; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.SyncObjs, System.Generics.Collections, Winapi.ActiveX, Winapi.DirectShow9, DeckLinkAPI_TLB_10_5, FH.DeckLink.DisplayMode; const bmdFrameHasVirtual = $90001000; type TDeckLin...
unit uPanel; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, TB2Dock, UtilDock; type TfrPanel = class(TFrame) private FWindow: TTBCustomDockableWindow; FOnDestroy: TNotifyEvent; FDefaultDock: TDefaultDock; function GetWindow: TTBCustomDockabl...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit FrameRealTime; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TRealTime = class(TFrame) Label1: TLabel; CheckBox1: TCheckBox; Timer1: TTimer; procedure Timer1Timer(Sender: TObject); procedure Ch...
(* LAME MP3 encoder components This file is a part of Audio Components Suite. All rights reserved. See the license file for more details. Copyright (c) 2002-2009, Andrei Borovsky, anb@symmetrica.net Copyright (c) 2005-2006 Christian Ulrich, mail@z0m3ie.de Copyright (c) 2014-2015 Sergey Bodrov, serbod@gmail....
unit AqDrop.DB.FD.SQLite; interface uses Data.DB, {$IF CompilerVersion >= 26} FireDAC.Phys.SQLite, {$ELSE} uADPhysSQLite, {$ENDIF} AqDrop.DB.Adapter, AqDrop.DB.SQLite, AqDrop.DB.FD, AqDrop.DB.FD.TypeMapping; type TAqFDSQLiteDataConverter = class(TAqFDDataConverter) public pro...
{------------------------------------------------------------------------------} { } { WaveACM - A subset of Microsoft Audio Compression Manager (ACM) API } { by Kambiz R. Khojasteh ...
unit q3types; interface uses OpenGl; const FACE_POLYGON = 1; FACE_PATCH = 2; FACE_MESH = 3; FACE_BILLBOARD = 4; DIST_EPSILON = 1/32; //0.000001; Q3_FONT = 0; Q3_BACK = 1; CONTENTS_SOLID = 1; // an eye is never valid in a solid CONTENTS_WI...
unit modbusTCP; {$MODE Delphi} interface uses math; const ModBusBits = $10000; ModBusBytes = $10000 div 8; inBufSize = 256; outBufSize = 256; type TModbusState = (mbsIdle, mbsHeader, msbLen, msbUnitId, msbFunctionCode, mbsHighAddress, mbsLowAddress, mbsHighNum, mbsLowNum...