text
stringlengths
14
6.51M
unit MFichas.Model.Pagamento.Interfaces; interface uses MFichas.Model.Entidade.VENDAPAGAMENTOS, MFichas.Model.Entidade.VENDA, ORMBR.Container.ObjectSet.Interfaces; type iModelPagamento = interface; iModelPagamentoMetodos = interface; iModelPagamentoMetodosProcessar = interface; ...
unit QueryCard_Form; (*----------------------------------------------------------------------------- Unit Name: enNewQueryCard Author: Инишев Дмитрий & Михаил Морозов Purpose: Новая карточка запросов History: $Id: QueryCard_Form.pas,v 1.34 2013/08/07 10:24:16 morozov Exp $ $Log: QueryCard_Form.pas,v $ Re...
(* _______________________________________________________________________ | | | CONFIDENTIAL MATERIALS | | | | Thes...
unit midi.output; interface uses System.Math, WinApi.Windows; type TMIDIOutput = class private _queue: THANDLE; _timer: THANDLE; _period: DWORD; _steps: integer; procedure Tick; public constructor Create; destructor Destroy; override; procedure SetTimer(period: integer); ...
unit DW.OSLog.Mac; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library } { ...
unit DirectStuff; interface uses Windows, DirectDraw, Direct3D; {$IFOPT C+} function DDR( Value : HRESULT ) : HRESULT; var ddRes : HRESULT; {$ENDIF} // DirectX Version Specific Type Setup type IDirectDraw = IDirectDraw7; IDirectSurface = IDirectDrawSurface7; IDirectPalette =...
UNIT TIME; INTERFACE uses crt,dos,general; function JOUR(dayofweek:word):string; function MOIS(month:word):string; function HMS(hour,minute,seconde:word):string; function JMA(year,month,day:word):string; function NBREJOUR(year,month:word):integer; function JOURDESEMAINE(year,month,day:word):word; procedure...
// This unit is the manager to all block releated in the game. // Esta unit gere tudo o que tem a ver com blocos no jogo. unit BlockManager; interface // Uses GlobalVariables to have access to the global variables... // Uses GlobalVaraibles para ter acesso ás variavels globais... uses crt, GlobalVariables; ...
unit ExcludedTestsFolders; {* Папки тестов исключаемые из запуска } // Модуль: "w:\common\components\rtl\Garant\DUnitTuning\ExcludedTestsFolders.pas" // Стереотип: "SimpleClass" // Элемент модели: "TExcludedTestsFolders" MUID: (4C9386230151) {$Include w:\common\components\rtl\Garant\DUnitTuning\tfwDefine.inc} inter...
unit FrameHelper; interface uses Classes; type TFrameHelper = class(TComponent) private FOnDestroy: TNotifyEvent; FOnCreate: TNotifyEvent; procedure SetOnCreate(const Value: TNotifyEvent); procedure SetOnDestroy(const Value: TNotifyEvent); protected procedure Loaded; override; ...
unit K365824453; {* [Requestlink:365824453] } // Модуль: "w:\archi\source\projects\Archi\Tests\K365824453.pas" // Стереотип: "TestCase" // Элемент модели: "TK365824453" MUID: (4FC4B03C0085) {$Include w:\archi\source\projects\Archi\arDefine.inc} interface {$If Defined(nsTest) AND Defined(InsiderTest)} uses l3IntfU...
unit fmuEJReports; interface uses // VCL Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, // This untPages, untDriver, ComCtrls, Spin; type { TfmEKLZReportInSessionsRange } TfmEJReports = class(TPage) Memo: TMemo; btnGetEKLZDepartmentReportI...
unit osCustomDataSetProvider; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Provider, db, dbclient, variants; type TBeforeOSGetRecordsEvent = procedure(Count: Integer; Options: Integer; const CommandText: WideString; Params: TParams; var vParams, Own...
unit G2Mobile.Model.ExportarPedidos; interface uses FMX.ListView, uDmDados, uRESTDWPoolerDB, System.SysUtils, IdSSLOpenSSLHeaders, FireDAC.Comp.Client, FMX.Dialogs, FMX.ListView.Appearances, FMX.ListView.Types, System.Classes, Datasnap.DBClient, FireDAC.Comp.DataSet, Data.DB, FMX.Objects, ...
unit uReceiveData; 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.Objects, FMX.Layouts, FMX.Memo, IPPeerClient, IPPeerServer, System.Tether.Manager, System.Tether.AppProfile, System...
unit uSettingApp; interface uses uModel, System.SysUtils, uUser; type TSettingApp = class(TAppObject) private FCabang: TCabang; FGudangPenjualan: tgudang; FGudangTransit: tgudang; FMaxBelanjaSantri: Double; procedure SetCabang(const Value: TCabang); procedure SetGudangPenjualan(const Va...
unit TTSACCESSTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSACCESSRecord = record PLenderNum: String[4]; PUserName: String[10]; PModCount: Integer; PRights: String[7]; PRightRank: String[1]; End; TTTSACCESSBuffer = class(TDataBu...
unit UDemo; interface uses SysUtils, Types, UITypes, Classes, Variants, FMX.TMSXUtil, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TMSBaseControl, FMX.TMSGridOptions, FMX.TMSGridData, FMX.TMSGrid, FMX.Edit, FMX.ListBox, FMX.ExtCtrls, FMX.Colors, FMX.Menus, FMX.TMSGridCell, FMX.TMSCustomGrid, FMX.Std...
unit Model.Lancamentos; interface uses Common.ENum, FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, System.Variants; type TLancamentos = class private FCodigo: Integer; FDescricao: String; FData: TDateTime; FCadastro: Integer; FEntregador: Integer; FTipo: String; FValor: Double; ...
unit Actual; interface uses Windows, Messages, SysUtils, Classes, Graphics, Forms, Dialogs, Controls, StdCtrls, Buttons, Db, DBTables, htmlHelp; type TActualDlg = class(TForm) OKBtn: TButton; CancelBtn: TButton; HelpBtn: TButton; SrcList: TListBox; DstList: TListBox; SrcLabel: TLabel; ...
unit dmfotos; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, rxmemds, ZDataset, db ,dmGeneral ; type { TDM_Fotos } TDM_Fotos = class(TDataModule) qFotoRelacionFOTO: TBlobField; qFotoRelacionIDFOTO: TStringField; qFotoRelacionRELACION: TStringField; tbF...
{ Copyright (C) 2013-2019 Tim Sinaeve tim.sinaeve@gmail.com 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...
unit MVCBr.FMX.PageView; interface uses FMX.Forms, FMX.Controls, System.Classes, System.SysUtils, MVCBr.Interf, MVCBr.PageView, MVCBr.FormView, FMX.TabControl, FMX.Types; type TFMXpageViewOnQueryClose = procedure(APageView: IPageView; var ACanClose: boolean) of object; TFMXPageViewManager = class(TCustom...
unit cAtualizacaoBancoDeDados; interface uses System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, FireDAC.Comp.Client, System.SysUtils; type TAtualizaBancoDados = class private public ConexaoDB: TFDConnection; constructor Create(aConexao: TFDConnection); procedure ExecutaDiretoBancoDeDados(...
unit TestuRfMemoryProfiler; interface uses TestFramework, uRfMemoryProfiler, SyncObjs, Classes, Contnrs, uUnitTestHeader, Diagnostics, Windows; type {$DEFINE BUFFER_TRACKER} {$DEFINE INSTANCES_TRACKER} {$Include RfMemoryProfilerOptions.inc} // Test methods for class TAllocationMap TObjectTest = class(T...
{ *************************************************************************** Copyright (c) 2015-2021 Kike Pérez Unit : Quick.FileMonitor Description : Watch for single file changes Author : Kike Pérez Version : 1.2 Created : 11/09/2017 Modified : 10/05/2021 This file is part o...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons; type IAnimal = interface ['{8C3A2794-51D3-4401-8849-B4A4BF97C70F}'] function classe: string; funct...
unit K609131924; {* [Requestlink:609131924] } // Модуль: "w:\common\components\rtl\Garant\Daily\K609131924.pas" // Стереотип: "TestCase" // Элемент модели: "K609131924" MUID: (561F3A590343) // Имя типа: "TK609131924" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas} interface {$If Defined(nsTest)...
unit clAcessos; interface uses Vcl.ActnList, clConexao, System.Classes; type TAcessos = Class(TObject) private function getFormulario: String; function getModulo: String; function getUsuario: Integer; procedure setFormulario(const Value: String); procedure setModulo(const Value: String); ...
unit D_AttrActiveInterval; {$Include l3Define.inc} interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, vtCombo, vtDateEdit, Buttons, ExtCtrls, d_DateIntervalEdit, k2Interfaces, k2Tags, DT_Const, DT_Active, OvcBase, evEditorWindow, evMultiSe...
///<summary> This unit contains operating system dependent functions, at least some of them. </summary> unit GX_dzOsUtils; interface uses Windows, SysUtils, Classes; type EOsFunc = class(Exception); EOFNoFileinfo = class(EOsFunc); ///<summary> Reads a file's version information and returns t...
{ Date Created: 6/2/00 4:10:37 PM } unit InfoTRANCODE_NEWTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoTRANCODE_NEWRecord = record PCode: String[2]; PDescription: String[30]; PGroup: Integer; PCertificateCoverage: Boolean; PActive: Bo...
unit QuickList_QuoteInstant; interface uses QuickSortList, define_stock_quotes_instant; type PInstantQuoteListItem = ^TInstantQuoteListItem; TInstantQuoteListItem = record StockPackCode : integer; InstantQuote : PRT_InstantQuote; end; TQuoteInstantLi...
unit K620665614_C21100713; {* [RequestLink:620665614] } // Модуль: "w:\common\components\rtl\Garant\Daily\K620665614_C21100713.pas" // Стереотип: "TestCase" // Элемент модели: "K620665614_C21100713" MUID: (56FA6CE00222) // Имя типа: "TK620665614_C21100713" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.i...
unit SelectorValuesBaseTest; {$mode objfpc}{$H+} interface uses Classes, SysUtils, ParserBaseTestCase, ValuesParsingBaseTest, WpcScriptCommons, WpcStatements, WpcScriptParser, WpcExceptions; type { TSelectorValuesBaseTest } TSelectorValuesBaseTest = class abstract(TValuesParsingBaseTest) prote...
unit CDOClass; {$mode objfpc}{$H+} interface uses Classes, SysUtils, CDOCons, comobj, variants, Dialogs,CDO_1_0_TLB, uFrmSplash; type TSMTP = (sNone,sGmail,sHotmail,sOutlook,sYahoo); TCDOMessage = Class; TCDOServer = Class; { TCDOServer } TCDOServer = class(TComponent) private FActive: Bool...
{ Subroutine SST_R_PAS_PROC_ARGS (PROC) * * Process the PARAMETER_DECLARATION syntax. PROC is the top level descriptor * for a routine (PROCEDURE or FUNCTION). The routine arguments chain will be * created and PROC.FIRST_ARG_P will point to the start of the arguments chain. * PROC.FIRST_ARG_P will be set to...
unit DcefB_BasicEvents; interface uses Windows, Classes, Controls, Dcef3_cefgui, Dcef3_ceflib; type TOnProcessMessageReceived = procedure(const browser: ICefBrowser; sourceProcess: TCefProcessId; const message: ICefProcessMessage; out Result: Boolean) of object; TOnLoadingStateChange = procedure(const...
unit evContentsNode; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "Everest" // Автор: Инишев Д.А. // Модуль: "w:/common/components/gui/Garant/Everest/evContentsNode.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML...
unit EditorMain; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, EditableObjects, Menus, Notifications; type TEditorMainForm = class(TForm, IHook) pnLeft: TPanel; pnRightContainer: TPanel; MainMenu1: TMainMenu; Fil...
unit HouseMapForma; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, DBCtrlsEh, ExtCtrls, DB, FIBDataSet, pFIBDataSet, PrjConst; type TFlat = record flat_no: string; flat_id: integer; customer_id: integer; Debt_SUM: Currency; ...
unit RDOConnectionPool; interface uses Collection, RDOInterfaces, WinSockRDOConnection; const MaxCnns = $FF; type TRDOConnectionInfo = class; TRDOConnectionPool = class; TRDOConnectionInfo = class public constructor Create(Connection : IRDOConnectionInit); ...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clEpp; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, msxml, Windows,{$IFDEF DEMO} Forms, clCertificate,{$ENDIF} {$ELSE} System.Classes, System.SysUtils, Winapi.msxml, W...
unit dcCominationEdit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, dcEdit, dcEditBtn; type TdcCominationEdit = class(TdcEdit) private FCombination: string; procedure SetCombination(const Value: string); { Private declarations } protected ...
unit ExtractorMain; {$DEFINE USE_DZIP_UNPACK} // recommended interface uses Windows, SysUtils, Classes, Controls, Forms, Dialogs, StdCtrls, ShellAPI, ExtCtrls, ComCtrls, ZipMstr19, ZMMsgStr19, ZMMsg19, ZMDelZip19, ZMCompat19, SFXBehavior, ShlObj; type TOverwriteDecision = (odUndefined, odOverwri...
unit Cloud.Client; interface uses System.SysUtils, System.Classes, System.JSON, System.DateUtils, Net.Socket, Lib.Timer, Cloud.Consts, Cloud.Types, Cloud.Utils; type TCloudClient = class private KeepAliveTimer: TTimer; Delegate: TCloudDelegate; Client: TTCPSocket...
Program Aufgabe6; {$codepage utf8} Var UserName: String; UserGroup: String; Rechtewahl: String; Rechte: String = ''; Begin Write('Bitte gib den Benutzernamen ein: '); ReadLn(UserName); Write('Bitte gib die Gruppe des Nutzers an: '); ReadLn(UserGroup); Write('Welche Rechte willst du ...
{ *************************************************************************** Copyright (c) 2016-2019 Kike Pérez Unit : Quick.FaultControl Description : Thread workers retry and circuit break Author : Kike Pérez Version : 1.5 Created : 20/06/2019 Modified : 02/12/2019 This file...
unit MFichas.Model.Entidade.VENDAPAGAMENTOS; interface uses DB, Classes, SysUtils, Generics.Collections, /// orm ormbr.types.blob, ormbr.types.lazy, ormbr.types.mapping, ormbr.types.nullable, ormbr.mapping.classes, ormbr.mapping.register, ormbr.mapping.attributes; type [Entity]...
{ 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 Model.Funcoes; interface type TFuncoes = class private FID: System.Integer; FDescricao: System.string; FLog: System.string; public property ID: System.integer read FID write FID; property Descricao: System.string read FDEscricao write FDescricao; property Log: Sys...
unit DW.VirtualKeyboardRect.Android; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platform Libra...
unit uProOrcamento; interface uses System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, ZAbstractConnection, ZConnection, ZAbstractRODataset, ZAbstractDataset, ZDataset, System.SysUtils, Data.DB, uControleEstoque, uEnun, RxMemDS; type TOrcamento ...
unit ExtAIStates; interface uses Classes, SysUtils, ExtAIMsgStates, ExtAIStatesTerrain, ExtAINetClient, ExtAISharedInterface; // States of the ExtAI type TExtAIStates = class private fMsg: TExtAIMsgStates; fClient: TExtAINetClient; // Game variables fTerrain: TExtAIStatesTerrain; // Send s...
unit uSceneCraft; interface uses uScene, Graphics, uGraph, uResFont, uButton; type TSceneCraft = class(TSceneCustom) private FT: Integer; FF, FK, FBG, FLogo, VL, HL: TBitmap; FGraph: TGraph; FFont: TResFont; FLeft, FTop: Integer; FVCursorPos, FHCursorPos: Integer; FCraf...
unit StdBmpForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TStdBmpViewer = class(TForm) ePath: TEdit; btnStart: TButton; Label1: TLabel; Label2: TLabel; eFilter: TEdit; procedure btnStartClick(Sender: TObject); private ...
unit ModelServerReportForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ExtCtrls, StdCtrls, Buttons; const ModelServerKey = '\Software\Oceanus\Five\ModelServer\'; type TModelServerReport = class(TForm) Panel1: TPanel; Image1: TImage; PageCon...
unit MailServerInterfaces; interface uses Classes; type IMailServer = interface function NewMailAccount(Account, Alias, FwdAddr : string; KeepMsg : boolean) : boolean; function DeleteAccount (Account : string) : boolean; function SetForwardRule(Account, FwdAddr : string;...
unit App; { Based on 022_parallax_map.cpp example from oglplus (http://oglplus.org/) } {$INCLUDE 'Sample.inc'} interface uses System.Classes, Neslib.Ooogles, Neslib.FastMath, Sample.App, Sample.Geometry; type TParallaxMapApp = class(TApplication) private FProgram: TGLProgram; FVerts: TGLBuffe...
{ $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 MainFrm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Sensors, System.Sensors.Components, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Objects, FMX.Layouts, OpenWeatherAPI, Classes, FMX.E...
unit CoreMisc; {=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=] Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie All rights reserved. For more info see: Copyright.txt [=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=} interface...
unit ChromeLikeTabSetRes; interface uses SysUtils, Classes, vgComponent, vgCustomResources, vg_scene, ChromeLikeTabSetTypes, ImgList, vtPngImgList; type TChromeLikeTabSetResources = class(TDataModule) vgResources: TvgResources; CloseButtonImages: TvtNonFixedPngImageList; private function pm_GetCl...
unit cSpecobj; interface uses contnrs; type TSpecObj = class(TObject) private _ID : Byte; _X1 : SmallInt; _Y1 : SmallInt; _X2 : SmallInt; _Y2 : SmallInt; _Width : SmallInt; _Height : SmallInt; public property ID : Byte read _ID write _ID; property X1 : SmallInt read _X1 wri...
unit uMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, Data.FMTBcd, System.Rtti, System.Bindings.Outputs, Fmx.Bind.Editors, Data.Bind.EngExt, Fmx.Bind.DBEngExt, Data.Bind.Components, Data.Bind.DBScope, Data.DB...
Unit MazeGen; interface uses MazeMain; Procedure GenMazeHuntAKill(var MazeToCreate: TMaze; StartPoint: TPos); Procedure GenMazeBackTrack(var MazeToCreate: TMaze; Cell: TPos); Procedure GenMazePrim(var MazeToCreate: TMaze; StartPoint: TPos); implementation type TCource = (Up, Down, Right, Left);...
unit msmModelElementDir; {* Список содержимого элемента в виде директории } // Модуль: "w:\common\components\gui\Garant\msm\msmModelElementDir.pas" // Стереотип: "SimpleClass" // Элемент модели: "TmsmModelElementDir" MUID: (57B1674A02B6) {$Include w:\common\components\msm.inc} interface uses l3IntfUses , msmView...
unit SensorMonitorsU; interface uses System.Bluetooth.Components, System.Bluetooth,System.SysUtils, FMX.Edit; type // Update Event Heart Monitor TEventHeartMonitorUpdateData = procedure(const AMeasurement : string; const ASensorLocation : String) of object; // Heart monitor THeartMonitor = class...
program calendar(input, output); type month = (jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec); var days : array [month] of 28 .. 31; mon, this : month; year : integer; function isLeapYear(y : integer) : boolean; begin isLeapYear := (y mod 400 = 0) or ((y mod 4 = 0) and (y mod 100 <> 0)) e...
unit StockDataApp; interface uses define_stockapp, define_dealItem, define_StockDataApp, windef_msg, UtilsHttp, win.process, BaseApp, Forms, BaseForm, BaseStockApp, StockDataDownloaderApp, StockDataConsoleApp; type TStockDataAppData = record RunMode: TStockDataAppRunMode; AppAgen...
unit vcmInternalInterfaces; { Библиотека "vcm" } { Автор: Люлин А.В. © } { Модуль: vcmInternalInterfaces - } { Начат: 23.06.2003 18:04 } { $Id: vcmInternalInterfaces.pas,v 1.9 2015/03/18 11:14:07 lulin Exp $ } // $Log: vcmInternalInterfaces.pas,v $ // Revision 1.9 2015/03/18 11:14:07 lulin // - упорядочи...
unit drillformulas; {$mode objfpc}{$H+} interface uses Classes, SysUtils; // Диаметр скважины (Диаметр долота; Коэффициент кавернозности), м (мм) function DiameterWell(DiameterBit: real; K_kavern: real):real; // Площадь круга (Диаметре,м^2 (мм^2)), м^2 (мм^2) function PloshadKruga (Diameter: real):real; //Площад...
{!DOCTOPIC}{ PointTools } {!DOCREF} { @method: function se.ScalePoint(const Center, Pt:TPoint; Radius:Integer): TPoint; @desc: Scales the point based on the angle between `Center` and `Pt`. Radius = the amount to move the point: EG: [code=pascal] >> se.ScalePoint([0,0], [10,1], 100) ...
unit FmItemsEditor; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, GsDocument, Vcl.Menus, Vcl.StdActns, System.Actions, Vcl.ActnList, Vcl.PlatformDefaultStyleActnCtrls, Vcl.Actn...
namespace Sugar.Test; interface uses Sugar, RemObjects.Elements.EUnit; type BinaryTest = public class (Test) private Data: Binary; DataBytes: array of Byte := [72, 101, 108, 108, 111]; //method AreEquals(Expected, Actual: array of Byte); public method Setup; override; m...
unit GX_ProofreaderAutoCorrectEntry; interface uses Classes, Controls, Forms, StdCtrls, GX_ProofreaderUtils, GX_BaseForm; type TfmProofreaderAutoCorrectEntry = class(TfmBaseForm) lblReplaceWhat: TLabel; edtReplaceWhat: TEdit; btnOK: TButton; btnCancel: TButton; lblLocation: TL...
unit View.FrmPrincipal; 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, FMX.Objects, FMX.Menus, FMX.Layouts; type ...
//////////////////////////////////////////////////////////////////////////////// // LibraryEvents.pas // MTB communication library // Library event definition // (c) Jan Horacek (jan.horacek@kmz-brno.cz), //////////////////////////////////////////////////////////////////////////////// { LICENSE: Copyright 2...
unit OXmlLng; { Author: Ondrej Pokorny, http://www.kluug.net All Rights Reserved. License: CPAL 1.0 or commercial Please see the /license.txt file for more information. } { OXmlLng.pas Language definitions for OXml library. } {$I OXml.inc} {$IFDEF O_DELPHI_XE4_UP} {$ZEROBASEDSTRINGS O...
{ 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>} { Source: https://forum.lazarus.freepascal.org/index.php?topic=20274.0 -i --install: register the daemon. This has no effect under unix...
unit ScreenPrint; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Printers; type TScreenPrint = class(TComponent) private { Private declarations } protected { Protected declarations } public constructor Create(AOwner: TComponent); overri...
unit qcndate; interface { 本单元算法数据使用自早期 UCDOS 的农历数据,本来想使用寿星万年历的数据,但太复杂 所以暂时舍弃。 本单元Delphi接口由swish设计实现,版权归swish所有。 更新日志 2015.2.26 ========== * 修正了在2007下的编译警告(感谢麦子仲肥) } uses System.Classes, System.SysUtils; type {$HPPEMIT '#pragma link "qcndate"'} TCnDate = record case Integer of 1: ...
{ controller.pas Controller class for the texteditor example. This example project is released under public domain AUTHORS: Felipe Monteiro de Carvalho } unit controller; {$mode delphi}{$STATIC ON} interface uses Classes, SysUtils, foundation, objc, appkit, MacOSAll; type { TMyController } TMyControl...
namespace Sugar.Crypto; interface {$IFDEF ECHOES}(* uses System.IO, System.IO.Compression, System.Security.Cryptography; type Aes = public class private protected public const AESBlockLength = 16; const AESKeyLength = 32; const AesCipherMode = CipherMode.CBC; const AesPaddingMode = Pad...
unit UDataListViewFrame; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.JSON, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.ListView.Types, FMX.ListView, UDataListView, DBXJSON, Data.DB, FireDAC.Comp.DataSet, FireDAC.C...
unit GX_BookmarkList; interface uses SysUtils, Classes; type TBookmark = class private FLine: Integer; FNumber: Integer; FCharIdx: Integer; FModule: string; FText: string; public constructor Create(_Number, _Line, _CharIdx: Integer; const _Module: string); overload;...
{ RegisterRxDB 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 ...
namespace Sugar.Test; interface uses Sugar, RemObjects.Elements.EUnit; type StringTest = public class (Test) private Data: String; public method Setup; override; method LengthProperty; method CharsProperty; method Contactenation; method ImplicistCast; method F...
program ejercicio2; type lista = ^nodo; persona = record dni: integer; nombre: string; apellido: string; end; nodo = record dato: persona; sig: lista; end; procedure leerPersona(p: persona); // 8* Debería pasarse por referencia begin r...
unit ExportSettingsForma; interface {$I defines.inc} uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls, MemTableDataEh, Db, GridsEh, DBGridEh, MemTableEh, DBCtrlsEh, Mask, RxToolEdit, ToolWin, DBCtrls, FIBDataSet, pFIBDataSet, Menus, OkCanc...
unit ChangeAllTablesTest; {* Работа со всеми таблицами документа. } // Модуль: "w:\common\components\gui\Garant\Daily\ChangeAllTablesTest.pas" // Стереотип: "TestCase" // Элемент модели: "TChangeAllTablesTest" MUID: (4C3FEB280134) {$Include w:\common\components\gui\sdotDefine.inc} interface {$If Defined(nsTest) AN...
//m4rcelpl@outlook.com unit RITslip; interface uses Registry, Windows, INIFiles; type TeRITslip = class // TForm1 = class(TForm) private { Private declarations } public { Public declarations } procedure SaveIntegerReg(RootKeyName : HKEY; key : string; keyName : string; value : integer); p...
unit uStatusVO; interface uses System.SysUtils, uTableName, uKeyField, System.Generics.Collections; type [TableName('Status')] TStatusVO = class private FAtivo: Boolean; FCodigo: Integer; FId: Integer; FNome: string; FNotificarSupervisor: Boolean; FNotificarRevenda: Boolean; FNoti...
unit K620665614_H11300096; {* [RequestLink:620665614] } // Модуль: "w:\common\components\rtl\Garant\Daily\K620665614_H11300096.pas" // Стереотип: "TestCase" // Элемент модели: "K620665614_H11300096" MUID: (56FA6D120037) // Имя типа: "TK620665614_H11300096" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.i...
unit OfficeLike_System_Controls; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "UserInteraction" // Модуль: "w:/common/components/gui/Garant/VCM/UserInteraction/OfficeLike_System_Controls.pas" // Родные Delphi интерфейсы (.pas)...
{*********************************************************************** } { File: VTreeData.pas } { } { Purpose: ...
unit steXmlPreProcessor; {$mode objfpc}{$H+} (* Preprocessor markup structure: {{#-03 inner-tag-with-params }} ^ ^ ^ ^ ^ | | | | | | | | | +-----> Preprocessor's TagCloseToken | | | +-------------------------> A inner ...
unit TrackingHistoryResponseUnit; interface uses REST.Json.Types, System.Generics.Collections, GenericParametersUnit, NullableBasicTypesUnit, JSONNullableAttributeUnit, CommonTypesUnit, TrackingHistoryUnit; type TTrackingHistorySummary = class(TGenericParameters) private [JSONName('total_distance')]...
{ 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 IOUnit; {* пакет интерфейсов ввода-вывода } // Модуль: "w:\shared\tie\Garant\GCI\IOUnit.pas" // Стереотип: "Interfaces" // Элемент модели: "IO" MUID: (4423F94903C8) interface uses l3IntfUses ; type OperationError = class {* Во время выполнения операции copy_to один из потоков, участвовавших в операции пер...