text
stringlengths
14
6.51M
unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, Core; const DEFAULT_BG = clDefault; DEFAULT_FG = clDefault; ALERT_BG = clRed; ALERT_FG = clWhite; type { TFormPomodoro } TFormPomodoro = class(TForm) LabelInfo: TLabel; ...
unit uBase_G; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uBase, Vcl.Grids, Vcl.DBGrids, SMDBGrid, Data.Win.ADODB, Data.DB, Vcl.ToolWin, Vcl.ComCtrls, Vcl.Menus, RxMenus, Vcl.ExtCtrls, uMainDataSet, Syste...
{ 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 uScaleControls; interface {$i jedi.inc} {$i BaseForms.inc} {$ifndef SUPPORTS_ENHANCED_RECORDS} {$define TIntScalerIsClass} {$endif} {$ifdef HAS_UNITSCOPE} uses System.Types, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.Forms; {$else} uses Types, Classes, Grap...
unit AMixer; // NO! (nearly impossible) : Support for control on/off (alternative for mute) - this is present on Audigy 2 interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, MMSystem; (* * TAudioMixer v1.70 (FREEWARE component) * ----------------- * Released 6 Jun ...
{ $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...
program odbc_multiresults; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, db, sqldb, sqldbex, CustApp { you can add units after this }; type { TMyApplication } TMyApplication = class(TCustomApplication) protected procedu...
unit CSVOptionsForms; {$mode objfpc}{$H+} {** * This file is part of the "Mini Library" * * @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html) * See the file COPYING.MLGPL, included in this distribution, * @author Zaher Dirkey <zaher, zaherdirkey> *} interface ...
{ Skype Audio Manager (C) Copyright 2018 by James O. Dreher Right-click on the icon in the system tray to select audio device. For Skype for Business on Window 10 } unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, Menus, WinA...
unit Benjamim.Header; interface uses {$IF DEFINED(FPC)} fpjson, Classes, SysUtils, {$ELSE} System.JSON, System.Classes, System.SysUtils, {$ENDIF} Benjamim.Utils, Benjamim.Header.Interfaces; type THeader = class(TInterfacedObject, iHeader) class function New: iHeader; constructor Create; des...
unit TestBezierAnimationMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Edit, System.UIConsts, // FMX.Graphics.INativeCanvas, // FMX.G...
unit DaoIBX; interface uses Base, Rtti, Atributos, system.SysUtils, System.Classes, IBX.IB, IBX.IBQuery, IBX.IBDatabase; type TDaoIbx = class(TDaoBase) private // conexao com o banco de dados FDatabase: TIBDatabase; // transação para crud FTransaction: TIbTransaction; // transação para consul...
unit HashTables; interface uses SysUtils, Classes, Math, Windows; const EMPTY = Pointer(-1); DELETED = Pointer(-2); type THashTable = class(TObject) private Alpha: Double; FTable: PPointerList; FCount: Integer; FCapacity: Integer; FMaximumFillRatio: Double; ...
{ This is a personal project that I give to community under this licence: Copyright 2016 Eric Buso (Alias Caine_dvp) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses...
{ Mark Sattolo 428500 } { CSI1100A DGD-1 Chris Lankester } { Test program for Assignment#4 Question#2 } program GetSmallest (input, output); { This program takes an array X with N positive numbers, and a second array Y with M positive numbers, and gives the smallest number that appears in both arrays as the ...
unit csImport; interface uses Classes, csProcessTask, DT_types, l3Base, csMessageManager; type TcsImportTaskItem = class(TddProcessTask) private f_DeleteIncluded: Boolean; f_IsAnnotation: Boolean; f_IsRegion: Boolean; f_MessageManager: TcsMessageManager; f_SourceDir: AnsiString; f_Source...
unit MainModule; interface uses uniGUIMainModule, SysUtils, Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, frxClass, frxDBSet, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client, Data.Win.ADODB, FireDAC.UI.Intf, Fire...
unit EmailOrdering.Views.MainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, EmailOrdering.Controllers.MainControllerInt, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.Menus, Vcl.AppEvnts, Vcl.ExtCtrls; type TMa...
{ This file is part of the Free Pascal run time library. Copyright (c) 1999-2014 by Maciej Izak aka hnb (NewPascal project) See the file COPYING.FPC, included in this distribution, for details about the copyright. This program is distributed in the hope that it will be useful, but WITH...
// -------------------------------------------------------------------------- // Archivo del Proyecto Ventas // Página del proyecto: http://sourceforge.net/projects/ventas // -------------------------------------------------------------------------- // Este archivo puede ser distribuido y/o modificado bajo lo terminos ...
namespace Sugar.Collections; interface uses {$IF ECHOES} System.Linq, {$ELSEIF COOPER} com.remobjects.elements.linq, {$ELSEIF TOFFEE} RemObjects.Elements.Linq, {$ENDIF} Sugar; type List<T> = public class (sequence of T) mapped to {$IF COOPER}java.util.ArrayList<T>{$ELSEIF ECHOES}System.Collections...
unit InternationalizerComponent; interface uses Windows, SysUtils, Classes; type TInternationalizerComponent = class(TComponent) public constructor Create(Owner : TComponent); override; destructor Destroy; override; private fTransFilesPath : string; ...
{ File: CMDeviceIntegration.p Contains: Color Management Device Interfaces - for MacOSX Version: Technology: ColorSync 3.1 Release: Universal Interfaces 3.4.2 Copyright: © 2000-2002 by Apple Computer, Inc., all rights reserved. Bugs?: For bug reports...
unit BorlndMM; interface {--------------------Start of options block-------------------------} {Set the following option to use the RTL MM instead of FastMM. Setting this option makes this replacement DLL almost identical to the default borlndmm.dll, unless the "FullDebugMode" option is also set.} {.$define UseRTL...
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. ...
{ *************************************************************************** Copyright (c) 2015-2020 Kike Pérez Unit : Quick.Options.Serializer.Yaml Description : Configuration groups Yaml Serializer Author : Kike Pérez Version : 1.0 Created : 18/10/2019 Modified : 15/12/2021 ...
unit FFSColorScheme; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, FFSTypes; type TFFSColorScheme = class(TComponent) private FGridSelect: TColor; FActionText: TColor; FMainStatusBar: TColor; FDataBackground: TColor; FTabInactive: TCo...
unit Form_utl; interface uses Forms, Messages; type TOnScroll = procedure(Sender: TObject; HorzScroll: Boolean; OldPos, CurrentPos: Integer) of object; TScrollBox = class(Forms.TScrollBox) private FOnScroll: TOnScroll; procedure WMHScroll(var Message: TWMHScroll); message WM_HSCROLL; procedure...
program TESTC1 ( INPUT , OUTPUT ) ; type TMYRECORD = record A : INTEGER ; B : CHAR ( 5 ) ; end ; const DEFAULT : TMYRECORD = ( 100 , 'foo' ) ; var R : TMYRECORD ; begin (* HAUPTPROGRAMM *) R := DEFAULT ; WRITELN ( 'test const with records' ) ; W...
unit uRestDataWare; interface uses Datasnap.DSClientRest, REST.Types, REST.Client, REST.Authenticator.Basic, System.JSON, Data.Bind.Components, Data.Bind.ObjectScope; type TRestDataWare = class private FRESTClient: TRESTClient; FRESTRequest: TRESTRequest; FTHTTPBasicAuth...
unit UPassLockDemo; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.TMSBaseControl, FMX.TMSPassLock; type TForm15 = class(TForm) TMSFMXPassLock1: TTMSFMXPassLock; Panel1: T...
unit MP_Lex; interface type symbol = (noSy, numSy, idSy, plusSy, minusSy, mulSy, divSy, leftParSy, rightParSy, assignSy, commaSy, semicolonSy, dotSy, colonSy, programSy, varSy, beginSy, endSy, readSy, w...
unit Lookups; interface uses Classes, SysUtils; type PLookupItem = ^TLookupItem; TLookupItem = record FID, FValue: pointer; end; const MaxLookupListSize = MaxInt div SizeOf(TLookupItem) - 1; type PLookupItemList = ^TLookupItemList; TLookupItemList = array[0..MaxLookupListSize] of TL...
{ *************************************************************************** } { } { This file is part of the XPde project } { } ...
unit ThreadKindergartenData; interface uses System.SysUtils, System.Classes, CrossPlatformHeaders, fmx.Forms, System.Generics.Collections, System.Diagnostics, System.SyncObjs, fmx.Dialogs{$IFDEF LINUX},Posix.Pthread,Posix.Signal{$ENDIF}; type ThreadKindergarten = class type TCareThread = class(TThread) ...
unit Search_Strange_Controls; // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Search_Strange_Controls.pas" // Стереотип: "VCMControls" // Элемент модели: "Strange" MUID: (4AE89F8A004B) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface {$If NOT Defined(Admin)} uses l3IntfUses , Base...
unit WarningKeywordsPack; {* Набор слов словаря для доступа к экземплярам контролов формы Warning } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Document\Forms\WarningKeywordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "WarningKeywordsPack" MUID: (4AB1355B01EA_Pack) {$Include w:\...
{ GDAX/Coinbase-Pro client library Copyright (c) 2018 mr-highball 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 to use, co...
unit uPermissoesAcoes; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxLookupEdit, cxDBLookupEdit, cxDBLookupComboBox, DB, ZAbstractR...
unit DW.Android.Service; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platform Library ...
unit K538560814; {* [Requestlink:538560814] } // Модуль: "w:\common\components\rtl\Garant\Daily\K538560814.pas" // Стереотип: "TestCase" // Элемент модели: "K538560814" MUID: (53881E4003E3) // Имя типа: "TK538560814" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas} interface {$If Defined(nsTest)...
(* * TASK #1 - Sum Bitwise Operator * * GUEST LANGUAGE: THIS IS THE PASCAL VERSION OF ch-1a.pl, suitable for * the Free Pascal compiler. *) uses sysutils; const maxints = 256; type intarray = array [0..maxints-1] of integer; var debug : boolean; (* process_args( nel, v ); * Process command line argument...
object FormViewOptions: TFormViewOptions Left = 340 Top = 206 ActiveControl = edText BorderStyle = bsDialog Caption = 'Viewer settings' ClientHeight = 279 ClientWidth = 481 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'Tahom...
// ********************************************************************** // // Copyright (c) 2000 - 2003 MT Tools. // // All Rights Reserved // // MT_DORB is based in part on the product DORB, // written by Shadrin Victor // // See Readme.txt for contact information // // **********************************************...
unit MFichas.Model.Venda.Interfaces; interface uses MFichas.Model.Item.Interfaces, MFichas.Model.Caixa.Interfaces, MFichas.Model.Entidade.VENDA, MFichas.Model.Pagamento.Interfaces, ORMBR.Container.ObjectSet.Interfaces; type iModelVenda = interface; iModelVendaMetodos = interfa...
unit ClientSocket; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, SocketComp, StdCtrls; type TClientForm = class( TForm ) SendBuffer: TEdit; ReceiveBuffer: TEdit; procedure ClientSocketRead( Sender : TObject; Socket : TCustomWinSocket ...
unit eInterestSimulator.Model.PagamentoUnico.Calculadora; interface uses eInterestSimulator.Model.Interfaces, System.Generics.Collections, eInterestSimulator.Controller.Observer.Interfaces, eInterestSimulator.Model.Interfaces.Calculadora; type TModelPagamentoUnicoCalculadora = class(TInterfacedObject, iCalcu...
unit WinUtils; // Copyright (c) 1996 Jorge Romero Gomez, Merchise. interface uses Windows, Messages, SysUtils; // Message Queue Inspection ------------------------------------------------------ function WindowHasMessageWaiting( WinHandle : HWND ) : boolean; const // See QS_XXX flags in GetQueueStatus ...
unit uFormDemineur; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts, ClassDemineur, FMX.StdCtrls, FMX.Controls.Presentation, System.ImageList, FMX.ImgList, FMX.Objects, FMX.Styles....
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit LandClasses; interface uses Windows, Land, Collection, SysUtils, Graphics, IniFiles; const TextureNames : array[TLandClass] of string = ( 'Grass', 'MidGrass', 'DryGround', 'Water' ); type TCollection = Collection.TCollection; TClassTypeInfo = array[TLandTy...
//Exercicio 15: Assuma que o trabalhador do exercício 08 deve pagar 10% de imposto se o seu salário anual for menor ou //igual a R$ 12.000,00. Caso o salário seja maior que este valor o imposto devido é igual a 10% sobre R$ 12.000,00 mais //25% sobre o que passar de R$ 12.000,00. Escreva um algoritmo que calcule e exib...
{ *************************************************************************** Copyright (c) 2016-2018 Kike Pérez Unit : Quick.Format Description : String Format functions Author : Kike Pérez Version : 1.4 Created : 14/07/2017 Modified : 19/07/2018 This file is part of QuickLib:...
//** unit uImage; interface uses Graphics, JPEG, GIFImage, PNGImage; type //** TImages = array of TBitmap; //** TImage = class private //** FJPG: TJpegImage; //** FGIF: TGIFImage; //** FPNG: TPNGObject; public //** procedure Gamma(Bitmap: TBitmap; L: D...
unit FFSLENDGRPTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TFFSLENDGRPRecord = record PName: String[4]; PLender1: String[240]; PLender2: String[240]; PLender3: String[240]; PLender4: String[240]; PSearchable: Boolean; PDescripti...
{ Subroutine SST_CALL (SYM) * * Create an opcode for a call to the subroutine is indicated by the * symbol SYM. } module sst_call; define sst_call; %include 'sst2.ins.pas'; procedure sst_call ( {create subroutine call opcode} in sym: sst_symbol_t); {symbol for name of subroutine...
{ ---------------------------------------------------------------------------- zbnc - Multi user IRC bouncer Copyright (c) Michael "Zipplet" Nixon 2009. Licensed under the MIT license, see license.txt in the project trunk. Unit: compilets.pas Purpose: Implements compile timestamp support (along with writesta...
unit cmdlinelazcompopt; {$mode delphi}{$H+} interface // this unit depends on IDEIntf package (CompOptsIntf.pas) ! uses Classes, SysUtils, CompOptsIntf, cmdlinecfg, cmdlinecfgutils, cmdlinecfgparser, contnrs; { Either procedures depends on a certain names/keys used for the FPC options. This has to be caferully...
unit TestWSInvokers; {$mode objfpc}{$H+} interface uses typinfo, Classes, fpcunit, JCoreWSInvokers; type { TTestWSMethodData } TTestWSMethodData = class(TTestCase) private FMethodData: TJCoreWSMethodData; procedure P01; procedure P02(AObject: TObject); procedure P03(var AObject: TObj...
unit UpdateTerritoryUnit; interface uses SysUtils, BaseExampleUnit; type TUpdateTerritory = class(TBaseExample) public procedure Execute(TerritoryId: String); end; implementation uses TerritoryUnit, TerritoryContourUnit; procedure TUpdateTerritory.Execute(TerritoryId: String); var ErrorString: S...
unit ExampleBehaviorNodes; interface uses System.JSON, Vcl.Graphics, Behavior3.Project, Behavior3.Core.Condition,Behavior3.Core.Action, Behavior3.Core.Tick, Behavior3; type TB3IsMouseOver = class(TB3Condition) public constructor Create; override; function Tick(Tick: TB3Tick): TB3Status; override; e...
{ ************************************************************* 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) prod...
unit MFichas.Model.Empresa.Interfaces; interface uses System.Generics.Collections, MFichas.Model.Entidade.EMPRESA, ORMBR.Container.ObjectSet.Interfaces, ORMBR.Container.DataSet.interfaces, FireDAC.Comp.Client; type iModelEmpresa = interface; iModelEmpresaMetodos = interf...
unit ScriptClasses_C; { Inno Setup Copyright (C) 1997-2011 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Script support classes (compile time) $Id: ScriptClasses_C.pas,v 1.69 2012/02/05 18:59:23 mlaan Exp $ } interface {$I VERSION.INC} uses uPSCompi...
unit StageOptionPart; interface uses SearchOption_Intf, Classes, FMX.Controls, UIWappedPartUnit; type TStageOptionPart = class(TAbsSearchOptionPart) private FTitle: String; FLogData_Start: ILogData; FLogData_End: ILogData; public function GetValues(key: String): String; override...
unit MainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, VipNet, JwaWinCrypt, WCryptHelper; type TfrmMain = class(TForm) cbDeattached: TCheckBox; cbTSA: TCheckBox; edTSAUrl: TEdit; btSign: TButton; mLog: TMemo; OpenDialo...
(* JCore WebServices, Method Invoker Classes Copyright (C) 2015 Joao Morais See the file LICENSE.txt, included in this distribution, for details about the copyright. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABI...
namespace Sugar.Test; interface uses Sugar, Sugar.Collections, RemObjects.Elements.EUnit; type ListTest = public class (Test) private Data: Sugar.Collections.List<String>; public method Setup; override; method Constructors; method &Add; method AddRange; method...
{$MODE OBJFPC} {$IFNDEF DEBUG} {$R-,Q-,S-,I-} {$OPTIMIZATION LEVEL2} {$INLINE ON} {$ELSE} {$INLINE OFF} {$ENDIF} program Task; const InputFile = 'WATERMOV.INP'; OutputFile = 'WATERMOV.OUT'; maxN = Round(1E6); type TVector = record x, y: Int64; end; TPoint = TVector; var fi, fo: TextFile; a: array[1...
unit SimpleMainMenu_Form; // Библиотека : Проект Немезис; // Название : enSimpleMainMenu // Автор : Морозов М.А. // Назначение : Простое основное меню; // Версия : $Id: SimpleMainMenu_Form.pas,v 1.30 2013/01/22 15:59:55 kostitsin Exp $ (*---------------------------------------------------------------------...
unit ce_todolist; {$I ce_defines.inc} interface uses Classes, SysUtils, FileUtil, ListFilterEdit, Forms, Controls, strutils, Graphics, Dialogs, ExtCtrls, Menus, Buttons, ComCtrls, ce_widget, process, ce_common, ce_interfaces, ce_synmemo, ce_project, ce_symstring, ce_writableComponent, ce_observer; type T...
unit Concrete; interface uses GameTypes; const cCenter = 0; cUp = -1; cDown = 1; cLeft = -1; cRight = 1; type TConcreteConfig = array [cUp..cDown, cLeft..cRight] of boolean; const cMaxConcreteConfigs = 16; const cFullConcrete = 15; cSpecialConcrete = 1...
unit evGeneratorsInterfaces; {* Интерфейсы для поддержки работы генераторов } // Модуль: "w:\common\components\gui\Garant\Everest\evGeneratorsInterfaces.pas" // Стереотип: "UtilityPack" // Элемент модели: "evGeneratorsInterfaces" MUID: (4A253C760202) {$Include w:\common\components\gui\Garant\Everest\evDefine.inc} i...
unit Providers.Mascara.Hora; interface uses Providers.Mascaras.Intf, System.MaskUtils, System.SysUtils; type TMascaraHora = class(TInterfacedObject, IMascaras) private procedure RemoveDoisPontos(var Value: string); public function ExecMask(Value: string): string; end; implementation { TMascaraHor...
unit ChromeLikeTabSetUtils; interface uses Windows, SysUtils, Controls, Classes, Graphics, Messages, ExtCtrls, Forms, GraphUtil, Math, GDIPObj, GDIPAPI, ImgList, ActiveX, ChromeLikeTabSetTypes; function IsPtInRect(const aPoint: TPoint; const aRect: TRect): Boolean; function MakeGDIPColor(aColor: TColor; aAlph...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit aeOBB; interface uses aeBoundingVolume, types, windows, aeMaths, aeConst, math, aetypes, aeVectorBuffer, aeIndexBuffer, aeMesh; type TaeOBB = class(TaeBoundingVolume) public constructor Create; destructor Destroy; override; function calculateBoundingVolume(vio: TaeVertexIndexBuffer; avarageCent...
unit RegisterWebinarRequestUnit; interface uses REST.Json.Types, SysUtils, GenericParametersUnit, CommonTypesUnit, EnumsUnit; type TRegisterWebinarRequest = class(TGenericParameters) private [JSONName('email_address')] FEMail: String; [JSONName('first_name')] FFirstName: String; [JSONN...
unit uQuickViewPanel; {$mode objfpc}{$H+} interface uses Classes, SysUtils, ExtCtrls, fViewer, uFileViewNotebook, uFile, uFileSource, uFileView; type { TQuickViewPanel } TQuickViewPanel = class(TPanel) private FFirstFile: Boolean; FFileViewPage: TFileViewPage; FFileView: TFileView; FFile...
(* * 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 at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS...
unit ModCalcSyn2; interface var success : boolean; procedure S; implementation uses ModCalcLex, sysutils; type nodePtr = ^Node; node = record firstChild, sibling : nodePtr; val : string; (* nonterminal, operator or operand as text *) end; treePtr = nodePtr; p...
(*------------------------------------------------------------------ BinominalCoefficientNice || Neuhold Michael 24.10.2018 Calculate the binomial coefficient (k choose n). introducing a Factorial procedure bc = n! DIV (k! *(n-k)!) ------------------------------------------------------------------*) PROGRA...
unit kwPopEditorResizeTableColumnEX; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "ScriptEngine" // Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopEditorResizeTableColumnEX.pas" // Родные Delphi интерфейсы (.pas) /...
unit fb2rtf_dispatch; {$WARN SYMBOL_PLATFORM OFF} interface uses ComObj, ActiveX, FB2_to_RTF_TLB, fb2rtf_engine,StdVcl; type TFB2RTFExport = class(TAutoObject, IFB2RTFExport) protected procedure AfterConstruction; Override; function Get_SkipDescr: WordBool; safecall; function Get_SkipImages: WordB...
{ ******************************************************* } { This is the main jabber client unit } { } { } { Copyright (C) 2014 } { } { ******************************************************* } unit fmxJabberClient; interface uses Sysutils, fmx.dialogs, System.Classes, fmx.Types, FmxJabberTools, fmxJabberXml, fmx...
unit MDIChilds.Reg; interface uses SysUtils, Classes, Contnrs, Forms, Generics.Collections, IniFiles, {Processors Forms} MDIChilds.CustomDialog; type TFormsRegistrator = class private type TFormInfo = record FormClass: TFormClass; Caption: string; ImageIndex: Integer; GroupNam...
program TESTNF ( OUTPUT ) ; var S1 , S2 , S3 : STRING ( 100 ) ; begin (* HAUPTPROGRAMM *) S1 := 'Bernd Oppolzer' ; S2 := LEFT ( S1 , 5 ) ; S3 := RIGHT ( S1 , 8 ) ; WRITELN ( '<' , S1 , '>' ) ; WRITELN ( '<' , S2 , '>' ) ; WRITELN ( '<' , S3 , '>' ) ; S1 := RIGHT ( S1 , 50 ) ; S2 := LEFT ( S2 , 20 ) ...
unit constants; interface const nHELLO_CODE:integer=100; sHELLO_MSG:string='Welcome to victims kingdom!'; nNO_COMMAND_CODE:integer=105; sNO_COMMAND_MSG:string='Type a command followed by space or type help.'; nINVALID_COMMAND_CODE:integer=110; sINVALID_COMMAND_MSG:string='Command not recognized. Type voc...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit AddOrderToRouteUnit; interface uses SysUtils, BaseExampleUnit, RouteParametersUnit, AddressUnit; type TAddOrderToRoute = class(TBaseExample) public procedure Execute(RouteId: String; RouteParameters: TRouteParameters; OrderedAddresses: TOrderedAddressArray); end; implementation uses Add...
unit Model.CadastroAnexos; interface uses Common.ENum, FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Control.Sistema; type TCadastroAnexos = class private FDataAnexo: TDateTime; FID: Integer; FNomeArquivo: String; FDescricaoAnexo: String; FIdAnexo: Integer; FAcao: TAcao...
unit ImageLoader; interface uses GameTypes; function LoadGameImage(const FileName : string) : TGameImage; procedure ImageReleased(const FileName : string); implementation uses SysUtils, Classes, SpeedBmp, Dib2Frames, SpriteLoaders, ImageLoaders, GifLoader, SyncObjs; var vLoadedImages : ...
unit AutoDocObjects; interface uses dSpecIntf; type TBaseAutoDoc = class(TInterfacedObject, IAutoDoc) private FContext: IContext; FEnabled: Boolean; function GetEnabled : Boolean; procedure SetEnabled(Value : Boolean); protected function SplitCamelCaseString(const s : string) : string; ...
unit uProduto; interface type TProduto = class private Fpro_CodProduto: Integer; Fpro_CodIntProduto: Integer; Fpro_DescricaoProduto: String; Fpro_Estoque: Double; Fpro_Empresa: Integer; procedure Setpro_CodIntProduto(const Value: Integer); ...
{ Subroutine SST_R_PAS_EXP_TERM (TERM_STR_H,NVAL_ERR,TERM) * * The tag for a nested EXPRESSION2 - EXPRESSION4 or ITEM syntax has just been * read. Fill in TERM to reflect this nested expression. A nested expression * will only be created if necessary, otherwise the term will be an item. * STR_H is the strin...
unit MFichas.Model.Usuario.Funcoes.Editar; interface uses System.SysUtils, System.Generics.Collections, MFichas.Model.Usuario.Interfaces, MFichas.Model.Entidade.USUARIO, MFichas.Controller.Types; type TModelUsuarioFuncoesEditar = class(TInterfacedObject, iModelUsuarioFuncoesEditar) private [weak]...
{.GXFormatter.config=twm} unit GX_dzVersionInfo; interface uses SysUtils; type EApplicationInfo = class(Exception); EAIChecksumError = class(EApplicationInfo); EAIUnknownProperty = class(EApplicationInfo); EAIInvalidVersionInfo = class(EApplicationInfo); type TFileProperty = (FpProductNam...
unit FFSLmdLabel; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, LMDControl, LMDBaseControl, LMDBaseGraphicControl, LMDBaseLabel, LMDCustomLabel, LmdSimpleLabel, LMDLabel, LMDCustomSimpleLabel, FFSTypes; type TFFSLmdLabel = class(TLMDSimpleLabel) priv...
unit BlkLvForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Create: TButton; Target: TEdit; procedure CreateClick(Sender: TObject); private { Private declarations } public { Public declarations } end; v...
unit uTanggal; interface type Tanggal = record Hari : string; Tanggal, Bulan, Tahun : integer; end; procedure load (var f:text;p:string); {* procedure yang digunakan untuk me-load data dari file eksternal pemesanan.txt ke dalam variabel internal I.S : file eksternal pemesanan.txt telah terdefinisi ...