text
stringlengths
14
6.51M
unit helper.utilities; interface type THelperUtilities = class public class function Clamp(value, min, max: integer): integer; class function ClampToGrid(value, min, max, grid: integer): integer; end; implementation { THelperUtilities } class function THelperUtilities.Clamp(value, min, max: integer):...
{ TForge Library Copyright (c) Sergey Kasandrov 1997, 2018 ------------------------------------------------------- # GCM mode of operation for 128-bit block ciphers } unit tfGCMCiphers; {$I TFL.inc} interface uses tfTypes, tfGHash, tfCipherInstances, SysUtils; t...
{*********************************************************} {* VPLOCALIZE.PAS 1.03 *} {*********************************************************} {* ***** BEGIN LICENSE BLOCK ***** *} {* Version: MPL 1.1 ...
{$MODE OBJFPC} const InputFile = 'DSF.INP'; OutputFile = 'DSF.OUT'; maxN = Round(1E5); maxM = Round(2E5); var lab: array[1..maxN] of Integer; i, n, m, u, v: Integer; fi, fo: TextFile; res: Integer; function FindSet(u: Integer): Integer; begin if lab[u] <= 0 then Result := u else begin Re...
unit RegExpressionsUtil; interface type TRegularExpressionEngine = class public class function IsMatch(const Input, Pattern: string): boolean; class function IsValidEmail(const EmailAddress: string): boolean; end; implementation uses RegularExpressions; { TRegularExpressionEngine } class function ...
unit CleanArch_EmbrConf.Infra.Database.Conexao; interface uses Firedac.Stan.Intf, Firedac.Stan.Option, Firedac.Stan.Error, Firedac.UI.Intf, Firedac.Phys.Intf, Firedac.Stan.Def, Firedac.Stan.Pool, Firedac.Stan.Async, Firedac.Phys, Firedac.Phys.SQLite, Firedac.Phys.SQLiteDef, Firedac.Stan.ExprFu...
unit tfwStreamFactory; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\tfwStreamFactory.pas" // Стереотип: "SimpleClass" // Элемент модели: "TtfwStreamFactory" MUID: (52F4E6AA02BB) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface uses l3IntfUses , l3ProtoObject , l3BaseStre...
unit MFichas.Model.Impressao.Interfaces; interface type iModelImpressao = interface; iModelImpressaoCaixa = interface; iModelImpressaoCaixaFechamento = interface; iModelImpressao = interface ['{C6FBA054-684F-43F0-BC20-931CC2AA4EDC}'] function Caixa: iModelImpressaoCaixa; en...
unit ExtAIInfo; interface uses Classes, Windows, System.SysUtils, KM_Consts, ExtAISharedNetworkTypes, ExtAINetServer, ExtAICommonClasses; type TExtAIInfo = class; TExtAIStatusEvent = procedure (aExtAIInfo: TExtAIInfo) of object; // Contain basic informations about ExtAI and communication interface (maybe ex...
unit mvc.Interf; interface uses System.Classes, System.SysUtils; type IController = interface; IThis<T> = interface ['{D6AB571A-3644-43CF-809A-34E1CFD96A78}'] function This:T; end; IModel = interface ['{FC5669F0-546C-4F0D-B33F-5FB2BA125DBC}'] end; IView = interface ['{A1E53BAC-BFCE-4D...
//Exercicio 71: Armazenar 50 números num arranjo e verificar se existe números iguais. //A resposta deve ser apenas: verdadeiro ou falso. { Solução em Portugol Algoritmo Exercicio 71; Var v: vetor[1..50] de real; i,j,acumulador: inteiro; Inicio acumulador <- 0; exiba("Programa que armazena 50 números e...
unit InfoNEWSRCHTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoNEWSRCHRecord = record PLender: String[4]; PLoanNumber: String[18]; PCIndex: String[1]; PWaived: String[1]; PRank: Integer; PPriority: Integer; PShortName: String[...
unit uMap; interface uses Types, Graphics, uScript; const Layers = 4; SerializableLayers = 3; lrNone = -2; lrStop = -1; lrTerrain = 0; lrObj = 1; lrCrt = 2; lrPath = 3; AggrZone = 1; type TLayer = array[0..255, 0..255, 0..Layers - 1] of ShortInt; TMap = class(TObject...
unit MainWindow; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ComCtrls, StdCtrls, DirectoryServer, Db, ADODB; type TDirectoryWin = class(TForm) Image1: TImage; PageControl1: TPageControl; TabSheet1: TTabSheet; Label3: TLabel; DBName: TEd...
unit ModPatternMatching; interface function BruteForcePos(s, p : string) : integer; function BruteForcePos2(s, p : string) : integer; function KnuthMorrisPratt(s, p : string) : integer; procedure WriteAndResetStats; implementation var numComp : LONGINT; function Eq(a,b : char) : boolean; begin inc(numComp); ...
unit Document_F1Lite_Controls; {* Урезанные "сущности" для таких форм как документ-схема } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Document_F1Lite_Controls.pas" // Стереотип: "VCMControls" // Элемент модели: "F1Lite" MUID: (49885BF10395) {$Include w:\garant6x\implementation\Garant\nsDefine.inc}...
{ This file passed through VX Heavens http://vx.org.ua ----------------------------------------------------------------- Number One This is a very primitiv computer virus. HANDLE WITH CARE! ----------- demonstration ONLY! Number One infect all.COM-file in the CURRENT directory. A warning message and the i...
unit main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, ddFileIterator, ExtCtrls, ddAppConfigTypes, l3Filer, k2TagGen, l3Types, l3LongintList; type TMainForm = class(TForm) ProgressBar1: TProgressBar; WorkSpace: TPanel; But...
unit TestClass; interface type TTest = class protected ProtectedData: Integer; public PublicData: Integer; function GetValue: string; end; implementation uses SysUtils; function TTest.GetValue: string; begin Result := Format ('Public: %d, Protected: %d', [PublicData, ProtectedData]); en...
program Matrix (input, output); { gibt die Zeilen- und Spaltennummer einer 3x4 Matrix von Integer-Zahlen aus } const ZEILENMAX = 3; SPALTENMAX = 4; type tZeile = 1..ZEILENMAX; tSpalte = 1..SPALTENMAX; tMatrix = array [tZeile, tSpalte] of integer; tZeilensumme = array [tZeile] of intege...
Program Aufgabe8; {$codepage utf8} Uses sysutils; Var Zahl1: integer = 1; Zahl2: integer; Kommazahl1: real = 3.14; Kommazahl2: real; String1: String = '2'; String2: String = '2.71'; String3: String; String4: String; Begin WriteLn('Zahl1 = ', Zahl1, ', Kommazahl1 = ', Kommazahl1:1:2, ...
unit gm_map; interface uses Classes, gm_engine, gm_patterns, gm_obj, gm_creature, gm_item, CustomMap; type TTile = record Pat: TGroundPat; FrameN: Byte; end; type TGround = class(TCustomMap) Tiles: array of array of TTile; constructor Create; procedure Draw; procedu...
{$IfNDef dsCommonDiction_imp} // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\CommonDiction\dsCommonDiction.imp.pas" // Стереотип: "ViewAreaControllerImp" // Элемент модели: "dsCommonDiction" MUID: (4925449A0296) // Имя типа: "_dsCommonDiction_" {$Define dsCommonDiction_imp} {$If NOT Defined(Admin) AND NOT ...
unit HttpSession; {\$DEFINE UseIndy} interface uses {$IFDEF MSWINDOWS} Winapi.Windows, {$ENDIF} System.SysUtils, System.Classes, System.DateUtils, {$IFDEF UseIndy} IdHTTP, IdCookieManager, IdSSLOpenSSL, IdCompressorZLib, {$ELSE} System.Net.URLClient, System.Net.HttpClient, System.Net.HttpClient...
unit uGame; interface uses glr_core, glr_render, glr_tween, glr_gamescreens; type { TGame } TGame = class (TglrGame) private public GameScreenManager: TglrGameScreenManager; MainMenuScreen, SettingsScreen, GameScreen: TglrGameScreen; Tweener: TglrTweener; procedure OnFinish; overrid...
unit ECC200Consts; {=============================================================================== DataMatrix Barcode standard ECC200. (c) 2012 QBS Software Ltd http://www.qbs.co.uk ================================================================================} interface uses classes; const { ...
unit wwGVAdapter; interface uses SysUtils, Windows, Messages, Classes, VCL.Graphics, VCL.Controls, VCL.Forms, VCL.Dialogs, TFGame, WormsWorld, wwTypes, wwClasses; type TSmartWormGame = class (TTFGame) private f_WormCount: Integer; f_Ressurect: Boolean; f_TargetCount: Integer; f_InstantTarget: Boo...
unit kwWordAlias; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "ScriptEngine" // Автор: Люлин А.В. // Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwWordAlias.pas" // Начат: 15.02.2012 18:31 // Родные Delphi интерфейс...
unit produto; interface uses Classes; type TProduto = class private FCodigo: Integer; FNome: string; public property Codigo: Integer read FCodigo write FCodigo; property Nome: string read FNome write FNome; constructor Create(); end; TItem = class priv...
unit PopulatedBlock; interface uses ClassStorageInt, Kernel, Population, Surfaces, BackupInterfaces, Protocol, CacheAgent, Accounts, ConnectedBlock, Inventions, Languages; const modStrengthOfCrime = 10; modStrengthOfPeople = 10; modStrengthOfPollution = 10; modBeautyRatio =...
unit eInterestSimulator.Controller.Resultado; interface uses eInterestSimulator.Controller.Interfaces, eInterestSimulator.Model.Interfaces, System.Generics.Collections, eInterestSimulator.Controller.Observer.Interfaces, eInterestSimulator.Model.Interfaces.Calculadora; type TControllerResultado = class(TIn...
unit uImpressao; interface uses FireDAC.Comp.Client, System.SysUtils, frxClass, Vcl.Forms, uGeraApuracao, Vcl.Graphics; type TImpressao = class(Tobject) private vloGeraApuracao : TGeraApuracao; FConexao : TFDConnection; FQuery : TFDQuery; pofrxReport : TfrxReport; ...
unit K620241155_HK9900295; {* [RequestLink:620241155] } // Модуль: "w:\common\components\rtl\Garant\Daily\K620241155_HK9900295.pas" // Стереотип: "TestCase" // Элемент модели: "K620241155_HK9900295" MUID: (56F13568025C) // Имя типа: "TK620241155_HK9900295" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.i...
{*********************************************************************************************************************** * * TERRA Game Engine * ========================================== * * Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com) * ***************************************************...
program cubeRoot(input, output); const EPSILON = 1E-6; var number, root : real; begin repeat read(number); if number < 0 then writeln(number:5:6, ' does not have a real cube root.') else if number = 0 then writeln(0) else begin root := 1; repeat root := (2 * root + number/sqr(root)) / 3...
unit BidiCtrls; { Inno Setup Copyright (C) 1997-2007 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. RTL-capable versions of standard controls $jrsoftware: issrc/Components/BidiCtrls.pas,v 1.2 2007/11/27 04:52:53 jr Exp $ } interface uses Windows, SysU...
// -------------------------------------------------------------------------- // Archivo del Proyecto Ventas // Página del proyecto: http://sourceforge.net/projects/ventas // -------------------------------------------------------------------------- // Este archivo puede ser distribuido y/o modificado bajo lo terminos ...
unit App; { Based on 019_helium.cpp example from oglplus (http://oglplus.org/) } {$INCLUDE 'Sample.inc'} interface uses System.Classes, Neslib.Ooogles, Neslib.FastMath, Sample.App, Sample.Geometry; type TParticle = record private FProgram: TGLProgram; FUniProjectionMatrix: TGLUniform; FUn...
program average(input, output); const END_OF_DATA = -1.0; var count : integer; sum, current : real; avg : real; begin current := 0.0; sum := 0.0; count := 0; while current <> END_OF_DATA do begin read(current); sum := sum + current; count := succ(count); end; avg := sum / (count + 0.0); writeln('AVE...
unit Fftw3_Common; interface const CFftwNoTimelimit = -1.0; type PFftwInt = ^Integer; TFftwSign = ( fsForward = -1, fsBackward = +1 ); TFftwReal2RealKind = ( fkReal2HalfComplex = 0, fkHalfComplex2Real = 1, fkDiscreteHartleyTransform = 2, fkRealEvenDFT00 = 3, fkRealEvenDFT01 = ...
unit MsgComposerHandler; interface uses Classes, VoyagerServerInterfaces, VoyagerInterfaces, Controls, MsgComposerHandlerViewer, RDOInterfaces; const tidParam_MessageId = 'MsgId'; tidParam_Folder = 'Folder'; tidParm_To = 'To'; tidWorldName = 'WorldName'; const tidC...
{*********************************************************} {* STDQUE.PAS 3.01 *} {* Copyright (c) TurboPower Software Co., 1996-2000 *} {* All rights reserved. *} {*********************************************************} {$I STDEFINE.INC} ...
unit Rescaler; interface uses Graphics; function Rescale(Source, Destination: TBitmap; NearestFit: Boolean): Boolean; // Will rescale the Source image and put the rescaled version into the Destination // bitmap. If NearestFit is set to True, this is the same kind of rescaling that TImage.Stretch // will ...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
unit Sample.Platform.Mac; {$INCLUDE 'Sample.inc'} interface uses System.Classes, Macapi.ObjectiveC, Macapi.CocoaTypes, Macapi.Foundation, Macapi.AppKit, Sample.Platform; type { Implements the macOS NSApplicationDelegate protocol to get notified of certain application events. } TApplicationDelega...
namespace RemObjects.Train.API; interface uses RemObjects.Train, System.Threading, System.Text, System.IO, System.Security.Cryptography, RemObjects.Script.EcmaScript; type [PluginRegistration] MD5PlugIn = public class(IPluginRegistration) private protected public method...
unit SearchResult; interface uses Classes, SearchOption, DB, DBManager, DataFileSaver; type TSearchResultSet = class(TInterfacedObject, IDataSetIterator) private FDataSetList: TList; FNames: TStringList; FIterPointer: Integer; FDBManager: TAbsDBManager; protected procedure I...
unit TestStep; interface uses TestFramework, StepIntf, ValidationRuleIntf, Step, TestBaseClasses; type TestTStep = class(TParseContext) strict private FStep: IStep; public procedure SetUp; override; procedure TearDown; override; published procedure DeveriaRetornarONomeDoMetodoCorrespondente...
{*********************************************************************************************************************** * * TERRA Game Engine * ========================================== * * Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com) * ***************************************************...
unit Tileset; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Graphics, Map; type TTilesetHeader = packed record BankNumber: Byte; TilesetArrangementPointer: Word; TilesetGraphicsPointer: Word; UnknownData: array [0..6] of Byte; end; var Palette: array [0..3] of TColor = ($F8E8F8, ...
unit smtp; interface uses Windows, Winsock; type TSimpleSMTP = class public constructor Create(addr : string; port : integer = 25); destructor Destroy; override; private fAddr : string; fPort : integer; fSocket : TSocket; ...
// Upgraded to Delphi 2009: Sebastian Zierer (* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License a...
{ simpleform.pas This example shows how to use the PasCocoa bindings to create a NSAutoreleasePool, initialize the application global variable, create a simple window without contents and attach a close handler to it that exits the application. Compilation of this example requires the following options: -k-fra...
unit SelCli; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IniFiles, StdCtrls, dxGDIPlusClasses, ExtCtrls; type TFSelCli = class(TForm) btnAceptar: TButton; btnAnular: TButton; lstClientes: TListBox; Label1: TLabel; Image1: TImage; pr...
unit vcmBaseEntitiesCollectionItem; {* Элемент коллекции сущностей. } { Библиотека "vcm" } { Автор: Люлин А.В. © } { Модуль: vcmBaseEntitiesCollectionItem - } { Начат: 19.11.2003 10:37 } { $Id: vcmBaseEntitiesCollectionItem.pas,v 1.53 2013/07/01 12:28:52 morozov Exp $ } // $Log: vcmBaseEntitiesCollectionIt...
unit ListUtils; // Copyright (c) 1998 Jorge Romero Gomez, Merchise. interface uses SysUtils, MemUtils; type PPointerArray = ^TPointerArray; TPointerArray = array[0..65535] of pointer; type TUnknownList = class protected fList : PPointerArray; fCount ...
{ Programmname: Befreiungsaufgabe Befreiungsaufgabe PS1 WS 2012 Minesweeper in Pascal ohne GUI, nur Textausgabe. Author: Gerrit Paepcke Erstelldatum: 9.11.2012 Bisherige Änderungen: keine } program befreiungsaufgabe; uses SysUtils, crt, Ulogic, Udisplay; type Screen = (Index,Settings,Highscore,Game); K...
(* * aPLib compression library - the smaller the better :) * * Delphi interface to aPLib Delphi objects * * Copyright (c) 1998-2004 by Joergen Ibsen / Jibz * All Rights Reserved * * http://www.ibsensoftware.com/ *) unit aPLibv; interface uses Windows, SysUtils, Classes, aPLib; const ...
unit cCadEbdAula; interface uses System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, FireDAC.Comp.Client, System.SysUtils; // LISTA DE UNITS type TAula = class private // VARIAVEIS PRIVADA SOMENTE DENTRO DA CLASSE ConexaoDB: TFDConnection; F_codigo: Integer; F_cod_classe: Integer; F_co...
unit UItems; interface {TODO: Modify Map, to store items as NPCs in separate section, needs CItem and CItemList involvement} {DONE -cПредметы -oApromix : Добавить разрушаемость для экипировки и их починку} uses Classes, SysUtils, Graphics, Controls, Types, // self-made units UConfig, UCommon; type ...
unit DocumentShowChangesInfoSettingRes; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "View" // Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/Document/DocumentShowChangesInfoSettingRes.pas" // Родные Delphi интерфе...
unit BidiUtils; { Inno Setup Copyright (C) 1997-2007 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Bidi utility functions $jrsoftware: issrc/Components/BidiUtils.pas,v 1.2 2007/11/27 04:52:53 jr Exp $ } interface uses Windows, SysUtils, Messages, Cla...
unit np.HttpServer; interface uses sysUtils, np.common, np.Core, np.httpParser, np.url, np.buildData, np.buffer, np.HttpUt, np.OpenSSL, np.libuv, np.ut, np.Promise, np.value; type IHttpRequest = interface ['{F951A32E-8461-4B71-9270-A37CA57899E9}'] function GetReqBody : BufferRef; ...
unit lopes.TestHelper.Wizard; interface uses ToolsApi, Vcl.Menus; type TSeting = (seProject, seBefore, seAfter, seZip); TTesteHelperWizard = class(TNotifierObject, IOTAWizard) strict private FTestingHelperMenu: TMenuItem; strict protected Procedure BeforeCompilationClick(Sender: TObject); Proced...
unit FMain; interface uses MLanguage, Forms, Classes, Controls, ExtCtrls, StdCtrls, ComCtrls, NLDTGlobal, NLDTManager, NLDTranslate; type TfrmMain = class(TForm) nldTranslate: TNLDTranslate; lstLanguages: TListBox; pnlEnum: ...
{@html(<hr>) @abstract(Unit providing routines for variables conversions.) @author(František Milt <fmilt@seznam.cz>) @created(2014-04-30) @lastmod(2014-04-30) @bold(@NoAutoLink(TelemetryConversions)) ©František Milt, all rights reserved. This unit contains routines used for conversions between selected non-l...
unit MPWS.WebServer; interface uses System.SysUtils, System.Classes, IdHTTPWebBrokerBridge; type TWebServer = class(TDataModule) private FServer: TIdHTTPWebBrokerBridge; function GetIsActive: Boolean; function GetPort: Integer; procedure SetPort(const Value: Integer); public ...
{ *********************************************************** } { * Numerics(32/64).dll import for Pascal * } { * ------------------------------------------------------- * } { * set const LibName = 'numerics32.dll' * } { * to import numerics32.dll; ...
unit TCPSocket_Lazarus; interface uses Sysutils, RTLConsts, windows, StatusThread, Classes, SyncObjs, sockets; {$M+} const INVALID_SOCKET = -1; SOCKET_ERROR = -1; type TSocket = Longint; TTCPHost = record IP: String; Port: Word; end; TSimpleTCPSocket = class priva...
unit uSmartLog; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ActnList, ImgList, Menus, ComCtrls, uLogMgr, StdCtrls, ToolWin, ExtCtrls, Buttons; const WISDOM_TREE_NODE_ID = $FFFFFFFF; SEARCH_TREE_NODE_ID = $FFFFFFFE; WISDOM_TREE_TITLE ...
unit FastImage; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Graphics, GraphType, IntfGraphics, Dialogs, LCLType; type TFastPixel = record R, G, B, A:Byte; end; type { TFastImage } TFastImage = class(TObject) protected FRawImage:TRawImage; protected funct...
{!DOCTOPIC}{ HashMap } type TEntryVariant = record Key, Value: Variant; end; THashMap = record //private FTable: Array of Array of TEntryVariant; FLen: Integer; //public //constructor Create(Size:Integer); //function Get(Key: UInt32; var Value: Int32): Boolean; Inline; //function Add(Key: U...
unit ZombieDirection; interface uses Math, PositionRecord; type TVectorRecord = record X : Double; Y : Double; procedure Normalize(); function Distance(destination : TVectorRecord) : Double; end; {$SCOPEDENUMS ON} TZombieDirection = (DownLeft = 0, Left, UpLeft, Up, UpRight, Right, DownRight, Down); {$SCO...
unit mnSQLProcessor; {$mode objfpc}{$H+} {** * * This file is part of the "Mini Library" * * @url http://www.sourceforge.net/projects/minilib * @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html) * See the file COPYING.MLGPL, included in this distribution, * @au...
unit ufrmSettlementARAP; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmDefault, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxBarBuiltInMenu, Vcl.Menus, cxStyles, cxCustomData, cxFilt...
unit G2Mobile.View.ResumoVendedor; 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.Layouts, FMX.Objects, FMX.TabControl, FMX.Gestur...
unit uCore.CriticalSection; interface uses { TThread } System.Classes, { TThreadList } System.Generics.Collections, { TRTLCriticalSection } WinApi.Windows, { TImage } Vcl.ExtCtrls; type /// <summary> /// Class instance for "Critical Sections" -- for manage shared objects for multithread applica...
{ Double commander ------------------------------------------------------------------------- Setup unique window class name for main form Copyright (C) 2016 Alexander Koblov (alexx2000@mail.ru) This library is free software; you can redistribute it and/or modify it under the terms of the GNU...
unit task_3; interface uses SysUtils, System.Generics.Collections; // Класс занятий, занятие имеет учителя, Группу и предмет type TLesson = class public Teacher: String; StudentsGroup: String; Subject: String; constructor __init__(my_...
unit ChatListHandler; interface uses VoyagerInterfaces, VoyagerServerInterfaces, Controls, ChatListHandlerViewer, ChatHandler; type TMetaChatListHandler = class( TInterfacedObject, IMetaURLHandler ) // IMetaURLHandler private function getName : string; functio...
program FileHandling; {$mode objfpc}{$H+} { Example 08 File Handling } { } { This example demonstrates just a few basic functions of file handling which } { is a major topic in itself. ...
unit WPRTEFormatB; { ----------------------------------------------------------------------------- Copyright (C) 2002-2013 by wpcubed GmbH - Author: Julian Ziersch info: http://www.wptools.de mailto:support@wptools.de __ __ ___ _____ _ _____ / / /\...
unit Unit6; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.ListBox, FMX.Edit, FMX.Layouts, IPPeerClient, REST.Client, Data.Bind.Components, Data.Bind.ObjectScope; type TForm6 = c...
{ Version 1.0 - Author jasc2v8 at yahoo dot com This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by an...
unit InfoXLIENTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoXLIENRecord = record PLienID: String[4]; PModCount: String[1]; PName: String[30]; PAddr: String[30]; PCityStZip: String[30]; PPhone: String[30]; PContact: String[30]...
{ DBAExplorer - Oracle Admin Management Tool Copyright (C) 2008 Alpaslan KILICKAYA 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 3 of the License, or (at...
unit Step; interface uses StepIntf, ValidationRuleIntf, StepParamsIntf; type TStep = class(TInterfacedObject, IStep, IValidationRule) private FChanged: Boolean; FDescricao: string; FParams: IStepParams; FParamsRegex: string; FValidationRule: IValidationRule; procedure SetDescricao(const...
unit ce_widget; {$I ce_defines.inc} interface uses Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, ActnList, Menus, AnchorDocking, ce_interfaces; type (** * Base type for an UI module. *) PTCEWidget = ^TCEWidget; TCEWidget = class(TForm, ICEContextualActions) Content: TPanel; Back: ...
unit GraphASM; {$G+} (****************************************************************************) INTERFACE (****************************************************************************) type Pbyte= ^byte; { TSprite = pointeur sur le type octet } TPalette= array [0..767] of byte; { ...
{ Copyright (C) 2013 Dimitar Paperov This source 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 code is distributed in the...
unit UDaoOrdemServicoItem; interface uses Data.DB, System.Classes, System.SysUtils, Data.Win.ADODB, System.Generics.Collections, Datasnap.Provider, Data.SqlExpr, Data.DBXJSON, System.Variants, UOrdemServicoItem; type {$METHODINFO ON} TDaoOrdemServicoItem = class(TComponent) private FOrdemSe...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserv...
{ DBAExplorer - Oracle Admin Management Tool Copyright (C) 2008 Alpaslan KILICKAYA 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 3 of the License, or (at...
unit HTMLHelpFMXViewer; interface uses System.Types, FMX.Controls, FMX.Forms; function SetHTMLHelpFile(PathAndFilename : string): boolean; procedure ShowHTMLHelpContents; procedure ShowHTMLHelp; procedure ShowFocusedFormHTMLHelp(AForm : TCommonCustomForm); procedure ShowControlHTMLHelp(aControl : TStyledControl); p...
unit Main; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts, FMX.Memo, FMX.StdCtrls, android.speech.tts, Androidapi.JNIBridge; type TFormMain = class(TForm) ButtonSay: TButton; Mem...
{ Clever Internet Suite Copyright (C) 2014 Clever Components All Rights Reserved www.CleverComponents.com } unit clSshPacket; interface {$I ..\common\clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, Windows, {$ELSE} System.Classes, Winapi.Windows, {$ENDIF} clUtils, clCryptRandom; type TclPacket = class...
unit UMainForm; { This Demo application shows, how to use a bitmap as a background for edit controls. Diese Demoprogramm zeigt, wie man ein Bitmap als Hintergrundbild für Edit-Controls verwenden kann. Andreas Schmidt, 6.7.2004 } interface uses Windows, Messages, Classes, Graphics, Controls, Forms, ...
unit mp3file; {$mode objfpc}{$H+} interface uses Classes, SysUtils, debug; Const ID3Genre: array[0..147] of string[32] = ('', 'Classic Rock', 'Country', 'Dance', 'Disco', 'Funk', 'Grunge', 'Hip-Hop', 'Jazz', 'Metal', 'New Age', 'Oldies', 'Other', 'Pop', 'R&B', 'Rap', 'Reggae', 'Rock', 'Techno'...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit SetupEnt; { Inno Setup Copyright (C) 1997-2004 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Functions for handling records with embedded long strings $jrsoftware: issrc/Projects/SetupEnt.pas,v 1.6 2009/05/27 10:03:49 mlaan Exp $ } interface uses ...