text
stringlengths
14
6.51M
{**********************************************************************} { } { "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 comp...
unit PaintType; interface type TPoint = record x, y : Real; end; TPoints = array of TPoint; TRounds = record center : Tpoint; size : Integer; rad : array of Real; end; TWater = array of TRounds; implementation end.
unit CommUtils; interface uses Classes, Messages, Windows, Dialogs, Forms, SysUtils, ExtCtrls; const xlCenter = -4108; type TLogEvent = procedure(const s: string) of object; TOEMSOPvsDemandSet_OEM = ( saDemandChange_OEM, //'市场需求变化', saDemandOutOfSupply_OEM, //'市场需求脱离实际供应能力', saFacCap_O...
PROGRAM Prime(INPUT, OUTPUT); CONST MiniDigit = 2; MaxiDigit = 100; TYPE Range = SET OF MiniDigit .. MaxiDigit; VAR DataInSieve: Range; Divisor, Digit: INTEGER; BEGIN {Prime} DataInSieve := [MiniDigit .. MaxiDigit]; Divisor := 2; {Минимальное простое число} WHILE DataInSieve <> [] {Пока не удалили из...
unit uSystemRepair; // Восстановление настроек системы interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CheckLst, zStringCompressor, Buttons, ExtCtrls, zLogSystem, zAVKernel, zTranslate; type TSysRepair = class(TForm) cbRepairScriptLis...
unit ALFmxImgList; interface uses System.Classes, System.UITypes, System.Types, {$IFDEF DEBUG} System.Diagnostics, {$ENDIF} {$IF DEFINED(IOS) or DEFINED(ANDROID)} system.Messaging, FMX.types3D, {$ENDIF} FMX.graphics, FMX.imgList; type {~~~~...
unit myhello; {$mode delphi} interface uses Classes, SysUtils, And_jni, AndroidWidget; type {Draft Component code by "Lazarus Android Module Wizard" [4/26/2014 19:06:40]} {https://github.com/jmpessoa/lazandroidmodulewizard} {jControl template} jMyHello = class(jControl) private Fflag: integer; Fhello...
unit TechnologieMultiJC; { Technologie slozenych jizdnich cest. } interface uses IniFiles, TechnologieJC, Generics.Collections, TBloky, IdContext, SysUtils, Classes; type TMultiJCStaveni = record JCIndex:Integer; SenderOR:TObject; SenderPnl:TIdContext; end; TMultiJCprop = record Nazev:stri...
// 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 ...
unit Starlink; {$mode objfpc}{$H+} interface uses Classes, SysUtils, SpaceTrackInfo, BaseModel; type IBaseStarlink = interface(IBaseModel) ['{FC5F91BA-EB9F-4588-918F-744DB2BD8A54}'] function GetHeightKilometers: Double; function GetId: string; function GetLatitude: Double; function GetLaunchId:...
unit winole.iebho; interface uses Windows, WinInet, UrlMon, ActiveX; type TIEProtocol = record NoteFactory: IClassFactory; InternetSession: IInternetSession; end; var Protocol: TIEProtocol = ( NoteFactory: nil; InternetSession: nil; ); const Class_Ie_BHO_ExtProtocol: TGUID = '{5DB72FF4-...
unit sfirebasepushnotificationlistener; {$mode delphi} interface uses Classes, SysUtils, And_jni, {And_jni_Bridge,} AndroidWidget; type {Draft Component code by "LAMW: Lazarus Android Module Wizard" [7/19/2021 1:47:56]} {https://github.com/jmpessoa/lazandroidmodulewizard} TOnGetTokenComplete=procedure(Sender:TO...
// 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...
unit AqDrop.DB.Base; interface uses System.SysUtils, System.Classes, AqDrop.Core.Types, AqDrop.Core.Collections.Intf, AqDrop.Core.Collections, AqDrop.DB.Connection, AqDrop.DB.ORM.Manager, AqDrop.DB.SQL.Intf, AqDrop.DB.ORM.Attributes; type TAqDBObjectCacheType = (octNone, octOwnsOb...
(************************************************************** * * * UNIT: ATComm32 * * DESCRIPTION: Win95 serial port communications unit * * AUTHOR: Mike Stahl, Applied Technology Consultants * ...
unit Connection.Types; interface //uses // Winapi.ShellAPI, Winapi.Windows, // System.SysUtils, // Data.SqlExpr, // Common.Types, Common.Consts, Common.Utils; type TDbParm = record AHost: string; APort: string; ADatabase: string; ARemoted: Boolean; procedure Clear; end; TZebedeeParm = ...
unit SAPBomMatrixWin; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IniFiles, CommUtils, StdCtrls, ExtCtrls, ComCtrls, ToolWin, ImgList, ProjNameReader, BomD2Reader, BomD2Reader2, ComObj; type TfrmSAPBomMatrix = class(TForm) leProjName: TLabeledEdit; ...
PROGRAM Digit(INPUT, OUTPUT); VAR I: INTEGER; PROCEDURE ReadDigit(VAR F: TEXT; VAR D: INTEGER); VAR Ch: CHAR; BEGIN {ReadDigit} READ(F, Ch); IF Ch = '0' THEN D := 0 ELSE IF Ch = '1' THEN D := 1 ELSE IF Ch = '2' THEN D := 2 ELSE IF Ch = '3' THEN D := 3 ELSE IF Ch = '4' THEN D := 4 ELSE ...
unit UnitTabletki; interface uses System.SysUtils, System.Variants, System.Classes, System.JSON, Data.DB, Vcl.Dialogs, REST.Types, REST.Client, REST.Response.Adapter, Winapi.Windows, Vcl.Forms, ShellApi, IdHTTP, IdSSLOpenSSL, System.IOUtils, Datasnap.DBClient, Soap.EncdDecd, Soap.XSBuiltIns; type TTabletk...
unit ConsVarsTypes; interface uses SysUtils, Windows, Messages, TlHelp32; type // Helper class for ToolHelp functions TToolHelper = class(TObject) private FHSnapshot: THandle; procedure CreateSnapshot(cFlags, cProcessID: Cardinal); procedure DestroySnapshot; public constructor Cr...
unit UDMDatos; interface uses SysUtils, Classes, FMTBcd, DB, SqlExpr, DBClient, Provider, Variants; type TDMDatos = class(TDataModule) prChoferes: TDataSetProvider; Choferes: TClientDataSet; qryChoferes: TSQLDataSet; prPasajeros: TDataSetProvider; Pasajeros: TClientDataSet; qryPasajeros: ...
unit RepositorioMovimento; interface uses DB, Auditoria, Repositorio; type TRepositorioMovimento = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; function GetIdentific...
unit dlgProcess_u; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ComCtrls, StdCtrls, XPMan, Buttons, cxControls, cxContainer, cxEdit, cxProgressBar, cxLookAndFeelPainters, cxButtons, Menus; type TCancelProcedure = procedure; ...
Unit unit3; Interface {$R-} {$Q-} Const _B = $100; BM = $ff; N = $1000; Type TPerlinNoise = Class Private P : Array[0..(_B+_B+2)-1] Of Integer; G1: Array[0..(_B+_B+2)-1] Of Double; Public Constructor Create(Seed: Integer); Procedure InitNoise(Seed: Integer); ...
unit zDirectFileCopy; interface function DirectCopyFile(AFileName, ANewName : String) : boolean; implementation uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, RxVerInf, Registry, Dialogs, zSharedFunctions, math, ntdll; type // STARTING_VCN_INPUT_BUFFER STARTING_VCN_INP...
unit Payload; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DragonPayload, BaseModel, JSON_Helper; type IBasePayload = interface(IBaseModel) ['{1CAE0B0B-CB95-4B25-A709-6007D46D0E1D}'] function GetApoapsisKilometers: Double; function GetArgOfPericenter: Double; function GetCustomers: TString...
{ *********************************************************************** } { } { Delphi Еncryption Library } { Еncryption / Decryption stream - IDEA } { ...
unit NotificationServiceUnit; interface uses System.SysUtils, System.Classes, System.Android.Service, AndroidApi.JNI.GraphicsContentViewText, Androidapi.JNI.Os, System.Notification; type TNotificationServiceDM = class(TAndroidService) NotificationCenter1: TNotificationCenter; functi...
unit UnitingRepositoryCriterionUnit; interface uses AbstractRepositoryCriteriaUnit, RepositoryCriteriaListUnit; const CRITERIA_SEPARATOR = ' '; type TRepositoryCriteriaArray = Array Of TAbstractRepositoryCriterion; TUnitingRepositoryCriterion = class (TAbstractRepositoryCriterion) protected F...
{$optimize 7} {---------------------------------------------------------------} { } { Symbol Table } { } { Handle the symbol table. ...
unit JSONComparer; interface uses System.JSON; function JSONEquals(value1: TJSONValue; value2: TJSONValue; strictArrayOrder: Boolean = true): Boolean; implementation uses System.Generics.Collections; function CmpObject(value1: TJSONObject; value2: TJSONObject; strictArrayOrder: Boolean): Boolean; var p: T...
unit DatabaseConfig; interface {$I ..\dbunit4delphi.inc} uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs, DatabaseConnectionType; const DB_CONFIG = 'DBCONFIG'; DB_EXTRA_PARAMS = 'EXTRA_PARAMS'; type IDatabaseConfig = interface ['{83B617CF-A429-4E26-B502-3CDC8818DA49}'] ...
unit SettingsFrmCursors; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Cursors; type TSetCursorsForm = class(TForm) GroupBox1: TGroupBox; SmallTRadioButton: TRadioButton; LargeTRadioButton: TRadioButton; Image1: TImage;...
unit CurrencyServiceBase; interface type TCurrencyServiceBase = class public function GetConversionRate(AFromCurrency, AToCurrency: string): Double; virtual; abstract; end; implementation end.
unit frSeleccionFechas; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls, ActnList, frCalendario; type TfSeleccionFechas = class(TFrame) ActionList: TActionList; DesdeAno: TAction; DesdeMes: TAction; DesdeFecha: TAct...
unit Observer.Interfaces.ObserverSubject; interface type ISubject = interface; // Receive update from subject // Recebe update do subject IObserver = interface ['{F7D673F8-7ECB-4BA3-A00C-47B8886A2A53}'] procedure Update(ASubject: ISubject); end; ISubject = interface ['{E2E5BCA0-3E18-48D9-992...
namespace Moshine.UI.UIKit.Weather; uses CoreLocation, Moshine.Api.Weather.Models.WeatherUnderground, Moshine.UI.UIKit.Weather, Moshine.UI.UIKit.Weather.Models, UIKit; type [IBObject] StationsTableViewController = public class(UITableViewController, IAppCoordinatorDelegate) private _...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2011 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of Delphi, C++Builder or RAD Studio (Embarcadero Products). // This software is considered a...
inherited EnumValueEditView: TEnumValueEditView Caption = 'Edit Value' ClientHeight = 169 ClientWidth = 211 ExplicitWidth = 217 ExplicitHeight = 198 PixelsPerInch = 96 TextHeight = 13 object lblValueName: TLabel [0] Left = 16 Top = 13 Width = 56 Height = 13 Caption = 'Value Name' e...
{ ******************************************************* } { } { Delphi & Google API } { } { File: uGoogleLogin } { Copyright (c) WebDelphi.ru } { All Rights Reserved. } { не обижайтесь писал на большом мониторе} { на счет комментариев, пишу много чтоб было понятно всем} { NMD} { *************************************...
{*******************************************************} { } { Delphi FireMonkey Notification Service } { } { Description of interface for notificatione center } { ...
{$i-} TYPE STR4 = STRING[4]; FUNCTION HEXW (Q:WORD) : STR4; CONST HEXSTR: ARRAY[0..15] OF CHAR = '0123456789ABCDEF'; BEGIN HEXW := HEXSTR[HI(Q) SHR 4] + HEXSTR[Hi(Q) AND $0F] + HEXSTR[LO(Q) SHR 4] + HEXSTR[LO(Q) AND $0F]; END; PROCEDURE READDIR (VAR F:FILE); VAR I : BYTE; STRT : WORD; EXEC : WO...
unit BLight; {$IfDef FPC} {$mode objfpc}{$H+} {$Else} {$IfDef WIN32} {$Define WINDOWS} {$EndIf} {$IfDef WIN64} {$Define WINDOWS} {$EndIf} {$EndIf} interface uses Classes, SysUtils, mutils; type ISoundStream = interface procedure Play(const ALooped: Boolean = False); procedure Stop(); function ...
unit uVerificaEstrutura; interface uses ZDataset, SysUtils, Windows, Forms; type TOnAlteracao = procedure(Sender : TObject; Efetuada : Boolean) of object; TVerificaEstrutura = class private fQuery : TZQuery; function Executar(sSQL: String; var RowsAffected: integer) : Boolean;overload; function...
{* MM.PAS * * Routines for .MM module playing using the simplified MIDAS API * * Copyright 1995 Petteri Kangaslampi and Jarno Paananen * * This file is part of the MIDAS Sound System, and may only be * used, modified and distributed under the terms of the MIDAS * Sound System license, LICENSE.TXT. ...
unit Item; interface uses Produto; type TItem = class private FProduto: TProduto; FQuantidade: Double; protected function GetProduto: TProduto; procedure SetProduto(Value: TProduto); function GetQuantidade: Double; procedure SetQuantidade(Value: Double); public constructor Create;...
{==============================================================================* * Copyright © 2020, Pukhkiy Igor * * All rights reserved. * *============================================================================...
unit LaunchDialog; { SimThyr Project } { A numerical simulator of thyrotropic feedback control } { Version 4.0.4 (Merlion) } { (c) J. W. Dietrich, 1994 - 2021 } { (c) Ludwig Maximilian University of Munich 1995 - 2002 } { (c) Ruhr University of Bochum 2005 - 2021 } { This unit delivers the launch dialog with s...
unit U_mvc; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls,uCanvasDemo; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; Image1: TImage; Label1: TLabel; Label2: TLabel; Label3...
unit RPFUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, FileCtrl, WinSock2, Buttons; const ICMPDLL = 'icmp.dll'; WS2_32DLL = 'WS2_32.DLL'; MAXIPNOTE = 255; IPJOIN = '.'; IPADDRFORMAT = '%0:D.%1:D.%2:D.%3:D'; SI...
unit ProdutoValidade; interface uses SysUtils, Contnrs; type TProdutoValidade = class private Fcodigo :Integer; Fcodigo_entrada :Integer; Fcodigo_item :Integer; Fquantidade :Real; Fvalidade :TDateTime; FCodigo_lote: Integer; FCodigo_produto: Integer; FCodigo_estoque_validade: Int...
unit DeliveryControllerInterface; interface uses System.Generics.Collections, uDelivery; type IDeliveryController = interface ['{243F5393-3AC6-42A3-B717-DAF44406FA46}'] function Save(const ADelivery: TDelivery) : IDeliveryController; function GetDeliveryList: TObjectList<TDelivery>; end; implemen...
unit DasmCF; (* The disassembler control flow information data structures module of the DCU32INT utility by Alexei Hmelnov. ---------------------------------------------------------------------------- E-Mail: alex@icc.ru http://hmelnov.icc.ru/DCU/ ------------------------------------------------------------------------...
unit PRenameCard; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms; type TCardValue = 1..13; TCardSuit = (Spades, Diamonds, Clubs, Hearts); TShortSuit = (S, D, C, H); TDecks = (Standard1, Standard2, Fishes1, Fishes2, Beach, Leaves1, Leaves2, Robot, Roses, Shell, Castle...
module hier_write_file; define hier_write_file_open; define hier_write_file_close; %include 'hier2.ins.pas'; { ******************************************************************************** * * Subroutine HIER_WRITE_FILE_OPEN (FNAM, SUFF, WR, STAT) * * Open a file for writing a hierarchy to it. FNAM is the file ...
unit BoardItemSettings; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Grids, Project, Outlines, OutlineDisplayer, Adjuster; type TBoardItemSettingsForm = class(TForm) Grid: TStringGrid; Panel1: TPanel; ScrollBox1: TScr...
unit data; interface uses SysUtils, Classes, DB, ADODB; type TDataModule2 = class(TDataModule) database: TADOConnection; tbEmployee: TADOTable; tbProduct: TADOTable; qAllProducts: TADOQuery; tbServiceIndex: TADOTable; tbServiceOne: TADOTable; tbServiceTwo: TADOTable; ...
{***************************************************************} { Copyright (c) 2013 год . } { Тетенев Леонид Петрович, ltetenev@yandex.ru } { } {*******************************************************...
unit DataBanco; interface uses SysUtils, Classes, DB, ADODB, ppDB, ppComm, ppRelatv, ppDBPipe; type TDMB = class(TDataModule) qrBancoInventario: TADOQuery; qrBancoInventarioProductoID: TWideStringField; qrBancoInventarioProductoDes: TWideStringField; qrBancoInventarioCantidad: TBCDField; qrBa...
unit CursoGerenciador; {$MODE OBJFPC} interface uses Classes,fgl ,SysUtils,CursoModel; type TMyList = specialize TFPGObjectList<TCursoModel>; TCursoGerenciador = class public FLista : TMyList; public constructor Create; destructor Destroy; override; procedure gerenciar; p...
{**************************************************************************************************} { } { Asynchronous function calls utilizing multiple threads. } { ...
{ @abstract(This file is part of the KControls component suite for Delphi and Lazarus.) @author(Tomas Krysl) Copyright (c) 2020 Tomas Krysl<BR><BR> <B>License:</B><BR> This code is licensed under BSD 3-Clause Clear License, see file License.txt or https://spdx.org/licenses/BSD-3-Clause-Clear.html. } ...
unit uEndereco; interface uses SysUtils, StrUtils, IdHTTP, Jsons, XMLIntf; type TEndereco = class private FCidade: string; FUf: string; FCep: string; FBairro: string; FLogradouro: string; FPais: string; FLocalizado: boolean; public constructor Create(PCep: st...
unit uDocuments; interface uses SysUtils, Classes, Graphics, Controls, Forms, JvTabBar, SynEdit, SynEditKeyCmds, SynEditTypes, SynEditMiscClasses, Windows, uExSynEdit, pMpqReadWrite, JvDockControlForm, ExtCtrls, StrUtils, SynJass, uOptions, JassUnit, Dialogs, uCodeFolding, SynEditCodeFolding, SynMdl; ...
unit rIpTools; interface type RIpAddr = record case Byte of 0: (Socket: Cardinal); 1: (Oktets: array [0..3] of Byte); end; PIpData = ^RIpData; RIpData = record Address: RIpAddr; Net: RIpAddr; Mask: RIpAddr; Gateway: RIpAddr; end; Bits = array [0..7] of Boolean; functi...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2013 Embarcadero Technologies, Inc. } { } {*****************************...
unit Main; interface uses DSharp.Core.Weak; type IChild = interface; IParent = interface ['{62DC70E1-8D82-4012-BF01-452EB0F7F45A}'] procedure AddChild(const AChild: IChild); end; IChild = interface ['{E1DB1DA0-55D6-408E-8143-072CA433412D}'] function GetParent: IParent; end; TParent = ...
unit ScreenPrint; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TFormPrint = class(TForm) ButtonPrintBigImage: TButton; ButtonColorSpaceArray: TButton; ButtonHistograms: TButton; ButtonCancel: TButton; ButtonPrintSmallI...
unit SettingsFrmKeys; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Editor; type TSetKeysForm = class(TForm) GroupBox1: TGroupBox; Image1: TImage; SelectTComboBox: TComboBox; GroupBox2: TGroupBox; Image2:...
unit DW.Services; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platform Library } { ...
unit eventobjs; interface uses w3c.dom, SmartCL.Components, SmartCL.System; type TEventObjTriggeredEvent = procedure (sender:TObject;EventObj:JEvent); TEventObj = class(TObject) private FOwner: TW3TagObj; FAttached: Boolean; FEventName: String; protected procedure HandleEvent...
unit SubWindows; {********************************************** Kingstar Delphi Library Copyright (C) Kingstar Corporation <Unit> SubWindows <What> 某些子类化的窗口 <Written By> Huang YanLai <History> **********************************************} interface uses windows,Messages,classes,sysutils,Wi...
unit MateriaPrima; interface uses SysUtils, Contnrs; type TMateriaPrima = class private Fcodigo: integer; Fvalor: Real; Fdescricao: String; procedure Setcodigo(const Value: integer); procedure Setdescricao(const Value: String); procedure Setvalor(const Value: Real); public pro...
unit ZConnectionFactory; interface uses ConnectionInfo, AbstractConnectionFactory, ZConnection, SysUtils, Classes; type TZConnectionFactory = class (TAbstractConnectionFactory) private FProtocol: String; FClientCodePage: String; public constructor Create( con...
unit CnRandomExpression; interface uses Classes, SysUtils, Windows, Contnrs, Math; type TCnRandomExpressionPreSet = (rep10, rep20, rep10Add2, rep20Add2, rep10Sub2, rep20Sub2, rep10AddSub2, rep20AddSub2, rep100AddSub2, rep10Multiple2, rep10Div2, rep10MulDiv2, rep10DivMod2); TCnRandomCompare...
{$MODESWITCH RESULT+} {$GOTO ON} (************************************************************************* Cephes Math Library Release 2.8: June, 2000 Copyright 1984, 1987, 2000 by Stephen L. Moshier Contributors: * Sergey Bochkanov (ALGLIB project). Translation from C to pseudocode. See subrout...
unit Unit1; interface type ProductA1 = class; ProductB1 = class; AbstractFactory = class public function PrintProductA: string; virtual; abstract; function PrintProductB: string; virtual; abstract; end; ConcreteFactory1 = class(AbstractFactory) private fProductA1: ProductA1; fProductB1...
unit EditFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,ComCtrls, Dialogs, SynEdit, ELSuperEdit, SynExportHTML, SynEditExport, SynExportRTF, SynHighlighterURI, SynHighlighterRC, SynCompletionProposal, SynEditOptionsDialog, SynEditMiscClasses, SynEdit...
unit ExcecaoMetodoNaoImplementado; interface uses SysUtils; type TExcecaoMetodoNaoImplementado = class(Exception) public constructor Create(NomeDaClasse :String; NomeDoMetodo :String); end; implementation { TExcecaoMetodoNaoImplementado } constructor TExcecaoMetodoNaoImplementado.Create(NomeDaClasse, ...
unit AErenderLauncher.Math.ExpParser; interface uses System.SysUtils, System.Classes, System.DateUtils, System.Math, System.Generics.Collections; type TAssociativity = (asNone,asLeft, asRight); TOperatorRec = record iOperator: char; Precedence: integer; associativity: TAssociativity; end; //Ex...
unit ufrm_usuario; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Actions, System.ImageList, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ActnList, Vcl.ImgList, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Vcl.Mask, ...
unit uPSI_dynmatrix; {$MODE Delphi} { This file has been generated by UnitParser v0.7, written by M. Knight and updated by NP. v/d Spek and George Birbilis. Source Code from Carlo Kok has been used to implement various sections of UnitParser. Components of ROPS are used in the construction of UnitParser, co...
program Drawing; {$mode objfpc}{$H+} uses Types, MUIClass.Base, MUIClass.Window, MUIClass.DrawPanel, AGraphics; type TMyWindow = class(TMUIWindow) public Down: Boolean; procedure PaintMe(Sender: TObject; RP: PRastPort; DrawRect: TRect); procedure MouseDown(Sender: TObject; MouseBtn: TMUIMouseBtn; X,Y:...
unit DiscountDialog; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorDialog, Vcl.ActnList, dsdAction, cxClasses, cxPropertiesStore, dsdAddOn, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPaint...
Unit U2chCat; (* 2ちゃんねる カテゴリ(分類内のボード一覧を内包) *) (* Copyright (c) 2001,2002 Twiddle <hetareprog@hotmail.com> *) interface uses Classes, U2chBoard, FileSub; type (*-------------------------------------------------------*) (* 分類 *) TCategory = class(TList) private function GetItems(index: integer): TBoar...
unit for_png; interface uses Windows, ActiveX; type PixelFormat = Integer; TPixelFormat = PixelFormat; const PixelFormatAlpha = $00040000; // Has an alpha component PixelFormatIndexed = $00010000; // Indexes into a palette PixelFormatGDI = $00020000; // Is a GDI-supported...
unit umain; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, Buttons, StdCtrls, acs_file, acs_audio, EditBtn,acs_classes,acs_mixer; type { TfMain } TfMain = class(TForm) bOpen: TBitBtn; AudioIn1: TACSAudioIn; FileOut1: TACSF...
unit AddActions; interface uses ActnList, Classes, Menus, Contnrs, DB, Grids, DBGridEh; type TArrayAction = array of TAction; TOnSetDefaultValue = procedure( Sender: TObject ) of Object; TOnFilterParam = procedure( Sender: TObject; const DialogIdent: Integer ) of Object; TPopMenuAction = Class( TA...
unit uDmItem; interface uses System.SysUtils, System.Classes, Data.FMTBcd, Datasnap.Provider, Data.DB, Data.SqlExpr, Datasnap.DBClient, uDmConexao, uItemModel, Data.DBXFirebird, System.Generics.Collections; type TDmItem = class(TDataModule) SQLPesquisar: TSQLDataSet; SQLInserir: TSQLDataSet; SQLA...
unit MemStrTools; interface uses Windows; type Utils = class Stack: PByte; offset: Integer; private function DoubleAsInt64(Value: double): int64; function IsDigit(c: Char): Boolean; function IsLetter(c: Char): Boolean; function CdeclCall(p: Pointer; StackData: Pointer; StackDataLen: Longi...
unit View.OthIncomeOutcomeDefListForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, View.TemplateForm, Data.DB, Vcl.Menus, GrdPMenu, JvComponentBase, JvFormPlacement, Vcl.Grids, Vcl.DBGrids, JvExDBGrids, J...
unit winconst_country; interface const { Country Codes. } CTRY_DEFAULT = 0; CTRY_AUSTRALIA = 61; { Australia } CTRY_AUSTRIA = 43; { Austria } CTRY_BELGIUM = $20; { Belgium } CTRY_BRAZIL = 55; { Brazil } CTRY_CANADA = 2; { Canada } CTRY_DENMARK = 45; { Denmark } CTRY_FINLAND = 358; { Finland } CTRY_F...
{**********************************************************************} { } { "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 comp...
unit Test.GeneratorClassMethods; interface uses DUnitX.TestFramework, System.Classes, System.SysUtils, System.Variants, Data.DB, FireDAC.Comp.Client, Comp.Generator.DataProxy, Helper.DUnitAssert; {$TYPEINFO ON} type [TestFixture] TestGeneratorClassMethods = class(TObject) private fOwner:...
unit Unit2; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, TxtDB,TxtDBEx, StdCtrls, Db, ExtCtrls, DBCtrls, Grids, DBGrids; type TForm1 = class(TForm) DBGrid1: TDBGrid; DataSource1: TDataSource; OpenDialog: TOpenDialog; Memo1: TMemo; Panel1: TPanel; ...
unit uPSI_user_charts; { This file has been generated by UnitParser v0.7, written by M. Knight and updated by NP. v/d Spek and George Birbilis. Source Code from Carlo Kok has been used to implement various sections of UnitParser. Components of ROPS are used in the construction of UnitParser, code implementing the clas...
unit rfFindGood_Unit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, FrontData_Unit, BaseFrontForm_Unit, AdvSmoothTouchKeyBoard, ExtCtrls, AdvPanel, StdCtrls, Grids, AdvObj, BaseGrid, AdvGrid, DBAdvGrid, DB, kbmMemTable, AdvSmoothButton; type T...
(* Adapted from umb$disk2:[math.cs210.calc]oldstp2.pas *) TYPE StackEltType = TreeType; Snode = RECORD Item : StackEltType; Prev : ^Snode END; StackType = ^Snode; (***********************************************************************) PROCEDURE Make (VAR S : ...
program example(input, output; var x,y: integer; function gcd(a b:intege):integer; begin if b = 0 then gcd:=a else gcd := gcd(b, a mod b) end; begin read x, y); a:=bc; a:=2a; b=2b; a:=b:=c; write(gcd(x y)) end.
unit UFrameAnimation; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted 2003 by Bradford Technologies, Inc. } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCt...