text stringlengths 14 6.51M |
|---|
unit uStatusController;
interface
uses
System.SysUtils, uDMStatus, uRegras, uEnumerador, uDM, Data.DB, Vcl.Forms, uFuncoesSIDomper,
uStatusVO, System.Generics.Collections, uConverter;
type
TStatusController = class
private
FModel: TDMStatus;
FOperacao: TOperacao;
procedure Post;
public
proc... |
library UnicodePlugin;
{$mode objfpc}{$H+}
uses
SysUtils,
Classes,
lazUtf8;
function IsUtf8(const AString: PAnsiChar): Boolean; stdcall; export;
begin
Result := False;
if Assigned(AString) then
Result := FindInvalidUTF8Codepoint(AString, StrLen(AString)) = -1;
end;
function AnsiToUTF8(const ASource: ... |
unit Svarstykles;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, nrclasses, nrdataproc, nrcomm, System.StrUtils, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
dxSkinsCore, dxSkinOffice2007Bla... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit WinSockRDOServerClientConnection;
interface
uses
SmartThreads,
Classes,
ComObj,
Windows,
RDOInterfaces,
SocketComp,
SyncObjs;
type
TWinSockRDOServerClientConnection =
class( TInterfacedObject, IRDOConnection, IRDOServerClientConnection )
public
constru... |
unit DomainInterfaces;
{$mode objfpc}{$H+}
interface
type
ITest = interface
function GetStringValue() : string;
procedure SetStringValue(const Value: string);
property StringValue : string read GetStringValue write SetStringValue;
end;
implementation
end.
|
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ExtCtrls;
type
{ TFrmMain }
TFrmMain = class(TForm)
btnSubmit: TButton;
btnClear: TButton;
edFirst: TEdit;
edSecond: TEdit;
edAnswer: TEdit;
Label1: TLabel;
... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
{******************************************************************}
{ }
{ Borland Delphi Runtime Library }
{ RAS functions interface unit }
{ ... |
{ Subroutine SST_W_C_TERM (TERM, ADDR_CNT, ENCLOSE)
*
* Write the term indicated by the term descriptor TERM. ADDR_CNT indicates
* how many times the "address of" should be taken of the term. It may
* be negative to indicate pointer dereferences.
* ENCLOSE indicates whether the final expression should be en... |
{
Clever Internet Suite
Copyright (C) 2014 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clConfig;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes;
{$ELSE}
System.Classes;
{$ENDIF}
type
TclConfig = class;
TclConfigObject = class
public
constructor Create; vi... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
type
{ TfrmIconSpacing }
TfrmIconSpacing = class(TForm)
btnSave: TButton;
edtOwn: TEdit;
rbtnWindow10: TRadioButton;
rbtnWindows7: TRadioButton;
rbtnOwn: T... |
{ *********************************************************** }
{ * TForge Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2018 * }
{ *********************************************************** }
unit tfEvpAES;
interface
{$I TFL.inc}
uses
tfT... |
unit uFormaPagtoItemVO;
interface
uses
System.SysUtils;
type
TFormaPagtoItemVO = class
private
FObs: string;
FId: Integer;
FDias: Integer;
FIdFormaPagto: Integer;
procedure SetDias(const Value: Integer);
procedure SetId(const Value: Integer);
procedure SetIdFormaPagto(const Value: I... |
unit AutoMapper.TypePair;
interface
type
TTypePair = record
class operator Equal(a: TTypePair; b: TTypePair) : Boolean;
class operator NotEqual(a: TTypePair; b: TTypePair) : Boolean;
private
FSourceType : string;
FDestinationType : string;
public
constructor Create(const ASourceType,... |
unit GX_SourceExport;
// Original Author: ArentJan Banck <ajbanck@davilex.nl>
{$I GX_CondDefine.inc}
interface
uses
Classes, Graphics, Controls, Forms, Dialogs, ActnList, ComCtrls,
Menus, StdCtrls, ExtCtrls, ToolWin,
SynEdit, // This expert requires SynEdit from http://synedit.sf.net/
GX_Experts... |
namespace Sugar.Xml;
interface
uses
{$IF COOPER}
org.w3c.dom,
{$ELSEIF ECHOES}
System.Xml.Linq,
{$ELSEIF TOFFEE}
Foundation,
{$ENDIF}
Sugar;
type
XmlAttribute = public class (XmlNode)
{$IF NOT TOFFEE}
private
property &Attribute: {$IF COOPER}Attr{$ELSEIF ECHOES}XAttribute... |
unit TycoonVotes;
interface
uses
SysUtils, Collection, Persistent, BackupInterfaces;
type
TVoteInfo =
class
fLocation : TObject;
fTycoon : TObject;
end;
TVoteSystem =
class(TPersistent)
public
constructor Create;
destructor Destroy; ov... |
program TESTSETS ( OUTPUT ) ;
const CH_CONST = X'4f' ;
CH_BLANK = X'20' ;
I_NEGATIV1 = - 13 ;
I_NEGATIV2 = - 15 ;
type OPTYPE = ( PCTS , PCTI , PLOD , PSTR , PLDA , PLOC , PSTO , PLDC ,
PLAB , PIND , PINC , PPOP , PCUP , PENT , PRET , PCSP ,
PIXA , PEQU , PNEQ , PGEQ , ... |
{=======================================================================================================================
RkDBAddress Unit
RK Components - Component Source Unit
Components Description
--------------------------------------------------------------------------------------------... |
unit uBox2DImport;
interface
uses
glr_render2d,
glr_math,
UPhysics2D, UPhysics2DTypes;
const
//Коэффициент соотношения размеров физических объектов и объектов на экране
//(для внутренних расчетов)
//Категорически не рекомендуется изменять без понимания, ЗАЧЕМ
C_COEF = 1 / 40;
C_COEF_INV = 40;
type
... |
{ Routines that handle jump targets.
*
* Syntax processing routines need to primarily branch on three different
* criteria:
*
* 1 - Furthest input stream point reached on error re-parse.
*
* 2 - Syntax matched template.
*
* 3 - Syntax did not match template.
*
* A parsing routine must immediat... |
unit formTestAction;
interface
uses
SysUtils, Types, Classes, Variants, QTypes, QGraphics, QControls, QForms,
QDialogs, QStdCtrls, QComCtrls, QExtCtrls;
type
TfrmTestAction = class(TForm)
ScrollBox1: TScrollBox;
Panel1: TPanel;
edtSpeed: TSpinEdit;
Label4: TLabel;
imgAnimation: TImage;
... |
unit EcconomyRelay;
interface
uses
Persistent, Collection, Kernel, BackupInterfaces, Accounts;
const
MinRecessionFact = 0.25;
MaxStimulusFact = 1.25;
RecessionFactDec = 0.25/(24*365);
RecessionFactInc = 0.25/(24*365);
type
TEcconomyRelay =
class(TPersistent)
public
... |
unit system16a_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,m68000,main_engine,controls_engine,gfx_engine,rom_engine,pal_engine,
ppi8255,sound_engine,ym_2151,fd1089,dialogs,mcs48,dac;
function iniciar_system16a:boolean;
implementation
const
//Shinobi
shinobi_rom:array[0..3] of t... |
unit uPenerimaanKas;
interface
uses
uModel, uRekBank, uAR, System.Generics.Collections,System.SysUtils,
uSupplier, uAccount;
type
TPenerimaanKas = class;
TPenerimaanKasAR = class;
TPenerimaanKasAPNew = class;
TPenerimaanKasLain = class;
TPenerimaanKasAR = class(TAppObjectItem)
private
FAR: TAR;
... |
unit mnSynHighlighterLua;
{$mode objfpc}{$H+}
{**
*
* This file is part of the "Mini Library"
*
* @url http://www.sourceforge.net/projects/minilib
* @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html)
* See the file COPYING.MLGPL, included in this distribution,
... |
unit InputLine;
interface
uses BaseDevice, SysUtils, Graphics, Classes, Windows, MSScriptControl_TLB, Activex, ComObj, SyncObjs;
type
TDoubleArr = array of Double;
TCurrentCalibration = (MultiplierOffset, Sheet, Script);
TInputLine = class;
IInputLineChangedCallback = interface
procedure OnInputLine... |
unit furqDecoders;
interface
procedure QS2Decode(aData: PByte; aDataSize: Longword; aBuffer: PByte);
procedure QS1Decode(aData: PByte; aDataSize: Longword);
procedure BFDecode(aData: Pointer; aDataSize: Longword; aBuffer: Pointer);
function Crc32(X: PByte; N: Integer): Cardinal;
implementation
uses
SysUtils;
{$... |
//** Сцена умений персонажа.
unit uSceneSkill;
interface
uses Types, Graphics, uScene, uImage, uSkillTree;
type
//** Сцена умений персонажа.
TSceneSkill = class(TSceneFrame)
private
//** ID навыка под указателем мыши.
function GetID: Integer;
public
//** Умения персонажа.
Skill... |
unit UCalcWheel;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.FlexCel.Core, FlexCel.XlsAdapter,
FMX.Edit, FMX.Objects, FMX.Platform, FMX.Layouts, FMX.ListBox, FMX.Ani;
type
TWheelForm = class(... |
unit mcCodeInsideSymbols;
interface
uses
Classes,
ToolsAPI;
type
TCodeInsightSymbolList = class(TInterfacedObject,
IOTACodeInsightSymbolList)
private
FStrings: Tstrings;
public
procedure AfterConstruction;override;
destructor Destroy; override;
procedure A... |
unit Model.Generator;
interface
uses
Model.Interfaces,
Model.Generator.Params,
Model.EntityGenerate,
Model.ModelGenerate,
Model.RoutersGenerate;
type
TModelGenerator = class(TInterfacedObject, iModelGenerator)
private
FParams : iModelGeneratorParams;
public
constructor Create;... |
unit ddRowProperty;
// Модуль: "w:\common\components\rtl\Garant\dd\ddRowProperty.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TddRowProperty" MUID: (518A10050368)
{$Include w:\common\components\rtl\Garant\dd\ddDefine.inc}
interface
uses
l3IntfUses
, ddPropertyObject
, ddBorder
, ddTypes
, k2Interfaces
... |
unit uFormBasicRegister;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uFormBasic, System.ImageList,
Vcl.ImgList, cxImageList, cxGraphics,
System.Actions, Vcl.ActnList, Vcl.ExtCtrls, Vcl.StdCtrls, Data.DB... |
unit Broadcast;
interface
uses
Protocol, Kernel, WorkCenterBlock, Classes, Collection, BackupInterfaces, Surfaces,
Accounts, StdFluids, Languages;
const
tidTownParameter_Broadcast = 'Broadcast';
tidEnvironmental_Broadcast = 'Broadcast';
type
TMeta... |
namespace Sugar.Test;
interface
uses
Sugar,
RemObjects.Elements.EUnit;
type
UrlTest = public class (Test)
private
Data: Url;
public
method Setup; override;
method FromString;
method Scheme;
method Host;
method Port;
method Path;
method QueryString;
m... |
unit D_NameEd;
{ $Id: D_NameEd.pas,v 1.37 2012/07/30 09:11:33 dinishev Exp $ }
{$Include l3Define.inc}
interface
uses
WinTypes,
WinProcs,
Classes,
Graphics,
Forms,
Controls,
Buttons,
StdCtrls,
ExtCtrls,
OvcBase,
l3Types,
l3Interfaces,
evCustomMemoTextSource,
evEditorWindow... |
unit AdvancedLinkLabel;
{*********************
TAdvancedLinkLabel
v. 1.0, 2016, Стрелец Coder
Open Source
**********************
Компонент Delphi расширяющий функционал стандартного LinkLabel путём
добавления обработки события OnClick по умолчанию.
Обработчик по умолчанию автоматически находит тег гиперссылки (при его... |
{$include lem_directives.inc}
unit LemLemminiLoader;
interface
uses
Classes, SysUtils,
LemTerrain,
LemInteractiveObject,
LemSteel,
LemLevel;
type
TLemminiLevelLoader = class(TLevelLoader)
public
// class procedure LoadLevel(aStream: TStream; aLevel: TLevel); override;
end;
imple... |
unit main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, clDownLoader, clWinInet, clDC, clDCUtils, clMultiDC, clSingleDC,
clProgressBar, clProgressBarDC, ExtCtrls, ComCtrls, clResourceState, DemoBaseFormUnit;
type
TDownLoaderTest = class(TclDemoBaseForm)
... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clTcpServerTls;
interface
{$I clVer.inc}
{$IFDEF DELPHI7}
{$WARN UNSAFE_CODE OFF}
{$WARN UNSAFE_TYPE OFF}
{$WARN UNSAFE_CAST OFF}
{$ENDIF}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils,
{$EL... |
{ *************************************************************************** }
{ }
{ This file is part of the XPde project }
{ }
... |
unit Unit2;
interface
type
TStudent = class
private
FName:string;
procedure SetName(const Value: string);
public
property Name:string read FName write SetName;
//constructor Create;overload;
constructor Create(FName:string);overload;
end;
implementation
{ TSt... |
unit main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
lclintf, Grids, Menus, ComCtrls,form_F1,form_edit,queryresult;
type
{ TForm1 }
TForm1 = class(TForm)
MainMenu1: TMainMenu;
Memo2: TMemo;
MenuItem1: TMenuIte... |
unit k2AtomOperation;
{ Библиотека "K-2" }
{ Автор: Люлин А.В. © }
{ Модуль: k2AtomOperation - }
{ Начат: 18.10.2005 13:53 }
{ $Id: k2AtomOperation.pas,v 1.6 2012/07/12 18:33:21 lulin Exp $ }
// $Log: k2AtomOperation.pas,v $
// Revision 1.6 2012/07/12 18:33:21 lulin
// {RequestLink:237994598}
//
// Revis... |
{ CoreGraphics - CGLayer.h
* Copyright (c) 2004 Apple Computer, Inc.
* All rights reserved.
}
{ Pascal Translation: Peter N Lewis, <peter@stairways.com.au>, August 2005 }
{
Modified for use with Free Pascal
Version 210
Please report any bugs to <gpc@microbizz.nl>
}
{$mode macpas}
{$packenum 1}
{$... |
unit CustomerForma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, DBGridEh, ToolCtrlsEh,
Buttons, GridsEh, DBCtrlsEh, DBLookupEh, Mask, DBCtrls, ComCtrls,
FIBDatabase, pFIBDatabase, DB, FIBDataSet, pFIBDataSet, AtrPages, Menus,
FIBQue... |
unit format_edf;
//support for EDF format ... http://www.edfplus.info/specs/edf.html
interface
uses eeg_type, sysutils,dialogs, DateUtils;
function LoadEDF(lFilename: string; var lEEG: TEEG): boolean;
function WriteEDF(lFilename: string; var lEEG: TEEG): boolean;
implementation
type
TEEGHdr = packed rec... |
{ GDAX/Coinbase-Pro client library
Copyright (c) 2018 mr-highball
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, co... |
unit GX_IdeSearchPathFavorites;
interface
uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
GX_BaseForm,
StdCtrls,
ComCtrls;
type
Tf_SarchPathFavorites = class(TfmBaseForm)
l_Favorites: TLabel;
b_Close: TButton;
lv_Fav... |
unit enet_host;
(**
@file host.c
@brief ENet host management functions
freepascal
1.3.12
*)
{$GOTO ON}
interface
uses enet_consts;
procedure enet_host_bandwidth_limit (host : pENetHost;incomingBandwidth : enet_uint32; outgoingBandwidth : enet_uint32);
procedure enet_host_bandwidth_throttle (h... |
unit MainFrm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TForm1 = class(TForm)
ePath: TEdit;
Button1: TButton;
mTags: TMemo;
procedure Button1Click(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
procedure L... |
unit kwStringSplit;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwStringSplit.pas"
// Начат: 21.12.2011 20:39
// Родные Delphi интер... |
unit DB_Quote_Instant;
interface
uses
BaseDataSet, define_stock_quotes_instant, QuickList_QuoteInstant;
type
TDBQuoteInstant = class(TBaseDataSetAccess)
protected
fInstantQuoteList: TQuoteInstantList;
function GetRecordCount: Integer; override;
function GetRecordItem(AI... |
program TestReadString;
uses SysUtils;
Function ReadString(prompt : String):String;
begin
Write(prompt);
ReadLn(result);
end;
function ReadDouble(prompt: String): Double;
var
temp: String;
begin
temp := ReadString(prompt);
while not TryStrToFloat(temp, result) do
begin
WriteLn('Please enter a... |
// **************************************************************************************************
//
// Unit uMisc
// unit for the Delphi Preview Handler https://github.com/RRUZ/delphi-preview-handler
//
// The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License");
// you... |
unit a2unit;
{ This unit contains an implementation of the collection ADT using binary search trees.
It gets the type definitions and basic tree operations from another unit called
BinTrADT. Other than that, the forward declarations and main types are exactly the
same as the collection ADT for assignment 1... |
unit WrapDelphiTest;
{
Unit Tests for the WrapDelphi module
Demo 31 also includes extensive unit testing of WrapDelphi
}
interface
uses
DUnitX.TestFramework,
PythonEngine,
WrapDelphi;
type
TFruit = (Apple, Banana, Orange);
TFruits = set of TFruit;
{$M+}
ITestInterface = interface... |
unit MyServer;
{$mode objfpc}{$H+}
interface
uses
IdHTTPServer, IdCustomHTTPServer, IdContext, IdSocketHandle, IdGlobal,
IdSSL, IdSSLOpenSSL, IdSSLOpenSSLHeaders,
SysUtils, EventLog;
type
{ THTTPServer }
THTTPServer = class (TIdHTTPServer)
public
procedure InitComponent; override;
procedure OnGet(... |
unit uDebug;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, db;
type
ILogger = interface
procedure Log(const S:string);overload;
procedure Log(const S:string; const Fmt:array of const);overload;
procedure LogException(E:Exception);
Procedure ExceptionHandler(Sender : TObject; E : Exc... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
// ***************************************************************************
//
// Delphi MVC Framework
//
// Copyright (c) 2010-2020 Daniele Teti and the DMVCFramework Team
//
// https://github.com/danieleteti/delphimvcframework
//
// ***************************************************************************
//
// ... |
unit UGridUtility;
interface
uses
System.SysUtils, System.Generics.Collections, System.Types, System.UITypes,
System.Classes,
System.Variants, UModel, System.StrUtils, UMyStringGrid, Model_Instruction;
Type
TGridUtility = class
class procedure InsertRow(strigrid: TMyStringGrid; StartRow: Integer;
D... |
unit Eagle.Alfred.ProjectCommand;
interface
uses
Classes,
SysUtils,
Eagle.ConsoleIO,
Eagle.Alfred.DprojParser,
Eagle.Alfred.Command;
type
TProjectCommand = class(TInterfacedObject, ICommand)
private
FAppPath: string;
FDprojParser: TDprojParser;
FConsoleIO: IConsoleIO;
pro... |
unit define_ctp_deal;
interface
uses
ThostFtdcTraderApiDataType;
const
//申万 tcp://180.168.212.51:41205
Port_Ctp_Deal = 41205;
Ip_Ctp_Deal_SW_1 = '180.168.212.51';
Ip_Ctp_Deal_SW_2 = '180.168.212.52';
Ip_Ctp_Deal_SW_3 = '180.168.212.53';
Ip_Ctp_Deal_SW_4 = '180.168.212.54';
Ip_Ctp_De... |
unit Streams;
interface
uses Generics;
type
PStream = ^TStream;
TStream = object(TGeneric)
constructor Create;
destructor Destroy; virtual;
procedure Reset; virtual;
procedure WriteBlock(var Buf; ASize: Word); virtual;
procedure ReadBlock(var Buf; ASize: Word); virtual;
... |
unit D_DocAddr;
{ $Id: D_DocAddr.pas,v 1.7 2016/06/16 05:38:44 lukyanets Exp $ }
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
BottomBtnDlg,
StdCtrls, vtSpin, Buttons, ExtCtrls,
daTypes, ActnList, tb97GraphicControl, TB97Ctls, vtSpeedButton;
type
TDocAddrDlg = cl... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
unit Controller.Customer;
interface
uses
MVCFramework,
MVCFramework.Commons,
MVCFramework.Serializer.Commons,
MVCFramework.ActiveRecord,
FireDAC.Comp.Client,
FireDAC.Phys.SQLite,
MVCFramework.SQLGenerators.Sqlite,
System.Generics.Collections,
Model.Customer,
System.JSON;
type
[MVCPath('/api')]... |
unit uConfiguracao;
interface
type
TTipoIntegracao = (tsToledo, tsFilizola, tsOutros);
type
TConfiguracao = class
private
FTipoIntegracao: TTipoIntegracao;
FLocalArquivo: String;
public
property LocalArquivo: String read FLocalArquivo write FLocalArquivo;
procedure TipoIntegr... |
unit tmsUXlsRangeRecords;
{$INCLUDE ..\FLXCOMPILER.INC}
interface
uses tmsUXlsBaseRecords, tmsUXlsBaseRecordLists, tmsUXlsOtherRecords,
tmsXlsMessages, Classes, SysUtils, tmsUFlxMessages, Math, tmsUOle2Impl;
type
TExcelRange= packed record
R1, R2, C1, C2: word;
end;
PExcelRange= ^TExcelRange;
TRange... |
{ rxlogin unit
Copyright (C) 2005-2010 Lagunov Aleksey alexs@yandex.ru and Lazarus team
original conception from rx library for Delphi (c)
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Found... |
program FiboSum;
{
Each new term in the Fibonacci sequence is generated by adding the previous
two terms. By starting with 1 and 2, the first 10 terms will be:
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
By considering the terms in the Fibonacci sequence whose values do not
exceed four million, find the sum of the even-va... |
unit uClassDef;
interface
uses
Variants, Classes;
type
TRangeElementList=class;
//Class to hold the information of individual Range Element
TRangeElement=class(TObject)
private
FId:Integer;
FDescription:string;
FSizeDescription:string;
FColorDescription:string;
FQuantity:Integer;
f... |
program COMPERR4 ( OUTPUT ) ;
//***********************************
//$A+
//***********************************
var SNEU : STRING ( 70 ) ;
function BLANKS_LEVEL ( X : INTEGER ; ZONE : CHAR ) : STRING ;
//**********************************************************
// generate blanks depending on level
// x = comp... |
// SAX for Pascal Helper Classes, Simple API for XML Interfaces in Pascal.
// Ver 1.1 July 4, 2003
// http://xml.defined.net/SAX (this will change!)
// Based on http://www.saxproject.org/
// No warranty; no copyright -- use this as you will.
unit SAXHelpers;
interface
uses Classes, SysUtils, SAX, SAXExt;
... |
unit acFilterController;
interface
uses
SysUtils, Classes;
type
TFilterInfo = class
name: string;
views: variant;
end;
TacFilterController = class(TComponent)
private
filters: TList;
public
constructor Create(owner: TComponent); override;
destructor Destroy; overrid... |
{
Clever Internet Suite
Copyright (C) 2014 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clSshKeyExchanger;
interface
{$I ..\common\clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils, Windows,
{$ELSE}
System.Classes, System.SysUtils, Winapi.Windows,
{$ENDIF}
clConfig, clUtil... |
unit dcIndexCheckBox;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, dbctrls, datacontroller,db;
type
TdcIndexCheckBox = class(TCheckBox)
private
{ Private declarations }
fdcLink : TdcLink;
fStrIndex : integer;
fR... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit TreeAttributeSelectKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы TreeAttributeSelect }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\LiteSearch\TreeAttributeSelectKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "TreeAttributeSelectKeywordsPa... |
unit MVCBr.VCL.PageView;
interface
uses VCL.Forms, VCL.Controls, System.Classes, System.SysUtils, MVCBr.Interf,
MVCBr.PageView, MVCBr.FormView, VCL.ComCtrls;
type
TVCLpageViewOnQueryClose = procedure(APageView: IPageView;
var ACanClose: boolean) of object;
TVCLPageViewManager = class(TCustomPageViewFacto... |
unit UDemo;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.TMSBaseControl, FMX.TMSPlannerBase, FMX.TMSPlannerData, FMX.TMSPlanner,
FMX.TMSBitmapContainer, FMX.ListBox;
type
TFor... |
unit Map;
interface
uses
Generics.Collections;
const
test1: string =
'XX .. .. .. .. .. XX' + #13#10 +
'.. 39 45 15 .. .. 34' + #13#10 +
'.. 44 10 14 17 .. 32' + #13#10 +
'.. .. .. 12 .. 19 ..' + #13#10 +
'.. 04 01 .. .. .. ..' + #13#10 +
'05 .. .. 28 .. 22 ..' + #13#10 +
'XX .. .. 26 24 .. XX';
... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
unit BaseOptimizationExampleUnit;
interface
uses
SysUtils,
BaseExampleUnit, DataObjectUnit;
type
TBaseOptimizationExample = class abstract (TBaseExample)
protected
procedure PrintExampleOptimizationResult(ExampleName: String;
DataObject: TDataObject; ErrorString: String);
end;
implemen... |
{*******************************************************}
{ }
{ Log4Pascal }
{ https://github.com/martinusso/log4pascal }
{ }
{ This software is... |
{
一个简单的矩阵运算库
(只)支持加、减、数乘、乘
除非你能保证满足运算条件,否则请在运算完后查看errmsg
采用动态内存实现,使用完请Destroy
注意:横纵坐标从0开始
FPC5719 2018.9
}
{$MODE OBJFPC}
unit matrix;
interface
type
generic TMatrix<T>=class
public type
PT=^T;
private
data:PT;
h,w:DWord;
public
constructor Create();
constructor Create(hh,ww:DWord);overload;
destructo... |
unit RDOQueries;
interface
uses
SysUtils, Classes, SocketComp;
type
TRDOQueryKind = (qkNone, qkAnswer, qkGeID, qkSetProp, qkGetProp, qkCallRet, qkCallNoRet, qkError);
TRDOParamKind = (pkInteger, pkShortString, pkString, pkSingle, pkDouble, pkEmpty, pkOutParam, pkBuffer);
TRDOQueryPriority... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit DAO.ManutencaoVeiculos;
interface
uses DAO.base, Model.ManutencaoVeiculos, Generics.Collections, System.Classes;
type TManutencaoVeiculosDAO = class(TDAO)
public
function Insert(aManutencao: Model.ManutencaoVeiculos.TManutencaoVeiculos): Boolean;
function Update(aManutencao: Model.ManutencaoVeiculo... |
unit DelphiUp.View.Components.Buttons.Interfaces;
interface
uses
System.SysUtils, System.UITypes, FMX.Types;
type
iComponentButtonAttributes<T> = interface
['{ACE053BA-1FBC-4AB2-AD65-0D7F7224BEDC}']
function Title ( aValue : String ) : iComponentButtonAttributes<T>; overload;
function Ti... |
{$WARNINGS OFF}
unit ssGradientPanel;
interface
uses
Windows, SysUtils, Classes, Controls, ExtCtrls, Graphics, ssGraphUtil;
type
TssGradientPanel = class(TPanel)
private
FGrStartColor: TColor;
FGrEndColor: TColor;
FGrDirection: TGradientDirection;
FRightMargin: Cardinal;
proc... |
unit uExportarDepartamento;
interface
uses
System.SysUtils, System.Classes, uArquivoTexto, uDM, uFireDAC,
uDepartamentoVO, System.Generics.Collections, uGenericDAO,
uDepartamentoAcessoVO, uExportarDepartamentoAcesso;
type
TExportarDepartamento = class
private
FArquivo: string;
public
procedure Ex... |
unit UTipos;
interface
type
TJSONType = (jtJSONDefault, jtJSONFiredac);
type TResult = class
private
FReturnCode: Integer;
FErrorMessage: String;
FValor: String;
procedure SetReturnCode(const Value: Integer);
procedure SetErrorMessage(const Value: String);
procedure SetValor(const Value: ... |
unit nsTagNodePrim;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "f1DocumentTagsImplementation"
// Автор: Люлин А.В.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/f1DocumentTagsImplementation/nsTagNodePrim.pas"
// Н... |
unit TrackDeviceLastLocationHistoryUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TTrackDeviceLastLocationHistory = class(TBaseExample)
public
procedure Execute(RouteId: String);
end;
implementation
uses EnumsUnit, DataObjectUnit,
TrackingHistoryUnit;
procedure TTrackDeviceLastLocationHist... |
unit DocumentPrintAndExportFontSizeSettingRes;
{* Ресурсы для настройки "Использовать для экспорта и печати следующий размер шрифта" }
// Модуль: "w:\common\components\SandBox\VCM\View\Document\DocumentPrintAndExportFontSizeSettingRes.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "DocumentPrintAndExportFontSize... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.