text
stringlengths
14
6.51M
unit Forms.Progress; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, AdvGlowButton, Vcl.ComCtrls; type TFrmProgress = class(TForm) Progress: TProgressBar; btnCancel: TAdvGlowButton; l...
unit Class_WORK; interface uses Classes,SysUtils,Uni,UniEngine; type TWorkObjtType=(wotWork,wotDoct); TWORK=class(TUniEngine) private FUNITLINK: string; FWORKIDEX: Integer; FWORKNAME: string; FWORKCODE: string; FWORKMOBL: string; FWORKCALL: string; FWORKMEMO: st...
unit Objekt.Logger; interface uses SysUtils, Classes, Log4d; type TLoggerObj = class private fLogPath: string; fDebugLog: log4d.TLogLogger; fBackupLog: log4d.TLogLogger; fDienstLog: log4d.TLogLogger; protected public constructor Create; destructor Destroy; override; procedure In...
unit uFuncionario; interface type TFuncionario = class private FNome: String; FCPF: String; FSalario: Double; procedure setNome(value: String); procedure setCPF(value: String); procedure setSalario(value: Double); function getNome: String; function getCPF: String; ...
Unit Square; { Отличается от Unit Square1 ошибками - нет Constructor } { и Virtual. Используется в программе Square15b. } Interface Uses Graph; Type TLocation = object X, Y: Integer; Procedure Init(InitX, InitY:Integer); Procedure PutX(AX: Integer); Procedure PutY(AY: Integer); ...
unit MeshSmoothFaceColours; interface uses MeshProcessingBase, Mesh, BasicMathsTypes, BasicDataTypes, NeighborDetector, MeshColourCalculator; {$INCLUDE source/Global_Conditionals.inc} type TMeshSmoothFaceColours = class (TMeshProcessingBase) protected procedure MeshSmoothOperation(var _...
unit Servers; interface uses Classes, LrProject; type TServerTarget = ( stDisk, stFTP ); // TServerItem = class(TLrProjectItem) private FRoot: string; FHost: string; FFTPHost: string; FFTPPassword: string; FFTPUser: string; FTarget: TServerTarget; protected procedure SetFTPHo...
unit DSA.LeetCode._804; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DSA.Tree.BSTSet, DSA.Interfaces.Comparer; type TSolution = class public class function uniqueMorseRepresentations(words: array of string): integer; end; type TBSTSet_str = specialize TBSTSet<string, specialize TCompa...
unit Class_Sell; //YXC_2010_04_21_20_56_43 //TBL_SELL //销售类 interface uses Classes,SysUtils,ADODB,Class_DBPool,Class_SellRecd; type TSell=class(TObject) public UnitLink:string; //*单位编码链 SellIdex:Integer;//*销售序列 SellCost:Double; //销售金额 UserCode:string; //销售人员 SellDate:TDateTim...
unit docs.community; interface uses Horse, Horse.GBSwagger; procedure registry(); implementation uses schemas.classes; procedure registry(); begin Swagger .Path('comunidade/{id_comunidade}') .Tag('Comunidades') .GET('listar uma comunidade', 'listar comunidade especifica') ...
{*******************************************************} { } { Borland Delphi Visual Component Library } { SOAP Support } { } { Copyright (c) 2001 Borland S...
unit MainProgram; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, FunctionManager, RandomNumberGenerator; type TformMainProgram = class(TForm) btnDisplayCurrentDate: TButton; btnOpenWindo...
unit TestUContadorController; { Delphi DUnit Test Case ---------------------- This unit contains a skeleton test case class generated by the Test Case Wizard. Modify the generated code to correctly setup and call the methods from the unit being tested. } interface uses TestFramework, DB, DBXJSON, UCont...
unit ibSHInputParametersFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Contnrs, SHDesignIntf, ibSHDesignIntf, ibSHDriverIntf, TntStdCtrls,TntWideStrings,TntClasses; type TibBTInputParametersForm = class(TSHComponentForm) ...
unit SampleFor; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TSampleForm = class(TForm) Label1: TLabel; Label2: TLabel; Label3: TLabel; Label4: TLabel; procedure FormC...
program simdn; //Example of how to insert C code into FPC project // in this example, the C code uses SIMD intrinsics to generate SSE or Neon code //you must compile scale2uint8n.cpp first! // g++ -c -O3 scale2uint8n.cpp -o scale2uint8n.o // fpc -O3 simdn.pas; ./simdn {$mode objfpc}{$H+} uses Math, SysUtils,DateUtils...
unit Dfft; INTERFACE {$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF} uses util1; procedure libererFFT(NumPoints:integer); function allouerFFT(NumPoints:integer):boolean; procedure RealFFT(NumPoints : integer; Inverse : boolean; XReal : PtabFloat; ...
(*----------------------------------------------------------------------------* * Direct3D sample from DirectX 9.0 SDK December 2006 * * Delphi adaptation by Alexey Barkovoy (e-mail: directx@clootie.ru) * * * ...
unit ufrmProductTypeNBD; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMaster, ufraFooter5Button, StdCtrls, ExtCtrls, ActnList, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxE...
unit UniStrUtils; {$WEAKPACKAGEUNIT ON} interface uses SysUtils, Windows, StrUtils, WideStrUtils; (* В библиотеке введён дополнительный тип: UniString. На старых компиляторах UniString = WideString На новых UniString = UnicodeString (и == string, если включено UNICODE) Все функции существуют в...
unit ufrmLogin; 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.Imaging.jpeg, Vcl.Imaging.pngimage, uJSONUser; type TfrmLogin = class(TForm) pnlImgLogin: TGridPanel; p...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit UnitConexao; interface uses Windows, Messages, SysUtils, Variants, Classes, SyncObjs, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls, IdContext, IdThreadComponent, IdAntiFreezeBase, IdAntiFreeze, IdBaseComponent, IdComponent, IdCustomTCPServer, IdTCPServer, IdGlobal, IdIOHandler, IdSche...
unit UFont; (*==================================================================== Workaround for Delphi 2.0 inability to work with font scripts ======================================================================*) interface uses {$ifdef mswindows} WinTypes,WinProcs, {$ELSE} LCLIntf, LCLType, ...
unit frmGIWorkerOption; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, DB, DBClient, frmBase; type TWorkerOptionForm = class(TForm) PnlOption: TPanel; GroupBox1: TGroupBox; GroupBox2: TGroupBox; LstWaitWorker: TLis...
unit tvl_udatabinders; interface uses Classes, SysUtils, trl_irttibroker, Controls, StdCtrls, ExtCtrls, fgl, Graphics, Grids, MaskEdit, lmessages, LCLProc, LCLType, Menus, SynEdit, trl_ipersist, trl_upersist, tvl_messages, lclintf, messages, Forms, EditBtn, tvl_ucontrolbinder, ComCtrls, tvl_ibindings; type ...
unit Draw; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, GraphMath, Dialogs, Menus, ExtCtrls, LCLIntf, LCLType, Spin, ActnList, Buttons, StdCtrls, Help, Figures, tools, Scale; type { TDForm } TDForm = class(TForm) RedoItem: TMenuItem; EditItem: TMenuI...
// 350. 两个数组的交集 II // // 给定两个数组,编写一个函数来计算它们的交集。 // // 示例 1: // // 输入: nums1 = [1,2,2,1], nums2 = [2,2] // 输出: [2,2] // 示例 2: // // 输入: nums1 = [4,9,5], nums2 = [9,4,9,8,4] // 输出: [4,9] // 说明: // // 输出结果中每个元素出现的次数,应与元素在两个数组中出现的次数一致。 // 我们可以不考虑输出结果的顺序。 // 进阶: // // 如果给定的数组已经排好序呢?你将如何优化你的算法? // 如果 nums1 的大小...
unit GLDUserCameraPickerForm; interface uses Windows, Classes, Controls, Forms, Dialogs, StdCtrls, Buttons, GL, GLDTypes, GLDObjects, GLDCamera; type TGLDUserCameraPickerForm = class(TForm) BB_Ok: TBitBtn; BB_Cancel: TBitBtn; LB_Cameras: TListBox; procedure FormCreate(Sender: TObje...
unit fmain; (*##*) (*************************************************************************** * * * i 2 w b m p m a i n * * ...
unit Counters; interface uses Windows, Forms, Classes, DAQDefs, pwrdaq32, pdfw_def; const UCT_SQUARE = $36; UCT_IMPULSE = $34; type // base acquisition thread TCounter = class(TThread) private hAdapter: DWORD; dwError: DWORD; FModes: array [0..2] of DWORD; FClocks: array [0..2] ...
function TPipeCommand_Grep.Compile( args: TStrArray ): string; begin if length( args ) <> 1 then exit( 'bad grep command usage. please type "man grep" in order to see help!' ); _arguments := args; exit(''); // no error end; procedure TPipeCommand_Grep.Run; var i: integer = 0; ...
unit uParentSub; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, siComp, siLangRT; type TOnDataChange = procedure of object; TOnSelectData = procedure (AParams: String) of object; TOnParamChange = procedure of object; TO...
procedure TNASKeyboard.debug(fString :string; clear:boolean=false); begin if(self.z_debug) then begin if clear then ClearDebug(); fString:=formatDateTime('tt',time())+' | '+ 'NAS_Keyboard ' +' > ' +fString; WriteLn(fString); end; end; procedure TNASKeyboard.typeString(const s: stri...
unit uwinmanager; // Windows and desktops manager - only for MS Windows system { TODO -cWM : only for MS Windows} {$mode objfpc}{$H+} interface uses Classes, SysUtils, Dialogs, uMenuItem, windows, JwaPsApi, LConvEncoding; procedure LoadMenuWindows(const aFilter, aSelfExe: String); function ActivateWindow(cons...
// Copyright 2014 Asbjørn Heid // // 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 law or ...
unit frmFishmain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, Data.Bind.EngExt, Fmx.Bind.DBEngExt, Fmx.Bind.Editors, FMX.Layouts, Fmx.Bind.Navigator, Data.Bind.Components, FMX.Objects, Data.Bind.DBScope...
unit Base; {$IFDEF FPC} {$MODE DELPHI} {$ENDIF} interface var ServerHost: string; // our hostname IRCPort, HTTPPort, WormNATPort: Integer; IRCOperPassword: string; IRCChannel: string; procedure Log(S: string; DiskOnly: Boolean=False); procedure EventLog(S: string); function WinSockErrorCodeStr(...
unit Share; interface uses Common, Classes, DBTables, Windows; type TStdItem = packed record Name: string[14];//物品名称 StdMode: Byte; //0/1/2/3:药, 5/6:武器,10/11:盔甲,15:头盔,22/23:戒指,24/26:手镯,19/20/21:项链 Shape: Byte; Weight: Byte; AniCount: Byte; Source: ShortInt; Reserved: Byte; //0x14 Need...
unit uDB1Data; interface uses Data.SQLExpr, System.Classes, FireDAC.Comp.Client, Data.DB, System.StrUtils, System.Types; type TDB1Data = class(TFDQuery) private FsListaCampos: TStringDynArray; FsListaTabela: TStringDynArray; FsListaCondicoes: TStringDynArray; public procedure Open; publis...
PROGRAM kette; (* Implementation with lists *) TYPE nodePtr = ^listElement; listElement = RECORD next: nodePtr; c: Char; END; (* RECORD *) (* Creates a new node*) FUNCTION NewNode(c : Char): nodePtr; VAR node : nodePtr; BEGIN New(node); node^.next := NIL; node^.c :=...
unit uMainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ActnList, uModel, ComCtrls, StdCtrls, System.Actions; type TMainForm = class(TForm) alActions: TActionList; acNewStudent: TAction; acEditStudent: TAction; acDeleteStudent: TAction;...
unit StreamUnit; interface {$WARNINGS OFF} uses Windows; const soFromBeginning = 0; soFromCurrent = 1; soFromEnd = 2; type TNotifyEvent = procedure(Sender: TObject) of object; TSeekOrigin = (soBeginning, soCurrent, soEnd); TStream = class(TObject) private function GetPosition: Int64; pr...
unit uDASDDriver; {$I DataAbstract.inc} {$DEFINE MAX_SUPPORT} interface uses Classes, DB, uDAEngine, uDAInterfaces, uROClasses, SDEngine, uDAUtils, SDConsts, uDASQLDirUtils, uROBinaryHelpers, uDAIBInterfaces, uDAEConnection, uDAServerInterfaces, uROStrings, uDASQLMacroProcessor, uD...
unit uAutoNewtonDivider; {$I ..\Include\IntXLib.inc} interface uses uNewtonHelper, uMultiplyManager, uIMultiplier, uIDivider, uConstants, uEnums, uDividerBase, uDigitHelper, uDigitOpHelper, uIntXLibTypes; type /// <summary> /// Divides using Newton approximation approach....
(* Weak enemy with simple AI, no pathfinding will attack and drain health *) unit hyena; {$mode objfpc}{$H+} interface uses SysUtils, map; (* Create a hyena *) procedure createHyena(uniqueid, npcx, npcy: smallint); (* check to see if entity can move to a square *) function checkSpaceFree(x, y: smallint): boo...
unit ViewPessoaCliente; {$mode objfpc}{$H+} interface uses HTTPDefs, BrookRESTActions, BrookUtils; type TViewPessoaClienteOptions = class(TBrookOptionsAction) end; TViewPessoaClienteRetrieve = class(TBrookRetrieveAction) procedure Request({%H-}ARequest: TRequest; AResponse: TResponse); override; end...
unit DUnitXMLParser; interface uses System.SysUtils, System.Variants, Xml.xmldom, Xml.XMLIntf, Xml.Win.msxmldom, Xml.XMLDoc, TestStructureUnit, RTTI, System.Generics.Collections; type TTestsXMLParser = class private FXMLFileName: string; FXMLDocument: IXMLDocument; function LoadXML: Boolean; ...
unit VirtualUtilities; // Version 1.3.0 // // 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/ // // Alternatively, you may ...
unit TpPageControl; interface uses Windows, Classes, Controls, StdCtrls, ExtCtrls, Graphics, Messages, SysUtils, Types, Forms, ThTag, ThPageControl, TpControls, TpInterfaces; type TTpSheet = class(TThSheet) private FOnGenerate: TTpEvent; public procedure CellTag(inTag: TThTag); override; ...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, Winsock; type TForm1 = class(TForm) GroupBox1: TGroupBox; Memo1: TMemo; GroupBox2: TGroupBox; Edit2: TEdit; Button1: TButton; GroupBox3: TGroupBox; Label1: TLabel...
//--- 256 COLOUR BITMAP COMPRESSOR --------------------------------------------- // // This form contains a simple user interface to take 256 colour bitmaps in // windows BPM format and compress them using RLE8 compression. // // The form itself contains no bitmap compression but attempts to locate // a compressor in ...
{interface} type TInnerRecord = record Value: string; end; TClassA = class public InnerRecord: TInnerRecord; end; TClassB = class private FInnerRecord: TInnerRecord; public property InnerRecord: TInnerRecord read FInnerRecord write FInnerRecord; end; TClassC = class public ...
program problem02; uses crt; (* Problem: Even Fibonacci numbers Problem 2 @Author: Chris M. Perez @Date: 5/14/2017 *) var sum: longint = 0; MAX: longint = 4000000; function fib(arg: longint): longint; begin if(arg < 3) then fib := 1 else fib := fib(arg - 1) + fib(arg - 2); end...
{================================================================================ Copyright (C) 1997-2002 Mills Enterprise Unit : rmToolWinFormExpt Purpose : Custom Form Expert, used in controlling the TrmToolWinForm and decendants.... Components : TrmToolWinFormExpert Date : 06-15-1...
//------------------------------------------------------------------------------ //LoginAccountInfo UNIT //------------------------------------------------------------------------------ // What it does- // This class used by Login server to handle each account data in list...
unit UCRC; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} interface type TCRC=class public Value:integer; constructor Create; procedure Init; procedure Update(const data: array of byte;const offset,size:integer);overload; procedure Update(const data: array of b...
//////////////////////////////////////////////////////////////////////////// // PaxCompiler // Site: http://www.paxcompiler.com // Author: Alexander Baranovsky (paxscript@gmail.com) // ======================================================================== // Copyright (c) Alexander Baranovsky, 2006-2014. All rig...
unit uCommonUtils; interface uses GlobalVars, ADODB, cxGridDBBandedTableView, cxGridBandedTableView, cxGridDBCardView, uAttributes, variants, cxVGrid, cxDBVGrid, cxtCustomDataSourceM, cxTableViewCds, cxGridTableView; type TScreenCursor = class protected InternalCount: integer; public ...
unit uFrmDadosFornecedor; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uFrmDadosBase, StdCtrls, Buttons, ExtCtrls, Mask, Fornecedor, uFornecedorDAOClient, DBClient; type TFrmDadosFornecedor = class(TFrmDadosBase) Label1: TLabel; edtCodigo: TEdit; ...
unit uniteReponse; //Encapsule les données renvoyer par le serveur. interface uses SysUtils; //Encapsule les données renvoyées par le serveur. type Reponse = class private //Adresse demandeur adresseDemandeur : String; //Version HTTP 1.0 ou 1.1 versionProtocole ...
{...................................................................................} { Summary Converts a monochrome image as a PCB Logo into a series of thin } { PCB tracks that can be placed on a PCB document as a logo. } { ...
unit uPOSServerConsts; interface uses Messages; const SCH_SERVER = 'ServerSchedule'; SCH_POS = 'POSSchedule'; MR_HST_CONT_FAIL = 'Local Connection fail. '; MR_HST_SVR_CONT_FAIL = 'Server Connection fail. '; MR_HST_JOB_FAIL = 'Job fail : '; MR_HST_VPN_FAIL = 'VPN f...
unit Up_Sys_Level; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, cxGridTableView, dxBarExtItems, dxBar, cxGridLevel, cxClasses, cxControls, cxGridCustomView, cxGrid...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [LOGSS] The MIT License ...
unit Rules; interface uses System.SysUtils, System.Classes, REST.Types, REST.Client, Data.Bind.Components, Data.Bind.ObjectScope, Data.DBXPlatform, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, IPPeerServer, Datasnap.DSCommonServer, Datasnap.DSServer, Datasnap.DSH...
unit Find; { small non-modal dialog box used for finding previously entered or duplicate questions } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Buttons, Menus, StdCtrls, ExtCtrls, db; type TfrmFind = class(TForm) Label1: TLabel; memFind: TMemo; Bevel1:...
unit SHA1; interface // No range and overflow checking, do not remove!!! {$R-} {$Q-} //{$DEFINE UpperCase} {da xie} function GetSha1(Buffer: pointer; Size: INTEGER): AnsiString; implementation uses SysUtils; type TLogicalFunction = function(B, C, D: INTEGER): INTEGER; TLogicalFunctions = arr...
unit CholeskySolver; interface uses BasicDataTypes; type TCholeskySolver = class public Answer: AFloat; constructor Create(var _A: AFloat; _b: AFloat); destructor Destroy; override; procedure Execute; private m: integer; A, y, b: AFloat; // Cholesk...
{* ***** BEGIN LICENSE BLOCK ***** Copyright 2009 Sean B. Durkin This file is part of TurboPower LockBox 3. TurboPower LockBox 3 is free software being offered under a dual licensing scheme: LGPL3 or MPL1.1. The contents of this file are subject to the Mozilla Public License (MPL) Version 1.1 (the "License"); you may ...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { Implements specific proxying classes. } unit VXS.ProxyObjects; interface {$I VXScene.inc} uses System.Classes, System.SysUtils, VXS.OpenGL, VXS.Scene, VXS.XCollection, VXS.PersistentClasse...
{..............................................................................} { Summary PCB Hole Size Editor version 1.0 } { } { Copyright (c) 2004 by Altium Limited ...
unit UpdateTool; interface uses SysUtils, Classes, IdHTTP, IdAntiFreeze, ShellAPI, Forms, IdComponent, VCLUnZip, VCLZip, Windows, XMLIntf, ActiveX, XMLDoc; function nDeleteDir(SrcDir: string; UndoMK: boolean = false): Boolean; type TBeforeDown = procedure of object; //下载前 TOnDowning = procedure(val...
{ This sample shows how not only to localize user interface but database too. The sample also shows how to show only those rows that belong to the active language. } unit Unit1; interface uses Classes, Controls, Menus, Grids, DB, DBGrids, ADODB, Forms; type TMainForm = class(TForm) MainMenu: TMainMen...
unit NewFrontiers.Database.Utility; interface uses NewFrontiers.Database; type /// <summary> /// Diese Klasse fasst die Utility-Funktionen im DB-Umfeld zusammen /// </summary> TDatabaseUtility = class public /// <summary> /// Fragt den Wert eines Generators ab und gibt ...
{ Example showing usage of GLBlur Adding it to the scene root will blur all the scene. Adding a GLBlur to an object will make it blur only that object (note that you might need to sort objects to avoid z-order issues or you can set GLScene1.ObjectSorting = osRenderFarthestFirst) You can choose a GLBlur...
unit uAssociationActions; interface {$WARN SYMBOL_PLATFORM OFF} uses System.SysUtils, uActions, uAssociations, uInstallScope, uConstants; const InstallPoints_Association = 128 * 1024; type TInstallAssociations = class(TInstallAction) private FCallback: TActionCallback; p...
unit ffileassoc; (*##*) (******************************************************************* * * * F F I L E A S S O C * * file associations form, part of CVRT2WBMP * * ...
unit TicksMeter; interface uses System.SysUtils; type TTicksMeter = object strict private FStartTime: Int64; FSpentTime: Int64; class function RDTSC: Int64; static; public property Spent: Int64 read FSpentTime; procedure Start; inline; procedure Stop; inline; function ToString:...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 1995-2010 Embarcadero Technologies, Inc. } { ...
unit DataRec_Unit; interface uses Classes, SysUtils; type TDataValue = class fValue: string; end; TDataRec = class private fRows: TList; public constructor Create(aTableStr: string); destructor Destroy; override; function Count(): integer; function val(r, c: int...
unit Controller.Projeto; interface uses Controller.interfaces; type TProjetoController = class(TInterfacedObject, IProjetoController) public function ObterTotal(PDataSet: TDataSet): Currency; function ObterTotalDivisoes(PDataSet: TDataSet): Currency; procedure RetornarDataSet(PDataSet: TDataSet); ...
unit ItemsSelectForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CheckLst, Menus, CountedDynArrayInteger, InflatablesList_Manager; type TfItemsSelectForm = class(TForm) clbItems: TCheckListBox; lblItems: TLabel; pmItemsMenu: TPop...
unit TestMainForm; interface implementation uses Classes, Forms, ActnList, TestFramework, FutureWindows, TestCaseBase, uMainForm, uStudentEditDialog, TestStudentEditDialog, SysUtils, uModel, Windows, Messages; type TMainFormTestCase = class(TTestCaseBase) strict private FMainForm: T...
{$I texel.inc} {* * exportierte Dateiauswahl-Funktionen *} unit wdlgfnts; interface uses {$IFNDEF FPC} otypes, { for smallint } {$ENDIF} wdlgevnt; type PFNT_DIALOG = ^TFNT_DIALOG; TFNT_DIALOG = record end; PFNTS_ITEM = ^TFNTS_ITEM; TFNTS_ITEM = record next: PFNTS_ITEM; ...
unit FileDialogs; {$MODE Delphi} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, FileCtrl, Grids, Shlobj, ComCtrls, Files, FileOperations, Misc_utils, GlobalVars, Buttons; type TGetFileOpen = class(TForm) EBFname: TEdit; BNOpen: TButton; BNCance...
unit ComponentPalette; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ImgList, ComCtrls, ExtCtrls, DCPalette, dcpalet, DCGen, LMDCustomComponent, LMDBaseController, LMDCustomContainer, LMDCustomImageList, LMDImageList, LMDControl, LMDBaseControl, LMD...
namespace Steema.TeeChart.Samples.Oxygene; interface uses System.Windows.Forms, Steema.TeeChart, Steema.TeeChart.Styles; type MainForm = class(System.Windows.Forms.Form) private Chart1 : TChart; public constructor; class method Main; end; implementation constructor MainForm; begin Width:=4...
unit Forms.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, VCL.TMSFNCTypes, VCL.TMSFNCUtils, VCL.TMSFNCGraphics, VCL.TMSFNCGraphicsTypes, VCL.TMSFNCMapsCommonTypes, VCL.TMSFNCCustomControl, VCL.TMSFNCWebB...
unit eUsusario.Controller.Factory.Interfaces; interface uses eUsusario.View.Conexao.Interfaces; type iFactoryQuery = interface ['{68BB9C5F-2C8B-410B-9275-C860DB1ACBBE}'] function Query(Connection : iConexao) : iQuery; end; implementation end.
unit BaseSet; interface uses BasicDataTypes; type TGetValueFunction = function (var _Value : integer): boolean of object; PPointerItem = ^TPointerItem; TPointerItem = record Data: pointer; Next: PPointerItem; end; CBaseSet = class private Start,Last,Active : P...
{ @abstract Implements @link(TNtListViewTranslator) translator extension class that translates TListView. To enable runtime language switch of list views just add this unit into your project or add unit into any uses block. @longCode(# implementation uses NtListViewTranslator; #) See @italic(Samples\Del...
unit HVA; // HVA Unit By Stucuk // Written using the tibsun-hva.doc by The Profound Eol {$INCLUDE Global_Conditionals.inc} interface uses dialogs,sysutils,Voxel_Engine,math3d, OpenGL; type THVA_Main_Header = packed record FilePath: array[1..16] of Char; (* ASCIIZ string *) N...
unit MD3Helper; {$DEFINE MD3Helper_ZeroDivide1} interface uses SysUtils, Classes, Jpeg, cene Q3MD3, GLFileMD3, GLObjects, GLVectorFileObjects, GLScene, GLTexture, GLVectorGeometry,GLMaterial; type TGLMD3Actor = class private LegsTags, TorsoTags, WeaponTags: TMD3TagList; ...
unit GLDCameraFrame; interface uses Classes, Controls, Forms, Buttons, StdCtrls, GL, GLDTypes, GLDSystem; type TGLDParamsFrameType = (GLD_PARAMS_FRAME_NONE, GLD_PARAMS_FRAME_USERCAMERA); TGLDCameraFrame = class(TFrame) SB_Camera: TScrollBox; GB_CameraType: TGroupBox; SB_Us...
unit ibSHOptions; interface uses SysUtils, Classes, Graphics, DesignIntf, SHDesignIntf, ibSHDesignIntf; type TfibBTOptions = class(TSHComponentOptions, IibSHOptions) private protected function GetCategory: string; override; function GetUseDefaultEditor: Boolean; override; procedur...
unit UDWindowZoom; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, Buttons, UCrpe32; type TCrpeWindowZoomDlg = class(TForm) pnlWindowZoom: TPanel; lblMagnification: TLabel; btnNext: TSpeedButton; tbarMagnification: TTrackBar...
unit QuickRTTI; interface uses classes,typinfo,sysutils; type TCustomQuickRTTI = class (TPersistent) private fobj:TPersistent; PList:PPropList; props:tstringlist; objs:TStringlist; fval,ftag,fobjid,fintag:String; fshowtype:boolean; QCache:TCustomQuickRTTI; protected function outputXML :String...
unit ThWebBrowserUtils; interface uses Classes, ShDocVw; procedure TbhStringToBrowser(inWebBrowser: TWebBrowser; inHtml: string); implementation uses Forms, ActiveX; procedure TbhStringToBrowser(inWebBrowser: TWebBrowser; inHtml: string); var sl: TStringList; ms: TMemoryStream; begin inWeb...
unit uInternetFreeActivationThread; interface uses Classes, SysUtils, Dmitry.Utils.System, uInternetUtils, uConstants, uActivationUtils, uTranslate, uGOM, uDBForm, uDBThread, uUpTime; type TFreeRegistrationCallBack = procedure(Reply: string) of object; InternetActiv...