text
stringlengths
14
6.51M
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
Unit H2MediaList; Interface Uses Windows, Classes,controls, SysUtils,GR32_Image,GR32, gr32_layers,Graphics,generalprocedures; Type PMediaFile=^TMediaFile; TMediaFile=Record Filename:String; name:string; ext:String[4]; Size:Integer; Date:tdatetime; Directory:String; ...
unit NetNumberClass; interface type INumber = interface function GetValue: Integer; procedure SetValue (New: Integer); procedure Increase; end; TNumber = class(TObject, INumber) private fValue: Integer; public constructor Create; function GetValue: Integer; procedure SetValue (N...
unit ResidentialTasks; interface uses Tasks, Kernel, Tutorial, Population, BuildFacilitiesTask; const tidTask_BuildResidentials = 'BuildRes'; tidTask_HighClassResidential = 'hiRes'; tidTask_MiddleClassResidential = 'midRes'; tidTask_LowClassResidential = 'lowRes'; type TMetaR...
unit Ragna.Types; {$IF DEFINED(FPC)} {$MODE DELPHI}{$H+} {$ENDIF} interface type {$SCOPEDENUMS ON} TOperatorType = (WHERE, &OR, LIKE, EQUALS, ORDER, &AND); {$SCOPEDENUMS OFF} TOperatorTypeHelper = record helper for TOperatorType public function ToString: string; end; implementation function TOperato...
// ------------------------------------ // Missing FSDIVE calls from DIVE.DLL // ------------------------------------ unit FSDIVE; interface uses os2def; {&cdecl+} type pFBINFO=^FBINFO; FBINFO=record ulLength : ULONG; //* Length of FBINFO data structure, in bytes. */ ulCaps : ULONG; ...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Pessoa; type TForm1 = class(TForm) Memo1: TMemo; Button1: TButton; Memo2: TMemo; Memo3: TMemo; Memo4:...
{ Subroutine SST_R_PAS_VPARAM (PROC) * * Apply the VAL_PARAM routine option to the arguments of a routine. PROC * is the descriptor for the routine. } module sst_r_pas_vparam; define sst_r_pas_vparam; %include 'sst_r_pas.ins.pas'; procedure sst_r_pas_vparam ( {apply VAL_PARAM to routine template} in...
{ Date Created: 5/22/00 11:17:33 AM } unit InfoPULFTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoPULFRecord = record PVSIStatus: String[2]; PModCount: SmallInt; Pname: String[30]; PLoanNumber: String[18]; Pofficer: String[6]; Ppo...
{ Copyright (C) Alexey Torgashin, uvviewsoft.com License: MPL 2.0 or LGPL } unit win32menustyler; {$mode objfpc}{$H+} interface uses Windows, SysUtils, Classes, Graphics, Menus, Forms, LCLType; type TWin32MenuStylerTheme = record ColorBk: TColor; ColorBkSelected: TColor; ColorFont: TColor; Color...
unit kwPopEditorScrollBottom; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "ScriptEngine" // Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopEditorScrollBottom.pas" // Родные Delphi интерфейсы (.pas) // Generated fr...
unit cCadCargoPessoa; interface uses System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, FireDAC.Comp.Client, System.SysUtils; // LISTA DE UNITS type TCargoPessoa = class private // VARIAVEIS PRIVADA SOMENTE DENTRO DA CLASSE ConexaoDB: TFDConnection; F_cod_carg_pessoa: Integer; F_cod_membr...
unit LookForFolder; interface uses Windows, SysUtils, Forms; function BrowseDirectory(ActiveForm : TForm; const BrowseTitle : string) : string; implementation const BIF_RETURNONLYFSDIRS = $0001; type TBFFCallBack = function(hwnd : THandle; Msg : UINT; lParam : LPARAM; lpData : LPARAM) : intege...
{***********************************************************************} { TPlannerDatePicker component } { for Delphi & C++ Builder } { } { written by : ...
{$I ok_sklad.inc} unit EditPriceTypes; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, dxCntner, dxEditor, StdCtrls, ActnList, ssBaseTypes, ssFormStorage, cxCheckBox, cxControls, cxContainer, cxEdit, cxTextEdit, cxLookAndFeelPainters, cxBut...
unit Button; interface uses DGLE, DGLE_Types, Engine, Types; type TButtonState = (bsNone, bsOver, bsDown); type TButton = class(TObject) private P: TPoint; FLeft: Integer; FTop: Integer; FHeight: Integer; FWidth: Integer; FCaption: AnsiString; FFontColor:...
{ $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...
unit InfoRPTSAVEDTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoRPTSAVEDRecord = record PLenderNumber: String[8]; PType: String[6]; PDescription: String[100]; PUserid: String[5]; PReportDate: String[10]; PTitle: String[100]; P...
unit Headquarters; interface uses Protocol, Kernel, ResearchCenter; type TMetaHeadquarterBlock = class( TMetaResearchCenter ) public constructor Create( anId : string; aCapacities : array of TFluidValue; ...
unit tests.generics.queue; {$mode objfpc} interface uses fpcunit, testregistry, Classes, SysUtils, Generics.Defaults, Generics.Collections; Type TMySimpleQueue = Class(Specialize TQueue<String>); {$IFDEF FPC} EList = EListError; {$ENDIF} { TTestSimpleQueue } TTestSimpleQueue = Class(TTestCase) Privat...
unit fmuSlipOpen; interface uses // VCL Windows, ComCtrls, StdCtrls, Controls, ExtCtrls, Classes, SysUtils, Buttons, Spin, // This untPages, untDriver, Grids, ValEdit, untUtil, untTypes, untTestParams; type { TfmSlipOpen } TfmSlipOpen = class(TPage) btnStdExecute: TBitBtn; lblCount: TLabel; ...
unit mvc.ApplicationController; interface uses {$IFDEF FMX} FMX.Forms, {$ELSE} VCL.Forms, {$ENDIF} System.Classes, System.SysUtils, mvc.Interf; type TApplicationController = class(TInterfacedObject, IApplicationController) public procedure Run(AClass: TComponentClass; var reference; AFunc: TFunc<boo...
unit ArchiAutoTest; {* Поддержка автоскриптов в Арчи. } // Модуль: "w:\archi\source\projects\Archi\Archi_Insider_Test_Support\ArchiAutoTest.pas" // Стереотип: "SimpleClass" // Элемент модели: "TArchiAutoTest" MUID: (4DE482A503AB) {$Include w:\archi\source\projects\Archi\arDefine.inc} interface {$If Defined(nsTest)...
{ $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...
unit TVGeneralSheet; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, VisualControls, ObjectInspectorInterfaces, PercentEdit, GradientBox, FramedButton, SheetHandlers, InternationalizerComponent; const tidSecurityId = 'SecurityId'; tidTrouble = 'Trouble'...
unit App; { Based on ParticleSystem.c from Book: OpenGL(R) ES 2.0 Programming Guide Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner ISBN-10: 0321502795 ISBN-13: 9780321502797 Publisher: Addison-Wesley Professional URLs: http://safari.informit.com/9780321563835 http://www.op...
unit CodingAnim; interface uses Windows, SysUtils, Classes, MemUtils, ChunkStream, Dibs; type TBufferRec = record Owned : boolean; Header : PDib; ScanLines : pointer; end; type TAnimDecoder = // Renders an animation to a buffer class pro...
unit uFrmConsulta; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.Buttons, Vcl.StdCtrls, Vcl.ExtCtrls, uLembreteDAO, System.Generics.Collections, uLembrete, uDM, uFrmInserirLembr...
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 Thread.ImportaRespostasCTNC; interface uses System.Classes, Dialogs, Windows, Forms, SysUtils, Messages, Controls, System.DateUtils, System.StrUtils, Generics.Collections, Control.Sistema, FireDAC.Comp.Client, Common.ENum, Control.PlanilhaRespostaCTNC, Control.ContatosBases, Control.Entregas, Model.Plani...
unit my_bloody_chart; interface uses ExtCtrls,graphics,SysUtils; type Talign=(alLeft,alCenter,alRight); Tvalign=(valTop,valCenter,valBottom); bloody_chart=class public x_offset,y_offset: Integer; //отступы сверху и слева grid_number: Integer; //сколько будет минимум линий сетки labels_number: Int...
unit M_UK; interface const JMFILE='data\osob.dat'; JMSZ='data\seznam\helplist.txt'; POC_NAROD=42; {pocet narodnosti} POC_PRACE_M=15; {pocet povolani} POC_PRACE_Z=13; {typ predstavujici osobu databaze} type T_PRACE_M=array[1..POC_PRACE_M] of string[20]; {mnozina povolani} T_PRAC...
unit ntvPageControls; {** * This file is part of the "Mini Library" * * @url http://www.sourceforge.net/projects/minilib * @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html) * See the file COPYING.MLGPL, included in this distribution, * @author Belal Alhamed <b...
unit Main; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Generics.Collections, System.IOUtils, Quick.Config.Json, FMX.StdCtrls, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo; type ...
unit MemoChannel; { Copyright (C) 2006 Luiz Américo Pereira Câmara TMemoChannel contributed by Avra (Жељко Аврамовић). TMemoChannel was based on TFileChannel. This library is free software; you can redistribute it and/or modify it under the terms of the FPC modified LGPL licence which can be found at: http...
unit nsDownloadService; interface uses Classes, l3ProtoObject, nsDownloaderInterfaces, nsAsyncDownloaderList, nsDownloadProgressDialogList; type TnsDownloadService = class(Tl3ProtoObject, InsDownloaderObserver) private FDownloaders: TnsAsyncDownloaderList; FProgressDialogs: TnsDownloadProgressDialogList;...
unit ufrmPenerimaanBarang; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmDefault, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, ActnList, dxBar, cxClasses, ExtCtrls, dxStatusBar, ComCtrls, StdCtrls, cxContainer, cxEdit, cxMemo, cxDropDo...
unit newmemo; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls; const KEYWORDLIST_SIZE = 1; KeywordList : array [0..KEYWORDLIST_SIZE] of String = ('^XA', '^XZ'); type // Interjected Class TMemo = class(stdctrls.TMemo) private procedure ...
unit SizeRecord; interface type TSizeRecord = record Width : integer; Height : integer; end; implementation end.
{$REGION 'Copyright (C) CMC Development Team'} { ************************************************************************** Copyright (C) 2015 CMC Development Team CMC is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software ...
unit MatrixLayer; interface uses Collection, TransportInterfaces, Transport, SyncObjs; const MaxSize = 10000; type PCargoMap = ^TCargoMap; TCargoMap = array[0..MaxSize*MaxSize] of TCargoValue; // Rendering maps type TRenderMapCell = record value : TCargoValue; ...
// Main confiuration form for Macro Templates // Original Author: Piotr Likus unit GX_MacroTemplates; {$I GX_CondDefine.inc} interface uses Classes, Controls, Forms, ComCtrls, ExtCtrls, StdCtrls, Menus, Dialogs, ActnList, StdActns, GX_ConfigurationInfo, GX_MacroFile, GX_EnhancedEditor, GX_GenericU...
unit WaveIn; interface uses Windows, MMSystem, Messages, Classes; type TOnDataProc = function (var Data; Size : integer) : integer of object; TWaveRecorder = class public constructor Create; destructor Destroy; override; public ...
{ Clever Internet Suite Copyright (C) 2014 Clever Components All Rights Reserved www.CleverComponents.com } unit clSshUtils; interface {$I ..\common\clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, Windows, {$ELSE} System.Classes, System.SysUtils, Winapi.Windows, {$ENDIF} clUtils; type EclSsh...
unit TntSysUtils; interface function WideExtractFileName(const FN: WideString): WideString; function WideExtractFileDir(const FN: WideString): WideString; function WideExtractFileExt(const FN: WideString): WideString; function WideExtractFileDrive(const FN: WideString): WideString; function WideChangeFileExt(const FN...
unit Q_ADS; interface procedure enqueue(e : integer); function dequeue : integer; function isEmpty : boolean; procedure init; procedure disposeQueue; procedure reallocQueue; procedure removeElementAt(pos : integer); implementation type intArray = array [1..1] of integer; VAR arrPtr : ^intArray; capacity...
program RunBackgroundTasks; {$IFDEF MSWINDOWS} {$APPTYPE CONSOLE} {$ENDIF} {$MODE DELPHI} uses {$IFDEF UNIX} cthreads, {$ENDIF} SysUtils, DateUtils, Quick.Commons, Quick.Console, Quick.Threads; type TMyTask = class private fId : Integer; fName : string; public property Id : Integer...
unit ce_mru; {$I ce_defines.inc} interface uses Classes, SysUtils, ce_interfaces, ce_observer, ce_project, ce_synmemo; type (** * 'Most Recently Used' list for strings. *) TCEMruList = class(TStringList) private fMaxCount: Integer; fObj: TObject; protected fChecking: boolean; proc...
{$MODE OBJFPC} {$INLINE ON} {$R-,Q-,S-,I-} {$OPTIMIZATION LEVEL3} {$DEFINE USEFILEIO} // remove this line in case of STD IO program SmartDog; const {$IFDEF USEFILEIO} InputFile = 'SMARTDOG.INP'; OutputFile = 'SMARTDOG.OUT'; {$ELSE} // use stdio InputFile = ''; OutputFile = ''; {$ENDIF} maxN = Round(1E5); m...
unit debugAnalysis; interface uses SysUtils, System.Classes, System.IOUtils, FMX.Types, System.DateUtils, FMX.Controls, FMX.Layouts, System.Generics.Collections , System.Diagnostics , FMX.Edit, FMX.StdCtrls, FMX.Clipboard, FMX.Platform, FMX.Objects, System.Types, StrUtils, FMX.Dialogs {$IF DEFINED(MSWINDOWS)...
unit Dt_Tasks; { $Id: Dt_Tasks.pas,v 1.2 2005/11/29 13:09:47 narry Exp $ } // $Log: Dt_Tasks.pas,v $ // Revision 1.2 2005/11/29 13:09:47 narry // - обновление: реализация конкретных типов задач // // Revision 1.1 2005/11/18 15:52:28 step // занесено в CVS // {$I DtDefine.inc} interface uses Windows, Messages, ...
{$I tdl_dire.inc} {$IFDEF USEOVERLAYS} {$O+,F+} {$ENDIF} unit tdl_tset; { Unit to handle "title sets": Data structures that contain a set of 16-bit word title IDs. The main menu screen "title picker" works against a title set. The initial title set contains all titleIDs in the index (ie. everything). Later, if the...
unit DBFToolsUnit; {$IFDEF FPC} {$mode objfpc}{$H+} {$ENDIF} interface uses Classes, SysUtils, toolsunit, db, Dbf; type { TDBFDBConnector } TDBFDBConnector = class(TDBConnector) protected procedure CreateNDatasets; override; procedure CreateFieldDataset; override; procedure DropNDatasets; ove...
unit fEnemyProperties; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, GR32_Image, DanHexEdit, cMegaROM, cConfiguration; type TfrmEnemyScreenChanger = class(TForm) imgEnemyPortrait: TImage32; lblEnemy: TLabel; cbEnemies: TComboBox; cm...
{ ************************************************************************************************** } { } { Unit uDelphiVersions } { unit retrieves the delphi ide installed versions for the Delphi IDE Theme Editor } { } { The contents of this file are subject to the Mozilla Public License Version 1.1 (the "Licen...
unit XMLDemo; {*************************************************************************} { } { Hitsoft Xml Object Library } { ...
unit uDespesas; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UFrmPadrao, Data.DB, Vcl.StdCtrls, ZDataset, Vcl.ComCtrls, Vcl.DBCtrls, Vcl.Buttons, Vcl.ExtCtrls, RxToolEdit, RxCurrEdit,uDtmPrincipal,uDespe...
// *************************************************************************** // // FMXComponents: Firemonkey Opensource Components Set // // TFMXToast is a toast component using pure fmx // // 该控件参考了Aone的文章 // http://www.cnblogs.com/onechen/p/7130227.html // // https://github.com/zhaoyipeng/FMXComponents // // *****...
unit vulkan.util; (* * Vulkan Samples * * Copyright (C) 2015-2016 Valve Corporation * Copyright (C) 2015-2016 LunarG, Inc. * Copyright (C) 2015-2016 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
unit tcItemList; interface uses l3Interfaces, l3CacheableBase, tcInterfaces ; type TtcItemList = class(Tl3CacheableBase, ItcItemList) private f_List: Il3StringsEx; protected // ItcItemList function pm_GetCount: Integer; function pm_GetItem(Index: Integer): ItcItem; function Add...
unit SenhaUser; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm3 = class(TForm) BtnSave: TButton; BtnCancel: TButton; EdtSenha: TEdit; EdtConfirm: TEdit; ...
{ Routines for handling errors in parsing code. } module sst_r_syn_err; define sst_r_syn_err_check; %include 'sst_r_syn.ins.pas'; { ******************************************************************************** * * Subroutine SST_R_SYN_ERR_CHECK * * Check for end of error re-parse has been encountered. If so, ...
var HSVUpdate, RGBUpdate : Boolean; procedure TxMainForm.xClearButtonClick(Sender: TObject); begin RED_O.Value := 0; GREEN_O.Value := 0; BLUE_O.Value := 0; end; function Module (X, Y, Z : Real) : Real; begin Result := Sqrt(x * x + y * y + z * z); end; function Arg(xa, ya : Real) : Real; begin Result ...
unit K466751465; {* [Requestlink:466751465] } // Модуль: "w:\common\components\rtl\Garant\Daily\K466751465.pas" // Стереотип: "TestCase" // Элемент модели: "K466751465" MUID: (51D2AB4E0353) // Имя типа: "TK466751465" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas} interface {$If Defined(nsTest)...
unit PrimToolbarMenu_Module; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "View" // Автор: Люлин А.В. // Модуль: "w:/common/components/gui/Garant/VCM/View/ToolbarMenu/PrimToolbarMenu_Module.pas" // Начат: 13.09.2010 18:24 // Р...
{ lzRichEdit Copyright (C) 2010 Elson Junio elsonjunio@yahoo.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 published by the Free Software Foundation; either version 2 of the License, or (at your option) any later ver...
unit DAO.PlanilhaRespostaCTNC; interface uses Generics.Collections, System.Classes, System.SysUtils, Forms, Windows, Model.PlanilhaRespostaCTNC; type TPlanilhaRespostaCTNCDAO = class public function GetPlanilha(sFile: String): TObjectList<TPlanilhaRespostaCTNC>; end; implementation { TPlanilhaRespostaCTN...
program WhileProgram5309; var n, s: integer; begin n := 50; s := 1; Writeln('S', #9, 'N'); while s < 1000 do begin s := s * 2; n := n + 10; Writeln(S, #9, n); end; Write('n = ', n); end.
unit StrForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) EditResemble1: TEdit; EditResemble2: TEdit; ButtonResemble: TButton; ListBoxMatch: TListBox; EditMatch: TEdit; ButtonMatches: TButton; ...
unit arEditorDebugInfo; {* Класс для вывода информаци о состоянии редактора в лог. } // Модуль: "w:\archi\source\projects\Archi\Main\arEditorDebugInfo.pas" // Стереотип: "SimpleClass" // Элемент модели: "TarEditorDebugInfo" MUID: (52A7FD0E002D) {$Include w:\archi\source\projects\Archi\arDefine.inc} interface {$If ...
unit Computer; interface uses Collectible; type TBitsComputer = (bits8, bits16, bits32); TComputer = class(TCollectible) private Fmanufacturer: String; Fmodel: String; Fbits: TBitsComputer; FRAM: SmallInt; FROM: SmallInt; Fworks: Boolean; public constructor Create(name: String...
unit nevInterfaces; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "Everest" // Автор: Люлин А.В. // Модуль: "w:/common/components/gui/Garant/Everest/new/nevInterfaces.pas" // Начат: 01.03.2010 14:30 // Родные Delphi интерфейсы ...
{ Subroutine SST_R_PAS_ITEM_EVAL (VAL) * * Evaluate an ITEM syntax. The ITEM must resolve to a constant that can be * evaluated at compile time. VAL is returned as the constant value. } module sst_r_pas_ITEM_EVAL; define sst_r_pas_item_eval; %include 'sst_r_pas.ins.pas'; procedure sst_r_pas_item_eval ( ...
unit Tests.TObervable; interface uses DUnitX.TestFramework, System.Classes, System.SysUtils, Patterns.Observable; {$M+} type [TestFixture] TObervableTests = class(TObject) private FObservable: TObservable; public [Setup] procedure Setup; [TearDown] procedure TearDown; published ...
unit MFichas.View.Dialog.ConfirmarProduto; 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.Edit, FMX.Objects, FMX.Controls.Presentation, FMX.Layouts; type T...
unit msmBaseModelElement; // Модуль: "w:\common\components\gui\Garant\msm\msmBaseModelElement.pas" // Стереотип: "SimpleClass" // Элемент модели: "TmsmBaseModelElement" MUID: (57AB17E6022C) {$Include w:\common\components\msm.inc} interface uses l3IntfUses , l3CProtoObject , msmModelElements {$If NOT Defined(NoS...
unit ValidateSessionResponseUnit; interface uses REST.Json.Types, GenericParametersUnit; type TValidateSessionResponse = class(TGenericParameters) private [JSONName('authenticated')] FAuthenticated: boolean; [JSONName('member_id')] FMemberId: integer; public property Authenticated: boo...
unit SelectInstallFolder; interface uses Windows, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, FileCtrl; type TProductType = (ptUnknown, ptDesktop, ptMobile, ptNetware, ptWorking, ptClient, ptSuperMobile); TSelectInstallFolderForm = class(TForm) f_BackgroundFormImage: TImage; f_Bo...
{ 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...
// AKTools akLogUtils unit. // Модуль, содержащий функции по работе с логами. //============================================================================= unit akLogUtils; interface uses SysUtils, Classes; // типы журналируемых событий const LOG_ERROR = 0; LOG_WARNING = 1; LOG_INFORM = 2; LOG_SUC...
unit uRemoteDM; interface uses System.SysUtils, System.Classes, System.Types, ufmMain, uUtils, fib, FIBDatabase, pFIBDatabase, pFIBSQLLog, SIBEABase, SIBFIBEA, FIBSQLMonitor, pFIBErrorHandler, Data.DB, FIBDataSet, Forms, pFIBDataSet, FIBQuery, pFIBQuery, RegularExpressions, ZInterbaseAnalyser, ZInterb...
program HelloWorld(output); begin Write('Hello, world!') {no ";" is required after the last statement of a block - adding one adds a "null statement" to the program;} end. procedure ThingOne; begin while a <> b do WriteLn('Waiting'); if a > b then WriteLn('Condition met') {no semicolon allowed!} ...
unit IRCCommandTests; {$mode objfpc}{$H+} interface uses Classes, SysUtils, IRCCommands, fpcunit, testutils, testregistry; type { TIRCCommandsTests } TIRCCommandsTests = class(TTestCase) private FSUT: TIRCCommand; protected procedure SetUp; override; procedure TearDown; override; pub...
unit evControlContainer; // Модуль: "w:\common\components\gui\Garant\Everest\qf\evControlContainer.pas" // Стереотип: "SimpleClass" // Элемент модели: "TevControlContainer" MUID: (47CFEE9E02E1) {$Include w:\common\components\gui\Garant\Everest\evDefine.inc} interface uses l3IntfUses , evCustomControlTool , nevTo...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, EditBtn, LazFileUtils //CleanAndExpandDirectory ; type { TForm1 } TForm1 = class(TForm) ButtonStart: TButton; DirectoryEdit: TDirectoryEdit; Memo1: TMemo; procedure...
unit vcmBaseMenuManagerRes; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "VCM" // Автор: Люлин А.В. // Модуль: "w:/common/components/gui/Garant/VCM/implementation/vcmBaseMenuManagerRes.pas" // Начат: 04.03.2010 13:42 // Родные...
{******************************************************************************} { } { Delphi FB4D Library } { Copyright (c) 2018-2023 Christoph Schneider ...
unit tmsUXlsColInfo; {$INCLUDE ..\FLXCOMPILER.INC} interface uses Classes, SysUtils, tmsUXlsBaseRecords, tmsUXlsBaseList, tmsXlsMessages, tmsUFlxMessages, tmsUXlsOtherRecords, tmsUOle2Impl; type TColInfoDat=packed record FirstColumn: word; LastColumn: word; Width: word; XF: word; Options: word; ...
{ 12/10/1999 8:41:41 AM > [Bill on BILL] checked out /Change Table Types to TTS } unit ActiveState; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, sBitBtn, sGroupBox; type TfrmActiveState = class(TForm) rgActiveState: Ts...
unit DispatchUnsignedAsSignedPatch; {$D-,L-} { DispatchUnsignedAsSignedPatch replaces the Variants.GetDispatchInvokeArgs by a bug fixed version that handles DispatchUnsignedAsSigned with varRef parameters. Bug was introduced in Update 4 for Delphi XE2. Bug was fixed in XE4 More info: http://qc.embarcade...
unit Checking; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Windows, Transformation, Figure, Math; function Check (Figure: TFigure; Point1, Point2: MegaPoint): boolean; implementation procedure Swap (var a, b: double); var Buf: double; begin Buf := a; a := b; b := Buf; end; funct...
{ 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 ConfigFEx; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, FileCtrl, ExtCtrls, Mask, JvExMask, JvToolEdit, Inifiles, JvSpin; type TFConfigFex = class(TForm) rgRegien: TRadioGroup; lblCert: TLabel; lblClave: TLabel; bOK: TButton...
unit daParam; // Модуль: "w:\common\components\rtl\Garant\DA\daParam.pas" // Стереотип: "SimpleClass" // Элемент модели: "TdaParam" MUID: (5555AD2A0004) {$Include w:\common\components\rtl\Garant\DA\daDefine.inc} interface uses l3IntfUses , l3ProtoObject , daInterfaces , daTypes , l3Date ; type TdaParam = cla...
unit GX_MenuActions; {$I GX_CondDefine.inc} interface uses GX_Actions, GX_Experts; type IGxMenuActionManager = interface(IUnknown) ['{79950A81-D020-11D3-A941-B048DE000000}'] function GetAlphabetical: Boolean; procedure SetAlphabetical(const DoAlphabetize: Boolean); function GetPlac...
unit InputSearchHandler; interface uses Classes, VoyagerServerInterfaces, VoyagerInterfaces, Controls, InputSearchHandlerViewer, VCLUtils; const tidParmName_xPos = 'x'; tidParmName_yPos = 'y'; tidParmName_Fluid = 'Fluid'; tidParmName_Town = 'Town'; tidParmName_Owner = 'Owner'; ...
unit Control.CadastroRH; interface uses System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Common.ENum, Model.CadastroRH; type TCadastroRHControl = class private FCadastro : TCadastroRH; public constructor Create; destructor Destroy; override; property RH: TCadastroRH read FCadastro write FC...
unit SendForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TSenderForm = class(TForm) Button1: TButton; Memo1: TMemo; BitBtn1: TBitBtn; Button2: TButton; CheckBox1: TCheckBox; Edit1: TEdit; procedure ShowSender(Sen...
PROGRAM ConvertingNumber(INPUT, OUTPUT); VAR Number, Base, MultiplicationResult, AdditionResult, Remainder: INTEGER; BEGIN {ConvertingNumber} READ(Number, Base); IF ((Number >= 1) AND (Number <= 109)) AND ((Base >= 2) AND (Base <= 10)) THEN BEGIN MultiplicationResult := 1; AdditionResult := 0; ...
unit UOperationBlock; interface uses UAccountKey, URawBytes; type TOperationBlock = Record block: Cardinal; account_key: TAccountKey; reward: UInt64; fee: UInt64; protocol_version: Word; // Protocol version protocol_available: Word; // Used to upgrade protocol timestamp: Cardina...