text
stringlengths
14
6.51M
unit uimpl; interface uses types, ctypes, sysutils, xlib, x, xutil, xatom; const { MessageBox() Flags } {$EXTERNALSYM MB_OK} MB_OK = $00000000; {$EXTERNALSYM MB_OKCANCEL} MB_OKCANCEL = $00000001; {$EXTERNALSYM MB_ABORTRETRYIGNORE} MB_ABORTRETRYIGNORE = $00000002; {$EXTERNALSYM MB_YESN...
// 移植自Delphi组件,在lcl中算第三方组件了吧 unit Gauges; interface uses SysUtils, Classes, Graphics, Controls, StdCtrls, Types; type TGaugeKind = (gkText, gkHorizontalBar, gkVerticalBar, gkPie, gkNeedle); TGauge = class(TGraphicControl) private FMinValue: Longint; FMaxValue: Longint; FCurValue: Longint; FKi...
{ File: HIToolbox/IBCarbonRuntime.h Contains: Nib support for Carbon Version: HIToolbox-219.4.81~2 Copyright: © 2000-2005 by Apple Computer, Inc., all rights reserved. Bugs?: For bug reports, consult the following page on the World Wide Web: ...
unit OSFuncHelper; interface uses SysUtils, Classes, Windows, SysConst, AnsiStrings, Registry, SyncObjs, DataHelper; const c_SystemSays = 'Система каже:'; c_ObjectSays = 'Об''єкт каже:'; c_Warning = 'Warning'; c_Error = 'Error'; sc_FallenOnError = ' упав, через помил...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit BaiduMapAPI.LocationService.Android; //author:Xubzhlin //Email:371889755@qq.com //百度地图API 定位服务 单元 //官方链接:http://lbsyun.baidu.com/ //TAndroidBaiduMapLocationService 百度地图 安卓定位服务 interface uses System.Classes, System.Types, FMX.Maps, Androidapi.JNI.JavaTypes, Androidapi.JNI.Embarcadero, Androidapi.JNI.GraphicsCon...
unit DAO.Tiragem; interface uses DAO.Base, Model.Tiragem, Generics.Collections, System.Classes, Vcl.Forms, System.UITypes, Vcl.Dialogs; type TTiragemDAO = class(TDAO) public function Insert(aTiragem: Model.Tiragem.TTiragem): Boolean; function Update(aTiragem: Model.Tiragem.TTiragem): Boolean; ...
unit f2Utils; interface uses Windows; function OpenFileDlg(aHandle: HWND; aTitle: PChar; aFilter: PChar): string; function SaveFileDlg(aHandle: HWND; aTitle: PChar; aFilter: PChar; aDefExt: PChar): string; function IsDirWritable(const aDir: AnsiString): Boolean; implementation uses SysUtils, CommDlg; function ...
unit cmdlinecfgui; interface uses Classes, SysUtils, contnrs, cmdlinecfg; type { TCmdLineLayoutInfo } // Section names are assumed to be . separated. // Anything after to . is expected to be a "sub section" of the section. { TLayoutSection } TLayoutElementType = (letSwitch, letSection); TLayoutEleme...
{ Subroutine SST_SET_DTYPES_COMBINE (DT_IN1,DT_IN2,DT_OUT_P) * * Make a composite data type, if possible, from two SET data types. * DT_IN1 and DT_IN2 are the data type descriptors for the two sets. * DT_OUT_P will be returned pointing to a composite data type that is a * superset of both SET data types. DT_...
unit GX_IdeToolPropertiesEnhancer; {$I GX_CondDefine.inc} interface uses SysUtils, Classes, StdCtrls, Forms; type TGxIdeToolPropertiesEnhancer = class public class function GetEnabled: Boolean; // static; class procedure SetEnabled(const Value: Boolean); //static; end; impl...
unit uActions; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, Menus, StdCtrls, ActnList, XPStyleActnCtrls, ActnMan, Grids, uOperations, uHi, uSound; procedure SaveTable(Table : TStringGrid; str : string); procedure SaveEditDet(Edit : TEdit); proce...
{ *********************************************************** } { * TForge Library * } { * Copyright (c) Sergey Kasandrov 1997, 2017 * } { *********************************************************** } unit tfHashes; interface {$I TFL.inc} uses SysUti...
{----------------------------------------------------------------------------- Unit Name: dataMod Author: J. L. Vasser (FMCSA) Date: 2017-10-02 Purpose: Data Module for Data Pull. Provides the bridge between the SAFER Oracle-based database and the Firedbird-based Local Aspen ...
unit vcmRepOperationsCollectionItem; {* Элемент коллекции операций. } { Библиотека "vcm" } { Автор: Люлин А.В. © } { Модуль: vcmRepOperationsCollectionItem - } { Начат: 19.11.2003 13:44 } { $Id: vcmRepOperationsCollectionItem.pas,v 1.53 2015/09/24 14:29:20 kostitsin Exp $ } // $Log: vcmRepOperationsCollect...
namespace Sugar.Test; interface uses Sugar, RemObjects.Elements.EUnit; type ConvertTest = public class (Test) public method ToStringByte; method ToStringInt32; method ToStringInt64; method ToStringDouble; method ToStringChar; method ToStringObject; method ToInt32Byte; method...
unit TTSCODETable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSCODERecord = record PLenderNum: String[4]; PCode: String[2]; PPrimary: String[8]; PData1: String[40]; PData2: String[40]; PData3: String[40]; PData4: String[40]; P...
unit l3Tool; // Модуль: "w:\common\components\rtl\Garant\L3\l3Tool.pas" // Стереотип: "SimpleClass" // Элемент модели: "Tl3Tool" MUID: (48E233B00094) {$Include w:\common\components\rtl\Garant\L3\l3Define.inc} interface uses l3IntfUses , l3ProtoObjectWithCOMQI , l3Interfaces ; type Tl3Tool = class(Tl3ProtoObjec...
unit fmuPrintLine; interface uses // VCL Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, // This untPages, untUtil, ComCtrls, untDriver; type TfmPrintLine = class(TPage) Bevel1: TBevel; lblPrintLine: TLabel; lblLineData: TLabel; lblLineNumber:...
unit nsWindowNode; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "UserInteraction" // Автор: Люлин А.В. // Модуль: "w:/common/components/gui/Garant/VCM/UserInteraction/nsWindowNode.pas" // Начат: 20.10.2009 21:05 // Родные Delp...
unit xn.grid; interface uses Generics.Collections, Vcl.Styles, Vcl.Controls, Vcl.Grids, Vcl.Themes, Vcl.Graphics, Vcl.GraphUtil, Vcl.ExtCtrls, System.SysUtils, System.Classes, System.Math, System.UITypes, Windows, xn.grid.data, xn.grid.common; type TxnGridColumn = class(TCollectionItem) strict p...
unit np.value; interface uses sysUtils, rtti, Math, np.common, Generics.Collections; const objectId = 'object'; arrayId = 'array'; booleanId = 'boolean'; undefinedId = 'undefined'; nullId = 'null'; numberId = 'number'; exceptionId = 'exception'; stringId = 'string'; spreadId ...
program FeldSort3 (input,output); {sortiert ein einzulesendes Feld von integer-Zahlen} const FELDGROESSE = 5; type tIndex = 1..FELDGROESSE; tFeld = array [tIndex] of integer; var EingabeFeld : tFeld; idx : tIndex; procedure FeldSortieren (var SortFeld : tFeld); var i : tIndex; ...
unit Sample.Platform.Windows; {$INCLUDE 'Sample.inc'} interface uses System.Classes, Winapi.Windows, Sample.Platform; type { Implements Windows-specific functionality. } TPlatformWindows = class(TPlatformBase) {$REGION 'Internal Declarations'} private const WINDOW_CLASS_NAME = 'SampleWindow'; pr...
unit StockDayData_Parse_Sina_Html1; interface uses win.iobuffer, define_stockday_sina, define_stock_quotes, StockDayDataAccess; function DataParse_DayData_Sina(ADataAccess: TStockDayDataAccess; AResultData: PIOBuffer): Boolean; overload; implementation uses Sysutils, StockDayData_Parse_Sina...
unit HighScore; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls; type THighScoreForm = class(TForm) PageControl: TPageControl; RemainingTab: TTabSheet; TimeTab: TTabSheet; RemainingList: TListView; ScoreTab: TTabSheet...
unit NotificationLayoutData; interface uses System.SysUtils, System.Classes, FMX.Types, FMX.Controls, FMX.Layouts, System.uiTypes, FMX.Edit, FMX.StdCtrls, FMX.Clipboard, FMX.Platform, FMX.Objects, FMX.graphics, System.Types, StrUtils, FMX.Dialogs, crossplatformHeaders, System.Generics.Collections, FMX.Vir...
{************************************************************************************************************************** * Classe/Objeto : TFinanceiroPrazosExtratosControl * Finalidade : Módulo controller da classe TFinanceiroPrazosExtratos * Nível : Controller * Autor : Celso Mutti * Data ...
unit App; { Based on Simple_VertexShader.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://w...
unit System.uDebug; { manter aqui somente funções e debug.. objetivo } interface {$I delphi.inc} uses {$IFDEF MSWINDOWS} windows, {$ENDIF} {$IFDEF FMX} FMX.Dialogs, FMX.Forms, {$ELSE} VCL.Dialogs, VCL.Forms, {$ENDIF} System.IOUtils, System.Classes, System.Sysutils, System.Rtti; type TDebugO...
unit GenericReporter; interface uses News, Classes, Collection, SysUtils, Windows; type IContext = interface function SolveIdentifier( Id : string ) : string; end; type TDefinition = class public constructor Create( filename : string ); destruc...
unit uRichEditor; interface uses uEditorBase, Classes, SysUtils, StdCtrls, Controls, Graphics, Dialogs, ComCtrls; type TRichEditor = class(TEditorBase) private FRichEditor: TRichEdit; function GetWordCount: Integer; protected procedure DoLoadFromFile(FileName: string); function DoSaveFile(Fi...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clDownLoader; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, {$ELSE} System.Classes, {$ENDIF} clDCUtils, clUtils, clSingleDC, clMultiDC, clMultiDownLoader; type TclOnSingleDa...
{ Subroutine SST_R_SYO_DOIT (FNAM, GNAM, STAT) * * Process one top level SYN language input file. FNAM is the input file * name. GNAM is returned as the generic name of FNAM. } module sst_r_syo_doit; define sst_r_syo_doit; %include 'sst_r_syo.ins.pas'; procedure sst_r_syo_doit ( {do SYN language fr...
unit VehicleUnit; interface uses REST.Json.Types, System.Generics.Collections, SysUtils, JSONNullableAttributeUnit, NullableBasicTypesUnit, GenericParametersUnit, EnumsUnit; type /// <summary> /// Vehicles in the user's account /// </summary> /// <remarks> /// https://github.com/route4me/json-schem...
{ The unit is part of Lazarus Chelper package Copyright (C) 2010 Dmitry Boyarintsev skalogryz dot lists at gmail.com 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 ...
unit PE.Types.Directories; interface type TImageDataDirectory = packed record RVA: uint32; Size: uint32; function IsEmpty: boolean; inline; function Contain(rva: uint32): boolean; inline; // todo: VirtualAddress is deprecated, use RVA instead. property VirtualAddress: uint32 rea...
unit steParser; (* +--------------------------+ | ┏━┓╺┳╸┏━╸ Simple | | ┗━┓ ┃ ┣╸ Template | | ┃ ┃ ┃ Engine | | ┗━┛ ╹ ┗━╸ for Free Pascal | + -------------------------+ *) {$mode objfpc}{$H+} // load, tokenize and check template interface uses Classes, SysUtils; // Tokens are ...
// Copyright (c) 2017 Embarcadero Technologies, Inc. All rights reserved. // // This software is the copyrighted property of Embarcadero Technologies, Inc. // ("Embarcadero") and its licensors. You may only use this software if you // are an authorized licensee of Delphi, C++Builder or RAD Studio // (the "Embarcad...
program sorting(input, output); type sequence = array[0 .. 9] of integer; var a, b : sequence; procedure cpy(v : sequence; var w : sequence); var i : 0 .. 9; begin for i := 0 to 9 do w[i] := v[i]; end; procedure randomSequence(var a : sequence); var i : 0 .. 9; begin for i :...
unit vcmComponent; { Библиотека "vcm" } { Автор: Люлин А.В. © } { Модуль: vcmComponent - } { Начат: 11.09.2004 16:03 } { $Id: vcmComponent.pas,v 1.6 2014/07/16 15:56:56 lulin Exp $ } // $Log: vcmComponent.pas,v $ // Revision 1.6 2014/07/16 15:56:56 lulin // - чистим код и упрощаем наследование. // // Re...
// ********************************************************************** // // Copyright (c) 2001 MT Tools. // // All Rights Reserved // // MT_DORB is based in part on the product DORB, // written by Shadrin Victor // // See Readme.txt for contact information // // *****************************************************...
unit ddSectionWithSub2Para; { Удаляет разрывы разделов, преобразует разрывы разлеов с метками в абзацы } interface uses evdLeafParaFilter, k2Interfaces, L3Types, k2Base ; type TddSectionWithSub2ParaFilter = class(TevdLeafParaFilter) protected {* Summary Определяет нужно ли фильтровать переданн...
unit journent; interface uses lstr; const JOURNENT_FIRST_REC = 4; JOURNENT_MAX_CACHE_SIZE = 800; JOURNENT_DEFAULT_CACHE_SIZE = 100; type journalentrytype = record blockextent:longint; date:integer; title:string[65] end; journalfilecachetype=record posit:longint; ...
unit FlatPopupMenu; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Menus; type TFlatPopupMenu = class(TPopupMenu) procedure DrawMenu(Sender: TObject; ACanvas: TCanvas; ARect: TRect; State: TOwnerDrawState); procedure MeasureMenu(Sender: TObject; A...
unit RiffIO; interface implementation end. (* /*----------------------------------------------------------------------------*\ rlefile.c - file handling for RLEAPP \*----------------------------------------------------------------------------*/ // COPYRIGHT: // // (C) Copyright Microsoft Corp. 1993. All rig...
unit NtUtils.ErrorMsg; interface uses Ntapi.ntdef; // Converts common error codes to strings, for example: // 1314 => "ERROR_PRIVILEGE_NOT_HELD" // $C00000BB => "STATUS_NOT_SUPPORTED" // Returns empty string if the name is not found. function NtxpWin32ErrorToString(Code: Cardinal): String; function NtxpS...
unit float_expression_lib; interface uses classes,expression_lib; type TFloatExpression=class(TAbstractExpression) protected procedure MakeEvaluationTree; override; procedure PlusMinus(s: string; var treeNode: TEvaluationTreeNode); procedure MulDiv(s: string; var treeNode: TEvaluationTreeNode); pr...
unit ScrollListBox; interface uses System.SysUtils, System.Classes, Vcl.Controls, Vcl.StdCtrls; type TScrollListBox = class(TListBox) private FHorizontalWidth: Integer; procedure SetHorizontalWidth(const Value: Integer); { Private declarations } protected { Protected declaratio...
unit pang_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} nz80,kabuki_decript,main_engine,controls_engine,gfx_engine,rom_engine, pal_engine,oki6295,sound_engine,eeprom; function iniciar_pang:boolean; implementation const //Pang pang_rom:array[0..1] of tipo_roms=( (n:'pang6.bin';...
unit m3StorageInterfaces; {* Интерфейсы для работы с хранилищем. } // Модуль: "w:\common\components\rtl\Garant\m3\m3StorageInterfaces.pas" // Стереотип: "Interfaces" // Элемент модели: "m3StorageInterfaces" MUID: (4720862F0238) {$Include w:\common\components\rtl\Garant\m3\m3Define.inc} interface uses l3IntfUses ...
// PGMtoBMP Command Line Utility // efg, 4 August 1998 {$APPTYPE CONSOLE} PROGRAM PGMtoBMP; USES Windows, // TRGBTriple Classes, // TFileStream Graphics, // TBitmap SysUtils; // FindFirst, FindNext, FindLast VAR Bitmap : TBitmap; FileName : STRING; ...
unit DelayValuesParsingTest; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FpcUnit, TestRegistry, ParserBaseTestCase, ValuesParsingBaseTest, WpcScriptCommons, WpcStatements, WpcStatementProperties, WpcCommonTypes, WpcScriptParser; type { TDelayValuesParsingTest } TDelayValuesParsingTes...
unit ExtAIStates; interface uses Classes, SysUtils, ExtAIMsgStates, ExtAINetClient, ExtAISharedInterface; // States of the ExtAI type TExtAIStates = class private fStates: TExtAIMsgStates; fClient: TExtAINetClient; // Game variables //fTerrain: TExtAITerrain; //fHands: TExtAIHands; // ...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit kwPopEditorSetStyle2Table; {* [code] aStyle anEditor pop:editor:SetStyle2Table [code] aStyle - номер стиля из таблицы стилей. anEditor - редактор, в котором производятся изменения. } // Модуль: "w:\archi\source\projects\Archi\Archi_Insider_Test_Support\kwPopEditorSetStyle2Table.pas" // Стереотип: "ScriptKeyword...
unit DAO.EnderecosEmpresa; interface uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Control.Sistema, Model.EnderecosEmpresa; type TEnderecosEmpresaDAO = class private FConexao : TConexao; public constructor Create(); function GetID(iID: Integer): Integer; function Insert(a...
unit Unit2; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Bluetooth, System.Bluetooth.Components, FMX.Objects, FMX.ListView.Types, FMX.ListView, FMX.StdCtrls, FMX.TabControl, BluetoothStream, F...
unit MdiChilds.SetNotNormResources; 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.Samples.Spin, Vcl.ExtCtrls, MdiChilds.ProgressForm, MdiChilds.Reg, GsDocument, MdiCh...
unit ServerHorse.Controller; interface uses ServerHorse.Model.Entity.USERS, ServerHorse.Controller.Generic, ServerHorse.Controller.Interfaces, ServerHorse.Model.Entity.CUSTOMERS, ServerHorse.Model.Entity.OCCUPATION, ServerHorse.Model.Entity.COUNTRIES, ServerHorse.Model.Entity.STATES, ServerHorse.Model...
program case1; Type TRoomP=object length, width:real; {поля: длина и ширина комнаты} function Square:real; virtual; {метод определения площади} procedure Print; {метод вывода результата на экран} constructor Init(l,w:real); {коснтруктор} end; function TRoomP.Square:real; {тело метода определения площади} b...
unit uCadastroInterface; interface uses System.SysUtils, System.Classes, FireDAC.Comp.Client; type ICadastroInterface = interface ['{F5D013E3-84EE-4D5A-A11F-B960155C8BD4}'] procedure Novo(Programa, IdUsuario: Integer); function Editar(Programa, IdUsuario: Integer): Boolean; procedure Excluir(Program...
unit GetAvoidanceZonesUnit; interface uses SysUtils, BaseExampleUnit; type TGetAvoidanceZones = class(TBaseExample) public procedure Execute; end; implementation uses AvoidanceZoneUnit; procedure TGetAvoidanceZones.Execute; var ErrorString: String; AvoidanceZones: TAvoidanceZoneList; begin A...
{ $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 rights reserv...
unit ce_optionseditor; {$I ce_defines.inc} interface uses Classes, SysUtils, FileUtil, RTTIGrids, Forms, Controls, Graphics, ExtCtrls, Menus, ComCtrls, Buttons, ce_common, ce_widget, ce_interfaces, ce_observer, PropEdits, ObjectInspector; type // store the information about the obsever // exposing some e...
unit sSkinProps; {$I sDefs.inc} interface uses StdCtrls, sConst; const // Images s_BordersMask = 'BORDERSMASK'; s_OuterMask = 'OUTERMASK'; s_ExBorder = 'EXBORDER'; s_LightRegion = 'LRGN'; s_Glow = 'GLOW'; s_GlowMargin = 'GLOWMARGIN'; ...
unit AnimationArchive; interface uses SysUtils, Math, PngFunctions, Contnrs, Generics.Collections, Graphics, PositionRecord, SizeRecord, pngimage, Classes, Windows, Animation, Frame; type TAnimationArchive = class protected fImageArchive: TObjectList; fAnimations: TObjectDictiona...
unit kwF1BaseDate; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "F1 Words" // Автор: Люлин А.В. // Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/F1_Words/kwF1BaseDate.pas" // Начат: 14.11.2011 19:32 // Родные Delphi ин...
unit GetOrdersWithCustomFieldsResponseUnit; interface uses REST.Json.Types, SysUtils, GenericParametersUnit, OrderUnit, CommonTypesUnit; type TGetOrdersWithCustomFieldsResponse = class(TGenericParameters) private [JSONName('results')] FResults: TArray<TArray<string>>; [JSONName('total')] FTo...
unit Control.CadastroGR; interface uses System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Common.ENum, Model.CadastroGR; type TCadastroGRControl = class private FGR : TCadastroGR; public constructor Create; destructor Destroy; override; property GR: TCadastroGR read FGR write FGR; funct...
unit CanvasBmp; interface uses Classes, Consts, Windows, SysUtils, Graphics, MemUtils, Gdi, GdiExt, Buffer; // TCanvasedBuffer =============================================================================== const csAllValid = [csHandleValid..csBrushValid]; type TStretchBltMode = type intege...
unit FontWordsPack; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\FontWordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "FontWordsPack" MUID: (5190B264037C) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface {$If NOT Defined(NoScripts)} uses l3IntfUses , l...
unit uArquivoTexto; interface uses System.SysUtils; type TTipo = (tpExportar, tpImportar); TArquivoTexto = class private FArquivo: TextFile; FRegistro: string; function Posicao(ATamanho: integer; AValor: string): string; function PosicaoImp(APosicaoIni, ATamanho: Integer; AValor: string): st...
unit Main; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls; type TFormMain = class(TForm) ButtonCreatePdf: TButton; procedure ButtonCreatePdfClick(Send...
unit tcChangedToolBar; interface uses l3Interfaces, tcInterfaces, tcItem ; type TtcChangedToolBar = class(TtcItem, ItcChangedToolBar) private f_EditableChange: TtcEditableChange; f_DeletedChildren: ItcToolBarsList; f_AddedChildren: ItcToolBarsList; f_DeletedOperations: ItcOp...
unit BaseTestOnlineExamplesUnit; interface uses TestFramework, SysUtils, ConnectionUnit, Route4MeManagerUnit, IConnectionUnit; type TTestOnlineExamples = class(TTestCase) private const c_ApiKey = '11111111111111111111111111111111'; protected FRoute4MeManager: TRoute4MeManager; FConnection: IConne...
{Version 9.45} { Copyright (c) 1995-2008 by L. David Baldwin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merg...
// stores the breakpoints while the source code is being formatted // Original Author: Thomas Mueller (http://www.dummzeuch.de) unit GX_CodeFormatterBreakpoints; {$I GX_CondDefine.inc} interface uses SysUtils, Classes, ToolsApi; type TSourceBreakpoint = class private FDoHandleExcep...
unit uiscroll; interface uses ui, uimpl, uicomp, uihandle; type TWinScroll=class(TWinComp) private wScrollActive:boolean; last_x_down, last_y_down:integer; protected public procedure CreatePerform;override; procedure CustomPaint;override; procedure MouseButtonDownPerform(...
unit acCollapsePanel; interface uses SysUtils, Classes, Controls, ExtCtrls, Windows, Messages, Graphics, Buttons, Forms, CommCtrl, stdctrls; type TCollapsePanel = class(TPanel) private Fcollapsed: boolean; FcollapsedTitle: TCaption; Fexpan...
unit fOpenDialog; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, StdCtrls, JCLShell,Buttons,shlobj, JvExStdCtrls, JvListBox, JvDriveCtrls, JvCombobox, FileCtrl, cConfiguration; type TfrmOpenDialog = class(TForm) lblFilter: TLabel; cmdOK: TButton; cmdCancel: TButto...
unit nevShapesPaintedSpy; {* Следилка за отрисованными объектами. [RequestLink:235864309] } // Модуль: "w:\common\components\gui\Garant\Everest\new\nevShapesPaintedSpy.pas" // Стереотип: "SimpleClass" // Элемент модели: "TnevShapesPaintedSpy" MUID: (4CA5CC2C03CF) {$Include w:\common\components\gui\Garant\Everest\evD...
unit mcr_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} nz80,main_engine,controls_engine,ay_8910,gfx_engine,rom_engine, pal_engine,sound_engine,z80daisy,z80ctc,timer_engine,file_engine; function iniciar_mcr:boolean; implementation const tapper_rom:array[0..3] of tipo_roms=( (n:'tapper_...
unit OSUtils; {=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=] Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie All rights reserved. For more info see: Copyright.txt [=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=} {$mode o...
unit tipoCombustivelDao_DUnit; interface uses Forms, IBDataBase, IBCustomDataSet, dm, TestFrameWork, TipoCombustivelDao, AbastecimentoDao, Abastecimento, Classes, SysUtils; type T_TipoCombustivelDao_Tester = class(TTestCase) protected db: TIBDataBase; tr: TIBTr...
unit ncsTaskProgress; // Модуль: "w:\common\components\rtl\Garant\cs\ncsTaskProgress.pas" // Стереотип: "SimpleClass" // Элемент модели: "TncsTaskProgress" MUID: (54746A670337) {$Include w:\common\components\rtl\Garant\cs\CsDefine.inc} interface {$If NOT Defined(Nemesis)} uses l3IntfUses , ncsMessage , k2Base ; ...
{ In short its a method that creates a product, the method must be overriden by decendents to extend the base (or sometimes fail-over) product range. } unit FactoryMethod; interface type IProduct = interface // definition not important for illustration end; TAbstractProductCreator = class abstract p...
{$IfNDef vcmUserInteractiveForm_imp} // Модуль: "w:\common\components\gui\Garant\VCM\implementation\Visual\vcmUserInteractiveForm.imp.pas" // Стереотип: "Impurity" // Элемент модели: "vcmUserInteractiveForm" MUID: (4E01D5E50001) // Имя типа: "_vcmUserInteractiveForm_" {$Define vcmUserInteractiveForm_imp} {$If NOT De...
unit ConvertImpl; interface uses Classes, SysUtils, InvokeRegistry, ConvertIntf; type TConvert = class (TInvokableClass, IConvert) protected function ConvertCurrency (Source, Dest: string; Amount: Double): Double; stdcall; function ToEuro (Source: string; Amount: Double): Double; stdcall; function ...
unit clContasReceber; interface uses clCliente, clEntrega, clOrdemServico, clConexao; type TContasReceber = Class(TObject) private function getBaixado: String; function getData: TDate; function getDescricao: String; function getDocumento: String; function getExecutor: String; function g...
unit ThreadJobs; interface uses Classes,SyncObjs,Generics.Collections; type TThreadJob=class Job : TThreadProcedure; constructor Create(J : TThreadProcedure); end; TJobThread = class; TJobThreadList = TObjectList<TJobThread>; TThreadJobQueue = class(TObjectQueue<TThreadJob>) Wak...
unit aeSceneGraph; interface uses types, windows, aeSceneNode, System.Generics.Collections, aeGeometry, aeMaths; type TaeSceneGraph = class(TaeSceneNode) constructor Create; function GetTriangleCount: cardinal; function Intersect(ray: TaeRay3): boolean; function GetChildByName(n: String): TaeSceneN...
unit untConnection; interface uses System.IniFiles, FireDAC.Comp.Client; type TConnection = class private FIniFile: TIniFile; procedure escreverIni; public constructor create(AExeName: String); destructor destroy; procedure conectar(var AFDConnection: TFDConnection); ...
{ rxfilterby unit Copyright (C) 2005-2010 Lagunov Aleksey alexs@yandex.ru and Lazarus team original conception from rx library for Delphi (c) 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 Fo...
unit a2bUserProfile; { $Id: a2bUserProfile.pas,v 1.41 2016/08/11 10:41:53 lukyanets Exp $} // $Log: a2bUserProfile.pas,v $ // Revision 1.41 2016/08/11 10:41:53 lukyanets // Полчищаем dt_user // // Revision 1.40 2016/07/12 13:26:26 lukyanets // Пересаживаем UserManager на новые рельсы // // Revision 1.39 2016/07/...
unit Item; interface uses Engine, DGLE, DGLE_Types, Entity; const ITEM_AMP = 3; ItemFName: array [0..ITEMS_COUNT - 1] of AnsiString = ( 'Shield.png', 'WShield.png', 'TShield.png', 'Dirk.png', 'Iceball.png' ); type TItem = class(TEntity) private Angle: Integer; Dir: Boolean; ...
{ Copyright (c) 2016, Vencejo Software Distributed under the terms of the Modified BSD License The full license is distributed with this software } unit ooFactory_test; interface uses SysUtils, StdCtrls, Controls, Forms, ooFactory.List, ooControlClass.Factory, ooControlClass.Item, {$IFDEF FPC} fpcunit...
unit uAgendamentoMotivo; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Mask, Vcl.Buttons, uEnumerador, Vcl.ComCtrls; const COR_PADRAO: Integer = clBlack; COR_TITULO: Integ...
{ Copyright (C) 2013-2018 Tim Sinaeve tim.sinaeve@gmail.com 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 version. ...
{***************************************************************************} { TMacroRecorder component } { for Delphi & C++Builder } { } { writte...