text
stringlengths
14
6.51M
unit Layout; interface uses Classes, Rda_TLB; type TLayout = class(TInterfacedObject, ITemplate, ITemplateControl) public constructor Create( Name : string ); constructor Clone( Name : string; Source : ITemplate ); destructor Destroy; override; public // ITemplate function G...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://dev.kyliptix.com/ucrm/soap/WebOrder?WSDL // >Import : http://dev.kyliptix.com/ucrm/soap/WebOrder?WSDL:0 // Encoding...
unit UGetNetworkAdapter; interface uses Winsock, windows; Type TInterFaceState=(isLoopback, isNetwork); TAdapterInfo=record Ip:string; SubnetMask:string; Broadcast:string; InterfaceUp:boolean; BroadcastSupported:boolean; InterfaceState:TInterFaceState; end; TNetworkAdapterInfo=...
unit UFiles; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc.} interface Uses SysUtils,ComCtrls,Classes,Dialogs,Windows,Graphics,JPEG, UGlobals, UBase, UFileGlobals...
unit FilmBase; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, TypeList, Vcl.ExtDlgs, Vcl.ExtCtrls; type TfrmFilmBase = class(TForm) lvFilmTab: TListView; ...
unit UserServerCalls; interface uses Classes, dmInternalServer, SysUtils, DB, Controls; type TUserServerCall = class(TServerCall) protected function GetURLConnection: string; override; public end; TLoginUserServerCallResult = (lOK, lErrorPermission, lErrorUsuarioNotFound, lErrorServidor); TLoginUser...
unit UDaemon; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, Vcl.StdCtrls, Vcl.ExtCtrls, Data.Win.ADODB, System.Contnrs, Vcl.ImgList; type TFDaemon = class(TForm) MainMenu1: TMainMenu; Co...
unit FH.DeckLink.Device; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Generics.Collections, Winapi.ActiveX, System.syncobjs, DeckLinkAPI_TLB_10_5; type TDeckLinkDevice = class(TInterfacedObject, IDeckLink) private m_refCount : integer; ...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls; type TForm1 = class(TForm) Panel2: TPanel; pnLogin: TPanel; Label1: TLabel; Label2: TLabel; btnLogin: TButton; edUN: TEdit; edPS: TEdit; pnMain: TPa...
program TesteAnhaengen (input, output); { testet die Prozedur anhaengen } type tRefListe = ^tListe; tListe = record info : integer; next : tRefListe end; var Liste1, Liste2, Gesamtliste : tRefListe; procedure LiesListe(var outListe : tRefListe); { Liest e...
unit CLCAL; interface uses Classes, Controls, Messages, Windows, Forms, Graphics, StdCtrls, Grids, SysUtils; type TDayOfWeek = 0..6; TCLCal = class(TCustomGrid) private FDate: TDateTime; FLunarYear: Integer; FHintDate: THintWindow; FMonthOffset: Integer; FOnChange: TNotifyEvent; FRea...
unit unitFormGradleBuild; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; type { TFormGradleBuild } TFormGradleBuild = class(TForm) Label1: TLabel; Label2: TLabel; ListBoxBuildTool: TListBox; ListBoxMinSdk: TListBox; procedure...
unit Web; {$WARN UNIT_PLATFORM OFF} {$WARN SYMBOL_PLATFORM OFF} {$WARN SYMBOL_DEPRECATED OFF} interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.StrUtils, IniFilesDX, System.IOUtils, System.Types, Vcl.Filec...
unit UUADDateOfSale; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. } interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, Dial...
unit Unit1; { Single platform and player version of PlatformDemo Copyright (c) 2014 Steven Binns Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License, as described at http://www.apache.org/licenses/ and http://www.pp...
unit MultiCalc1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, StdCtrls, FormExpr, Menus, ExtCtrls, Dialogs; const Nundo = 41; type TForm1 = class(TForm) ResultEdit: TEdit; SaveFor: TButton; XEdit: TEdit; YEdit: TEdit; ZEdit: TEdit; BX: TButton; BY...
unit qCDK103funcs; interface uses qCDK103types,qCDK103classes; // iec103-ошибка из идентификатора в строку function iec103GetErrorStr(iece:integer):AnsiString; // синхронная запись function iec103WriteBuffer(cd:TIEC103Master; arrPacket:array of Int64; pLDU:PLDU=nil):integer; // сброс подсистемы связи - оч...
unit PhoneTools; interface uses Entities, Aurelius.Engine.ObjectManager; type TPhoneTools = class public class procedure UpdateCountryCodes(Include: boolean); class procedure IncludeCountryCode(Contact: TContact); class procedure ExcludeCountryCode(Contact: TContact); class pr...
unit classes_level; interface uses contnrs, sysutils; type TEnemy = class private _X : Byte; _Y : Byte; _ID : Byte; _Screen : Byte; public property X : Byte read _X write _X; property Y : Byte read _Y write _Y; property ID : Byte read _ID write _ID; property Screen : Byte read _...
// ============================================================================= // Module name : $RCSfile: RS232.pas,v $ // description : This unit defines a class, which implements methodes and // properties for general communication with RS232. // Compiler : Delphi 2007 // Author : 2015-09...
unit MainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TfrmTestDLL = class(TForm) btnPlay: TButton; btnStop: TButton; Timer: TTimer; lblEpsilon: TLabel; lblBetta: TLabel; btnParameters: TB...
unit AcquireShotsInSectorForm; interface uses SysUtils, Forms, StdCtrls, ExtCtrls, Controls, Classes; type TAcquireShotsInSector = class(TForm) Label1: TLabel; ScanType: TComboBox; CellCount: TLabeledEdit; StartAngle: TLabeledEdit; FinishAngle: TLabeledEdit; Button1: TBut...
unit config; {$mode objfpc}{$H+} interface uses Classes, SysUtils, dictionary; type { TICEnvironment - Менеджер окружения программы } TICEnvironment = class(TStrDictionary) end; var { Объявление глобального объекта окружения ВНИМАНИЕ! Глобальные переменные описываются в секции inte...
unit WorldGenBigTree_u; interface uses WorldGenerator_u,RandomMCT,generation_obsh; type WorldGenBigTree=class(WorldGenerator) private rr:rnd; basepos:array[0..2] of integer; otherCoordPairs:array[0..5] of byte; heightLimit,height,trunkSize,heightLimitLimit,leafDistan...
unit ToneGen; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs ,mmsystem,Math; //default values const AttDef=10; HoldDef=5; DecDef=20; SusDef=50; RelDef=30; DurDef=100; FreDef=440; VolDef=100; AMLevels=7; MaxFreq=20000; ...
unit AT.DNA.VCL.Dlg.ActivationCode; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AT.DNA.VCL.Dlg.Base, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore, dxSkinBlueprint, dxSkinCar...
unit TSTOScriptTemplate.Bin; interface Uses HsInterfaceEx, HsStreamEx, TSTOScriptTemplateIntf; Type ITSTOBinScriptTemplateSettings = Interface(ITSTOScriptTemplateSettings) ['{4B61686E-29A0-2112-A0A8-92DB9761394B}'] Procedure SaveToStream(AStream : IStreamEx); Procedure LoadFromStream(AStream : IStrea...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
edit blackjack3.pas c PROGRAM BlackJack3 (input,output); {plays a game of blackjack and keeps track of cards dealt} TYPE Dlt=Array[1..13,1..3] OF Boolean; Cd=Array[1..2] OF integer; VAR Card: Cd; CardsDealt: Dlt; PlayerTotal,DealerTotal: integer; Play,HitOrStand: char; %INCLUDE 'Fra...
{ ------------------------------------------------------------ SimpleRestRequest - A Simple, fluent interfaced REST client for Delphi XE and up. https://github.com/jamiei/SimpleRestClient Licensed under the BSD-3 Open source license. --------------------------------------------------------------} /// <summary...
unit Classe.Animal; interface Type TAnimal = class Function Voz : String; virtual; abstract; end; TCachorro = class(TAnimal) function Voz : String; override; end; TGato = class(TAnimal) function Voz : String; override; end; TDinossauro = class (TAnimal) function Voz : String; override...
unit sNumFormatForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ButtonPanel, ExtCtrls, StdCtrls, Spin, Buttons, types, inifiles, fpsTypes, fpsNumFormat, fpSpreadsheet; type TsNumFormatCategory = (nfcNumber, nfcPercent, nfcScientific, nfcFraction, ...
unit uTextVizard; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, clipbrd, INIFiles, zTranslate; type TemplateInfo = record Filename : string; // Имя файла шаблона TemplateName : string; // Имя самого шаблона ...
unit DW.IdleHandler.Android; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platform Library } ...
unit Restourant.Consts.Strings; interface type TLang = ( lngRUS ,lngUSA ,lngDEU ,lngFRA ,lngUKR ); const LangID :array[TLang]of Integer = ( 1000054 ,1000056 ,1000090 ,1000091 ,1000071 ); LangNames :array[TLang]of string = ( 'Русский' ,'En...
//======================================================================== // Ultimate Color Picker Dialogs - Delphi Edition // // Copyright 2003-2005, SimpleWebsiteNavigation.com, All Rights Reserved. // // Datecode: 050929 // // This software is shareware. You may evaluate it for free, but it you // use it you ...
unit CodeUnit; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} interface uses {$IFnDEF FPC} Windows, {$ELSE} LCLIntf, LCLType, LMessages, {$ENDIF} Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ImgList, Menus, ComCtrls, ExtCtrls, ELSuperEdit, SynEdit; type TResultKind=...
unit u_client; {$mode objfpc}{$H+} interface uses Classes, SysUtils; Const ClientID = 'Mediator'; var BrokerIP, VersionString: string; Topic_SetRelays, Topic_HeartBeat, Topic_Status, Topic_Power, Topic_AirQuality, Topic_DallasTemperatures, Topic_SetRequestLights, Topic_HeartBeatAck: ansistring; Temper...
{Hint: save all files to location: C:\Users\jmpessoa\workspace\AppCompatCollapsingToolbarDemo1\jni } unit unit1; {$mode delphi} interface uses Classes, SysUtils, AndroidWidget, scoordinatorlayout, sappbarlayout, scollapsingtoolbarlayout, stoolbar, Laz_And_Controls, srecyclerview, sfloatingbutton, unit2; typ...
{ //************************************************************// } { // // } { // Código gerado pelo assistente // } { // // } { // Projeto MVCBr ...
unit UPlayer; interface uses Classes, SysUtils, Udeck, UCard, System.Generics.Collections, System.Generics.Defaults; type TPLayer = class type TListSortCompare = function (Item1, Item2: Pointer): Integer; private FcardsInHand : TCardList; //dynamic array to hold all cards in hand FsuitListArr...
unit EspecificacaoMovimentosCaixa; interface uses Especificacao, Caixa; type TEspecificacaoMovimentosCaixa = class(TEspecificacao) private FCaixa :TCaixa; public constructor Create(Caixa :TCaixa); public function SatisfeitoPor(Objeto :TObject): Boolean; override; end; implementation uses M...
unit uMainForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, ExtCtrls, Menus, VirtualTrees, Windows, uLibrary, uLibraryData, uLibraryEditor, uEditingFormPool; type { TMainForm } TMainForm = class (TForm) ApplicationMenuItem: TMenu...
unit KernelIOP; ////////////////////////////////////////////////////////////////////////// // Revision : 11-03-2003 ////////////////////////////////////////////////////////////////////////// interface const KIOP_ACCESS_IO = $01; // IO port KIOP_ACCESS_MEMORY = $02; // Memory KIOP_ACC...
unit queue; interface uses mutex; type TStaticQueueOverflow = (qoFail, qoDiscardOldest, qoDiscard); TStaticQueue = record Count, ElementSize, First,Last,Items: longint; QueueBuffer: Pointer; Overflow: TStaticQueueOverflow; Mutex: TMutex; end; procedure CreateStaticQueue(var Queue: TStaticQueue; Queu...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
{******************************************************** * * Program Name: Lab# 2 * * Student Names: Harrison Engel, Rebecca Gonzolez * Semester: Spring 2015 * Class & Section: COSC 30403 * Instructor: Dr. Comer * Due Date: February 17, 2014 * * Program Overview: * This...
{ Copyright (c) 1985, 87 by Borland International, Inc. } program qsort; {$R-} {$S-} uses Crt; { This program demonstrates the quicksort algorithm, which } { provides an extremely efficient method of sorting arrays in } { memory. The program generates a list of 1000 random numbe...
unit dmBaseBuscar; interface uses SysUtils, Classes, DB, IBCustomDataSet, kbmMemTable; const TAG_BANDERA = -1; TAG_BUSQUEDA = 1; type TBaseBuscar = class(TDataModule) Valores: TkbmMemTable; ValoresOID_VALOR: TSmallintField; ValoresOID_MERCADO: TSmallintField; ValoresNOMBRE: TIBStringField; ...
unit ShellNotifyIcon; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ShellAPI; type { TShellNotifyIcon - Component by Oliver Dillinger, AUSTRIA Use this component to create an icon to the task notification area (thats the panel on the taskbar where the clock is)....
unit uTaskMon; { Sandcat Task Monitor Copyright (c) 2011-2014, Syhunt Informatica License: 3-clause BSD license See https://github.com/felipedaragon/sandcat/ for details. } interface uses Forms, SysUtils, Windows, Controls, Graphics, Classes, StdCtrls, ExtCtrls, ComCtrls, Menus; type TTaskMessages = cla...
{ ID:because3 PROG:namenum LANG:PASCAL } const f:array ['A'..'Z'] of char=('2','2','2','3','3','3','4','4','4','5','5','5','6','6','6','7','0','7','7','8','8','8','9','9','9','0'); var n,i:integer; s,ss:string; function same(a,b:string):boolean; var i:integer; begin for i:=1 to n do if f[ss[...
program data(input, output, diskFile); uses wincrt; const fileName = 'file.dat'; LINE_LENGTH = 10; type intFile = file of integer; intArray = array [1..100] of integer; var diskFile : intFile; i, x : integer; ints : intArray; {Writes numbers 1-100 to file.dat} procedure writeFile(var di...
unit TSTOSbtp.IO; interface Uses Windows, Classes, SysUtils, HsInterfaceEx, HsStreamEx, TSTOSbtpIntf; Type ISbtpSubVariableIO = Interface(ISbtpSubVariable) ['{4B61686E-29A0-2112-B781-30B4271D1B0B}'] Function GetOnChange() : TNotifyEvent; Procedure SetOnChange(AOnChange : TNotifyEvent); Property O...
{Unidad funcionesbingo. Contiene las funciones y procedimientos utilizados por el juego del bingo} Unit funcionesbingo; {Parte pública} Interface Const MaxJugadores=4;{Para poder cambiar fácilmente el número máximo de jugadores} Type TPrimos=Array[1..90] Of Word;{El tipo de los números del bombo} TCarton=A...
unit ProjectOutput; interface uses Project, Classes; type TProjectOutputSaver = class private FProject : TveProject; procedure SaveVersion( S : TStream ); procedure SaveConfig( S : TStream ); procedure SaveBoard( S : TStream ); procedure SaveCelledOutlines( S : TStream ); pro...
/// <summary> /// Модуль содержит описания классов главного окна программы, хранилища /// параметров монитора и журналирования /// </summary> unit frmMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dia...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit WebUpdate; interface procedure GetVeeCADUpdate; function GetEnvironmentString( const Name : string ) : string; procedure ToVeeCADWebsite; implementation uses Windows, SysUtils, Version, WineHelper; // ***************************************** // OPEN BROWSER AT VEECAD WEBSITE // ********...
unit expression; {$mode delphi} interface uses Classes, SysUtils, And_jni, AndroidWidget; type {Draft Component code by "LAMW: Lazarus Android Module Wizard" [4/15/2019 14:26:20]} {https://github.com/jmpessoa/lazandroidmodulewizard} {jControl template} jExpression = class(jControl) private public constr...
unit fMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Data.DB, Vcl.StdCtrls, Vcl.Buttons, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls, uOrderItem, System.Actions, Vcl.ActnList, Vcl.ToolWi...
unit uISO3166_1; interface uses Windows; type TEnumData = record GeoCode: string; GeoName: string; Success: Boolean; end; GEOID = type LONG; GEOTYPE = type DWORD; GEOCLASS = type DWORD; SYSGEOTYPE = ( GEO_NATION = $0001, GEO_LATITUDE = $0002, GEO_LONGITUDE = $0003, GEO_ISO2 ...
unit UBus; interface uses SysUtils , UInt6502 , UImpl6502 , UIntBus; type TBus = class(TInterfacedObject, IBus) private FCPU: I6502; public FRAM: TBytes; constructor Create; destructor Destroy; override; procedure Write(AAdress: UInt16; AData: UInt8); function Read(AAdress: ...
unit TestuControllerBomba; { 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, uControllerBomba, Cla...
unit TelegaPi.Types.ReplyMarkups; interface uses REST.Json.Types; type TtgButtonBase = class private [JSONName('text')] FText: string; public property Text: string read FText write FText; end; TtgInlineKeyboardButton = class(TtgButtonBase) private [JSONName('callback_data')] FCall...
unit WindowMgr; interface uses FrogObj, Registry, Forms, Classes; type TWindowManager = class(TFrogObject) private mRegistry: TRegistry; mUseDefaults: Boolean; mAppPath: string; mDefaultFrogPath: string; mDefaultFrogPathNull: Boolean; mDefaultTadPath: string; mDefaultT...
unit UPrefFUsers; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2006 by Bradford Technologies, Inc. } { This is the Frame that contains the Users Preference} interface uses Windows, Messa...
// ****************************************************************** // // Program Name : $ProgramName$ // Platform(s) : $Platforms$ // Framework : VCL // // Filename : AT.$ShortName$.DM.Services.Config.pas/.dfm // File Version : 1.00 // Date Created : $CreateDate$ // Author : Matthew Vespe...
{*******************************************************} { } { Delphi Visual Component Library } { Copyright(c) 2012-2013 Embarcadero Technologies, Inc. } { } {*****************************...
program newList; uses sysUtils; type NodePtr = ^Node; Node = record name : String; next : NodePtr; end; function CreateNode(data : String; next : NodePtr): NodePtr; begin //alocate space on the heap New(result); //set up node details result^.name := data; result^.next := next; end; ...
unit DelphiAST.Consts; interface type TSyntaxNodeType = ( ntUnknown, ntAdd, ntAddr, ntAlignmentParam, ntAnd, ntAnonymousMethod, ntArguments, ntAs, ntAssign, ntAt, ntAttribute, ntAttributes, ntBounds, ntCall, ntCase, ntCaseElse, ...
unit PriceTest; interface uses dbTest, dbObjectTest, TestFramework, ObjectTest; type TPriceTest = class (TdbObjectTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TPrice = class(TObjectTest) function InsertDefault: integer; override; procedure SetDataSetParam;...
unit UtilsWinThread; interface { 无锁编程以及CAS } function CAS32(AOldValue, ANewValue: Pointer; ADestination: Pointer): Boolean; overload; function CAS32(AOldValue, ANewValue: Cardinal; ADestination: Pointer): Boolean; overload; function CAS32(AOldValue, ANewValue: Integer; ADestination: Pointer): boolean;overlo...
program Factorial; //Recursive factorial function function Fact(Num: SmallInt): Extended; begin if Num < 1 then Fact := 1 else Fact := Num * Fact(Num - 1); end; //Approximating Square Root function function SqRoot(Num, Tol: Real): Real; var Guess: Real; begin Guess := 1.0; while ABS((Guess*Guess) - Num)...
program People; uses Crt, Graph, GrafBits, Buttons; const MaxPeople = 7500; type StanceType = (Still, LeftLeg, MidStep, RightLeg); TPerson = object Step, X, Y: integer; Colour: Word; procedure Born; procedure Draw(Stance: StanceType); procedure Move; procedure Walk...
unit ConsultaOperacionBanco; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DialogConsulta, cxGraphics, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, Menus, cxLookAndFeelPainters, dxLayoutControl, StdCtrls, cxButtons, cxGridL...
// Fit4Delphi Copyright (C) 2008. Sabre Inc. // This program is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free Software Foundation; // either version 2 of the License, or (at your option) any later version. // // This program is...
{==============================================================================| | Project : Ararat Synapse | 001.003.001 | |==============================================================================| | Content: tcp and SSH2 client |...
unit ErrorGraph; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, TeEngine, Series, ExtCtrls, TeeProcs, Chart, FrogObj; type TMarkEntry = class(TFrogObject) private mIndex: integer; mLabel: string; public property IndexVal: integer read mIndex write mInde...
unit Delphi.Mocks.Examples.Matchers; interface //uses //DUnitX.TestFramework; type {$M+} IInterfaceToTest = interface ['{2AB032A9-ED5B-4FDC-904B-E3F1B2C78978}'] function TakesTwoParams(const A: integer; const B: boolean) : integer; function TakesFourParams(const A: string; const B: boolean; const C...
unit UViewHTML; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls, SHDocVw, UForms; type TViewHTML = class(TVistaAdvancedForm) WebBrowser: TWebBrowser; procedure FormClose(Sender: TObject; var Action: TCloseAction); private { Private dec...
unit ExtendedDatabaseAuthentificationFormViewModel; interface uses DatabaseAuthentificationFormViewModel, SysUtils, Classes; type TExtendedDatabaseAuthentificationFormViewModel = class (TDatabaseAuthentificationFormViewModel) private FCurrentHost: String; FCurrentHosts: TStrings...
unit SendDataEmail.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, dsdDB, EDI, Vcl.ActnList, dsdAction, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContain...
unit D5CheckLst; {$I ..\Common\installer.inc} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, CheckLst; {$IFDEF COMPILER5} type TCheckListBoxD5 = class(TCheckListBox) private FHeaders: TList; FHeaderColor: TColor; FHeaderBackgroundColor: TColor; functio...
unit constraint; {$mode objfpc}{$H+} interface uses Classes, SysUtils,arrayUtils,region; type EConstraintType = (ctTarget, ctRenban, ctWhisper, ctBetween, ctLockout);//tba IConstraint = interface ['{a811cdac-7edc-4db9-be04-9b3e6cd9db26}'] function getId: TGUID; function getName:string; functio...
// Developed using Delphi for Windows and Mac platforms. // Ths source is distributed under Apache 2.0 // Copyright (C) 2019-2020 Herbert M Sauro // Author Contact Information: // email: hsauro@gmail.com unit uListObject; interface Uses System.SysUtils, uUtils, System.generics.Collections, uMemoryManager, uS...
(** * A collection of functions used when creating wiki dumps. *) unit ExportWikiCore; uses ExportCore; (** * Returns a wiki-style section header. * * @param text the name of the section header * @param depth the depth of the section header, where 0 is the default level * @return a wiki-style section heade...
unit BinaryRepositoryCriterionUnit; interface uses AbstractRepositoryCriteriaUnit, UnaryRepositoryCriterionUnit, SysUtils; const BINARY_CRITERION_ELEMENTS_SEPARATOR = ' '; type TBinaryRepositoryCriterion = class (TAbstractRepositoryCriterion) protected FFirstCriterion: TAbstractRepositoryCrit...
unit FileInfoDetails; interface type TBinFileInfo = class protected s_company, s_filedesc, s_filever, s_internal, s_original, s_copyright, s_trademark, s_prodname, s_prodver, s_comments, s_buildpriv, s_buildspec: string; protected public //constructor and de...
unit SetupUtils; interface uses Windows, AvL, avlUtils, avlCRC32; type TSpecialFolder = ( sfDesktop = 16, sfCommonDesktop = 25, sfStartMenu = 11, sfCommonStartMenu = 22, sfPrograms = 2, sfCommonPrograms = 23, sfStartup = 7, sfCommonStartup = 24, sfMyDocuments ...
unit TemplateWSIntf; interface uses InvokeRegistry, Types, XSBuiltIns, CommunicationObj; type ITemplateWS = interface(IInvokable) ['{3465DAA4-51B0-4AD2-A8A8-8D6ED8FBF436}'] function LoadTemplate( TemplateName : string ) : TTemplateInfo; safecall; function GetTemplateList : TStringDynArray; sa...
const ColorInfo = $FFAAFFAA; const ColorWarning = $FFF8F35A; const ColorError = $FFFFAAAA;
unit avio; interface uses Windows, Classes, RTLConsts, SysUtils; const LAMEDLL = 'avio.dll'; type TURLContext = packed record prot: Pointer; flags: integer; is_streamed: integer; max_packet_size: integer; priv_data: Pointer; filename: PChar; end; PURLContext = ^TURLContext; TUrlS...
PROGRAM PSE; USES crt, sysutils, DefList; {eingebundene Units} CONST AnzahlElemente = 118; {Anzahl der Elemente des PSE} Spalte_Start = 3; {erste Spalte bei der Darstellung} Zeile_Start = 2; {erste Zeile bei der Darstellung} Verzoegerung_Eingabe = 1000; {Verz”gerung nach Eingabe...
unit FrmMain; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls; type TForm1 = class(TForm) Button1: TButton; FileCount: TLabel; FileList: TListView; OpenDialog: TOpenDialog; procedure FormCreate(Sender: TObject); ...
unit NLO; interface uses FrogObj, Func1D, FrogTrace, SignalField, Numerics; type TNLOType = (nlPG, nlSHG, nlSD, nlTHG, nlDFG1, nlDFG2); TNLOInteraction = class(TFrogObject) private mMinIsSetup: Boolean; mN: integer; procedure FillArrays(pN: integer); protected mNLOType: TNLOType; ...
unit nxMath; {$I nxInc.inc} interface { TODO: - Recheck Distance2 } uses nxTypes, math; function Angle(const px1, py1, px2, py2: single): single; overload; function Angle(srcRadian, destRadian: single): single; overload; function Angle(const v1, v2: TVector2f): single; overload; function Catmull(const p0,p...
unit UConvertDM; interface uses SysUtils, Classes, DB, ADODB; type TConvertDM = class(TDataModule) SrcConnection: TADOConnection; DestConnection: TADOConnection; SrcDataSet: TADODataSet; DestDataSet: TADODataSet; SrcPhotodataSet: TADODataSet; DestPhotoDataSet: TADODataSet; private {...
(* Copyright (c) 2011-2012, Stefan Glienke All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions ...
unit DUHugeNumber; interface uses SysUtils,Math; type TZiffer = type Cardinal; const // hnBase = 65000; //max sqrt(high(Ziffer)) hnBase = 10; //max sqrt(high(Ziffer)) type TNumber = packed array of TZiffer; TZahl = record IntPart, FracPart:TNumber; Sign:TV...