text
stringlengths
14
6.51M
unit uProcessThread; interface uses System.Classes, Vcl.ComCtrls; type TProcessThread = class(TThread) private FDelayThread: Integer; FProgressBar: TProgressBar; public procedure SetDelayThread(pnDelay: Integer); procedure Execute; override; constructor Create(pProgressBar: TProgressBar);...
unit InfoUMATTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoUMATRecord = record PSrcLendGroup: String[4]; PTranID: String[5]; PLoanNumber: String[18]; PDestLender: String[4]; PModCount: Integer; PPost: String[1]; PName: String...
{ * CVImageBuffer.h * CoreVideo * * Copyright (c) 2004 Apple Computer, Inc. All rights reserved. * } { Pascal Translation: Gale R Paeper, <gpaeper@empirenet.com>, 2008 } { Modified for use with Free Pascal Version 210 Please report any bugs to <gpc@microbizz.nl> } {$mode macpas} {$packenum 1} ...
unit nevPersistentDocumentContainer; {* Контейнер документа с поддержкой записи/чтения в различных форматах. } // Модуль: "w:\common\components\gui\Garant\Everest\new\nevPersistentDocumentContainer.pas" // Стереотип: "UtilityPack" // Элемент модели: "nevPersistentDocumentContainer" MUID: (483E6CFE02DC) {$Include w:\...
unit Character.Bag; interface Uses System.SysUtils, Base.Def, Base.Struct, Thread.Main, _Function.Base, FireDAC.Comp.Client, Form.Main, Character.Main; Type tCharacterBag = Class Private { Private Class } FId_Character: Integer; FSlot: Word; FId_Item: Word; FEF1: Byte; FEF...
unit PrefsUtil; { Class for working with application preferences. Author: Phil Hess. Copyright: Copyright (C) 2010 Phil Hess. All rights reserved. License: Modified LGPL. This means you can link your code to this compiled unit (statically in a standalone executable or dynamica...
unit ScrollByLineTest; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "DailyTest" // Модуль: "w:/common/components/rtl/Garant/Daily/ScrollByLineTest.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model, root eleme...
unit mnSynHighlighterLSL; {$mode objfpc}{$H+} {** * NOT COMPLETED * * 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 thi...
unit uMain; 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.Controls.Presentation, FMX.TabControl, Fmx.Bind.GenData, Data.Bind.GenData, Data.Bind.Components, Data.Bind.ObjectScope, ...
{ Subroutine SST_OPCODE_POS_POP * * Pop the current opcode end of chain position from the stack. This restores * what SST_OPCODE_POP_PUSH did. } module sst_OPCODE_POS_POP; define sst_opcode_pos_pop; %include 'sst2.ins.pas'; procedure sst_opcode_pos_pop; {pop curr opcode position from stack} var fram...
{ Mark Sattolo, 428500, CSI-1100A, prof: Dr. S. Boyd } { Tutorial #1, TA: Chris Lankester } { Assignment 5, Question 2 } program FindFact (input,output); { This program finds the factorial of N. } { Data Dictionary GIVENS: N - a number for which we want to find N! INTERMEDIATES: Counter - used to count u...
unit UMyStringGrid; interface uses System.Rtti, System.Classes, System.UITypes, System.Types, System.SysUtils, FMX.Header, FMX.Edit, FMX.Types, FMX.Grid, FMX.Controls, FMX.Graphics, FMX.Layouts, System.UIConsts; Type TOpenControl = class(TControl); TOpenHeader = class(THeader); TMyCustomGrid = class; ...
{ RxDBGrid sort engine module for FBDataSet Copyright (C) 2011 BugMaker from freepascal.ru This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at you...
unit simple_parser_lib; interface uses SysUtils,ConvUtils; type TSimpleParser=class private function isSpace(ch: char): boolean; function isDelimiter(ch: char): boolean; function isPhysIdentSymbol(ch: char): boolean; protected _str: string; _pos: Integer; fBackupPos: Integer; procedu...
unit HttpQueryMemberAttributeUnit; interface type HttpQueryMemberAttribute = class abstract(TCustomAttribute) private FName: String; FIsRequired: boolean; FDefaultValue: String; public /// <summary> /// Constructor of JSONNullableAttribute /// <param name="IsRequired"> Required attribute...
unit uCadVeiculo; interface uses System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, ZAbstractConnection, ZConnection, ZAbstractRODataset, ZAbstractDataset, ZDataset, System.SysUtils; type TCadVeiculo = class private ConexaoDB:TZConnection; F_Codigo: Integ...
unit MediaGates; interface uses Classes, SysUtils, Kernel, Accounts, BackupInterfaces, CacheAgent; const smPrice = 0; smQuality = 1; const ID_MediaBlock : TGUID = '{41A21981-C257-11d5-9926-004854664ED7}'; type IMediaBlock = interface['{41A21981-C257-11d5-9926-004854664ED7}'] ...
{ Date Created: 6/7/2000 1:42:31 PM } unit FFSUSER0000Table; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TFFSUSER0000Record = record PUserName: String[10]; PModCount: Integer; PPassword: String[50]; PRealName: String[30]; PLoggedInFlag: Boolean...
unit OutlinerFormKeywordsPack; {* Набор слов словаря для доступа к экземплярам контролов формы OutlinerForm } // Модуль: "w:\common\components\gui\Garant\Daily\Forms\OutlinerFormKeywordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "OutlinerFormKeywordsPack" MUID: (4D4697F30281_Pack) {$Include w:\c...
unit LanguageExtender; interface uses // VCL Windows, ActiveX; const IID_IInitDone : TIID = '{AB634001-F13D-11D0-A459-004095E1DAEA}'; IID_ILanguageExtender : TIID = '{AB634003-F13D-11D0-A459-004095E1DAEA}'; IID_IAsyncEvent : TIID = '{AB634004-F13D-11D0-A459-004095E1DAEA}'; type { IInitDone Interface ...
unit Ini_Obj; interface type TIniSL = class public stGraphFileNamePath: String; stGeo1X, stGeo1Y, stGeo2X, stGeo2Y: String; stMPFilePathName: String; constructor Create; procedure SaveAs(aFileNamePath: String); overload; procedure SaveAs; overload; procedure Load(var alastSLPath: Strin...
unit CacheObjs_TLB; { This file contains pascal declarations imported from a type library. This file will be written during each import or refresh of the type library editor. Changes to this file will be discarded during the refresh process. } { CacheObjs Library } { Version 1.0 } interface uses Windows, Act...
unit terracresta_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} nz80,m68000,main_engine,controls_engine,gfx_engine,ym_2203,dac,rom_engine, pal_engine,sound_engine,qsnapshot,timer_engine,nb1412_m2,ym_3812; function iniciar_terracre:boolean; implementation const terracre_rom:array[0..7] of tipo_...
{$IfNDef msmOwnViewController_imp} // Модуль: "w:\common\components\gui\Garant\msm\msmOwnViewController.imp.pas" // Стереотип: "Impurity" // Элемент модели: "msmOwnViewController" MUID: (57AB5C9A00F3) // Имя типа: "_msmOwnViewController_" {$Define msmOwnViewController_imp} // _OwnViewClass_ // _InitContext_ _ms...
unit ClienteServidor; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, Datasnap.DBClient, Data.DB, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, Fi...
Program recursive; //* declare some types and variables for the code below! Type container = array [1..4] Of integer; Var arr , tmp : container; Function factorial(num : integer): integer; Begin If (num = 1) Then factorial := 1; If (num>1) Then factorial := num * factorial(num-1); End; Function fib(num ...
{******************************************************************************} { } { Delphi FB4D Library } { Copyright (c) 2018-2022 Christoph Schneider ...
unit uModel; interface uses SysUtils, Generics.Collections, uEventAgg, uEvents; type ETransaction = class(Exception); TPerson = class(TObject) private FAge: Integer; FLastName: string; FFirstName: string; public constructor Create(const aFirstName, aLastName: string; const anAge: Integer); ...
unit TestAreaAggegator; { 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, uAreaAggegator, SysUtils...
unit dcEditBtnBox; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, buttons, menus, dcEdit; type TdcEditBtnBox = class(TdcEdit) private // FAlignment: TAlignment; FButton: TSpeedButton; FBtnControl: TWinControl; FOnButtonClick: TN...
unit eeSub; { Библиотека "Эверест" } { Автор: Люлин А.В. © } { Модуль: eeSub - } { Начат: 14.11.2002 11:08 } { $Id: eeSub.pas,v 1.21 2009/07/23 16:45:59 lulin Exp $ } // $Log: eeSub.pas,v $ // Revision 1.21 2009/07/23 16:45:59 lulin // - чистим код. // // Revision 1.20 2009/04/03 17:34:58 lulin // ...
unit StatusBarUtils; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "Nemesis" // Модуль: "w:/common/components/gui/Garant/Nemesis/StatusBarUtils.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model, root element: ...
(**************************************************) (* *) (* 本单元用于根据歌曲ID搜索歌曲URL *) (* *) (* Copyright (c) 2019 *) (* 南烛 *) (* ...
program DOWNLOAD ( CONTROL , OUTPUT , PDS001 , PDS002 , PDS003 , PDS004 , PDS005 , PDS006 , PDS007 , PDS008 , PDS009 , PDS00A , PDS00B , PDS00C , PDS00D , PDS00E , PDS00F ) ; (***********************************************************) (* ...
/* A very simple FLAME program */ fun hello(x : int) y : int; begin print("Hello World\n") end
unit AccessGroupDialog; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, TCWODT; type TAccessGroupDialog = class(TComponent) private FActionDescList: TStringList; FAccessGroupName: string; FAccessGroupList: string; FPrivDaapi: IDaapiGlobal; ...
unit uChamadoColaboradorController; interface uses System.SysUtils, System.Generics.Collections, uChamadoColaboradorVO, uRegras; type TChamadoColaboradorController = class public procedure SalvarLista(obj: TObjectList<TChamadoColaboradorVO>); end; implementation { TChamadoColaboradorController } uses ...
unit Unit1; 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.Objects, FMX.Layouts, FMX.Ani; type TForm1 = class(TForm) Layout1: TLayout; Rectangle1: TRectangle; Rectangle...
unit View.CadastraSenha; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinBluep...
unit DAO.Produtos; interface uses DAO.Base, Generics.Collections, System.Classes, Model.Produtos; type TProdutosDAO = class(TDAO) public function Insert(aProdutos: TProdutos): Boolean; function Update(aProdutos: TProdutos): Boolean; function Delete(sCodigo: String): Boolean; function ...
unit MediaInputs; interface uses Kernel, Accounts, BackupInterfaces; const smPrice = 0; smQuality = 1; type TMediaInput = class(TInput) private fSortMode : byte; protected procedure Collect; override; protected procedure LoadFromBac...
unit ZipMstr19; (* ZipMstr19.pas - main component TZipMaster19 VCL by Chris Vleghert and Eric W. Engler v1.9 Copyright (C) 2009, 2010 Russell Peters This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published ...
unit Model.Parametros; interface uses Common.ENum, FireDAC.Comp.Client; type TParametros = class private FQuinzena: Integer; FDiaInicio: Integer; FID: Integer; FRaioX: Integer; FDiaFinal: Integer; FAcao: TAcao; public property ID: Integer read FID write FID; property Quinzena: I...
unit Mouse; {$mode objfpc}{$H+} interface uses Dos; Function ResetMouse:Boolean; {проверить наличие} Procedure ShowMouseCursor; {показать курсор мыши} Procedure HideMouseCursor; {спрятать курсор мыши} {прочитать состояние мыши} Procedure ReadMouseState(var x,y:integer; {координаты мыши} var LeftB...
unit VCLMainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IPPeerClient, REST.Backend.PushTypes, REST.Backend.MetaTypes, System.JSON, REST.Backend.KinveyServices, REST.OpenSSL, REST.Backend.KinveyProvi...
unit MdiChilds.DocsCompare; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, GsDocument, MdiChilds.Reg, MdiChilds.ProgressForm, MdiChilds.CustomDialog, JvComponentBase, JvDragDrop, Vcl.StdCtrls, Vcl.ExtCtrls...
unit uresourcestring; {$mode objfpc}{$H+} interface uses Classes, SysUtils; resourcestring rsTooManyRequestsTryAgainSoon = 'Too many Requests. Try again soon.'; rsNoInternetTryAgainSoon = 'Apparently there is no Internet connection. Try again soon.'; rsErrorCantLoginTryGeneratingANewAPIKey = 'Error: Can...
unit GX_IdeShortCuts; {$I GX_CondDefine.inc} // Original author: Stefan Hoffmeister <stefan.hoffmeister@econos.de> interface uses Classes, Controls, Forms, StdCtrls, Menus, ExtCtrls, ComCtrls, GX_Experts, GX_OtaUtils, GX_BaseForm; type TfmIdeShortCuts = class(TfmBaseForm) MainMenu: TMainMen...
unit GifLoader; // Copyright (c) 1998 Jorge Romero Gomez, Merchise interface uses Windows, Classes, MemUtils, ListUtils, GDI, Dibs, ImageLoaders, Gifs; type TGifImages = class( TImages ) protected function GetImageClass : CImageData; ...
unit xClasses; interface uses Windows, Classes, ExtCtrls, SysUtils, xStrUtils; const QueueAccessTimeout = 2000; type TxQueueAction = class; TxQueue = class; TxMutex = class; TxVerInfo = class; TxWaitResult = (twAbandoned, twTimedOut, twSuccess, twNone); TxExecuteActionEvent = procedur...
unit K619577264_1; {* [RequestLink:619577264] } // Модуль: "w:\common\components\rtl\Garant\Daily\K619577264_1.pas" // Стереотип: "TestCase" // Элемент модели: "K619577264_1" MUID: (56E6B4AB03CF) // Имя типа: "TK619577264_1" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas} interface {$If Defined...
unit NavigatorRes; interface uses SysUtils, Classes, ImgList, Controls, vtPngImgList, BaseTypesUnit, DynamicTreeUnit ; type TnsNavigatorRes = class(TDataModule) NavigatorItemsImageList: TvtPngImageList; end; const cimgFolder = 0; {* - Псевдоэлемент - папка. } cimgRubr...
unit evContentsTree; {* Дерево оглавления. } // Модуль: "w:\common\components\gui\Garant\Everest\evContentsTree.pas" // Стереотип: "SimpleClass" // Элемент модели: "TevContentsTree" MUID: (4DFEEEA000DA) {$Include w:\common\components\gui\Garant\Everest\evDefine.inc} interface uses l3IntfUses , l3Tree , nevTools...
unit DW.SystemHelper.Android; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platform Library ...
unit Model.TipoCadastro; interface type TTipoCadastro = class private FCodigo: System.Integer; FDescricao: System.string; FPessoa: System.Integer; FRH: System.Boolean; FJornal: System.Boolean; FExpressas: System.Boolean; FLog: System.string; public property...
{******************************************************************************} { } { Delphi FB4D Library } { Copyright (c) 2018-2022 Christoph Schneider ...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clLogger; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, SyncObjs, Windows, {$ELSE} System.Classes, System.SysUtils, System.SyncObjs, Winapi.Windows, {$ENDIF} clWUtils...
// Find Component Reference // Original Author: Kristofer G. Skaug <kristofer@xs4all.nl> // This locates the first source reference to a component if a form's component // is selected. If the source editor is active, it tries to locate and select // a form component with the same name as the current source identif...
// // Created by the DataSnap proxy generator. // 20/02/2019 00:14:26 // unit ClientClassesUnit1; interface uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBX...
unit DAO.Modulos; interface uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Model.Modulos, Control.Sistema; type TModulosDAO = class private FConexao : TConexao; public constructor Create; function Inserir(AModulos: TModulos): Boolean; function Alterar(AModulos: TModulos): Boolean; ...
unit glr_utils; {$i defines.inc} interface uses glr_math; const TINYGLR_VERSION = '0.2 :: unstable'; LOG_FILE = 'tinyglr.log'; type { TglrStream } TglrStream = class class function Init(Memory: Pointer; MemSize: LongInt; MemoryOwner: Boolean = False): TglrStream; overload; class function Init(c...
unit ReadWriteEvent; interface uses SyncObjs; type TLockType = (ltNone, ltAll, ltWrite); TReadWriteEvent = class(TObject) private WriteEvent: TEvent; FLockType: TLockType; FLockWriteCount: Integer; public property LockType: TLockType read FLockType; property LockWriteCou...
{ *************************************************************************** Copyright (c) 2015-2020 Kike Pérez Unit : Quick.JSON.Helper Description : Utils for working with JSON Author : Kike Pérez Version : 1.1 Created : 27/01/2017 Modified : 16/01/2020 This file is part of ...
unit TCPSockets; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, WinSock, Collection, SyncObjs; const WM_ASYNCSELECT = WM_USER + 0; WM_ASYNCGETSERVBYNAME = WM_USER + 1; WM_ASYNCGETHOSTBYNAME = WM_USER + 2; WM_SOCKET_BASEACTION = WM_USER...
unit TycoonLevels; interface uses MetaInstances, Kernel, Languages; const tidTycoonLevel_Apprentice = 'Apprentice'; tidTycoonLevel_Entrepreneur = 'Entrepreneur'; tidTycoonLevel_Tycoon = 'Tycoon'; tidTycoonLevel_Master = 'Master'; tidTycoonLevel_Paradigm = 'Paradigm'; ...
unit evBitmapSearcher; { $Id: evBitmapSearcher.pas,v 1.1 2012/02/27 09:32:29 fireton Exp $ } // $Log: evBitmapSearcher.pas,v $ // Revision 1.1 2012/02/27 09:32:29 fireton // - searcher для изображений в тексте // interface uses l3Types, l3CustomString, evTypes, evSearch, nevBase, nevTools, k2Interfaces; ...
unit Standards; interface // Ministeries const nidMinistry_Health = 1; nidMinistry_Education = 2; nidMinistry_Defense = 3; nidMinistry_Agriculture = 4; nidMinistry_LightIndustry = 5; nidMinistry_HeavyIndustry = 6; nidMinistry_Commerce = 7; nidMinistry_Housin...
program ejercicio3; const Df = 2400; type str40 = String[40]; escuela = record cue : Integer; nomEstablecimiento: str40; cantDocente : Real; cantAlumnos : Real; localidad : str40; end; procedure leerEscuela(var e: escuela); begin write('Ingrese codigo de estableciento: '); readln(e.cue); write('...
{ Collection of routines that create various types of expression descriptors * that have a constant value. } module sst_exp_const; define sst_exp_const_enum; define sst_exp_const_float; define sst_exp_const_int; define sst_exp_const_bool; define sst_exp_const_str; define sst_exp_const_vstr; %include 'sst2.ins.pas';...
unit SingleDepotMultipleDriverNoTimeWindowTestDataProviderUnit; interface uses SysUtils, BaseOptimizationParametersProviderUnit, AddressUnit, RouteParametersUnit, OptimizationParametersUnit; type TSingleDepotMultipleDriverNoTimeWindowTestDataProvider = class(TBaseOptimizationParametersProvider) protected ...
unit IGraphicObject_commands; interface uses command_class_lib,classes,types,observer_pattern_interfaces,graphics, streamable_component_list,iterator_lib,ExtCtrls; type TGraphicResizeCorrector=class(TPersistent) private fstack: array of TRect; fcount,fpopcount: Integer; fReverse: Boolean; procedur...
unit uStatus; interface uses uDM, System.SysUtils, FireDAC.Stan.Param, Data.DB, FireDAC.Comp.Client, uEnumerador, Vcl.Dialogs, uCadastroInterface, uStatusVO, uFireDAC, uGenericDAO, uExportarStatus, System.Generics.Collections; const CConsulta: string = ' SELECT' +' Sta_Codigo,' +' Sta_Id,' ...
unit UnitMonitor; { this Testprogramm is based on a freeware programm http://www.vandekamer.com/program/lcdmonitortest.asp } interface uses Windows, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Menus; type TScreenForm = class(TForm) PopupMenu1: TPopupMenu; Kleur1:...
unit userpreferences; { $Id: userpreferences.pas,v 1.1 2004/09/30 22:35:47 savage Exp $ } {******************************************************************************} { } { JEDI-SDL : Pascal units for SDL - Simple DirectMedia...
{$REGION 'Copyright (C) CMC Development Team'} { ************************************************************************** Copyright (C) 2015 CMC Development Team CMC 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 ...
Unit TERRA_PackageBuilder; {$I terra.inc} Interface Uses TERRA_String, TERRA_FileUtils, TERRA_Stream, TERRA_MemoryStream, TERRA_Collections, TERRA_Resource, TERRA_Package; Type ResourceBuilderInfo = Class(ResourceInfo) Protected _Data:MemoryStream; Public Constructor Create(Const...
{ $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...
{ Win32 FS Implementation } {$WARN SYMBOL_PLATFORM OFF} unit fsnative; interface uses Classes, fs; type TChangeMonitor = class; TFileBuildMode = (fbmCopy, fbmMove, fbmDelete); TNativeFSHandler = class(TFSHandler) private Root : string; procedure CopyExplorer(const dest: string); procedure...
unit email_validator_adapter_test; interface uses delphi.mocks, DUnitX.TestFramework; implementation uses email_validator_adapter, email_validator_intf; type [TestFixture] TEmailValidatorAdapterTest = class(TObject) public [Test] procedure ShouldReturnFalseIfEmailNotValid; [Test] pro...
unit d03.mocking.AirCondition; interface uses d03.mocking.ACmode; type TAirCondition = class private mode: TACMode; public constructor Create(newMode: TACMode); Function GetACMode(): TACMode; end; implementation constructor TAirCondition.Create(newMode: TACMode); begin mode := newMode end;...
PROGRAM cross; USES crt; VAR car : char; taille,longueur,hauteur : integer; //BUT : Dessiner une croix avec un caractère choisi et saisi par l'utilisateur. Il choisira aussi sa taille. //ENTREE : Caractère et taille de la croix //SORTIE : Croix dessinée avec le caractère choisi à la taille choisie. BEGIN clrscr;...
{ *************************************************************************** } { } { This file is part of the XPde project } { } ...
unit uStatistics; interface uses SysUtils, Classes, Forms, Dialogs, fQIPPlugin; procedure Statistics_PlayCount_Add(sURL: WideString); procedure Statistics_PlayTime_Add(sURL: WideString; var iTime: Real); procedure GetStatistics; function SortStationsPlayCount( list: TStringList ): TStringList; function S...
unit uMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Math, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, DPF.iOS.BaseControl, DPF.iOS.Common, iOSapi.CoreGraphics, iOSApi.UIKit, iOSApi.QuartzCore, DPF.iOS.UIView; type TFDrawingNative = class( TForm ...
unit selectPromotionPiece; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, chessConfig, chessgame; type { TformPromotion } TformPromotion = class(TForm) imageRook: TImage; imageKnight: TImage; imageBishop: TImage; imag...
object PlanStyleForm: TPlanStyleForm Left = 133 Top = 267 BorderStyle = bsDialog Caption = 'Planner styles' ClientHeight = 292 ClientWidth = 402 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] OldCreateOrd...
unit dr_script; {$mode objfpc}{$H+} interface uses Classes, SysUtils , winpeimagereader {need this for reading exe info} , elfreader {needed for reading ELF executables} , machoreader {needed for reading MACH-O executables} , uPSCompiler, uPSRuntime, uPSComponent, uPSDisassembly, uPSR_std, uPSC_std, uP...
unit TestUnmarshalNullableUnit; interface uses TestFramework, REST.Json.Types, System.JSON, Types, SysUtils, Classes, JSONNullableAttributeUnit, System.Generics.Collections, REST.JsonReflect, GenericParametersUnit, NullableBasicTypesUnit; type TTestNullableBooleanClass = class(TGenericParameters) private...
{ Copyright (c) 2016, Vencejo Software Distributed under the terms of the Modified BSD License The full license is distributed with this software } unit ooControlClass.Factory; interface uses Classes, Controls, ooFactory.List; type TControlClassFactory = class sealed(TFactoryList<TControlClass>) public...
unit udmPerguntas; interface uses Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS; type TdmPerguntas = class(TdmPadrao) qryManutencaoIDPGTA: TIntegerField; qryManutencaoDESCRICAO: TStringField; qryManutencaoATIVO...
unit Main; interface uses Spring.Collections, WAV.Chat, WAV.Chat.Painter, 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, FMX.TreeView, FMX.ListBox;...
unit ExploreFiles; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, FileCtrl, StdCtrls, ExtCtrls; type TExploreFiles_Form = class(TForm) Panel2: TPanel; FilterComboBox1: TFilterComboBox; DirectoryListBox1: TDirectoryListBox; FileLis...
unit ntvRegCtrls; {** * 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, * @author Zaher Dirkey *} ...
{ Author: Jarl K. Holta License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html) Runtime datatype representations } unit xpr.float; {$I express.inc} interface {$I objh.inc} uses SysUtils, xpr.express, xpr.objbase; type TFloatObject = class(TEpObject) value: Double; constructor Create(...
unit BmpLoader; // Copyright (c) 1998 Jorge Romero Gomez, Merchise interface uses Windows, Classes, MemUtils, ListUtils, GDI, Dibs, ImageLoaders; type TBmpImage = class( TImages ) protected fDibHeader : PDib; fImagePos : cardinal; // function GetRandomAcc...
unit tmvRecord; interface uses Classes, l3Interfaces, l3CacheableBase, l3Stream, tmvInterfaces ; type TtmvRecord = class(Tl3CacheableBase, ItmvRecord, ItmvRecordInfo) private f_Caption: Il3CString; f_Frequency: Il3CString; f_Info: String[c_tvmMaxInfoLength]; f_MistakeKind: TtmvRecordKind; f_Conte...
unit sdMisc; {Double precision special functions: Other functions} interface {$i std.inc} {$ifdef BIT16} {$N+} {$endif} {$ifdef NOBASM} {$undef BASM} {$endif} (************************************************************************* DESCRIPTION : Double precision special functions: Other functions REQU...
unit TreeviewHelper; {$mode objfpc}{$H+} interface uses Classes, SysUtils, ComCtrls, strutils; type { TTreeViewHelper } TTreeViewHelper = class helper for TTreeview procedure FilterNodes(const Text: string); end; implementation { TTreeViewHelper } procedure TTreeViewHelper.FilterNodes...
{ *************************************************************************** Copyright (c) 2016-2019 Kike Pérez Unit : Quick.Json.fpc.Compatibility (only freepascal) Description : Delphi Json compatibility functions Author : Kike Pérez Version : 1.4 Created : 09/03/2018 Modified ...