text
stringlengths
14
6.51M
unit notifieru; interface uses Windows, Messages, Classes, SysUtils, Forms, declu; type _Notifier = class private hWnd: uint; FWndInstance: TFarProc; FPrevWndProc: TFarProc; FActivating: boolean; x: integer; y: integer; need_x: integer; need_y: integer; awidth: integer; ah...
unit FileAPI; interface procedure CreatePath(EndDir: string); { Создаёт иерархию каталогов до конечного каталога включительно. Допускаются разделители: "\" и "/" } function ExtractFileDir(Path: string): string; { Извлекает путь к файлу. Допускаются разделители: "\" и "/" } function ExtractFileName(Path: strin...
{----------------------------------------------------------------------------- The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/MPL-1.1.html...
unit exereader; {$mode objfpc}{$H+} interface uses SysUtils, Math, dosheader; type TExeFileKind = ( fkUnknown, fkDOS, fkExe16, fkExe32, fkExe64, fkExeArm, fkDll16, fkDll32, fkDll64, fkDllArm, fkVXD ); PLongword = ^Longword; TExe...
{$R-} {$Q-} unit ncEncMd5; // To disable as much of RTTI as possible (Delphi 2009/2010), // Note: There is a bug if $RTTI is used before the "unit <unitname>;" section of a unit, hence the position {$IF CompilerVersion >= 21.0} {$WEAKLINKRTTI ON} {$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])} {$ENDIF}...
{=============================================================================== 通讯基类 ===============================================================================} unit xCommBase; interface uses System.Types, xTypes, System.Classes, xFunction, System.SysUtils; type TCommBase = class private ...
unit BInt; interface {const numlen = 102;} uses BigInt, Math; type BigInteger = class private a: number;//array [1..numlen] of byte; s: ShortInt; l: Byte; public constructor Create(num: Int64); overload; constructor Create(abs: number; sign: ShortInt); overload; functi...
unit efatt.dbmodel; {$mode objfpc}{$H+} interface uses Classes, SysUtils, mssqlconn, sqlite3conn, sqldb, FileUtil; type { TdmMain } TdmMain = class(TDataModule) cnSqlLite3: TSQLite3Connection; tbMeta: TSQLQuery; SQLTransaction1: TSQLTransaction; procedure DataMo...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights rese...
program integral3angle(output); {$F+} const a12 = 0.1; b12 = 0.4; a13 = -1.9; {Диапазоны выбрал самые маленькие} b13 = -1.8; a23 = -1.3; b23 = -1.0; eps1 = 0.0001; {Не включал eps как параметры функций, зачем?} eps2 = 0.0001; type func = function(x: real): real; var x12, x13, x23, s: r...
unit Rx.Observable.Defer; interface uses Rx, Rx.Implementations; type TDefer<T> = class(TObservableImpl<T>) type TFactory = Rx.TDefer<T>; strict private FFactory: TFactory; protected procedure OnSubscribe(Subscriber: ISubscriber<T>); override; public constructor Create(const ...
unit fNotesBP; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, fAutoSz, StdCtrls, ExtCtrls, VA508AccessibilityManager; type TfrmNotesBP = class(TfrmAutoSz) Label1: TStaticText; btnPanel: TPanel; cmdPreview: TButton; cmdClose: TButton; grpOptions: TGr...
unit XfpGUIFrame; {$mode objfpc}{$H+} interface uses { FCL RTL } Classes, { X Stuff } X, XLib, { fpGUI units} fpg_base, fpg_main, fpg_x11, fpg_form, fpg_widget, fpg_label,fpg_button, ctypes, { program units } BaseWM, XfpGUIWM, XFrames, xfpwmwidgets, XRootWindow, xfpguiwindow; type { TfpGUIFrame ...
unit IFinanceGlobal; interface uses SysUtils, User, Vcl.Graphics, Location; type TFirstPayment = class strict private FMaxDaysHalf: byte; FHalfInterestRate: currency; FMinDaysHalf: byte; public property MinDaysHalfInterest: byte read FMinDaysHalf write FMinDaysHalf; property MaxDaysHalfIn...
unit uDB; interface uses System.SysUtils, System.Classes, Data.DB, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.FBDef, FireDAC.VCLUI.Wait, FireDAC.Comp.UI, FireDAC.Phys.IBBase...
unit Player.AudioOutput.PCMU; interface uses Windows,SysUtils,Classes,Types,Player.AudioOutput.Base,MediaProcessing.Definitions, ULaw; type TAudioOutputDecoder_PCMU= class (TAudioOutputDecoder) private FDecodeBuffer: TWordDynArray; public function IsDataValid(const aFormat: TMediaStreamDataHeader; ...
{------------------------------------------------------------------------------- // EasyComponents For Delphi 7 // 一轩软研第三方开发包 // @Copyright 2010 hehf // ----------------------------...
unit ClienteServidor; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, Datasnap.DBClient, Data.DB,System.zip,System.Threading, Data.FMTBcd, Data.SqlExpr ; type TServidor = class ...
unit FormHlavneOkno; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ScktComp, StdCtrls; type THlavneOkno = class(TForm) ButtonPripojit: TButton; ClientSocket: TClientSocket; Memo: TMemo; procedure ButtonPripojitClick(Sender: TObject); procedure Clie...
{*******************************************************} { } { Delphi LiveBindings Framework } { } { Copyright(c) 2011-2018 Embarcadero Technologies, Inc. } { All rights rese...
{=============================== Program Header ================================ PROGRAM-NAME : 구성원평가결과 FeedBack - PEA1073A1 SYSTEM-NAME : 평가 SUBSYSTEM-NAME : 평가결과 조회 Programmer : Version : ver 1.0 Date : 2013.11.20 Update Contents 버전 수정일 수정자 수정내용 ...
unit uEventLog; interface uses {$IF CompilerVersion > 22} Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, {$ELSE} Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdC...
unit ufrmBaseInput; interface {$I ThsERP.inc} uses Winapi.Windows, System.SysUtils, System.Classes, Vcl.Controls, Vcl.Forms, Vcl.ComCtrls, Dialogs, System.Variants, Vcl.Samples.Spin, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Graphics, Vcl.AppEvnts, Vcl.Menus, System.StrUtils, System.Rtti, Data.DB, FireDAC.Stan.Opti...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
{$MODE OBJFPC} const InputFile = 'TURTLE.INP'; OutputFile = 'TURTLE.OUT'; var a: array[1..4] of Integer; res: Integer; f: TextFile; i, j: Integer; temp: Integer; begin AssignFile(f, InputFile); Reset(f); ReadLn(f, a[1], a[2], a[3], a[4]); CloseFile(f); for i := 1 to 4 do for j ...
unit ncEnvioCaixa; interface uses sysutils, classes, IdHTTP, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdMultipartFormData; function httpPost( aParams: TStrings; aArq, aHost, aUrl : String): String; implementation uses uLogs; function httpPost(aParams: TStrings; aArq, aHost, ...
unit HexToInt_1; interface implementation function TryHexToInt(const Hex: string; out Value: Int32): Boolean; function Multiplier(Position: UInt32): Int32; inline; var I: Int32; begin Result := 1; for I := 1 to Position do Result := 16 * Result; end; var A, B, I: Int32; M: Int32; begin ...
{************************************************** llPDFLib Version 6.4.0.1389, 09.07.2016 Copyright (c) 2002-2016 Sybrex Systems Copyright (c) 2002-2016 Vadim M. Shakun Al...
unit Mock.Getter.TrimBasics.Factory; interface uses Classes, SysUtils, Windows, OSFile; type TTrimProgress = record CurrentPartition: Integer; PartitionCount: Integer; end; TTrimSynchronization = record IsUIInteractionNeeded: Boolean; ThreadToSynchronize: TThread; Progress: TTrimProgre...
unit JAWSCommon; interface uses SysUtils, Windows, Messages, Registry, StrUtils; const DLL_MESSAGE_ID_NAME: PChar = 'VA 508 / Freedom Scientific - JAWS Communication Message ID'; DISPATCHER_WINDOW_CLASS = 'TfrmVA508JawsDispatcherHiddenWindow'; DISPATCHER_WINDOW_TITLE = 'VA 508 JAWS Dispatcher Window'; DIS...
unit Ths.Erp.Database.Table.SysGridColPercent; interface {$I ThsERP.inc} uses SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils, FireDAC.Stan.Param, System.Variants, Data.DB, Ths.Erp.Database, Ths.Erp.Database.Table; type TSysGridColPercent = class(TTable) private FTableName: TF...
{ Some routines for file and directory handling on a higher level than those provided by the RTS. Copyright (C) 2000-2005 Free Software Foundation, Inc. Author: Frank Heckenbach <frank@pascal.gnu.de> This file is part of GNU Pascal. GNU Pascal is free software; you can redistribute it and/or modify it u...
unit tr.com.isisbilisim.types; interface uses Generics.Defaults, SysUtils; type Nullable<T> = record private FValue: T; FHasValue: IInterface; function GetValue: T; function GetHasValue: Boolean; public constructor Create(AValue: T); function GetValueOrDefault: T; overload; functi...
unit uCycleCommandHandler; interface uses uCommandHandler, uTokenizer, dmConnection; type TCycleCommandHandler = class(TCommandHandler) function HandleCommand(const AConnection: TConnectionData; const ATarget: string; const ATokenizer: TTokenizer): string; override; end; implementation uses SysUtils, Windo...
unit MediaStorage.Transport.Samba; interface uses SysUtils,Classes, Windows, dInterfacesObjectFileStorage,MediaStorage.Transport; type //Транспорт средствами Microsoft Network (samba) TRecordObjectTransport_NetworkPath =class (TRecordObjectTransportBase,IRecordObjectTransport) private FFileName: string; ...
procedure TForm1.btnGoClick(Sender: TObject); var nums: TList; a, b: integer; r: double; begin nums := TList.Create; for a := 2 to 100 do begin for b := 2 to 100 do begin r := power(a, b); if nums.IndexOf(Pointer(r)) = -1 then nums.Add(Poin...
unit PreAchatLocDAOU; interface uses PreAchatLocDTOU, System.Generics.Collections; type TListPreAchatLocDTO=TObjectList<TPreAchatLocDTO>; Type TPreAchatLocDAO =class(TObject) function getPreAchatsLoc:TListPreAchatLocDTO; function getNbr:integer; function Saveloc(vpreachatlocDTO:TPreAchatLocDTO): integer; function is...
program functions; function Fibonacci(n: integer): longint; var i: integer; p, q, r: longint; begin if n <= 0 then Fibonacci := 0 else begin q := 0; r := 1; for i := 2 to n do begin p := q; q := r; r := p + q end; Fibonacci := r end; end; var x: integer; y: longint; begin write('Ente...
{$R-} {$Q-} unit ncEncSha256; // To disable as much of RTTI as possible (Delphi 2009/2010), // Note: There is a bug if $RTTI is used before the "unit <unitname>;" section of a unit, hence the position {$IF CompilerVersion >= 21.0} {$WEAKLINKRTTI ON} {$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])} {$END...
unit SelTabla; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Grids, DBGrids, Db, DBTables, LibApp, IniFiles, IB_Components, TB2Dock, TB2Toolbar, TB2ExtItems, TBXExtItems, TBX, IB_Grid, RxPlacemnt, ImgList, IB_NavigationBar, IB_UpdateBar, T...
(* LLVM Triple Class > Author: Aleksey A. Naumov [alexey.naumov@gmail.com] > License: BSD *) unit llvmTriple; interface uses SysUtils; type TArchType = ( atUnknownArch, atARM, atCellSPU, atHexagon, atMIPS, atMIPSel, atMIPS64, atMIPS64el, a...
unit UnComissoes; {Verificado -.edit; } interface uses Db, DBTables, classes, sysUtils, UnSistema, UnDadosCR, SQLExpr, Tabela; // funcoes type TFuncoesComissao = class Cadastro, Comissao : TSQL; Tabela : TSQLQuery; private procedure PosicionaComissao(VpaTabela : TDataSet; VpaCo...
program _demo; Array[0] var State : MinLMState; Rep : MinLMReport; I : AlglibInteger; S : TReal1DArray; X : TReal1DArray; Y : TReal1DArray; FI : Double; N : AlglibInteger; M : AlglibInteger; begin // // Example of solving polynomial approximation task us...
{ Copyright (C) Alexey Torgashin, uvviewsoft.com License: MPL 2.0 or LGPL } unit ATSynEdit_Cmp_CSS; {$mode objfpc}{$H+} interface uses ATStrings, ATSynEdit, ATSynEdit_Cmp_CSS_Provider; procedure DoEditorCompletionCss(AEdit: TATSynEdit); type TATCompletionOptionsCss = record Provider: TATCssProvider; ...
unit PascalCoin.FMX.Frame.Receive; /// <summary> /// <para> /// For QRCode URL see /// </para> /// <para> /// PIP-0026: a URI scheme for making PascalCoin payments. /// </para> /// <para> /// <see href="https://github.com/PascalCoin/PascalCoin/blob/master/PIP/PIP-0026.md" /><br /> /// </para> /// <para> /// and /// </...
unit uTestEventModel; interface uses TestFrameWork, SysUtils, uBase, uEventModel; type TTestObjectName = class( TTestCase ) published procedure TestCommon; end; implementation { TTestObjectName } const VAL_OK = 1; VAL_FAIL = 2; EVENT_ID = 'TEST_EVENT_ID'; var E...
unit uQTZHelper; interface uses SysUtils, Classes, IdHttp, IdURI, System.Net.URLClient, System.Net.HttpClient, System.Net.HttpClientComponent, uGlobal; type TQTZHelper = class private public class function HttpGet(url: string): string; class function HttpPost(url: string; stream: TStream): string; ...
unit Vigilante.Controller.Mediator; interface uses Vigilante.Controller.Base, Module.ValueObject.URL; type TTipoController = (tcBuild, tcCompilacao); IControllerMediator = interface(IInterface) ['{5853E4AA-2002-4A65-8452-B2F40693FD02}'] procedure AdicionarController(const AController: IBaseController;...
unit ProductSelect; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Grids, DBGridEh, DB, ComCtrls, ToolWin; type TProductSelectForm = class(TForm) Panel1: TPanel; CancelButton: TButton; OKButton: TButton; DBG...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit ATWinAmpDriver; { Name : ATWinAmpDriver <ATWinAmpDriver.PAS> Version : 1.01 Description : Component to drive/control WinAmp from your Delphi app. Programmer : Sony Arianto Kurniawan Copyright © Nov-Dec, 1998 AriTech Development Indonesia Tools : Borland Delphi 3.0 C/S E-Mail : so...
unit UEmpForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, pegradpanl, StdCtrls, Mask, Grids, DBGrids, Db, DBTables, pegraphic, DBClient, MIDAScon, Tmax_DataSetText, OnDBGrid, OnFocusButton, ComCtrls, OnShapeLabel, OnGrDBGrid, OnEditBaseCtrl, OnEd...
unit SearchComponentCategoryQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,...
unit Main; interface {$include KControls.inc} uses {$IFDEF FPC} LCLIntf, LResources, LCLProc, {$ELSE} Windows, Messages, {$ENDIF} SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, KGrids, KMemo, KGraphics, KFunctions, ExtCtrls, Grids, StdCtrls, KEditCommon, KSpl...
unit ncServCom; interface uses Windows, WinProcs, Messages, Classes, SysUtils, ScktComp, ExtCtrls, CSCServer, CSCQueue, CSCBase, CSCTimer, lmdcompo, LMDVersionInfo, Dialogs, ncSessao, ncDebug, ncErros, ncNetMsg, ncMsgCom, ncServBase, ncCredTempo, ncMovEst, ncDebito, nc...
{ InternetExpress sample WebModule This site provides examples and information that help browsers understand the makeup of InternetExpress. Each page component is a TINetXCenterProducer component. This producer component was developed specifically for this application. The InetXCenterComponent.bpl package ...
unit HGM.GraphQL.Types; interface uses System.StrUtils, System.SysUtils, System.Generics.Collections; type TGraphArgList = class; TGraphArgString = class; TGraphArgInteger = class; TGraphArgBoolean = class; TGraphArgFloat = class; TGraphArgVar = class; TGraphArgValue = class abstract public ...
unit u_xpl_udp_socket; {============================================================================== UnitName = u_xpl_udp_socket_client UnitDesc = xPL specific UDP networking management handling UnitCopyright = GPL by Clinique / xPL Project =======================================================...
(***********************************************************) (* xPLRFX *) (* part of Digital Home Server project *) (* http://www.digitalhomeserver.net *) (* info@digitalhomeserver.net *) (****...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
{: TypesB3D<p> Types used on the B3D file loader<p> <b>History :</b><font size=-1><ul> <li>22/12/05 - Mathx - Added to the GLScene Project. </ul></font> } unit TypesB3D; interface uses GLVectorTypes, GLVectorGeometry; type TB3DChunkType = (bctUnknown, bctHeader, bctTexture, bctBrush, bct...
unit UI.ListView.Footer; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, UI.Standard, UI.Base, UI.ListView; type TListViewDefaultFooter = class(TFrame, IListViewHeader) RelativeLayo...
{ $Id: DemoHaltRepeatingOnError.pas 7 2008-04-24 11:59:47Z judc $ } {: DUnit: An XTreme testing framework for Delphi programs. @author The DUnit Group. @version $Revision: 7 $ } (* * The contents of this file are subject to the Mozilla Public * License Version 1.1 (the "License"); you may not use this file * ...
unit ViewMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, System.ImageList, Vcl.ImgList, System.Actions, Vcl.ActnList, FireDAC.Stan.Def, FireDAC.VCLUI.Wait, FireDAC.Phys.IBWrappe...
unit uNickNamesListParam; interface uses dmConnection; type TNickNamesListParam = class(TObject) private FNickNames: string; FChannel: string; FConnection: TConnectionData; procedure SetChannel(const Value: string); procedure SetConnection(const Value: TConnectionData); procedure SetNickN...
{ Mystix Copyright (C) 2005 Piotr Jura 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 2 of the License, or (at your option) any later version. This program is distributed i...
unit MTSOptionsFormU; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, DBCtrls, ActnList, StdCtrls, ComCtrls; type TMTSOptionsForm = class(TForm) Button1: TButton; Button2: TButton; ActionList1: TActionList; OK: TAction; AllUsersEditCustomer: TAction;...
unit Restore; interface uses System.SysUtils, System.Variants, System.Classes, FireDAC.Phys.FB, FireDAC.Phys.IBBase, FireDAC.Phys.IBWrapper, Vcl.StdCtrls, FireDAC.Phys, Migration; type TRestore = class procedure RestoreProgress(ASender: TFDPhysDriverService; const AMessage: string); procedure Restore...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLPhongShader<p> An ARBvp1.0 + ARBfp1.0 shader that implements phong shading.<p> <b>History : </b><font size=-1><ul> <li>23/08/10 - Yar - Added OpenGLTokens to uses, replaced OpenGL1x functions to OpenGLAdapter <li>22/...
unit utils_DValue_JSON; // #34 " // #39 ' // #32 空格 // #58 : // #9 TAB interface uses utils_DValue, utils.strings; type TJsonParser = class(TObject) private FLastStrValue: String; FLastValue: String; end; function JSONParser(s: string; pvDValue: TDValue): Integer; function JSONEncode(v:TDValu...
unit fAllgyBox; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, fRptBox, StdCtrls, ExtCtrls, ComCtrls, fARTAllgy, ORFn, VA508AccessibilityManager, Vcl.Menus, U_CPTEditMonitor; type TfrmAllgyBox = class(TfrmReportBox) cmdEdit: TButton; cmdAdd: TButton...
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 1024,0,0} { by Behdad Esfahbod Algorithmic Problems Book April '2000 Problem 70 O(LgN) Ternary Search } program CounterfeitCoin; var N, L, R, St : Integer; S : string; Re : Extended; I, J : Integer; procedure ReadInput; begin Write('Enter n? '...
unit Reversi; //------------------------------------------------------------------ // Othello game (Version 1.0) // Author: Roman Podobedov // Email: romka@ut.ee // http://romka.demonews.com // // Delphi translation by vlad@ifrance.com 10.2000 //-------------------------------------------...
unit JAToyStarSystem; {$mode objfpc}{$H+} {$i JA.inc} interface uses {amiga} exec, agraphics, JATypes, JAMath, JAPalette, JARender, JASpatial, JANode, JAScene, JASketch, JAPolygon, JAPolygonTools, JAToy; type TJAToyStarSystem = record Scene : PJAScene; Bodies : array[0..4] o...
unit RecipientSearch; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseSearch, Data.DB, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids, RzDBGrid, Vcl.Mask, RzEdit, RzLabel, Vcl.Imaging.pngimage, Vcl.ExtCtrls, RzPane...
unit JAShadow; {$mode objfpc}{$H+} interface uses sysutils, math, JATypes, JAGlobal, JAMath, JAPolygon, JARender; function JAPolygonShadowVertexAdd(APolygon : PJAPolygon) : PVec2SInt16; function JAPolygonShadowPenumbra0VertexAdd(APolygon : PJAPolygon) : PVec2SInt16; function JAPolygonShadowPenumbra1...
unit TabControlImpl1; interface uses Windows, ActiveX, Classes, Controls, Graphics, Menus, Forms, StdCtrls, ComServ, StdVCL, AXCtrls, DelCtrls_TLB, ComCtrls; type TTabControlX = class(TActiveXControl, ITabControlX) private { Private declarations } FDelphiControl: TTabControl; FEvents: ITabControl...
unit DefinedGrammars; interface uses Grammar, Classes, Generics.Collections; procedure InitialiseGrammars; var kochCurveGrammar, sierpinskiGrammar, dragonCurveGrammar: TGrammar; implementation procedure InitialiseGrammars; var kcRules, stRules, dcRules: TDictionary<String, String>; kcMovements, stMovement...
//****************************************************************************** //*** COMMON DELPHI FUNCTIONS *** //*** *** //*** (c) Massimo Magnano, Beppe Grimaldi 2004-2005 ...
unit uPlStimModuleInterface; interface uses Windows, OpenGL, MMSystem; const Class_PlStimModule: TGUID = '{1755994C-0B66-4A68-B454-E4EB28A82F4E}'; type HIMAGE = Integer; HEFFECT = Integer; IPlStimModuleInterface = interface(IInterface) ['{AB411CBE-6558-4775-8632-D280313879DA}'] //Ра...
unit ubookutils; {Berisi fungsi perantara untuk unit buku seperti menghitung jumlah buku, mencari indeks buku di array, dll} {REFERENSI : - } interface {PUBLIC VARIABLE, CONST, ADT} uses ucsvwrapper, ubook, uuser, udate; {PUBLIC FUNCTION, PROCEDURE} function countAdmin(ptruser : puser):integer; funct...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2019 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit Amazon.Credentials; interface uses Amazon.Environment, Amazon.Utils, {$IFNDEF FPC} System.SysUtils, {$ELSE} SysUtils, {$ENDIF} inifiles; const aws_defaultcredential_file = 'credentials.ini'; type TAmazonCredentials = class(TAmazonEnvironment) private protected public function Is...
unit Vigilante.Build.Observer; interface uses Vigilante.Build.Model; type IBuildObserver = interface(IInterface) ['{E02F4230-5052-4C3F-BC3B-719F9CC620A2}'] procedure NovaAtualizacao(const ABuild: IBuildModel); end; IBuildSubject = interface(IInterface) ['{7101ECE2-303D-40C5-83A6-52BFD3D92E3E}'] ...
unit ms3dtypes; interface uses morphmath; type MS3D_Header = PACKED RECORD Id : ARRAY [ 0..9 ] OF CHAR; Version : INTEGER END; MS3D_Vertex = PACKED RECORD ...
{ GMPolylineVCL unit ES: contiene las clases VCL necesarias para mostrar polilíneas en un mapa de Google Maps mediante el componente TGMMap EN: includes the VCL classes needed to show polylines on Google Map map using the component TGMMap ===============================================================...
unit StoreHouseListQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, ...
unit Nodes; interface uses Classes, SysUtils; type TNodeKind = Integer; TNode = class protected FAnno: TStringList; public constructor Create; constructor CreateArgs(const AArgs: array of TNode); destructor Destroy; override; class function GetKind: T...
unit VCLBI.Menus; // Menu related helper classes interface uses System.Classes, VCL.Controls, VCL.Menus; type TBIMenu=record public class function Add(const AMenu:TMenu; const ACaption:String; const AClick:TNotifyEvent=nil):TMenuItem; overload; static; class function Add(const ...
Unit SDKUtils; procedure test; begin writeln('test'); end;
// ################################## // # TPLVisor - Michel Kunkler 2013 # // ################################## (* Diese Unit ist für die GUI verantwortlich. Hier werden sämtliche Anzeigerelevante Operationen durchgeführt. Außerdem finden sich hier die Eingangspunkte für die Events der meisten Objekte. Sämt...
unit FIToolkit.CommandLine.Types; interface type TCLIOptionString = type String; TCLIOptionStringHelper = record helper for TCLIOptionString public const CHR_SPACE = Char(' '); // do not localize! CHR_QUOTE = Char('"'); // do not localize! end; implementation end.
unit UnitMainForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TMainForm = class(TForm) ButtonStart: TButton; Memo: TMemo; procedure ButtonStartClick(Sender: TObject); procedure FormCreate(Sender: TObject); procedure FormDestroy(Se...
unit u_xpl_timer; {============================================================================== UnitName = uxPLTimer UnitDesc = xPL timer management object and function UnitCopyright = GPL by Clinique / xPL Project ============================================================================== ...
unit ParamType; interface uses {$IFNDEF LINUX} Windows, Messages, {$ENDIF} Classes, SysUtils, Variants, Menus, ImgList, StdCtrls, ComCtrls, Buttons, ExtCtrls, Graphics, Controls, Forms, Dialogs, DBCtrls, Grids, DBGrids, UniDacVcl, {$IFDEF FPC} LResources, {$ENDIF} DB, DBAccess, DemoFrame, typinfo; type ...
{******************************************************************************* * * * TksPushNotification - Push Notification Component * * ...
unit csv_parser; interface uses buku_handler, tipe_data; { DEKLARASI FUNGSI DAN PROSEDUR } function baca_csv(filename: string): arr_str; procedure simpan_csv(filename: string; stList: arr_str); { IMPLEMENTASI FUNGSI DAN PROSEDUR } implementation procedure simpan_csv(filename: string; stList: arr_str); { ...
unit uXplCommon; interface uses XPLMDataAccess, XPLMUtilities; const XPL_MEM_FILE = 'XPL_HIDMACROS_MEMORY_FILE'; XPL_MAX_STRING_SIZE = 1024; HDMC_GET_VAR = 1; HDMC_SET_VAR = 2; HDMC_EXEC_COMMAND = 3; HDMC_COMMAND_BEGIN = 5; HDMC_COMMAND_END = 6; HDMC_SET_POSINTERVAL = 4; COM_SLOTS_COUNT = 8; type...
unit MapRangeEditItemDialogUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Buttons, PASTypes; type TMapRangeEditItemDialog = class(TForm) OKButton: TBitBtn; CancelButton: TBitBtn; LowValueLabel: TLabel; LowValueEdit: TEdit; ...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1999-2001 Borland Software Corp. } { ...