text stringlengths 14 6.51M |
|---|
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ XML Transform Components }
{ }
{ Copyright (c) 2000-2001 Bor... |
unit Memo_TLB;
// ************************************************************************ //
// WARNING //
// ------- //
// The types declared in this file were generated from data read fr... |
unit TConnectionManager;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type TOconnectionManager = class
const maxConnections = 1;
private
connections: Integer;
public
function newConnection: boolean;
procedure disconnectConnection;
end;
var ConnectionManager: TOconn... |
unit HGM.GraphQL.Query;
interface
uses
HGM.GraphQL.Types, HGM.GraphQL.Fields, HGM.GraphQL.Method;
type
TGraphQuery = class
private
FMethods: TGraphMethods;
FName: string;
FType: string;
procedure SetMethods(const Value: TGraphMethods);
public
procedure AddMethod(const Name: string; Args: ... |
unit EmerAPIServerTasksUnit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, EmerAPIMain, emerapitypes, EmerAPIBlockchainUnit, fpjson;
type
tEmerAPIServerTaskValid=(eptvUnknown,eptvValid,eptvInvalid,eptvPart); //part for a group means some tasks are valid
tEmerAPIServerTaskList=class;
tBaseEmerAPIServerTa... |
unit rhlSipHash;
interface
uses
rhlCore, sysutils, Dialogs;
type
{ TrhlSipHash }
TrhlSipHash = class(TrhlHashWithKey)
private
const
V0: QWord = $736f6d6570736575;
V1: QWord = $646f72616e646f6d;
V2: QWord = $6c7967656e657261;
V3: QWord = $7465646279746573;
... |
unit PlayerLogger;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
{ TPlayerLogger }
TPlayerLogger = class
private class var
FCriticalSection: TRTLCriticalSection;
FFile: TextFile;
FPrepared: Boolean;
private
class procedure Prepare;
public
class constructor ClassCreate;
... |
Program PATTERNS; {-*- Mode: Pascal -*-}
{
This program is designed for demo purposes only. It doesn't really do
anything; it's just here for display. Enjoy the concept of programming
in Pascal (Yecchh!) using AMACS, the EMACS for the Apple.
}
Uses TURTLEGRAPHICS, APPLESTUFF; {we USE these Units}
Const max... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
{ ********************************************************************** }
{ }
{ Delphi and Kylix Cross-Platform Open Tools API }
{ }
{ Copyright (C) 1995... |
{$mode objfpc}
{$m+}
program TreeTraversalBFS;
type
Nd = ^Node;
Node = record
data : char;
L, R, P : Nd; { Left, right, parent }
end;
StackNode = record
val : Nd;
prev : ^StackNode;
end;
LinkedListQueue = class
private
first : ^StackNode;
last : ^StackNode;
public
functio... |
unit VisualHallFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls;
type
//для отрисовки элементов
IDrawItems = interface
['{168B0326-DBE9-4406-8FD0-BE5CA476FB98}']
function Draw(aCanvas: TCanvas):HRESULT;
end;
ISelectedIt... |
unit AssignRoles;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BasePopupDetail, RzButton, RzTabs,
Vcl.StdCtrls, RzLabel, Vcl.Imaging.pngimage, Vcl.ExtCtrls, RzPanel, LocalUser, Role,
RzLstBox, RzChkLst;
t... |
unit IdVCLPosixSupplemental;
interface
{$I IdCompilerDefines.inc}
{$WARN SYMBOL_PLATFORM OFF}
uses
{$IFDEF DARWIN}
CoreFoundation,
CoreServices,
{$ENDIF}
IdCTypes;
//tcp.hh
type
{Supplemental stuff from netinet/tcp.h}
{$EXTERNALSYM tcp_seq}
tcp_seq = TIdC_UINT32;
{$EXTERNALSYM tcp_cc}
tcp_cc = TIdC_... |
inherited fClarifySpaces: TfClarifySpaces
Width = 472
Height = 463
Font.Charset = ANSI_CHARSET
Font.Height = -15
Font.Name = 'Segoe UI'
ParentFont = False
object cbFixSpacing: TCheckBox
Left = 8
Top = 6
Width = 241
Height = 17
Caption = 'Fix &spacing'
TabOrder = 0
e... |
unit sNIF.control;
{ *******************************************************
sNIF
Utilidad para buscar ficheros ofimáticos con
cadenas de caracteres coincidentes con NIF/NIE.
*******************************************************
2012-2018 Ángel Fernández Pineda. Madrid. Spain.
This work is licensed u... |
unit MinTransfersplanner;
interface
uses
Contnrs,
MetroBase, Planner;
type
TMinTransfersPlanner =
class(TPlanner)
protected
FNetwork: TNetwork;
public
// construction/destruction
constructor Create(ANetwork: TNetwork);
// queries -----------------------------------------... |
//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.
//
// File: exdispid.h
//
//--------------------------------------------------------------------------
unit ExDispID;
interface
const
//
// Dispa... |
{------------------------------------------------------------------------------
This file is part of the MotifMASTER project. This software is
distributed under GPL (see gpl.txt for details).
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even th... |
{------------------------------------------------------------------------------
TDzDirSeek component
Developed by Rodrigo Depiné Dalpiaz (digão dalpiaz)
Non visual component to search files in directories
https://github.com/digao-dalpiaz/DzDirSeek
Please, read the documentation at GitHub link.
-----------------------... |
unit BrickCamp.Model.IAnswer;
interface
uses
Spring;
type
IAnswer = interface(IInterface)
['{22C4E548-5FBE-47FE-9138-5A96FFE3DDE0}']
function GetId: Integer;
function GetQuestionId: Integer;
function GetUserId: Integer;
function GetText: string;
function GetRankIndex: SmallInt;
procedur... |
unit HashUnit;
{ Hash Unit }
// Hash Algorithms : MD5, SHA-1
// Copyright (c) 2015 ChrisF
// Distributed under the terms of the MIT license: see LICENSE.txt
{$IFDEF FPC}
// {$MODE OBJFPC}{$H+}
{$MODE DELPHI}
{$ENDIF}
//------------------------------------------------------------------------------
interface
... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit constants;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
const VERSION = '0.1';
const iniFile = 'oconfig.ini';
const INI_General = 'General';
const INI_Network = 'Network';
const INI_SWAMP = 'Swamp';
const BIND_Default_Address = '0.0.0.0';
const BIND_Default_Port = 16384;
const OPERATION_TYPE_BL... |
unit ParcelAuditPrintForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, Mask, RPCanvas, RPrinter, RPFiler, RPDefine, RPBase,
RPTXFilr, Db, DBTables, Wwtable;
type
TParcelAuditPrintDialog = class(TForm)
UserIDGroupBox: TGroupBox;
Label9: T... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLTimeEventsMgr<p>
by GliGli
Time based events mannager using the Cadencer<p>
can be useful to make animations with GlScene<p>
<b>History : </b><font size=-1><ul>
<li>07/01/10 - DaStr - Added TGLTimeEventsMGR.Reset()
... |
unit MainPage;
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.Layouts, FMX.Controls.Presentation, FMX.MultiView, FMX.Objects,
FireDAC.Phys.Intf, FireDAC.Stan.Option, FireDAC.Stan.In... |
{
*****************************************************************************
* *
* See the file COPYING.modifiedLGPL.txt, included in the lazarus *
* directory, for details about the license/copyright. ... |
unit uefattura;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils
, fgl // used for generics
;
const
DOMEL_FatturaElettronicaHeader = 'FatturaElettronicaHeader';
DOMEL_DatiTrasmissione = 'DatiTrasmissione';
DOMEL_IdTrasmittente = 'IdTrasmittente';
DOMEL_IdPaese ... |
{ ********************************************************************* }
{ * Microsoft Windows ** }
{ * Copyright(c) Microsoft Corp., 1996-1998 ** }
{ * ** }
{ * Translator: Emba... |
unit Test.Devices.Tecon19.Parser;
interface
uses TestFrameWork, Devices.Tecon, Devices.Tecon.Common, GMGlobals, GMConst, Classes, Test.Devices.Base.ReqParser, Math;
type
TTeconReqParserTest = class(TDeviceReqParserTestBase)
private
reqParser: TTecon19AnswerParser;
protected
procedure SetUp; override;
... |
unit Financas.Controller.Connections.Factory.DataSet;
interface
uses Financas.Controller.Connections.Interfaces, Financas.Model.Connections.Interfaces,
Financas.Model.Connections.Factory.DataSet;
Type
TControllerConnectionsFactoryDataSet = class(TInterfacedObject, iControllerFactoryDataSet)
private
publi... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2016-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit HtmlDoc;
interface
type
IHTMLElemCollection = interface;
IHTMLElem = interface
['{348287FA-A001-49C7-966B-2B07A151D8DA}']
function TagName: string;
//function ClassName: string;
function InnerText: string;
function Children: IHTMLElemCollection;
end;
IHTMLElemCollection = interface... |
{
GMEditors
ES: unit con la definición de los editores para los componentes
EN: unit with the definition of the editors for components
=========================================================================
History:
ver 0.1:
ES: primera versión
EN: first version
============================================... |
unit UShapesList;
{$mode objfpc}{$H+}
interface
uses
Graphics, UBaseShape, UShapes, math, UGeometry, UViewPort, UInspector, Classes,
sysutils, Dialogs, UShapeJSONConverter, UHistory, Clipbrd;
type
{ TShapesList }
TZOrderEvent = procedure(Enabled: Boolean) of object;
TShapesList = class
private
... |
unit NewLawyerDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Db, Wwdatsrc, DBTables, Wwtable, StdCtrls, Mask, DBCtrls, Buttons;
type
TNewLawyerForm = class(TForm)
LawyerDataSource: TwwDataSource;
UndoButton: TBitBtn;
GroupBox1: TGroupBox;
Lawyer... |
{Realizar un programa que cargue un vector de 800 caracteres. Finalizada la carga informar:
a) La cantidad de caracteres que son consonantes y la cantidad de vocales
b) La cantidad de caracteres que son dígitos, la cantidad de letras mayúsculas y la cantidad de letras
minúsculas.}
{digitos: desde 48 hasta el 57}
{letra... |
unit uPrintPreviewDialog;
interface
//In this example we will create a print document and print using PrintPreviewDialog.
//We will print some text on Print Page event
uses
{$IF CompilerVersion > 22}
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Co... |
unit TestDelphiNetRecordForward;
{ This unit compiles but is not semantically meaningfull
it is test cases for the code formatting utility
Delphi.NEt record forward declarations
}
interface
type
TRecord1 = record;
TRecord2 = record;
TRecord3 = record;
TRecord1 = record
foo: integer;... |
unit FC.Trade.TesterTrainReportDialog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufmDialogClose_B, ComCtrls, StdCtrls, ExtCtrls, ExtendControls,
Properties.Definitions,
StockChart.Definitions,
FC.Trade.TesterDialog;
type
TfmTesterTrainReportDialog ... |
//
// 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... |
{$IFDEF SOLID}
unit Scan;
interface
function SERVICE(ServiceNumber: Longint; Buffer: Pointer): Longint;
implementation
{$ELSE}
library Scan;
{$ENDIF}
{$IFDEF VIRTUALPASCAL}
uses
Dos, Wizard,
Types,
Consts_,
Log, Video, Misc, Language, Semaphor, Plugins, Config, ScanCore;
{$IFNDEF SOLID}
... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC SQL script engine }
{ }
{ Copyright(c) 2004-2018 Embar... |
{ * ------------------------------------------------------------------------
* ♥ Akademia BSC © 2019 ♥
* ----------------------------------------------------------------------- * }
unit TestSortControler;
interface
uses
System.SysUtils, System.Classes, System.Diagnostics, System.TimeSpan,
TestFramework,
... |
unit adot.VCL.Tools;
{ Definition of classes/record types:
TAppActions = class
Get all "executable" components of form (TMenu/TAction/...).
Used by automated testing framework & quick search window (available by F11).
TCanvasUtils = class
MaxFitLength / BlendRectangle and other graphic functions spe... |
unit uCapturaWebcamVCL;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
Vcl.Samples.Spin;
type
TForm1 = class(TForm)
btnConectar: TButton;
pnlWebcam: TPanel... |
unit p_draw;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, Amzi, StdCtrls, ExtCtrls;
procedure InitDrawPreds(LS: TLSEngine);
{ Function definitions for the Delphi functions that
implement the various extended predicates. }
function p_lineto(EngID: TEn... |
unit NtUtils.Exec;
interface
uses
NtUtils.Exceptions, Winapi.ProcessThreadsApi, NtUtils.Environment,
NtUtils.Objects, Ntapi.ntdef;
type
TExecParam = (
ppParameters, ppCurrentDirectory, ppDesktop, ppToken, ppParentProcess,
ppLogonFlags, ppInheritHandles, ppCreateSuspended, ppBreakaway,
ppNewConsole,... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 2016 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit ORDtTmRng;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ORFn, OR2006Compatibility, ORDtTm, VA508AccessibilityManager;
type
TORfrmDateRange = class(Tfrm2006Compatibility)
lblStart: TLabel;
lblStop: TLabel;
cmdOK: TButton;
cmdCancel: TBut... |
unit dDXCC;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, sqldb, FileUtil;
type
TExplodeArray = Array of String;
type
TDXCCRef = record
adif : Word;
pref : String[20];
name : String[100];
cont : String[6];
utc : String[12];
lat : String[10];
longit : S... |
{ Some utility routines for compatibility to some units available
for BP, like some `Turbo Power' units.
@@NOTE - SOME OF THE ROUTINES IN THIS UNIT MAY NOT WORK CORRECTLY.
TEST CAREFULLY AND USE WITH CARE!
Copyright (C) 1998-2005 Free Software Foundation, Inc.
Authors: Prof. Abimbola A. Olowofoyeku <Africa... |
unit u_workthread;
interface
uses
SysUtils,
SyncObjs,
Classes;
type
TWorkProc = procedure of object;
TWorkThread = class(TThread)
private
{ Private declarations }
Counter : Integer;
FTimeout : Integer;
FEventProc: TWorkProc;
procedure DoWork;
protected
pr... |
unit MainForm; // allows the user to manipulate the IGame structure.
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Menus, System.Actions, Vcl.ActnList,
FrameForm, Vcl.ExtCtrls, Generics.Coll... |
{
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| ... |
/////////////////////////////////////////////////////////
// //
// FlexGraphics library //
// Copyright (c) 2002-2009, FlexGraphics software. //
// //
// Flex-libraries support ... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 2011 Embarcadero Technologies, Inc. }
{ ... |
unit uFrmTarefas;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Datasnap.DBClient, Vcl.Grids, MidasLib,
Vcl.DBGrids, Vcl.StdCtrls, Vcl.Buttons, uReduxStore,
System.Generics.Collections;
type
TAc... |
namespace Importer;
interface
uses
System.IO,
System.Linq,
RemObjects.CodeGen4;
type
ConsoleApp = static class
private
method WriteSyntax;
public
method Main(args: array of String);
end;
implementation
method ConsoleApp.WriteSyntax;
begin
writeLn('syntax: MZImporter.ex... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC FireMonkey Base dialog form }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit ChatClass;
interface
uses Dialogs, SysUtils, Uni;
Type
TChat = class(TObject)
private
Connection: TUniConnection; // Подсоединение
Query: TUniQuery; // Переменная для набора данных
ConnectStr: string;
ChatDataBasePublic: string; // Имена баз данных (Для всех)
ChatDataBasePrivate: string;... |
unit SHA1;
{SHA1 - 160 bit Secure Hash Function}
interface
(*************************************************************************
DESCRIPTION : SHA1 - 160 bit Secure Hash Function
REQUIREMENTS : TP5-7, D1-D7/D9-D10/D12/D17-D18/D25S, FPC, VP
EXTERNAL DATA : ---
MEMORY USAGE ... |
const MAX_OUT_BUF = 4096 * 4;
var
output_buffer : array[0..MAX_OUT_BUF-1] of char;
idx_output_buffer : longint;
output_stream : TFileStream;
procedure fast_write_char(x : char);
begin
(* Write one char onto the buffer *)
output_buffer[idx_output_buffer] := x;
inc(idx_output_buffer);
if idx... |
unit ProducerInterface;
interface
type
IProducer = interface(IInterface)
function GetProducerID(const AProducerName: String): Integer; stdcall;
function Exist(const AProducerName: String): Boolean; stdcall;
end;
implementation
end.
|
unit HomeOrder;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Grids, DBGridEh,
DB, ComCtrls, ToolWin;
type
THomeOrderForm = class(TForm)
DBGridEh1: TDBGridEh;
Panel1: TPanel;
CloseButton: TButton;
DBGridEh2... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
Unit PathTree;
interface
uses AVL_tree,
pathinfo;
type
TPathTree = class
private
fTree : TAVLTree;
public
constructor Create();
destructor Destroy; override;
function AddPathInfo(Name : String) : TPathInfo;
procedure BrowseAll;
function GetMissedPaths : AnsiString;
function UnknownGetJSON :... |
unit untEasyDesignerTLReg;
{$I cxVer.inc}
interface
uses
Classes, SysUtils, TypInfo, Types, DesignIntf, DesignEditors, VCLEditors, dxCore,
cxInplaceContainer, Forms, DB, cxDesignWindows, cxPropEditors, cxClasses, cxControls,
cxEdit, cxStyles, cxTL, cxTLData, cxDBTL, cxTLStrs,
cxTLEditor, cxTLItemsEdi... |
unit UnitAccounts;
{
OSS Mail Server v1.0.0 - Accounts Form
The MIT License (MIT)
Copyright (c) 2012 Guangzhou Cloudstrust Software Development Co., Ltd
http://cloudstrust.com/
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files... |
(*
X-Mailer plugin.
Copyright (C) 2013 Silvio Clecio - silvioprog@gmail.com
Please see the LICENSE file.
*)
unit XMailer;
{$mode objfpc}{$H+}
//{$DEFINE OPEN_SSL}
{$DEFINE UTF_8_MIME}
interface
uses
{$IFDEF OPEN_SSL}
SSL_OpenSSL,
{$ENDIF}
{$IFDEF UTF_8_MIME}
MimeInln,
{$ENDIF}
SMTPSend, MimePart, MimeMes... |
{
求多个数的最大公约数
@file gcd.pas
@author yjf_victor
@date 2014-11-01
}
program GreatestCommonDivisor(Input, Output);
{
求两个数的最大公约数
@param[in] n 第一个数
@param[in] m 第二个数
@return 最大公约数
}
function gcd(n, m: Integer) : Integer;
var r: Integer;
begin
repeat
r := m Mod n;
m := n;
n := r;
until r = 0;
gcd... |
unit MD5.Globals;
// Глобальные переменные.
interface
uses
MD5.Logs,
MD5.Console,
MD5.Version;
const
ATTR_STATNUMBER = $000B; // Число в статистике
ATTR_STATPERCENT = $000D; // Процент в статистике
ATTR_HIGHLIGHT = $000F; // Просто выделение
ATTR_NUMBER = $000F; // Число
ATTR_FILE ... |
unit UnPagamentosView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, JvExExtCtrls, JvExtComponent, JvPanel, Grids, DBGrids, DB,
StdCtrls,
{ Fluente }
UnModelo, Componentes, UnAplicacao;
type
TPagamentosView = class(TForm, ITela)
pnlComman... |
unit xElecOrgan;
interface
uses SysUtils, Classes, xElecLine, xElecFunction, Math, xElecPoint;
type
/// <summary>
/// 电表计量元件类
/// </summary>
TElecOrgan = class
private
FOrganName: string;
FVolPointOut: TElecLine;
FVolPointIn: TElecLine;
FVolOrgan : TElecPoint;
FOnChange:... |
{******************************************************************
JEDI-VCL Demo
Copyright (C) 2002 Project JEDI
Original author:
Contributor(s):
You may retrieve the latest version of this file at the JEDI-JVCL
home page, located at http://jvcl.delphi-jedi.org
The contents of this f... |
unit LoanClassCharge;
interface
type
TValueType = (vtFixed, vtPercentage, vtRatio);
type
TMaxValueType = (mvtMonths,mvtAmount);
type
TLoanClassCharge = class
private
FChargeType: string;
FChargeName: string;
FChargeValue: real;
FValueType: TValueType;
FRatioAmount: real;
FMaxValue: r... |
unit Model.PhoneNumber;
interface
uses
iORM.Attributes;
type
[ioEntity]
TPhoneNumber = class
private
FID, FCustomerID: Integer;
FNumberType: String;
FNumber: String;
public
constructor Create(const ANumberType, ANumber: String);
property ID: Integer read FID write FID;
property Cus... |
unit ClassDefs;
interface
uses
Values, Codes, Functions, Strings;
const
STR_CLASSDEF = 'classdef';
type
TClassDefs = class;
TClassDef = class
private
FClassDefs: TClassDefs;
FID: TID;
FCID: TCID;
FFields: TArguments;
FMethods: TFunctions;
function GetIndex(): Integer;
public
... |
unit chrome_init;
{$mode objfpc}{$H+}
{$I vrode.inc}
interface
{.$DEFINE SELECT_CHROME_BIN}
uses {$IFNDEF VER3}LazUTF8,{$ENDIF}
Classes, SysUtils, LCLIntf,
vr_types, vr_utils, vr_classes,
{$IFDEF WINDOWS}vr_WinAPI,{$ENDIF}
uCEFApplication, chrome_common, chrome_browser;
function chrome_Start(ARend... |
unit uFrmMsgBox;
interface
uses
Windows, Controls, StdCtrls, ExtCtrls, Classes, Forms, pngimage,
cxGraphics,
cxLookAndFeels, cxLookAndFeelPainters, Menus, cxButtons;
type
TFrmMsgBox = class(TForm)
pnlClient: TPanel;
img1: TImage;
lblText: TLabel;
pnlBottom: TPanel;
btnOk: T... |
unit Financials_MutualFund_s;
{This file was generated on 11 Aug 2000 20:14:44 GMT by version 03.03.03.C1.06}
{of the Inprise VisiBroker idl2pas CORBA IDL compiler. }
{Please do not edit the contents of this file. You should instead edit and }
{recompile the original IDL which was located in... |
unit testrcondunit;
interface
uses Math, Sysutils, Ap, reflections, creflections, hqrnd, matgen, ablasf, ablas, trfac, trlinsolve, safesolve, rcond;
function TestRCond(Silent : Boolean):Boolean;
function testrcondunit_test_silent():Boolean;
function testrcondunit_test():Boolean;
implementation
const
T... |
(*******************************************************************************
Author:
-> Jean-Pierre LESUEUR (@DarkCoderSc)
https://github.com/DarkCoderSc
https://gist.github.com/DarkCoderSc
https://www.phrozen.io/
License:
-> MIT
*************************************************... |
unit uHik86;
interface
uses
SysUtils, Classes, System.Generics.Collections, SyncObjs, DateUtils,
uGlobal, uTypes, IdHttp;
type
THik86 = class
private
FData: TStringStream;
FCount: integer;
public
constructor Create;
destructor Destroy; override;
procedure Add(pass: TPass);
function ... |
{$MODE OBJFPC}
unit List;
interface
uses sysutils, classes;
type
generic TList<T> = class(TObject)
private
Item : T;
Next : ^TList;
_count : LongInt;
public
property Count : Longint read _count;
procedure Add (Value : T);
procedure Clear ();
function Contains (Value : ... |
unit UpDownImpl1;
interface
uses
Windows, ActiveX, Classes, Controls, Graphics, Menus, Forms, StdCtrls,
ComServ, StdVCL, AXCtrls, DelCtrls_TLB, ComCtrls;
type
TUpDownX = class(TActiveXControl, IUpDownX)
private
{ Private declarations }
FDelphiControl: TUpDown;
FEvents: IUpDownXEvents;
procedu... |
{*********************************************}
{ TeePreviewPanel Component }
{ TChartPageNavigator Components }
{ Copyright (c) 1999-2004 by David Berneda }
{*********************************************}
unit TeePreviewPanel;
{$I TeeDefs.inc}
interface
Uses {$IFNDEF LINUX}
Win... |
unit frmNetReflectorU;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
System.Actions, Vcl.ActnList, Vcl.ComCtrls,
Vcl.ToolWin, Vcl.StdCtrls, Vcl.Buttons, ReflectorsU, Vcl.Imaging.pngimage,
Vcl.ExtCtrls, Vc... |
unit uInit;
interface
uses
Forms, Windows, Messages, SysUtils, ExtCtrls, ORSystem;
type
{$IFDEF GroupEncounter}
TCPRSTimeoutTimerCondition = function: boolean;
TCPRSTimeoutTimerAction = procedure;
{$ELSE}
TCPRSTimeoutTimerCondition = function: boolean of object;
TCPRSTimeoutTimerAction = procedure of objec... |
unit uVHA_ATE740X;
{
================================================================================
*
* Application: Vitals
* Revision: $Revision: 1 $ $Modtime: 1/20/09 3:56p $
* Developer: dddddddddomain.user@domain.ext
* Site: Hines OIFO
*
* Description: CASMED Vitals... |
unit dfm2xmlImpl;
interface
uses
System.Classes;
procedure ObjectBinaryToXml(Input, Output: TStream); overload;
procedure ObjectResourceToXml(Input, Output: TStream); overload;
implementation
uses
System.RTLConsts,
System.TypInfo,
System.SysUtils,
System.StrUtils;
{ Binary to xml conve... |
procedure DLLEntryPoint(dwReason: Integer);
begin
case dwReason of
DLL_PROCESS_ATTACH:
begin
NPlugin := TdsPlugin.Create;
end;
DLL_PROCESS_DETACH:
begin
if (Assigned(NPlugin)) then NPlugin.Destroy;
end;
end;
end;
procedure setInfo(NppData: TNppData); cdecl; export;
begin
NPlug... |
unit FrmWEDetails;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, U_WE_EQUATION_DRAW, U_WE_DIAGRAM2,U_DIAGRAM_TYPE, U_WE_EQUATION, U_WE_PHASE_MAP,
StdCtrls, ExtCtrls, ImgList, ActnList, XPStyleActnCtrls, ActnMan, Menus,
U_WIRING_ERROR, IniFiles, Sys... |
unit SoccerTests.MainTests;
interface
uses
System.SysUtils,
System.Generics.Collections,
DUnitX.TestFramework,
Soccer.Main,
Soccer.Exceptions;
type
[TestFixture]
TMainTests = class(TObject)
public
[Test]
procedure FullTest;
[Test]
procedure NoDecideCommand;
[Test]
procedure... |
unit TreeView.DynamicDataTreeView;
interface
uses
FMX.TreeView, System.Classes, FMX.StdCtrls, System.Generics.Collections,
System.SysUtils;
type
TIndicatorTreeViewItem = class(TTreeViewItem)
private
fIndicator: TAniIndicator;
public
constructor Create(AOwner: TComponent); ov... |
unit Tests.TPropertyList;
interface
uses
DUnitX.TestFramework,
System.Classes,
System.SysUtils,
System.TypInfo,
Pattern.Command;
{$M+}
type
[TestFixture]
TestPropertyList = class(TObject)
private
fComponent: TComponent;
procedure AssertMetadataItem(const expectedPropertyName
: string; con... |
{ Freepascal pipes unit converted to Delphi.
License: FPC Modified LGPL (okay to use in commercial projects)
Changes to the code marked with "L505" in comments }
{
This file is part of the Free Pascal run time library.
Copyright (c) 1999-2000 by Michael Van Canneyt
Implementation of pipe stream.
See th... |
unit osXMLDOMUtils;
interface
uses
MSXML_TLB, DB;
type
TTipoObjeto = (toBD);
function getValueFromAttributes(attributes: IXMLDOMNamedNodeMap; name: string):OLEVariant;
function criarObjeto(doc: IXMLDOMDocument; tipoObjeto: TTipoObjeto; nome: string):IXMLDomElement;
function criarObjetoBD(doc: IXMLDO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.