text
stringlengths
14
6.51M
unit uMainDM; // EMS Resource Module interface uses System.SysUtils, System.Classes, System.JSON, EMS.Services, EMS.ResourceAPI, EMS.ResourceTypes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async,...
program abundant; const max = 20; var count, j: integer; function is_abundant(n: integer): boolean; var sum, i: integer; begin sum := 0; for i := 2 to round(n/2) do begin if ( n mod i = 0) then sum := sum + i; if (sum > n) then exit(true); en...
unit fFileProperties; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, cMegaROM, iNESImage; type TfrmFileProperties = class(TForm) lblFilename: TLabel; txtFilename: TEdit; lblMemoryMapper: TLabel; lblPRGCount: TLabel; lblCHRCount: ...
unit uLicencaItensVO; interface uses uTableName, uKeyField, System.SysUtils, System.Generics.Collections; type [TableName('Licenca_Itens')] TLicencaItensVO = class private FDataLcto: TDate; FCNPJCPF: string; FId: Integer; FDataUtilizacao: TDate; FLicenca: string; FSituacao: string; ...
{ TODO: Resolution change handling -> 163 Loading Cut <> Reverse caption } unit MenuFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Cnst, OmSpBtn, MainButtons; type TMenuForm = class(TForm) procedure FormCreate(Sender: TObj...
unit Model.Customer; interface uses MVCFramework.ActiveRecord; type [MVCTable('customers')] TCustomer = class(TMVCActiveRecord) private [MVCTableField('id', [foPrimaryKey, foAutoGenerated])] Fid: Integer; [MVCTableField('note')] FNote: String; [MVCTableField('code')] FCode: String; ...
unit ddRowProperty; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "dd" // Модуль: "w:/common/components/rtl/Garant/dd/ddRowProperty.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model, root element: <<SimpleClas...
program ejercicio7; const dimF = 24; //tamno del vector para las notas de cada alumno type str40 = String[40]; rangoMateria = 1..24; vMateria = array[rangoMateria] of Real; alumno = record numAlumno : Integer; apellido : str40; nombre : str40; mail : str40; anioIngreso : Integer; anioEgreso : Intege...
{ ---------------------------------------------------------------------------- zbnc - Multi user IRC bouncer Copyright (c) Michael "Zipplet" Nixon 2009 - 2010. Licensed under the MIT license, see license.txt in the project trunk. Unit: globals.pas Purpose: Project-wide global constants and vars -----------...
namespace Sugar.Test; interface uses Sugar, RemObjects.Elements.EUnit, Sugar.Data.JSON; type JsonValueTest = public class (Test) private method ValueOf(Value: Object): JsonValue; method Detect(Value: Object; Expected: JsonValueKind): JsonValue; public method AutodetectType; method ToInte...
{----------------------------------------------------------------------------- GlobalSearch (historypp project) Version: 1.0 Created: 05.08.2004 Author: Oxygen [ Description ] Here we have the form and UI for global searching. Curious can go to hpp_searchthread for internals of searching. ...
unit TTSUTLSCANTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSUTLSCANRecord = record PLenderNum: String[4]; PUtlNumber: String[20]; PCifFlag: String[1]; PLoanNumber: String[20]; PCollNum: SmallInt; PCategory: String[8]; PSubNum...
unit MailUtils; interface uses SysUtils; const csInvalidMailAddrChars = ['\', '/', ':', '*', '?', '"', '<', '>', '|']; function RemoveFullPath(const Path : string) : boolean; function GenMessageId(Date : TDateTime) : string; procedure TranslateChars(var str : string; fCh, tCh : char); function...
program rle; uses sysutils; function fileExists(fromFileName : string) : boolean; var f : TEXT; begin (*$I-*) assign(f, fromFileName); Reset(f); //Creates error if IOResult <> 0 then begin fileExists := FALSE; end else fileExists := TRUE; (*$I+*) end; function isNumber(c...
Program analyzer; type AIterator = class public constructor Create(); destructor Destroy(); virtual; function GetChar() : char; virtual; end; constructor AIterator.Create(); begin end; destructor AIterator.Destroy(); begin end; function AIterator.GetChar() : char; begin end; type Iter...
unit MVC_Blog.Model.Entity; interface uses Data.DB, MVC_Blog.Model.Conexao; type iModelEntidade = interface function DataSet ( aValue : TDataSource ) : iModelEntidade; procedure Open; end; iModelEntidadeFactory = interface function Produto : iModelEntidade; end; Type TModelEntidadeProduto ...
{ CSI 1101-X, Winter, 1999 } { Assignment 7 } { Identification: Mark Sattolo, student# 428500 } { tutorial group DGD-4, t.a. = Jensen Boire } program a7 (input,output) ; type bits = 0..1 ; nodeptr = ^node ; node = record bit: bits ; next: nodeptr end ; number = nodeptr ; markfile = text ; var memor...
unit InfoBSOATable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoBSOARecord = record PLenderID: String[4]; PTranDate: String[8]; PTranType: String[3]; PTranID: String[5]; PModCount: SmallInt; PAmount: Currency; PBalance: Currency; ...
unit StockInstantDataAccess; interface uses BaseApp, BaseDataSet, QuickList_int, Define_DealItem, define_stock_quotes_instant, DB_DealItem; type TDBStockInstant = class(TBaseDataSetAccess) protected fStockList: TALIntegerList; function GetRecordCount: Integer; override; function GetRecor...
unit TownHallJobsSheet; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, VisualControls, ObjectInspectorInterfaces, PercentEdit, GradientBox, FramedButton, SheetHandlers, ExtCtrls, InternationalizerComponent; const tidCurrBlock ...
unit CalcF; interface uses SysUtils, Windows, Classes, Graphics, Controls, StdCtrls, Forms, DBCtrls, DB, DBGrids, DBTables, Grids, ExtCtrls, DBClient; type TCalcForm = class(TForm) DBGrid1: TDBGrid; DBNavigator: TDBNavigator; Panel1: TPanel; Panel2: TPanel; DataSource1: TDataSource; c...
{ 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 atUserWorkContext; // Модуль: "w:\quality\test\garant6x\AdapterTest\OperationsFramework\atUserWorkContext.pas" // Стереотип: "SimpleClass" // Элемент модели: "TatUserWorkContext" MUID: (4808672500A0) interface uses l3IntfUses , DocumentUnit , DynamicDocListUnit , atDocumentHistory , atListHistory , Folder...
unit NLDTXDOMUtils; { :: NLDTXDOMUtils contains some convenience functions for use with OpenXML. :: Most noticeably, it provides the ability to translate characters into :: valid XML entities and back. :$ :$ :$ NLDTranslate is released under the zlib/libpng OSI-approved license. :$ For more in...
unit UserPropertyKeywordsPack; {* Набор слов словаря для доступа к экземплярам контролов формы UserProperty } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Admin\UserPropertyKeywordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "UserPropertyKeywordsPack" MUID: (1E34DCC9548E) {$Inclu...
{******************************************************************************* 作者: dmzn@163.com 2008-08-07 描述: 系统数据库常量定义 备注: *.自动创建SQL语句,支持变量:$Inc,自增;$Float,浮点;$Integer=sFlag_Integer; $Decimal=sFlag_Decimal;$Image,二进制流 *******************************************************************************...
unit Form; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Rtti, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, EvalLib; type TEvalForm = class(TForm) ExpressionLabel: TLabel; ExpressionEdit: TComboBox; ...
unit Percent; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, EditableObjects, Editors; type TPercentEditor = class(TInPlaceVisualControl) tbValue: TTrackBar; procedure tbValueChange(Sender: TObject); public procedure UpdateObject...
unit SendEmail; interface uses SysUtils, Classes, OverbyteIcsWSocket, OverbyteIcsSmtpProt; type TEmailClient = class(TComponent) private fSslContext: TSslContext; fSslSmtpClient: TSslSmtpCli; FAllInOneFlag: Boolean; FEhloCount: Integer; FAnswer: String; FSmtpHost: string; FSmtpPort: S...
unit WeightScaleForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Ani, FMX.StdCtrls, System.Bluetooth, FMX.Layouts, FMX.Memo, FMX.Controls.Presentation, FMX.Edit, FMX.Objects, IPPeerClien...
unit CRCCALC; //-------------------------------------------------------------------- // Модуль вычисления циклических контрольных сумм CRC8, CRC16 и CRC32 //-------------------------------------------------------------------- //CRC-CCITT-32 X^32+X^26+X^23+X^22+X^16+X^12+X^11+X^10+X^8+X^7+X^4+X^2+X+1 //CRC-CCITT X^16+...
// ************************************************************************************************** // // Unit uPreviewContainer // unit for the Delphi Preview Handler https://github.com/RRUZ/delphi-preview-handler // // The contents of this file are subject to the Mozilla Public License Version 1.1 (the "Licens...
unit l3VCLStrings; { Библиотека "L3 (Low Level Library)" } { Автор: Люлин А.В. © } { Модуль: l3VCLStrings - } { Начат: 29.12.2006 13:48 } { $Id: l3VCLStrings.pas,v 1.26 2013/03/28 17:25:05 lulin Exp $ } // $Log: l3VCLStrings.pas,v $ // Revision 1.26 2013/03/28 17:25:05 lulin...
unit AdminDomainInterfaces; {* Администрирование } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Model\AdminDomainInterfaces.pas" // Стереотип: "Interfaces" // Элемент модели: "AdminDomainInterfaces" MUID: (49903C95009E) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface uses l3IntfUse...
{*******************************************************} { } { Delphi VCL Extensions (RX) } { } { Copyright (c) 1996 AO ROSNO } { Copyright (c) 1997, ...
program MakeVer; { Makes INI-style version file from Delphi .dof file. Author: Phil Hess. Copyright: Copyright (C) 2007 Phil Hess. All rights reserved. License: Modified LGPL. } {$IFDEF FPC} {$MODE Delphi} {$ELSE} {$APPTYPE CONSOLE} {$ENDIF} {$R+,Q+} uses SysUtils, Classes, IniFiles; const ...
unit Rule_CORREL; interface uses BaseRule, BaseRuleData; (*// CORREL 含义:两样本的相关系数。 用法:CORREL(X,Y,N)为X与Y的N周期相关系数,其有效值范围在-1 ~ 1之间 例如:CORREL(CLOSE,INDEXC,10)表示收盘价与大盘指数之间的10周期相关系数 //*) type TRule_CORREL = class(TBaseRule) protected fParamN: Word; fParamM: Word; fInt64Ret: PArrayIn...
{ Unified Optional Header. Represents both 32 and 64 bit. Directories not included. } unit PE.Headers; interface uses System.Classes; type { ********************************************************************************************************************** * Comparision of optional...
unit ResConvertMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm5 = class(TForm) edtDesignY: TEdit; edtDesignX: TEdit; edtScreenHeight: TEdit; edtScreenWidth: TEdit; lbl1: TLabel; lbl2: TLabel; lbl3: TLabel;...
{ *************************************************************************** } { } { } { Copyright (C) Amarildo Lacerda } { } { https://github.com/amarildolacerda } { } { } { *************************************************************************** } { } { Licensed under the Apache License, Version 2.0 (the "License...
unit Unit1; { Dieses kleine Demo soll demonstrieren, wie man eine Paintbox richtig benützt. Es darf kostenlos kopiert und verändert (bitte nur verbessern) werden. Author: shmia@DelphiPraxis.net } interface uses Windows, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComC...
unit csServerTaskTypes; interface uses csProcessTask, Classes, ActnList, CsDataPipe, dt_Types, l3ObjectRefList, l3Date, CsNotification, csCommandsTypes, ddProgressObj; type TDictRec = record Family : Integer; DictType : Integer; Operation : Integer; ...
Unit Spline; {=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=] Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie All rights reserved. For more info see: Copyright.txt [=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=} interface us...
unit PHPProcessor; {$mode objfpc}{$H+} {** * * This file is part of the "Mini Library" * * @url http://www.sourceforge.net/projects/minilib * @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html) * See the file COPYING.MLGPL, included in this distribution, * @auth...
unit uNewParser; interface uses Classes ,SysUtils ,l3Parser ,uTypes ; Const cQuote = #39; cTab = #9; cSpace = #32; cCRLF = #13#10; cWhiteSpace = [cSpace, cTab]; cDoubleQuote = '"'; cMinus = '-'; cSlash = '/'; cAsterics = '*'; cLeftBracket = '{'; cRightBracket = '}'; type EUnknownToken = Class(Except...
unit RoomHiden; {$mode objfpc}{$H+} interface Type TRoom=object private {скрытые компоненты класса} length,width:real; {поля: длина и ширина комнаты} public {общие компоненты класса} function Square:real; {метод определения площади} procedure Init(l,w:real); {инициализирующий метод} end; impl...
namespace Sugar; interface type {$IF COOPER} Math = public class mapped to java.lang.Math public class method Abs(d: Double): Double; mapped to abs(d); class method Abs(i: Int64): Int64; class method Abs(i: Integer): Integer; class method Acos(d: Double): Double; mapped to acos(d);...
unit Control.VerbasExpressas; interface uses System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Common.ENum, Control.Sistema, Model.VerbasExpressas, Common.Utils; type TVerbasExpressasControl = class private FVerbas : TVerbasExpressas; public constructor Create(); destructor Destroy...
{ Mark Sattolo 428500 CSI-1100A DGD-1 TA: Chris Lankester Assignment 8, Challenge question } program CrosstheRiver (input,output); { ****************************************************************************** } procedure Cross_River(Short, Long:integer; var River:string; var Success:boolean); { Det...
namespace Sugar.IO; interface uses Sugar; type Path = public static class public method ChangeExtension(FileName: not nullable String; NewExtension: nullable String): not nullable String; method Combine(BasePath: not nullable String; Path: not nullable String): not nullable String; method Combine(...
unit frmInIOCPHttpServer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, iocp_sockets, iocp_managers, iocp_server, http_base, http_objects, fmIOCPSvrInfo; type TFormInIOCPHttpServer = class(TForm) Memo1: TMemo; InIOCPServer1: TInIOCPServer...
program trigonometri; // Global Variable var i,j,n: integer; x,h,y: real; // Power function power(y: real; n: integer): real; begin power:=1; for i:=1 to n do begin power:=power*y; end; end; // Factorial function factorial(a: integer): longint; begin factorial:=1; for j:=1 to a...
unit LanderTypes; interface uses Windows, Graphics, GameTypes; const idNone = -1; type TLandOption = (loGrated, loGlassed, loShaded, loRedShaded, loColorShaded, loBlackShaded, loUpProjected, loNoClip, loReddened, loColorTinted, loGrayed, loRedded, loGreened, loDarkened); TLandOptions = set of...
unit MainData; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Db, DBTables, IBQuery, IBCustomDataSet, IBTable, IBDatabase; type TDmMain = class(TDataModule) IBDatabase1: TIBDatabase; QueryId: TIBQuery; IBTransaction2: TIBTransaction; public function G...
unit NtUtils.Tokens.Impersonate; interface uses NtUtils.Exceptions; // Save current impersonation token before operations that can alter it function NtxBackupImpersonation(hThread: THandle): THandle; procedure NtxRestoreImpersonation(hThread: THandle; hToken: THandle); // Set thread token function NtxSetThreadTok...
unit PrintDialogKeywordsPack; {* Набор слов словаря для доступа к экземплярам контролов формы PrintDialog } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Search\PrintDialogKeywordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "PrintDialogKeywordsPack" MUID: (1127EF0E219F) {$Include ...
{*******************************************************} { Проект: Repository } { Модуль: uEditRecordParameters.pas } { Описание: Параметры для работы редактора записи } { Copyright (C) 2015 Боборыкин В.В. (bpost@yandex.ru) } { ...
unit Inventions; interface uses Collection, Classes, MetaInstances, Accounts, CacheAgent, Languages; // Inventions are developed by companies to improve production in general. // Each invention has an identifier (byte) that is unique within a // FacilityKind. const tidInvTag_Invention = 'invent...
unit CacheAgent; interface uses CacheCommon, Classes; const noKind = -1; noInfo = -1; okSubObj = 0; recLinks = -2; type TObjectCache = class; TCacheAgent = class; // TCacheAgent (CA) is a template for a class that knows how and where // to cache a particular class. CA...
{*********************************************************************************************************************** * * TERRA Game Engine * ========================================== * * Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com) * ***************************************************...
unit Atributos; interface uses Base, Rtti, System.Classes; type TResultArray = array of string; TCamposAnoni = record NomeTabela: string; Sep: string; PKs: TResultArray; TipoRtti: TRttiType; end; TFuncReflexao = reference to function(ACampos: TCamposAnoni): Integer; type TTipoCampo = (...
unit MdiChilds.ElementEditor; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MdiChilds.CustomDialog, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, GsDocument, CommCtrl, System.Actions, Vcl.ActnList, Vcl.Mask, Fm...
unit uDV_PenezniPolozky; interface uses Data.Win.ADODB, System.Classes, uMainDataSet, uDV_Stavy; type TDV_PenezniPolozky = class private class function GetId: string; static; class function GetPopis: string; static; class function GetIdStav: string; static; class function GetDatumObdrzeni: stri...
unit uMQTTServer; {$mode delphi}{$H+} interface uses Classes, SysUtils, GlobalTypes, Winsock2, uMQTT, Threads, Platform, SyncObjs; const MinVersion = 3; stInit = 0; stClosed = 1; stConnecting = 2; stConnected = 3; stClosing = 4; s...
unit fmEventEditor; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, System.RegularExpressions, System.DateUtils, ADC.Types; type TForm_EventEditor = class(TForm) DateTimePicke...
unit FuncList; interface uses System.Generics.Collections; type TTypeDescInf = (tdNone, tdFn, tdProc); DescInf = record private FParams: string; FInParams: string; procedure SetParams(const Value: string); public fullStr: string; fn: TTypeDescInf; Start: string; Name: string; ...
unit lastduel_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} nz80,m68000,main_engine,controls_engine,gfx_engine,ym_2203,rom_engine, pal_engine,sound_engine,timer_engine,oki6295; function iniciar_lastduel:boolean; implementation const lastduel_rom:array[0..3] of tipo_roms=( (n:'ldu_06b....
unit ExcelUtils; (************************************************************* Copyright © 2012 Toby Allen (https://github.com/tobya) 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 restr...
unit Tab2TableGen; interface uses ddDocument, ddBase, evTextFormatter ; type TddTab2TableGenerator = class(TddDocumentGenerator) private FCharPerLine: Integer; f_TableStarted: Boolean; procedure CheckPara(Para: TddTextParagraph); procedure Tab2Table(Para: TddTextParagraph); procedure AddCell(aWidth: In...
(**********************************************) (* Sim68k, CSI 2111, November 1999. *) (* Please identify yourselves here. *) (**********************************************) (* Skeleton of the simulator for the Sim68k processor *) program Sim68k (input, output) ; uses // Crt, Sim...
unit SampleClasses; interface type TSampleFoo = class(TObject) private class var FNextId: Integer; private FId: Integer; public constructor Create; function ToString: String; override; procedure SomeMethod; end; TSampleBar = class(TSampleFoo) public function ToString: String; o...
unit Palettes; // Copyright (c) 1996 Jorge Romero Gomez, Merchise. // Check NumberOfEntries, so tasks don't work on non-used entries interface uses SysUtils, Classes, Windows, MemUtils, GDI, ColorTrans; type TBufferPaletteTask = class; // TBufferPalette CBufferPalette = class of TBufferPa...
unit USistema; interface uses UUsuario; type TSistema = class private FUsuarioLogado: TUsuario; constructor create; procedure SetUsuarioLogado(const Value: TUsuario); class procedure ReleaseInstance(); class var Instancia : TSistema; protected public class function ObterInstancia: TS...
{***************************************} { } { ATPrintPreview Component } { Copyright (C) Alexey Torgashin } { http://uvviewsoft.com } { } {***************************************} unit ATPrintPreview; int...
{ Version 1.0 - Author jasc2v8 at yahoo dot com This is free and unencumbered software released into the public domain. For more information, please refer to <http://unlicense.org> } unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, StdCtrls, LclIntf, EventLogUnit; type { TF...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clTcpClientTls; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, {$ELSE} System.Classes, System.SysUtils, {$ENDIF} clTcpClient, clTlsSocket, clSocket, clCertificate, clC...
{$MODE OBJFPC} unit renderer; interface uses gl; type TRenderer=class private Textured,Colored:boolean; Vertexes,vp,tp,cp:longint; VertexArray,TexcoordArray,ColorArray:^GLFloat; TexcoordX,TexcoordY:GLFloat; ColorR,ColorG,ColorB:GLFloat; public procedure Init; procedure Vertex3f(x,y,z:GLFlo...
unit Main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, Spin, Menus, Output, AddRule, EditRule, flRuleStore; type { TfrmMain } TfrmMain = class(TForm) btnAddRule: TButton; btnDropRule: TButton; btnStart: TButton;...
unit kwRaise; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "ScriptEngine" // Автор: Люлин А.В. // Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwRaise.pas" // Начат: 29.04.2011 20:25 // Родные Delphi интерфейсы (.pas)...
{$IFDEF DeclarationPart} {==============================================================================} {------------------------------------------------------------------------------} { Muticast events managers } {---------------------------------------------------...
unit uCadastroForncedor; interface uses System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, ZAbstractConnection, ZConnection, ZAbstractRODataset, ZAbstractDataset, ZDataset, System.SysUtils; type TFornecedor = class private ConexaoDB:TZConnection; F_clien...
unit UCM; interface uses System.SysUtils, System.Classes, proxy, IPPeerClient, Datasnap.DSClientRest, USistema; type TFCM = class(TDataModule) DSRestConnection1: TDSRestConnection; private FInstanceOwner: Boolean; FMetodosClienteClient: TMetodosClienteClient; FMetodosGeraisClient: TMetodosGer...
unit EncodStr; interface uses Classes; type TEncodedStream = class (TFileStream) private FKey: Char; public constructor Create(const FileName: string; Mode: Word); function Read(var Buffer; Count: Longint): Longint; override; function Write(const Buffer; Count: Longint): Longint; override; ...
unit Automaton; interface uses Classes, ActorTypes, ActorPool, StateEngine, DistributedStates; type IAutomationEngine = interface procedure LaunchState( Launcher, State : TStateId; aCPL : integer; Frequency : integer; LauncherBehavior : TLauncherBehaviour ); procedure ThrowEvent ( a...
unit K620665614_H11400224; {* [RequestLink:620665614] } // Модуль: "w:\common\components\rtl\Garant\Daily\K620665614_H11400224.pas" // Стереотип: "TestCase" // Элемент модели: "K620665614_H11400224" MUID: (56FA6D4303C3) // Имя типа: "TK620665614_H11400224" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.i...
unit NtUtils.Registry.HKCU; interface uses Winapi.WinNt, NtUtils.Exceptions, NtUtils.Registry; // Get current user's hive path function RtlxFormatCurrentUserKeyPath(out Path: String): TNtxStatus; // Open a handle to the HKCU part of the registry function RtlxOpenCurrentUserKey(out hKey: THandle; DesiredAccess: TA...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit DijkstraUnit; Interface uses AlgorithmUnit; Type DijkstraCell = class public coords : Point; distance : integer; from : Point; end; Dijkstra = class(Algorithm) private _dijkstraGrid : Dictionary<(integer, integer), DijkstraC...
{********************************************************************* * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Autor: Brovin Y.D. * E-mail: y...
unit DAO.FaixaVerba; interface uses DAO.Base, Model.FaixaVerba, Generics.Collections, System.Classes; type TFaixaVerbaDAO = class(TDAO) public function Insert(aFaixas: Model.FaixaVerba.TFaixaVerba): Boolean; function Update(aFaixas: Model.FaixaVerba.TFaixaVerba): Boolean; function Delete(s...
Unit H2ImageList; Interface Uses Windows, Classes,Controls, SysUtils,GR32_Image,GR32, gr32_layers,Graphics,generalprocedures; Type PIRecord=^TIrecord; TIRecord=Record dir:String; filename:String; size:Integer; folder:Boolean; End; TH2ImageList = Class(TControl) Priva...
{ Graphic functions for pyramidtiff. Copyright (C) 2008 Mattias Gaertner mattias@freepascal.org 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 ...
program github; type participante = record pais :string; codigoProyecto :integer; nombreProyecto :string; rol :1..5; horas :real; monto :real; end; proyecto = record codigo :integer; montoTotal :real; cantidadArqs :integer; end; ...
unit DelphiUp.View.Components.Cards.Attributes; interface uses DelphiUp.View.Components.Cards.Interfaces, System.UITypes; type TCardsAttributes<T : class> = class(TInterfacedObject, iComponentCardAttributes<T>) private [weak] FParent : T; FTitle : String; FFontTitleSize :...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
{.$DEFINE CAPTURE_WRITE_BUF} unit np.core; interface uses np.common, np.winsock, sysutils,Classes, np.libuv, generics.collections, np.buffer, np.eventEmitter, np.value; type PBufferRef = np.buffer.PBufferRef; IQueueItem = interface ['{49B198FA-6AA5-43C4-9F04-574E0411EA76}'] procedure Invo...
unit dmController; interface uses SysUtils, Classes, uEventAgg, uModel, uEvents; type TdtmController = class(TDataModule) procedure DataModuleCreate(Sender: TObject); procedure DataModuleDestroy(Sender: TObject); private FItemIndex: Integer; FReportCards: TReportCardList; function GetCurren...
unit uNotas; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uBase, Data.DB, Vcl.Grids, Vcl.DBGrids, Vcl.Buttons, Vcl.ExtCtrls, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, ...
unit ServerHorse.Routers.Cities; interface uses System.JSON, Horse, Horse.Jhonson, Horse.CORS, ServerHorse.Controller; procedure Registry; implementation uses System.Classes, ServerHorse.Controller.Interfaces, ServerHorse.Model.Entity.CITIES, System.SysUtils, ServerHorse.Utils, Horse.Paginate...
unit DAO.PlanilhaEntradaDIRECT; interface uses Generics.Collections, System.Classes, System.SysUtils, Forms, Windows, Model.PlanilhaEntradaDIRECT; type TPlanilhaEntradaDIRECTDAO = class public function GetPlanilha(sFile: String): TObjectList<TPlanilhaEntradaDIRECT>; end; implementation { TPlanilhaEntrada...