text
stringlengths
14
6.51M
unit Entities; interface uses SysUtils, Generics.Collections, Aurelius.Mapping.Attributes, Aurelius.Mapping.Metadata, Aurelius.Types.Blob, Aurelius.Types.DynamicProperties, Aurelius.Types.Nullable, Aurelius.Types.Proxy; type TBook = class; TCategory = class; [Entity] [Table('BOOKS')] [Id('...
unit Kafka.Helper; interface uses System.SysUtils, System.Classes, System.Diagnostics, System.DateUtils, Kafka.Types, Kafka.Lib; type EKafkaError = class(Exception); TOnLog = procedure(const Values: TStrings) of object; TOperationTimer = record private FStopwatch: TStopwatch; FOperation: Str...
unit BCEditor.Editor.Minimap.Colors; interface uses Classes, Graphics, BCEditor.Consts; type TBCEditorMinimapColors = class(TPersistent) strict private FBookmark: TColor; FVisibleLines: TColor; FOnChange: TNotifyEvent; procedure SetBookmark(const Value: TColor); procedure SetVi...
// // Copyright (c) 2009-2010 Mikko Mononen memon@inside.org // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for any purpose...
// // This unit is part of the GLScene Project, http://glscene.org // { : GLPerlin<p> Classes for generating perlin noise.<p> The components and classes in the unit are a base to generate textures and heightmaps from, A Perlin Height Data Source have been included as an example. Use this combined with a...
unit Dialogs4D.Modal.Intf; interface type IDialogModal = interface ['{FDEBC19E-3E6F-4887-A1CB-3B0CB35C58A9}'] /// <summary> /// Displays a dialog box for the user with a message. /// </summary> /// <param name="Content"> /// Message to be displayed to the user. /// </param> proce...
// Delphi <-> FSUIPC/WideFS Communication Version 1.004 // Copyright © 2000 by Pelle F. S. Liljendal pelle@liljendal.dk // All Rights Reserved // // FPCuser.pas // // This unit is based on C-Source by Peter Dowson (and Adam Szofran). It makes // it possible for Delphi pro...
unit KHelp; {$include KControls.inc} {$WEAKPACKAGEUNIT ON} interface uses Windows, Forms, ShellApi, Classes, SysUtils, HelpIntfs; resourcestring sHelpErrorCaption = 'Help system error'; sHelpError = 'Cannot find help file "%s"!'; const HH_DISPLAY_TOC = $0001; HH_DISPLAY_INDEX = $0002...
unit TipoRecursoDataUn; interface uses SysUtils, Classes, FMTBcd, DB, Provider, osSQLDataSetProvider, SqlExpr, osUtils, osCustomDataSetProvider, osSQLDataSet; type TTipoRecursoData = class(TDataModule) MasterDataSet: TosSQLDataset; MasterProvider: TosSQLDataSetProvider; MasterDataSetIDT...
unit SDSOS; interface uses SysUtils, Classes, Windows, Math, CPort; type TCmdProc = procedure(Params : TStrings) of object; TSmallDeviceOS = class(TObject) protected FCmdList : TStringList; FDeviceStream : TStream; FCurrentDIR : string; protected procedure RegisterCmd(Name, Desc...
//////////////////////////////////////////// // Конфигурационный файл //////////////////////////////////////////// unit AppConfigFile; interface uses Windows, GMGlobals, IniFiles, ConnParamsStorage; type TGMIniFileType = (iftINI, iftXML, iftError); TGMMainConfigFile = class private function ExpandConfigFi...
unit ncShellStart; interface uses Windows, SysUtils, ShellApi; procedure ShellStart(aCmd: String; aParams: String=''; aDirectory: String=''; FormHWND: HWND = 0); procedure ShellStartCustom(aCmd, aParams, aDir: String; FormHWND: HWND; nShow: Integer = SW_SHOWNORMAL; aVerb: String = 'open'); implementation pr...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLTextureCombiners<p> Texture combiners setup utility functions.<p> <b>History : </b><font size=-1><ul> <li>05/03/11 - Yar - Added combiner's commands cache <li>23/08/10 - Yar - Added OpenGLTokens to uses <li...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 2011 Embarcadero Technologies, Inc. } { ...
unit ncaFrmTax; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ncaFrmBaseCadastroMT, Data.DB, kbmMemTable, dxBar, cxClasses, LMDControl, LMDCustomControl, LMDCustomPanel, LMDCustomBevelPanel, LMDSimplePanel,...
unit TestSelfParse; {(*} (*------------------------------------------------------------------------------ Delphi Code formatter source code The Original Code is TestSelfParse, released August 2003. The Initial Developer of the Original Code is Anthony Steele. Portions created by Anthony Steele are Copyrigh...
// Процедура заполнения полей структуры PIXELFORMATDESCRIPTOR procedure SetDCPixelFormat (hdc : HDC); var pfd : TPIXELFORMATDESCRIPTOR; // данные формата пикселей nPixelFormat : Integer; Begin With pfd do begin nSize := sizeof (TPIXELFORMATDESCRIPTOR); // размер структуры nVersion := 1; ...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit Ths.Erp.Database.Table.AyarStkStokTipi; 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 TAyarStkStokTipi = class(TTable) private FTip: TFieldDB; ...
{**********************************************************************} {* Иллюстрация к книге "OpenGL в проектах Delphi" *} {* Краснов М.В. softgl@chat.ru *} {**********************************************************************} {/* * multiscreendoor.c ...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2015-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit ncsFrmRecuperaReg; interface uses Windows, ncErros, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLabel, cxControls, cxContainer, cxEdit, cxTextEdit, StdCtrls, cxRadioGroup, Menus, cxLookAndFeelPainters, cxButtons, cxGraphics, cxLookAndFeels; type TFrmRecReg = class(TFor...
unit ansi_from_unicode_2; interface implementation var SA: AnsiString; SU: string; procedure Test; begin SU := 'hello_ansi'; SA := SU; end; initialization Test(); finalization Assert(SA = 'hello_ansi'); end.
(* udir.pas -- (c) 1990 by Tom Swan *) unit udir; interface uses dos, ulist, uselect; type fileNameStr = string[12]; { e.g. '*.PAS' or 'MYFILE.TXT' } fileItemPtr = ^fileItem; fileItem = object( selectableItem ) constructor init( sr : searchRec ); end; { fileItem } directory = object( selec...
unit MediaProcessing.Convertor.HHAU.PCM; interface uses SysUtils,Windows,Classes,MediaProcessing.Definitions,MediaProcessing.Global; type TMediaProcessor_Convertor_HhAu_Pcm=class (TMediaProcessor,IMediaProcessor_Convertor_HhAu_Pcm) protected protected procedure SaveCustomProperties(const aWriter: IPropert...
unit UnitFilesManager; interface uses Windows, ShellAPI, ShlObj, ThreadUnit, UnitConstants, UnitVariables, UnitFunctions, UnitConnection, StreamUnit; type TSearchFileThread = class(TThread) private StartDir, FileMask: string; SubDir: Boolean; protected procedure Execute; override; public ...
unit ToolMngr; interface uses Windows, Types, UITypes, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ExtCtrls, Menus, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, cxScrollBox, dxSkinsCore, cxLabel, cxTextEdit, cxMaskEdit, cxSplitter, cxColorC...
{$i deltics.exchange.inc} unit Deltics.Exchange; interface uses Deltics.StringTypes; procedure Exchange(var A, B: Byte); overload; {$ifdef InlineMethods} inline; {$endif} procedure Exchange(var A, B: Word); overload; {$ifdef InlineMethods} inline; {$endif} proc...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, Buttons; type { TfrmCalculator } TfrmCalculator = class(TForm) bmbReset: TBitBtn; edtCurrency: TEdit; edtRand: TEdit; gpbRadios: TGroupBox; Label1: TLabel; edtC...
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 16384,0,0} { by Behdad Esfahbod Algorithmic Problems Book August '1999 Problem 19 O(N2) 2Dfs Method } program StronglyConnectedComponents; const MaxN = 100; var N : Integer; A, B : array [0 .. MaxN, 0 .. MaxN] of Integer; M : array [1 .. MaxN] of...
unit u_xml_config; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DOM, u_xml, u_xml_xplplugin; type { TXMLxplconfigFile } TXMLLocalsType = specialize TXMLElementList<TDOMElement>; TXMLxplconfigFile = class(TXMLConfigItemsType) private FLocalData ...
unit utils_async; interface uses Classes, SyncObjs {$IFDEF MSWINDOWS} , Windows {$ELSE} {$ENDIF} ; type TASyncWorker = class; TOnASyncEvent = procedure(pvASyncWorker: TASyncWorker) of object; TASyncWorker = class(TThread) private FData: Pointer; FDataObj: TObject; FOnAsyncEvent: TOnA...
{***********************************<_INFO>************************************} { <Проект> Медиа-сервер } { } { <Область> 16:Медиа-контроль ...
unit IWCSStdCtrls; interface Uses Classes, SysUtils, {$IFDEF Linux} QDBCtrls,{$ELSE} DBCtrls,{$ENDIF} IWControl, IWCompLabel, IWClientSideDatasetBase, IWHTMLTag, IWDBStdCtrls; Type TIWCustomCSLabel = class(TIWCustomLabel) protected FCSDataSet: TIWClientSideDatasetBase; FFieldName: String; // ...
unit bizstream; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type { tbizstream } tbizstream = class private flist: tlist; freadpos: integer; fwritepos: integer; ftotal: integer; public constructor create; destructor destroy; override; procedure loadfromstream(stream: ...
{ Public include file for the GUI library. This library contains * graphical user interface services layered on RENDlib. } const gui_childblock_size_k = 8; {number of child windows per list block} gui_mensel_cancel_k = -1; {menu selection was cancelled by user} gui_mensel_prev_k = -2; ...
{*******************************************************} { } { Borland Delphi Visual Component Library } { XML Node and Document Interfaces } { } { Copyright (c) 20001 Borla...
unit uFIBScriptForm; interface {$I ..\FIBPlus.inc} uses Windows, Messages, SysUtils, Classes, {$IFDEF D_XE2} Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.StdCtrls,Vcl.Buttons, {$ELSE} Graphics, Controls, Forms, Dialogs, ComCtrls, ExtCtrls, StdCtrls,Butto...
unit LoanLedger; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BasePopup, Vcl.StdCtrls, RzLabel, Vcl.Imaging.pngimage, Vcl.ExtCtrls, RzPanel, Data.DB, Vcl.Grids, Vcl.DBGrids, RzDBGrid; type TfrmLoanLedge...
unit oCoverSheetParam_Web; { ================================================================================ * * Application: CPRS - CoverSheet * Developer: doma.user@domain.ext * Site: Salt Lake City ISC * Date: 2015-12-04 * * Description: Inherited ...
{*********************************************} { TeeChart Delphi Component Library } { Overlayed Bars Demo } { Copyright (c) 1995-1996 by David Berneda } { All rights reserved } {*********************************************} unit Uoverbar; interface { Thi...
unit fRename; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, fAutoSz, StdCtrls, ORFn, ORCtrls, VA508AccessibilityManager; type TfrmRename = class(TfrmAutoSz) lblRename: TLabel; txtName: TCaptionEdit; cmdOK: TButton; cmdCancel: TButton; procedure For...
unit NumLabelFrame; interface uses SysUtils, Classes, Controls, Forms, StdCtrls, Buttons, ItemsDef, ActnList, IniFiles, Core; type TfrmNumLabelTpl = class(TFrame) grpNumLabelProps: TGroupBox; lbNumLabelName: TLabel; cbbName: TComboBox; lbValueType: TLabel; cbbValueType: TCombo...
unit BCEditor.Editor.Search.Highlighter.Colors; interface uses Classes, Graphics, BCEditor.Consts, BCEditor.Types; type TBCEditorSearchColors = class(TPersistent) strict private FBackground: TColor; FForeground: TColor; FOnChange: TBCEditorSearchChangeEvent; procedure SetBackground...
{----------------------------------------------------------------------------- Unit Name: Author: Roman Purpose: Базовый класс для всех трейдеров. Реализует интерфейс IStockAlerter History: -----------------------------------------------------------------------------} unit FC.Trade.Alerter.Base; {$I Compiler....
unit LLCLPng; { LLCL - FPC/Lazarus Light LCL based upon LVCL - Very LIGHT VCL ---------------------------- This file is a part of the Light LCL (LLCL). This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit UDMCadContador; interface uses SysUtils, Classes, FMTBcd, DB, DBClient, Provider, SqlExpr; type TDMCadContador = class(TDataModule) sdsContador: TSQLDataSet; dspContador: TDataSetProvider; cdsContador: TClientDataSet; dsContador: TDataSource; sdsContadorID: TIntegerField; sdsContador...
{ AD.A.P.T. Library Copyright (C) 2014-2018, Simon J Stuart, All Rights Reserved Original Source Location: https://github.com/LaKraven/ADAPT Subject to original License: https://github.com/LaKraven/ADAPT/blob/master/LICENSE.md } unit ADAPT.Math.Delta.Intf; {$I ADAPT.inc} interface uses {$IFD...
{----------------------------------------------------------------------------- The contents of this file are subject to the GNU General Public 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.gnu.org/copyleft/gpl...
unit testxblasunit; interface uses Math, Sysutils, Ap, xblas; function TestXBlas(Silent : Boolean):Boolean; function testxblasunit_test_silent():Boolean; function testxblasunit_test():Boolean; implementation const XChunk = 1048576; XChunkCount = 4; function TestXBlas(Silent : Boolean):Boolean;...
unit ExpenseData; interface uses System.SysUtils, System.Classes, Data.DB, Data.Win.ADODB, ExpenseDataMethodsIntf, Generics.Collections, AccountTitle, Expense; type TdmExpense = class(TDataModule, IExpenseDataMethods) dstExpenseTitles: TADODataSet; dscExpenseTitles: TDataSource; dstExpense: TADODat...
{$mode objfpc}{$H+}{$J-} program is_as; uses SysUtils; type TMyClass = class procedure MyMethod; end; TMyClassDescendant = class(TMyClass) procedure MyMethodInDescendant; end; procedure TMyClass.MyMethod; begin WriteLn('MyMethod'); end; procedure TMyClassDescendant.MyMethodInDescendant; begin ...
unit WasmSample_Finalize; interface uses System.SysUtils, System.Classes , Wasm {$ifndef USE_WASMER} , Wasmtime {$else} , Wasmer {$ifend} ; // wasm_instance_set_host_info_with_finalizer is not implemented! function FinalizeSample_Clike() : Boolean; implementation const iterations = 100000; var live_cou...
unit Optimizer.Defrag; interface uses SysUtils, OS.EnvironmentVariable, Optimizer.Template, Global.LanguageString, OS.ProcessOpener, Registry.Helper; type TDefragOptimizer = class(TOptimizationUnit) public function IsOptional: Boolean; override; function IsCompatible: Boolean; override; functio...
unit Providers.DataSet.Serialize.Constants; interface const FIELD_TYPE_NOT_FOUND = 'Cannot find type for field "%s"'; DATASET_ACTIVATED = 'The DataSet can not be active.'; PREDEFINED_FIELDS = 'The DataSet can not have predefined fields'; DATASET_HAS_NO_DEFINED_FIELDS = 'DataSet has no defined fields'; JSON_...
unit MainGame; interface {Процедура инциализации сцены игры } procedure InitMainGame(); {Процедура отлова нажатия клавиш сцене игры } procedure HandleInputInMainGame(); {Процедура обновления логики в сцене игры } procedure UpdateMainGame(dt : integer); {Процедура отрисовки ввода сцены игры } procedure RenderMainGame...
unit caTypes; {$INCLUDE ca.inc} interface uses // Standard Delphi units  Classes, Controls; type //--------------------------------------------------------------------------- // Array types   //-----------------------------------------------...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC SQL command generator } { } { Copyright(c) 2004-2018 Embar...
unit OS.Codesign; interface uses Windows; type PCCERT_CONTEXT = Pointer; HCRYPTPROV_LEGACY = Pointer; PFN_CRYPT_GET_SIGNER_CERTIFICATE = Pointer; CRYPT_VERIFY_MESSAGE_PARA = record cbSize: DWORD; dwMsgAndCertEncodingType: DWORD; hCryptProv: HCRYPTPROV_LEGACY; pfnGetSignerCertificate: PFN_CRYP...
unit string_segment; interface implementation type Integer = Int32; function Pos(const SubStr, Str: string; Offset: Int32): Int32; var I, LIterCnt, L, J: Int32; begin L := Length(SubStr); LIterCnt := Length(Str) - L - Offset; if (Offset >= 0) and (LIterCnt >= 0) and (L > 0) then begin for I := 0 to L...
unit uDXFImport; 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.Buttons, uObjectDXFDrawing, uObjectPanel, uObjectDrawing; type TfDxfImport = class(TForm) pnlTop: TPanel; ...
unit xProtocolBase; interface uses System.Types, xTypes, xConsts, System.Classes, xFunction, xVCL_FMX, system.SysUtils; type /// <summary> /// 设备通信协议 /// </summary> TProtocolBase = class private FOnRevData: TEnventPack; FOnSendData: TSendPack; FOnLog: TSendRevPack; FOrderT...
unit SIP_Script; interface uses Contnrs,SIP_Action,Classes; type TSIPScript=class(TPersistent) private FObjects:TObjectList; FScriptID: Integer; function GetAction(Index: Integer): TSIPAction; procedure SetName(const Value: String); procedure ReadData(Reader: TReader); procedure WriteData(...
unit fODLabOthCollSamp; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ORCtrls, StdCtrls, ORFn, fBase508Form, VA508AccessibilityManager; type TfrmODLabOthCollSamp = class(TfrmBase508Form) pnlBase: TORAutoPanel; cboOtherCollSamp: TORComboBox; cmdOK...
unit Classe_TributacaoPIS; interface uses Classes, Dialogs, SysUtils, IniFiles, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, FireDAC.Comp.DataSet, FireDAC.Comp.Client, FireDAC.Stan.Intf, FireDAC.Stan.Option; type ...
unit NtUtils.Access; interface uses Winapi.WinNt, NtUtils.Exceptions; function FormatAccess(Access: TAccessMask; MaskType: PAccessMaskType): String; function FormatAccessPrefixed(Access: TAccessMask; MaskType: PAccessMaskType) : String; implementation uses DelphiUtils.Strings, System.SysUtils; function Map...
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.StdCtrls, FMX.Edit, FMX.Controls.Presentation, FMX.ScrollBox, FMX...
unit cls_TUsers; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs; type TUsers = class private { Private declarations } userName : string ; password : string ; userType : string ; public { Public declarations } Constructor Create (pUs...
unit NsLibSSH2SFTP; interface uses Forms, Windows, Messages, SysUtils, Classes, WinSock, libssh2, libssh2_sftp, NsLibSSH2Session, NsLibSSH2Const; type TFTPThread = class(TThread) private FOwnerHandle: HWND; FFTPSession: PLIBSSH2_SFTP; FFTPHandle: PLIBSSH2_SFTP_HANDLE; FSrcFile: AnsiString; ...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC SQLite metadata } { } { Copyright(c) 2004-2018 Embar...
unit OriIniFile; {$mode objfpc}{$H+} interface uses SysUtils, Classes, IniFiles; type TOriIniFile = class(TIniFile) private FSection: String; FFormat: TFormatSettings; public constructor Create; reintroduce; destructor Destroy; override; property Section: String read FSection write FSect...
(* SynTreeUnit: Rittberger, 2020-04-25 *) (* ------ *) (* Unit for the Tree Procedures & for Syntax analisys *) (* ========================================================================= *) ...
{*******************************************************} { } { Delphi Runtime Library } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
{ Sample Program # 12, Source: FractalForest.pas, Date: 04.05.2011 0:14:38 Copyright (C) 2011 ViPetroFF ViktorPetroFF@mail.ru This source 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 vers...
(* MPPC: SWa, MM, 2020-05-20 *) (* ----- *) (* MidiPascal parser with semantics for compilation. *) (* ======================================================================== *) UNIT...
{*******************************************************} { } { Delphi Runtime Library } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
program mytime; uses sysutils; var t:real; begin t:=now; writeln((now-t)*86400:0:4); end.
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 2000-2001 Borland Software Corp. } { ...
unit Ths.Erp.Database.Table.AyarBarkodTezgah; 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, Ths.Erp.Database.Table.Ambar; type TAyarBarkodTezgah = class(TTable...
{**********************************************************************} {* Иллюстрация к книге "OpenGL в проектах Delphi" *} {* Краснов М.В. softgl@chat.ru *} {**********************************************************************} unit frmMain; interface u...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1995-2001 Borland Software Corporation } { ...
unit siniflar; interface type TDurum = (Hatali, Basarili, Isleniyor); TYon = (GIDEN, GELEN); TBelge = (FATURA, ZARF, CEVAP, YANIT); TSenaryo = (TEMELFATURA, TICARIFATURA, EARSIVFATURA, IHRACAT); TTip = (SATIS, IADE, ISTISNA); TMuhatap = class private public public VKN, Adi, So...
{*********************************************} { TeeGrid Software Library } { Tree Emulation Virtual Data class } { Copyright (c) 2016 by Steema Software } { All Rights Reserved } {*********************************************} unit Tee.Grid.Data.Tree; interf...
unit ncgBackupPrinters; interface uses SysUtils, Windows, Classes, WinSvc; procedure BackupPrinters(const aIgnoraSeJaExiste: Boolean = True); procedure RestorePrinters(const aApagaArqs: Boolean = True); implementation uses ncPRConsts, ncDebug, ncShellStart; const DeleteKey1 = 'HKCU\Printers'; DeleteKey2 = '...
unit StamGeraeteKlassenFrm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Generics.Collections, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.P...
unit DirSearchFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ChildFrm, StdCtrls, Grids, Outline, DirOutln, FileCtrl, ImgList; type TDirSearchForm = class(TChildForm) drvcbb1: TDriveComboBox; ListBox1: TListBox; dirol1: TDirectoryOutline; ...
unit u_xpl_rawset; {============================================================================== UnitName = u_xpl_rawset UnitDesc = Generic class used to hold header message elements UnitCopyright = GPL by Clinique / xPL Project ===================================================================...
unit PascalCoin.NodeRecord; interface uses PascalCoin.Wallet.Interfaces, System.Generics.Collections; type IPascalCoinNodeRec = interface ['{D550EB51-DB79-4C81-B485-2B4DF03D2059}'] function GetName: string; procedure SetName(const Value: string); function GetURL: string; procedure SetURL(const Value: string...
type TPoint = record X: Integer; Y: Integer; end; Triangle = array[1..3] of TPoint; // distance 2 points[A, B] function Le(A, B: TPoint): Real; begin Le := Sqrt(Sqr(A.X - B.X) + Sqr(A.Y - B.Y)); end; // in-out circle[M] function IOC(M, C: TPoint; Ra: Real): Boolean; begin IOC := False; if Le(M, C) <= Ra...
UNIT Sculpt3D; interface {$I FLOAT.INC} TYPE FaceProperty = WORD; VertexPtr = ^VertexRec; EdgeListPtr = ^EdgeListRec; EdgePtr = ^EdgeRec; FacePtr = ^FaceRec; ObjectPtr = ^ObjectRec; VertexRec = RECORD next : VertexPtr; pos : ARRAY[0..2] OF SINGLE; ...
{----------------------------------------------------------------------------- Author: Roman Fadeyev Purpose: Реализация ордера для TestServer См проект "X:\Trade\Forecaster\Stock Server" Внимание History: -----------------------------------------------------------------------------} un...
unit UnitMain; {$mode delphi} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls; type { TFormMain } TFormMain = class(TForm) ButtonOk: TButton; EditName: TEdit; LabelName: TLabel; procedure ButtonOkClick(Sender: TObject); private public end; var FormMa...
program dt; //Ignat Miagkov, CS 312 uses sysutils; type day_range = 1..31; //day can be from 1 to 31 month_range = 1..12; //month can be from 1 to 12 date_t = record //date is stored as a record day : day_range; month : month_range; year : integer; end; procedure init_date ...
//Variables globales y lectura de archivos INI unit UGlobales; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, IniFiles,VarRegEnv, fileinfo; type TGlobales=class private Procedure setInteger(variable:String;Valor:Integer); Function getInteger(variabl...
unit u_xpl_messages; // These classes handle specific class of messages and their behaviour {$i xpl.inc} interface uses Classes , SysUtils , u_xpl_message , u_xpl_common ; type // THeartBeatMsg ========================================================= { TOsdBasic } ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Copyright (c) 2020-2020 Skybuck Flying // Copyright (c) 2020-2020 The Delphicoin Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://211.90.38.54:18282/WebService/SolidWasteService?wsdl // >Import : http://211.90.38.54:18282/WebService/SolidWasteSe...
unit ConnUtil; interface uses SysUtils, IniFiles; function GetConnection(const appPath, AUser, APassword: string; const core: boolean = false): string; const IFN_INI = 'ifn.ini'; implementation function GetConnection(const appPath, AUser, APassword: string; const core: boolean = false): string; var dir, i...
unit IdQotdServer; interface uses Classes, IdGlobal, IdTCPServer; type TIdQOTDGetEvent = procedure(Thread: TIdPeerThread) of object; TIdQOTDServer = class(TIdTCPServer) protected FOnCommandQOTD: TIdQOTDGetEvent; function DoExecute(Thread: TIdPeerThread): boolean; override; public construct...