text
stringlengths
14
6.51M
unit ColorBtn; // Компонент - цветная кнопка interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TColorBtn = class(TButton) private IsFocused: boolean; FCanvas: TCanvas; F3DFrame: boolean; FButtonColor: TColor; pro...
(**************************************************************************) (* UNIT SvgaINI *) (* ฤฤฤฤฤฤฤฤฤฤฤฤฤฤ *) (* Defines Color / Driver for CONST xx = ColorNo; *) (*******...
(***************************************************************************) (* *) (* xGreed - Source port of the game "In Pursuit of Greed" *) (* Copyright (C) 2020-2021 by Jim Valavanis *) (* ...
unit unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, ComCtrls, OpenGLContext, dglOpenGL; type { TForm1 } TForm1 = class(TForm) Image1: TImage; Panel1: TPanel; Timer1: TTimer; Toggle...
unit EnumStuff; // Delphi 4,5 enumeration implementation of several win32 APIs // Dragon PC interface uses windows; type TACardinal = array[0..maxInt shr 2 - 1] of cardinal; TPACardinal = ^TACardinal; TDACardinal = array of cardinal; type TOperatingSystem = (osUnknown, osWin311, osWin95, osWin95...
unit cutter; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, GR32_Image, ComCtrls, Asif, AsifAdditions, Math, System.UITypes; type TCutRange = class private FCutStart: Integer; FCutEnd: Integer; public constructor Create...
unit UWinSerial; interface uses Windows, Messages, SysUtils, Variants, Classes; type // no overlap TWaitCharEvent=function ():boolean of object; TSerialLite=class protected FHandle:THANDLE; function Dummy():boolean; public OnWaitChar:TWaitCharEvent; function Open(const APort:stri...
unit AnaliziPoDenovi; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, TeeProcs, TeEngine, Chart, DbChart, DB, ADODB, StdCtrls, Buttons, ComCtrls, Series, DBCtrls; type TAnaliziPoDenoviForm = class(TForm) DBChart: TDBChart; OdDat...
{----------------------------------------------------------------------------- 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/MPL-1.1.html...
unit gm_ground; interface uses zglHeader, gm_patterns; type TTile = record Pat : TGroundPat; FrameN : Byte; end; type TGround = class Width : Integer; Height : Integer; Tiles : array of array of TTile; constructor Create(W, H: Integer); destructor Destroy; override; ...
unit frmequipos; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus, ButtonPanel, ExtCtrls, StdCtrls, ExtDlgs, DBGrids, DBCtrls, EditBtn, frmAbm, DB, sqldb; type { TAbmEquipos } TAbmEquipos = class(TAbm) CheckBoxNuevoActivo: TChe...
unit uPadraoDao; interface uses uDMDataBase,System.SysUtils, System.Classes, 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.MySQL, FireDAC.Phys.MySQLDef, FireDAC.VCLUI.Wait, Dat...
unit PortConnection; interface Uses // VCL Forms, Windows, Classes, Registry, SysUtils, SyncObjs, ExtCtrls, // This PrinterConnection, PrinterProtocol1, SerialPort, SrvParams, FiscalPrinterTypes, FiscalPrinterDevice, OposSemaphore, PrinterTypes, LogFile, PrinterPort; type TPort = class; TPortsLink = cl...
unit analyzingFunctions; {Unit containing functions used to analyse and modify strings.} interface type tSeparate = record {Used for separating functions into subfunctions.} left : string; right : string; oper : char; end; tArguments = ...
{ ******************************************************************************* Copyright 2010-2016 Daniele Teti 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...
unit ce_processes; {$I ce_defines.inc} interface uses Classes, SysUtils, ExtCtrls, process, asyncprocess; type { The common process runner used in Coedit. This class solves several issues encountered when using TProcess and TAsyncProcess: - OnTerminate event is never called under Linux. ...
{----------------------------------------------------------------------------- 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/MPL-1.1.html...
Unit pilasChar; interface Procedure InitStackChar (VAR topPointer : Integer); Function IsEmptyChar (topPointer : Integer): Boolean; Function IsFullChar (topPointer : Integer): Boolean; Function TopChar (var myStack : Array of Char; topPointer : Integer): Char; Function PopChar (var myStack : Array of Char; var topPoi...
{ Copyright (C) 2006-2015 Matteo Salvi Website: http://www.salvadorsoftware.com/ 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 your option) any later versio...
unit typelib; {$mode objfpc}{$H+} { Typelib import routines. Creates freepascal bindings for COM objects stored in .tlb, .dll, .exe or .olb files. Copyright (C) 2011 Ludo Brands This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License...
// // Dragon // A game for Windows based on a modified and improved version of the // DelphiDoom engine // // Copyright (C) 1993-1996 by id Software, Inc. // Copyright (C) 2004-2022 by Jim Valavanis // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Genera...
{----------------------------------------------------------------------------- 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/MPL-1.1.html...
unit UserUtil; interface uses Windows, Messages, SysUtils, Variants, Classes, uLkJSON; type TSettings = class(TObject) public NewMessages: boolean; NewFriends: boolean; NextUser: word; PredUser: word; SendMessage: word; function CheckEdit(EnterKey: word): boolean; c...
{ CoreGraphics - CGPSConverter.h * Copyright (c) 2003-2008 Apple Inc. * All rights reserved. } { Pascal Translation: Peter N Lewis, <peter@stairways.com.au>, August 2005 } { Pascal Translation Updated: Jonas Maebe, <jonas@freepascal.org>, October 2009 } { Pascal Translation Updated: Jonas Maebe, ...
unit NovusROSessionManager; interface uses SysUtils, Classes, uROClient, uROSessions; type TBeforeCheckSessionIsExpired = procedure(Sender: TObject; aSession : TROSession) of object; TAfterCheckSessionIsExpired = procedure(Sender: TObject; aSession : TROSession; aSessionIDString: String; Var IsExpired: Boolean...
unit tsvMaskEdit; interface {$I stbasis.inc} uses Windows, Classes, Graphics, Forms, Controls, Buttons, Dialogs, StdCtrls, ExtCtrls, DsgnIntf, Grids, Mask; type TfmMaskEditor = class(TForm) bibOk: TButton; bibCancel: TButton; sgValues: TStringGrid; lbTest: TLabel; meTest: TMaskEdit; lb...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2013 Embarcadero Technologies, Inc. // www.embarcadero.com // // This is example source code, provided as is and without warranty. // You may only use this software if you are an authorized licensee // ...
program mathpointer; uses uInterception, uInterceptionUtils, Math, Types; type point = object x: double; y: double; class function Create(const Ax, Ay: Double): point; static; end; { point } class function point.Create(const Ax, Ay: Double): point; begin Result.x := Ax; Result.y := Ay; end; t...
unit FacilitaFiscal.View.Styles.Colors; interface const H0 = 28; H1 = 24; H2 = 18; H3 = 16; H4 = 14; H5 = 12; H6 = 10; H7 = 8; COLOR_BACKGROUND = $001E1213; COLOR_BACKGROUND_DARK = $00110A0B; COLOR_HIGHLIGHT_MAIN = $00620FDD; COLOR_HILIGHT_SECOND = $004600FA; COLOR_BUTTON = $004A1379; CO...
unit searcher_u; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ComCtrls; type TfrmSearcher = class(TForm) btnOk: TButton; btnCancel: TButton; grpSearcher: TGroupBox; lblInfo: TLabel; lblFinderTool: TLabel; imgTool:...
unit Def_know; (* ModuleDataTable --------------- //Состоит из ModuleCount записей вида WORD ID; PSTR ModuleName; PSTR Filename; WORD UsesNum; WORD UsesID[UsesNum]; //Массив идентификаторов модулей PSTR UsesNames[UsesNum]; //Массив имен модулей ConstDataTable -------------- //Состоит из ModuleCount записей вид...
unit UntAdmin; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, System.Rtti, FMX.Grid, FMX.Layouts, FMX.Edit, FMX.TabControl, system.StrUtils, system.IniFiles, System.IOUtils, IntfComma...
unit UConfigDB; interface uses inifiles, classes, SysUtils; type TConfigDB = Class(TPersistent) private Fip_servidor: string; FDB: string; Fporta: string; FLicensa: string; FDBAuxiliar: string; published property ip_servidor: string read Fip_servidor write Fip_servidor; ...
unit CCompactDatafileFormUnit; interface {$WARN UNIT_PLATFORM OFF} uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CProgressFormUnit, ImgList, PngImageList, ComCtrls, CComponents, StdCtrls, Buttons, ExtCtrls, CDatabase; type TCCompactDatafileForm = class(TCProgressFo...
unit ShowLogMail; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ChildFrm, Data.DB, MemDS, DBAccess, Ora, Vcl.StdCtrls, Vcl.Buttons, sBitBtn, Vcl.ExtCtrls, sPanel, udm, Func_Const, TimedMsgBox, ShellAPI, CR...
object DebugWindow: TDebugWindow Left = 192 Top = 77 Width = 648 Height = 660 Caption = 'Debug window' Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] FormStyle = fsStayOnTop KeyPreview = True...
unit oglLighting; {$mode objfpc}{$H+} interface uses LCL, LCLType, SysUtils, Controls, Forms, StdCtrls, ExtCtrls, Buttons, dglOpenGL, oglVector, oglMatrix, oglVAO; type { TLighting } TLighting = class(TObject) private FVAO: array of TTriangleVAO; public position, ambient, diffuse, specula...
unit URptTestThread; interface {$I stbasis.inc} uses Classes,Forms, Controls, ComObj, SysUtils, RptThread; type TRptThreadTest=class(TRptExcelThread) private procedure CreateReport; procedure FreeReport; public constructor Create; override; procedure Execute; override; destructor Destroy;o...
{******************************************************************************} { } { Lan Manager Service Names API interface Unit for Object Pascal } { ...
unit CDM_BillDispenser; (* ****************************************************************************** * 设备: 广电运通 * 动态库:GRGCDMDevDllD.dll(此动态库文件大小:281kb) GRGCDMDevDll.dll (此动态库文件大小:92kb) DevDriverLog.dll (132kb) ****************************************************************************** *) interface...
unit EditCustomer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, CustomizeDlg, ActnMan, ActnColorMaps, Buttons, ExtCtrls, Spin, ComCtrls,AdoDB, HolderEdits; type TfrmEditCustomer = class(TForm) Panel2: TPanel; btnCancel: TBitBtn; ...
unit UUnidadeMedida; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, RbDrawCore, RbButton, ExtCtrls, StdCtrls, DBCtrls, DB, Mask, Grids, DBGrids, RXDBCtrl, RXCtrls, Buttons, rxToolEdit; type TFUnidadeMedida = class(TForm) PaginaControle: TPageC...
unit uTipoProcessamento; interface type TTipoProcessamento = ( tppGerada, tppAutorizada, tppCancelada); function TipoProcessamentoToStr(const t: TTipoProcessamento): string; function StrToTipoProcessamento(const s: string): TTipoProcessamento; implementation const TTipoProcessamento_Codigo : ar...
{----------------------------------------------------------------------------- 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/MPL-1.1.html...
unit uOrganizacaoModel; interface { table CREATE TABLE ORGANIZACAO ( ID_ORGANIZACAO VARCHAR(36) NOT NULL, RAZAO_SOCIAL VARCHAR(50) NOT NULL, SIGLA VARCHAR(10) NOT NULL, FANTASIA VARCHAR(50), CNPJ VARCHAR(20) NOT NULL, INSCRICAO_ESTADU...
unit MWNModule; // MyWormNet Module: module for MyWormNet built-in WormNAT support // almost identical to SOCKS interface uses Base, Windows, Classes, SysUtils, WinSock, Data, IniFiles; // options var MWNPort: Integer; procedure LoadConfig(F: TCustomIniFile); type TMWNLink = ...
unit UABMDescDestEmbrion; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, UAbmSimple, IBCustomDataSet, IBUpdateSQL, Menus, DB, ImgList, IBQuery, WinXP, DataExport, DataToXLS, IBStoredProc, ActnList, StdCtrls, Buttons, Grids, DBGrids, UBDBGrid, ComCtrl...
{ ******************************************************************************* Title: T2Ti ERP Description: Janela de Lançamentos para o módulo Contabilidade The MIT License Copyright: Copyright (C) 2010 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this soft...
program p183719; { Создать файл, содержащий сведения о книгах в библиотеке. Формат сведений: фамилия автора, название книги, год издания. Отчеты. 1. Книги указанного автора в хронологическом порядке. 2. Исходный неупорядоченный список. } { Gusyatiner L.B. aka lamed RFPRO, 01.07.2011 / МГОТУ ККМТ, 12.05.2019} use...
unit OperacaoBancariaEntidade; interface type TOperacaoBancariaEntidade = class private FCodigo: integer; FCodigo_Propriedade: integer; FCodigo_Usuario: integer; FOperacao: AnsiString; FTipo: AnsiString; FData_Cadastro: TDateTime; procedure SetCodigo(const Value: integer...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://localhost:8082/DemoCadastroEjb/CadastroService/CadastroFacade?wsdl // >Import : http://localhost:8082/DemoCadastroE...
unit Soccer.VotingRules.DLLRule; interface uses System.SysUtils, System.Classes, System.IOUtils, System.Generics.Collections, System.Types, System.StrUtils, {$IFDEF MSWINDOWS} Winapi.Windows, {$ENDIF} Soccer.Exceptions, Soccer.Preferences, Soccer.Rule.Abstract, Soccer.Voting.RulesDict; type ...
unit SyncSoket; interface uses IdIOHandler, IdIOHandlerSocket, IdSSLOpenSSL, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdIOHandlerStack, IdSSL, SysUtils, IdGlobal, Registry, Windows, IdException, Dialogs, Entity, uJSON, MotileThreading, forms, StrUtils; type TSyncSoketClient ...
unit General; interface uses SysUtils, Classes, Dialogs, Graphics, Windows, Forms, ExtCtrls, Controls, fQIPPlugin, u_common, IniFiles, DownloadFile, Window, EditContact, AddFeed, ContactDetails, Options, About, uOptions, AccountSetting, Updater, ImportExport; const downTimeout: DWORD = 3000; //ms defD...
{******************************************************************************} { } { Delphi JOSE Library } { Copyright (c) 2015-2022 Paolo Rossi ...
unit BlockAC; { AC technological block } interface uses IniFiles, Block, Menus, AreaDb, SysUtils, Classes, IdContext, Generics.Collections, Area, Graphics; type TACState = (stopped = 0, running = 1, paused = 2); TBlkACSettings = record accessToken: string; end; TBlkACState = record enabled: Boo...
program TowersOfHanoi; var disks : integer = 3; procedure Hanoi( source, temp, destination : string; n : integer ); begin if n > 0 then begin Hanoi(source, destination, temp, n-1); writeln(" Move disk " , n, " from tower ", source, " to tower " , des...
{ SOLO RECONOCE FRASES SEGUN LA SIGUIENTE EBNF: E -> V((+|*) E)* V -> ('0'|'1'|'2'|'3'|'4'|'5'|'6'|'7'|'8'|'9')+ } Program ej1Bis; Uses pilas, sysutils; { PARA QUE RECONZCA FRASES SEGUN LA SIGUIENTE EBNF HAY QUE IMPLEMENTAR CADA UNA DE LAS REGLAS DECSRITAS EN LA MISMA: E -> T['+'E] T -> F['*'T] F -> V |...
unit WormNATServer; {------------------------------------------------------------------------------- | A proxy for WormNAT routing. | (C) CyberShadow - 2006 | (C) StepS - 2013-2014 |------------------------------------------------------------------------------- | FEATURES: | | - Nostalgia | - Almost totally ...
unit UntCommunicationFactory; interface uses System.SysUtils, UntArduinoCommunication, CommunicationConst, UntArduinoAdminData, UntMessageParser, UntClientSession, UntClientConfig, UntIpAddress, UntCommand, UntCmdConnect; type TCommunicatorFactory = class private public class function Ge...
unit MainForm; interface uses SysUtils, Classes, Graphics, Controls, Forms, StdCtrls, StrUtils, ooBenchmark.Report, ooBenchmark.Item.Intf, ooBenchmark.Item; type TMainForm = class(TForm) Button1: TButton; Memo1: TMemo; procedure Button1Click(Sender: TObject); private procedure PosMethod; ...
program checkCase; var grade: char; begin grade := 'A'; case (grade) of 'A': writeln("A"); 'B': writeln("B"); end; end.
{ Copyright 2012 - Juan Luis Rozano (jlrozano@gmail.com) This file is part of DminiORM DminiORM is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at you...
unit LA.Data.Sensor; interface uses System.Classes, System.Generics.Collections, LA.Data.Link.Sensor, LA.Data.Source; type TLASensorList = class; /// <summary> /// Невизуальный компонент Датчик Мониторинга /// содержит линк на датчик Мониторинга TLASensorLink /// Поддерживает возможность связ...
{ compiler.pas Compiling, Linking and Registering in Emulator methods Copyright (C) 2006-2007 Felipe Monteiro de Carvalho This file is part of MkSymbian build tool. MkSymbian is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Fr...
unit formhelp; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; type { TfrmHelp } TfrmHelp = class(TForm) mmoHelp01: TMemo; procedure FormActivate(Sender: TObject); procedure FormClose(Sender: TObject; var CloseAction: ...
Procedure IterativeReverse(TheNumber : integer); Begin Repeat write(TheNumber Mod 10:1); TheNumber := TheNumber Div 10; Until TheNumber = 0 End; {IterativeReverse}
//--------------------------------------------------------------------------- // 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/ ...
program Busqueda_Dicotomica_Max_Min; uses CRT; const dimF=8; type vectornum = array [1..dimF] of integer; Procedure ImprimirVector (v: vectornum; dimL:integer ) ; var i : integer; begin writeLn('Nros almacenados:'); writeLn(); for i:=1 to dimL do begin write(v[i],' '); end; write...
{ Copyright (c) 2020, Vencejo Software Distributed under the terms of the Modified BSD License The full license is distributed with this software } unit DatabaseValueFormat_test; interface uses Classes, SysUtils, DatabaseValueFormat, {$IFDEF FPC} fpcunit, testregistry {$ELSE} TestFramework {$ENDIF}; ty...
unit uProdutosDAO; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.StdCtrls, Vcl.ExtCtrls, System.UITypes, uProdutos, Datasnap.DBClient, UniProvider, MySQLUniProvider, Data.DB, DBAccess, Uni; type TSearchField = (sfCodigo, sfDescric...
{************************************************} { } { Turbo Vision Demo } { Copyright (c) 1992 by Borland International } { } {************************************************} { additions we...
unit uDevices; interface uses uAbstractDevice; type TTv = class(TDevice) protected FChannel: Integer; FVolume: Integer; FEnable: Boolean; function getVolume: Integer; override; procedure setVolume(APercent: Integer); override; function getChannel: Integer; override; procedure setChann...
{ Translation of the LDAP lber headers for FreePascal Copyright (C) 2006 by Ivo Steinmann } unit lber; {$mode objfpc} interface {$linklib lber} {$include lber_typesh.inc} {$include lberh.inc} implementation function LBER_INVALID(t: ber_tag_t): ber_tag_t; // #define LBER_INVALID(t) (((t) & (ber_tag_t) = $...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ShlObj, IniFiles; type TMain = class(TForm) GameCB: TComboBox; SelectGameLbl: TLabel; GameGB: TGroupBox; WindowModeCB: TCheckBox; VideoGB: TGroupBox; DebugMenuCB: TC...
unit uDialog; { 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/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software ...
unit SalePricePS; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Base1PS, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, dxSkinsCore, dxSkinsDefaultPainters, dxSkinscxPCPainter, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdi...
program ExampleScanForTags; {$ifdef MSWINDOWS}{$apptype CONSOLE}{$endif} {$ifdef FPC}{$mode OBJFPC}{$H+}{$endif} uses SysUtils, IPConnection, BrickletNFC; type TExample = class private ipcon: TIPConnection; nfc: TBrickletNFC; public procedure ReaderStateChangedCB(sender: TBrickletNFC; const state...
{ Delphi Yacc & Lex Copyright (c) 2003,2004 by Michiel Rook Based on Turbo Pascal Lex and Yacc Version 4.1 Copyright (c) 1990-92 Albert Graef <ag@muwiinfa.geschichte.uni-mainz.de> Copyright (C) 1996 Berend de Boer <berend@pobox.com> Copyright (c) 1998 Michael Van Canneyt <Michael.VanCanneyt...
unit ThreadProgressbar; interface uses ComCtrls, Classes, Controls, StdCtrls, Forms; //type // TThreadProgressbar = class(TThread) // private // { Private declarations } // procedure InicializaProgresso; // procedure PreencheProgresso; // procedure Termino(Sender : TObject); // protected // procedu...
unit cPatternTableSettings; interface uses sysutils, contnrs; type TPatternTableSetting = class public MemoryOffset : Byte; RowsToLoad : Byte; PRGBank : Byte; function GetAddress() : Integer; procedure SetAddress(pAddress : Integer); function NumberOfBytesToLoad() : Integer; procedu...
unit SQLiteDS; { This is TSqliteDataset, a TDataset descendant class for use with fpc compiler Copyright (C) 2004 Luiz Américo Pereira Câmara Email: pascalive@bol.com.br This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as ...
unit fhir2_resources_other; { Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.com.au) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Red...
program linesusr; {Written by D. Collins -- Z80Dad } {https://www.youtube.com/channel/UCjZ2WbeE613IUGZslI0kFfw } {(C) 2020 David Collins, Permission given to distribute freely with no } {warrentee of quality, or against loss or damages. ...
unit uplaygroundclasses; interface uses SysUtils, Classes, Graphics, Types, AcTypes, Au3DAudioRenderer; type TPlayground = class; TObj = class private FX, FY, FWidth, FHeight: Single; FParent: TPlayground; FSelected: Boolean; procedure SetX(AValue: Single);...
unit Forms.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AdvUtil, Vcl.Grids, AdvObj, BaseGrid, AdvGrid, DBAdvGrid, Data.DB, Modules.DBController, Vcl.StdCtrls; type TFrmMain = class(TForm) Grid: ...
{******************************************************************************* * Missing Stream API Declarations * * Author: Denes Solti *******************************************************************************} unit winapi.streams; {$ifdef FPC} {$mode delphi} {$endif} {$H+} interface uses JwaA...
unit Spielrunde; interface uses System.Generics.Collections, Spieler, Spiel; type ISpielrunde = interface ['{8BF9CF13-B7D8-4397-8FC5-96F8889A817C}'] procedure SpieleAuslosen; function GetSpiele: TArray<ISpiel>; property Spiele: TArray<ISpiel> read GetSpiele; end; TSpielrunde = class(T...
unit ExprMake; interface uses ExprDraw,SysUtils; type TExprBuilder=class protected Build:Boolean; P:Integer; S:string; function Preprocess(S:string):string; proce...
unit uController.ORM; interface uses System.Generics.Collections, FireDAC.Comp.Client, Data.DB, System.SysUtils; type TOrmGarbageCollector = class constructor create; destructor destory; private FObjects: TObjectlist<TObject>; procedure SetObjects(const Value: TObjectlist<TObject>); published ...
unit uContaBancariaDAO; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, uBancoDAO, uBancoModel, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,uC...
unit UDefLangs; (* UDefLangs.pas - writer for ZMDefLangs TZipMaster VCL by Chris Vleghert and Eric W. Engler v1.79 Copyright (C) 2005 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 by the Fre...
unit Tools; // 2003 PA // Обёртка для SHBrowseForFolder interface Const BIF_NEWDIALOGSTYLE=$40; {Неописаная в Delphi константа - параметр отображения диалога выбора папок (новый стиль)} Var LastFOPath:string; function BrowseDialog(Const Title:string;Const Flag: integer;Const StartDir:string = ''): string; imp...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
unit ActiveX; interface uses Windows; const VT_PTR = 26; { [T] pointer type } VT_CARRAY = 28; { [T] C style array } VT_USERDEFINED = 29; { [T] user defined type } VT_UI1 = 17; { [T] unsigned char ...
{$i deltics.strings.inc} unit Deltics.Strings.Fns.Ansi; interface uses SysUtils, Windows, Deltics.Strings.Types; type AnsiFn = class private class function AddressOfIndex(const aString: AnsiString; aIndex: Integer): PAnsiChar; overload; {$ifdef InlineMethods} in...
unit uServerContainer; interface uses System.SysUtils, System.Classes, Sparkle.HttpServer.Module, Sparkle.HttpServer.Context, Sparkle.Comp.Server, Sparkle.Comp.HttpSysDispatcher, Aurelius.Drivers.Interfaces, Aurelius.Comp.Connection, XData.Comp.ConnectionPool, XData.Server.Module, XData.Comp.Server, Sparkle...
unit uJogador; interface uses DateUtils, System.SysUtils, uExceptions, uEnumPosicoes, System.Classes, System.Generics.Collections; type TJogador = class(TObject) private FNome : String; FPosicao : TPosicoes; FDataNasc : TDateTime; FNacionalidade : String; FA...
unit fMVCView; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, aMCVModel, aMVCInterfaces, Vcl.StdCtrls; type TCalcEvent = procedure of object; TfrmMVCView = class(TForm) Label1: TLabel; edtValor1: T...
unit DBUtil; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, Grids, DBGrids, StdCtrls, ExtCtrls, DBXpress, SqlExpr, ADODB, ScktComp, WinSock, UserUtil; type TWorkWithDB = class(TForm) private prSQLQuery: TADOQuery; prSQLConnection: TADOCo...