text stringlengths 14 6.51M |
|---|
// --------------------------------------------------------------------------
// Archivo del Proyecto Ventas
// Página del proyecto: http://sourceforge.net/projects/ventas
// --------------------------------------------------------------------------
// Este archivo puede ser distribuido y/o modificado bajo lo terminos ... |
unit XML_Parser;
interface
uses
Classes, SysUtils;
type TXML_Parser = class
private
opening_sequences, closing_sequences : TStringList;
function loadXML(filename:string) : string;
function updateIndex(text, pattern:string; index:integer) : integer;
procedure parseSection
public
construc... |
program MinPrioQueueMain;
{$MODE OBJFPC}
uses
uMinPrioQueue;
type
TIntegerArray = Array of Integer;
function NewNode(const aName: String; const aEdges: TNodeArray): TNode;
begin
Result.Init(aName, aEdges);
end;
function NewQueueNode(const aNode: TNode; const aKey: Integer): TQueueNode;
begin
Result.Init(aN... |
{$I ok_sklad.inc}
unit WaybillInClass;
interface
uses
WayBillClass, WBMetaItem, MetaClass;
type
TWaybillInClass = class(TWayBillClass)
private
FWarehouseID: Integer; // common WH if all positions are from/to the same place
public
constructor Create(const AParent: TMetaClass); o... |
unit GX_eQuoteSupport;
interface
uses Classes, StrUtils, SysUtils;
procedure QuoteLines(Lines: TStrings; EndOfLine: string; IndentStart: Integer);
procedure UnquoteLines(Lines: TStrings; IndentStart: Integer = 0);
implementation
uses
GX_GenericUtils;
function HasConcatOperators(s: string): Boolean... |
unit Unit2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.ImgList, Vcl.StdCtrls,
Vcl.CategoryButtons;
type
TForm2 = class(TForm)
CategoryPanelGroup1: TCategoryPanelGroup;
Category... |
unit ProxyInit;
interface
procedure InitProxy;
implementation
uses
Registry, SocketComp, windows, winsock;
resourcestring
KeyProxy = 'Software\Oceanus\Star Peace\Client\Proxy';
const
CKeyAuthentication: array[boolean] of TSocksAuthentication = (saNoAuthentication, saUsernamePassword);
CKeyAuthenticatio... |
unit Script.Interfaces;
interface
type
IscriptLog = interface
procedure Log(const aString: String);
end;//IscriptLog
TscriptTokenType = (script_ttUnknown, script_ttToken, script_ttString, script_ttEOF);
IscriptParser = interface
function Get_TokenType: TscriptTokenType;
function Get_TokenString: St... |
unit ValidationRule;
interface
uses
ValidationRuleIntf;
type
TValidationRule = class(TInterfacedObject, IValidationRule)
private
FValidateFunction: TValidateFunction;
function GetValidateFunction: TValidateFunction;
procedure SetValidateFunction(const Value: TValidateFunction);
public
functio... |
unit UnitCustomMessage;
interface
uses ToolsApi, Vcl.Graphics, Winapi.Windows;
type
TCustomMessage = class(TInterfacedObject, IOTACustomMessage,
INTACustomDrawMessage)
private
FMsg: String;
FFontName: String;
FForeColour: TColor;
FStyle: TFontStyles;
FBackColour: TColor;
FMessagePntr:... |
unit MFichas.Model.Usuario.TipoDeUsuario.Gerente;
interface
uses
MFichas.Model.Usuario.Interfaces,
MFichas.Controller.Usuario.Operacoes.Interfaces,
MFichas.Controller.Types;
type
TModelUsuarioTipoDeUsuarioGerente = class(TInterfacedObject, iModelUsuarioMetodos)
private
[weak]
FParent : ... |
unit ddTiffProcessor;
{ $Id: ddTiffProcessor.pas,v 1.2 2014/08/01 11:15:13 fireton Exp $ }
interface
uses
Classes,
l3Interfaces,
l3BaseStream,
l3ProtoObject,
l3DataPtrList,
l3Except;
type
TddTIFFHeader = packed record
rOrder : Word;
rID : Word;
rFirstIFD : LongWord;
end;
PddTIFFTag = ^TddTIF... |
unit Model.CadastroGeral;
interface
uses Common.ENum, FireDAC.Comp.Client, DAO.Conexao, Control.Sistema, FireDAC.Stan.Option, System.SysUtils;
type
TCadastroGeral= class
private
FAcao: TAcao;
FNomePai: String;
FDataRG: TDate;
FNaturalidade: String;
FRG: String;
FNascimento: TDate;
FEs... |
unit BulkForwardGeocodeAddressesUnit;
interface
uses SysUtils, BaseExampleUnit, CommonTypesUnit, BulkGeocodingRequestUnit;
type
TBulkForwardGeocodeAddresses = class(TBaseExample)
public
procedure Execute(Addresses: TAddressInfoArray);
end;
implementation
uses GeocodingUnit;
procedure TBulkForwardGe... |
unit AttributeSelectKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы AttributeSelect }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\LiteSearch\Forms\AttributeSelectKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "AttributeSelectKeywordsPack" MUID: ... |
unit SaveStatusForms;
interface
uses
Forms, IniFiles, SysUtils;
type
TSaveStatusForm = class (TForm)
protected
procedure DoCreate; override;
procedure DoDestroy; override;
end;
implementation
{ TSaveStatusForm }
procedure TSaveStatusForm.DoCreate;
var
Ini: TIniFile;
begin
inherited;
Ini := T... |
unit xPlayer;
interface
uses
SysUtils, Types, Classes, Controls, ShockwaveFlashObjects_TLB;
type
TxPlayer = class(TCustomControl)
private
FFlash: TShockwaveFlash;
procedure RecalcFlashPos;
procedure MouseWheel(Sender: TObject; Shift: TShiftState;
WheelDelta: Integer; MousePos: TP... |
unit UOrderedAccountList;
interface
uses
Classes, UAccountKey, UAccount;
type
TOrderedAccountList = Class
private
FList : TList;
public
Constructor Create;
Destructor Destroy; Override;
Procedure Clear;
Function Add(Const account : TAccount) : Integer;
Function Count : Integer;
Fu... |
unit uClienteVO;
interface
uses
System.SysUtils, uRevendaVO, uUsuarioVO;
type
TClienteVO = class
private
FBairro: string;
FCEP: String;
FCidade: string;
FCNPJ: string;
FCodigo: Integer;
FContatoFinanceiro: string;
FContatoCompraVenda: string;
FEnquadramento: string;
FNomeFan... |
unit evdDOM;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "EVD"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/EVD/evdDOM.pas"
// Начат: 01.06.2009 17:06
// Родные Delphi интерфейсы (.pas)
// Generated from U... |
unit VoiceExt;
{$I CSXGuard.inc}
interface
uses HLSDK;
procedure VX_Init;
procedure VX_Debug;
procedure SVC_VoiceInit; cdecl;
procedure SVC_VoiceData; cdecl;
const
VOICE_BYTE_RATE = 16000;
type
PVoiceBanEntry = ^TVoiceBanEntry;
TVoiceBanEntry = record
UserID: LongWord;
Banned: Boolean;
end;
var
Voice_R... |
unit uLibVLC;
// 參考 https://wiki.videolan.org/Using_libvlc_with_Delphi/
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TFormVLC = class(TForm)
Panel1: TPanel;
Pane... |
unit furqWinMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, JvSplit, JvMemo, JvExStdCtrls, JvExExtCtrls,
JvExtComponent, ExtCtrls, XPMan, Menus, StdActns, ActnList, furqBase, furqContext,
Buttons, JclStringLists, MMSystem;
type
TMainForm = ... |
unit l3PipeStream;
{* Поток-труба. }
{ Библиотека "L3 (Low Level Library)" }
{ Автор: Люлин А.В. © }
{ Модуль: l3PipeStream - }
{ Начат: 11.05.2000 11:12 }
{ $Id: l3PipeStream.pas,v 1.22 2011/05/18 12:09:16 lulin Exp $ }
// $Log: l3PipeStream.pas,v $
// Revision 1.22 2011/05/... |
unit main;
interface
{$I ..\Common\Defines.inc}
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, SyncObjs, ExtCtrls, clTcpServer, clFtpServer, clUserMgr,
clFtpFileHandler, clUtils, clTcpCommandServer, clServerGuard, clTcpServerTls, DemoBaseFormUnit;
type
TMa... |
unit HCInterfacesUnit;
{* Интерфейсы для взаимодействия с отделом Пащака }
// Модуль: "w:\garant6x\implementation\Garant\tie\Garant\HCAdapterLib\HCInterfacesUnit.pas"
// Стереотип: "Interfaces"
// Элемент модели: "HCInterfaces" MUID: (442BEF93030D)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface... |
unit GameTypes;
interface
uses
Windows, Classes, Warnings, SpriteImages, SpeedBmp;
type
index = 0..0;
const // Focus kinds (0..9 ~ Reserved)
fkSelection = 0;
type
TGameImage = TFrameImage;
TCanvasImage = TSpeedBitmap;
type
TZoomLevel = integer;
TRotation = (drNorth, drEast, ... |
unit UCloudConvertDemo;
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.TMSCloudBase, FMX.TMSCloudBaseFMX, FMX.TMSCloudCustomConvert,
FMX.TMSCloudConvert, FMX.Objects, FMX.ListBox, ... |
unit StdFluids;
interface
const
tidFluid_ConstructionForce = 'Construction';
tidFluid_Machinery = 'Machinery';
tidFluid_FreshFood = 'FreshFood';
tidFluid_OrganicMat = 'OrganicMat';
tidFluid_Chemicals = 'Chemicals';
tidFluid_LegalServ ... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
unit Dm;
interface
uses
SysUtils, Classes, DB, ADODB, Forms;
type
TData = class(TDataModule)
Ado: TADOConnection;
Costo: TADODataSet;
DetCosto: TADODataSet;
TDatos: TADOTable;
TDatosIVA: TFloatField;
TDatosRNI: TFloatField;
TDatosDENOMINA: TWideStringField;
TDatosDIRECCION: TWideS... |
unit Complex1D;
interface
type
TComplexRec = record
Re,Im: Real;
end;
ComplexTernary1D=class
private
// Re_data,Im_data: array of Real;
fdata: array of TComplexRec;
fq,fqmin1: Integer; //число тритов
fT,fN: Integer; //полное число элементов и мин/макс значение (-N, N)
base:... |
unit Unit2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TformColor = class(TForm)
Button1: TButton;
Button2: TButton;
procedure Button1Click(Sender: TObject);
procedure B... |
unit NtUtils.Sam;
interface
uses
Winapi.WinNt, Ntapi.ntdef, Ntapi.ntsam, NtUtils.Exceptions,
NtUtils.Security.Sid;
type
TRidAndName = record
Name: String;
RelativeId: Cardinal;
end;
TGroupMembership = Ntapi.ntsam.TGroupMembership;
// Connect to the local SAM server
function SamxConnect(out hServe... |
unit Types;
interface
uses Classes,Forms,ComCtrls,IniFiles;
type
TClassOptions = class of TOptions;
TOptions = class(TObject)
protected
FIni:TIniFile;
FSection:String;
public
procedure AssignNode(Node:TTreeNode);virtual; abstract;
procedure LoadFromIniSection(Ini:TIniFile; const Section:Stri... |
unit Plugin.MenuItem;
interface
uses System.classes, WinApi.Windows, System.SysUtils,
{$ifdef FMX} FMX.Forms, FMX.Controls,{$else} VCL.Forms, VCL.Controls,{$endif}
Plugin.Service, Plugin.Forms,
Plugin.Interf;
type
TPluginMenuItemBase = class(TPluginExecuteService, IPluginMenuItem)
public
function GetRe... |
unit unitInput;
interface
type
TInput = class(TObject)
private
{ Private declarations }
public
{ Public declarations }
caption: String;
trigger: String;
trigger2: String;
props: array[1..10,1..16] of string;
constructor Create(ncaption: String);
end;
implementation
constructor T... |
unit MFichas.Model.Caixa.Metodos.Sangria;
interface
uses
System.SysUtils,
System.Bluetooth,
MFichas.Model.Caixa.Interfaces,
MFichas.Model.Entidade.CAIXA,
MFichas.Model.Entidade.CAIXAOPERACOES,
MFichas.Model.Conexao.Interfaces,
MFichas.Model.Conexao.Factory,
MFichas.Controller.Types;
type
TModelCa... |
unit mnSynHighlighterD;
{$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 GX_KbdShortCutBroker;
{$I GX_CondDefine.inc}
interface
uses
SysUtils, Classes, Menus,
GX_EventHook;
type
EDuplicateShortCut = class(Exception);
type
TTriggerMethod = TNotifyEvent;
IGxKeyboardShortCut = interface(IUnknown)
['{D97839F1-CF61-11D3-A93F-D0E07D000000}']
function... |
unit ReportGen;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
const
MaxPreCol = 30;
MaxSumLevel = 5;
MaxSumItem = 10;
fmNormal = 0;
fmBold = 1;
fmUnder = 2;
fmItalic = 4;
type
THAlign = (haDefault, haLeft, haCenter,... |
unit WordsRTTIPack;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\WordsRTTIPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "WordsRTTIPack" MUID: (550C25D70182)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts)}
uses
l3IntfUses
, l... |
(* Translate SDL scancodes to PS/2 codeset 2 scancodes.*)
UNIT riscps2;
INTERFACE
USES SDL2;
FUNCTION ps2_encode(sdl_scancode: integer; make: boolean; VAR outs : string): integer;
IMPLEMENTATION
TYPE
modety = (K_UNKNOWN, K_NORMAL, K_EXTENDED, K_NUMLOCK_HACK, K_SHIFT_HACK);
codety = 0..255;
k_infoty = RECO... |
{ Version 1.0 - Author jasc2v8 at yahoo dot com
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by an... |
unit TestFramework.DataValidators.TestTIntegerDataValidator;
interface
uses
TestFramework, System.SysUtils, System.Variants,
Interfaces.IDataValidator,
DataValidators.TIntegerDataValidator;
type
TestTIntegerDataValidator = class(TTestCase)
strict private
FIntegerDataValidator: IDataValidato... |
{
Copyright (C) 2018 Benito van der Zander (BeniBela)
benito@benibela.de
www.benibela.de
This file is distributed under under the same license as Lazarus and the LCL itself:
This file is distributed under the Library GNU General Public License
with the fol... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : https://preproducao.roadcard.com.br/sistemapamcard/services/WSTransacional?wsdl
// >Import : https://preproducao.roadcard.... |
var
x: integer; // двузначное число
c1, c2: integer;// первая и вторая цифры двузначного числа
begin
write('Введите двузначное число: ');
readln(x);
c1 := x div 10;
c2 := x mod 10;
writeln('Первая и вторая цифры двузначного числа: ', c1, ' ', c2);
end. |
unit ce_symlist;
{$I ce_defines.inc}
interface
uses
Classes, SysUtils, TreeFilterEdit, Forms, Controls, Graphics, ExtCtrls, Menus,
ComCtrls, ce_widget, jsonparser, process, actnlist, Buttons, Clipbrd, LCLProc,
ce_common, ce_observer, ce_synmemo, ce_interfaces, ce_writableComponent;
type
// Enumerates the p... |
unit ProgramSettings;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
printers,WinSpool, FFSUtils, FFSTypes;
type
TProgramSettings = class(Tcomponent)
private
FINetConnection: integer;
FINetSMTP: string;
FMasterUpdate: string;
FRegistryKe... |
{
Copyright (c) 2016, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
unit MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons,
ooControlClass.Factory, o... |
//Exercicio 39: Escreva um algoritmo que pergunte ao usuário qual tabuada ele deseja ver na tela. Calcular e exibir a tabuada.
{ Solução em Portugol
Algoritmo Exercicio 39;
Var
tabuada, contador: inteiro;
Inicio
exiba("Programa que exibe tabuadas.");
exiba("Digite uma tabuada que você quer saber: ");
le... |
{*******************************************************************************
作者: dmzn@163.com 2020-08-12
描述: 基础信息管理
*******************************************************************************}
unit UFrameBaseInfo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls... |
unit JunoAi4DelphiResources;
interface
uses
JunoApi4Delphi.Interfaces;
type
TJunoApi4DelphiResources = class(TInterfacedObject, iJunoApi4DelphiResources)
private
FParent : iJunoApi4DelphiConig;
public
constructor Create(Parent : iJunoApi4DelphiConig);
destructor Destroy; ov... |
{******************************************************************************}
{ }
{ Library: Fundamentals TLS }
{ File name: flcTLSRandom.pas ... |
{
Fast Memory Manager: FullDebugMode Borlndmm.dll support unit
If you use the replacement Borlndmm.dll compiled in FullDebugMode, and you need
access to some of the extended functionality that is not imported by
sharemem.pas, then you may use this unit to get access to it. Please note that
you will still need to a... |
unit fcGraphics;
interface
uses Windows, Graphics;
function PaletteFromDIBColorTable(DIBHandle: THandle; ColorTable: Pointer;
ColorCount: Integer): HPalette;
procedure ByteSwapColors(var Colors; Count: Integer);
implementation
procedure ByteSwapColors(var Colors; Count: Integer);
var // convert RGB to BGR and ... |
unit uMainFMX;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
IPPeerClient, IPPeerServer, FMX.Layouts, FMX.Memo, System.Tether.Manager,
System.Tether.AppProfile, FMX.Edit, System.Actio... |
unit l3Msg;
{ Библиотека "L3 (Low Level Library)" }
{ Автор: Люлин А.В. © }
{ Модуль: l3Msg - описание сообщений библиотеки L3}
{ Начат: 29.01.99 14:27 }
{ $Id: l3Msg.pas,v 1.13 2007/12/05 12:35:11 lulin Exp $ }
// $Log: l3Msg.pas,v $
// Revision 1.13 2007/12/05 12:35:11 lulin
// - вычищен условный код, составлявши... |
unit uTv;
interface
type
TStatus = (tsAdicionar, tsEditar);
type
TTv = class
private
FStatusTela: TStatus;
FId: Integer;
FName: String;
procedure SetName(const Value: String);
public
property StatusTela: TStatus read FStatusTela write FStatusTela;
property IdTV: Intege... |
unit dr_server;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, dr_api, dr_script,
synapseServer, hexsqlite, hextools, md5, fileinfo;
type
TDeepRedServer =
class (TComponent)
private
_brookServer : THTTPServer;
_scriptServer : TPascalScriptH... |
unit sql;
interface
uses
SysUtils, Classes, Windows, ActiveX, Dialogs, Forms, Data.DB, ZAbstractDataset,
ZDataset, ZAbstractConnection, ZConnection, ZAbstractRODataset, ZStoredProcedure;
var
PConnect: TZConnection;
PQuery: TZQuery;
DataSource: TDataSource;
function ConfigPostgresSetting(InData: bool): bo... |
PROGRAM Test;
VAR
radius: REAL;
FUNCTION CircleArea(r : REAL): REAL;
BEGIN
CircleArea := 3.1415 * r * r;
END;
BEGIN
radius := 5.0;
radius := CircleArea(radius);
END.
|
unit FmDocumentsEditor;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.ImageList, Vcl.ImgList,
Vcl.PlatformDefaultStyleActnCtrls, System.Actions, Vcl.ActnList, Vcl.ActnMan,
Vcl.ToolWin, Vcl.ActnCtrls, Vc... |
unit BackTiler;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Buffer, WinUtils, VCLUtils;
type
TBackgroundTiler =
class( TComponent )
protected
fTile : TSpeedBitmap;
procedure SetTile( aTile : TSpeedBitmap ); ... |
unit ProDoc;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, ImgList, ActnList, Menus, Db, DBTables, Grids, DBGrids,
ComCtrls, DBCtrls, ToolWin, StdCtrls, DBActns, Errores;
type
TInfo = function( PProve: PChar; lCancel, Vista: boolean ):boolean; StdCall;
T... |
unit tdMessageSend;
interface
uses
System.Classes, System.RegularExpressions, Winapi.Windows, System.SysUtils,
System.SyncObjs, Vcl.ComCtrls, Vcl.StdCtrls, ADC.Common;
type
TMessageSendParam = record
ExeName: string;
Process_Timeout: Integer;
Process_ShowWindow: Boolean;
UseCredentials: Boolean... |
var
a,b,c,x1,x2,y1,y2,x,y,g,t,xmin,xmax,ym:int64;
function gcd(a,b:int64):int64;
begin
if b=0 then
begin
gcd:=a;
x:=1;
y:=0;
exit;
end;
gcd:=gcd(b,a mod b);
t:=x;
x:=y;
y:=t-a div b*y;
end;
begin
read(a,b,c,x1,x2,y1,y2);
if (a=0) and (b=0) then
begin
if c<>0 then
writeln(... |
//=============================================================================
// sgUserInterface.pas
//=============================================================================
//
// Version 0.1 - Resposible for constructing User Interfaces in
// SwinGame projects.. eventually.
//
// Change History:
//
// Versio... |
{
$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 GX_ClassHacks;
interface
// Return the class reference that is identified by the class name "ClassName"
// and which is implemented in the binary PE module (e.g. DLL / package)
// ImplementationModule.
//
// GetClassType may return nil if ClassName could not be found in ImplementationModule.
function Ge... |
unit RESTRequest4D.Request.Headers;
interface
uses RESTRequest4D.Request.Headers.Intf, REST.Client, REST.Types, System.Classes;
type
TRequestHeaders = class(TInterfacedObject, IRequestHeaders)
private
FHeaders: TStrings;
FRESTRequest: TRESTRequest;
function Clear: IRequestHeaders;
function Add(co... |
{ ***************************************************************************
Copyright (c) 2016-2021 Kike Pérez
Unit : Quick.MemoryCache
Description : Cache objects with expiration control
Author : Kike Pérez
Version : 1.0
Created : 14/07/2019
Modified : 17/05/2021
This file i... |
(*
NewAnsi ANSI Emulation Units (C)opyright 2000, Mike Hodgson
This source code can be freely used.
Tested Environments: Borland Pascal 7.01
Virtual Pascal 2.10
Revisions:
1.02: Fixed CRLF sequence.
*)
unit ansi;
interface
Procedur... |
{$MODE OBJFPC}
program ProblemSolver;
const
InputFile = 'VCPAIRS.INP';
OutputFile = 'VCPAIRS.OUT';
maxN = Round(1E5);
type
PNode = ^TNode;
TNode = packed record
value: Integer;
freq: Integer;
P, L, R: PNode;
end;
var
fi, fo: TextFile;
lab, color: array[1..maxN] of Integer;
n, m: Integer;
... |
unit InfoESOATable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoESOARecord = record
PEntId: String[8];
PTranDate: String[8];
PTranType: String[3];
PTranId: String[5];
PModCount: SmallInt;
PAmt: Currency;
PBalance: Currency;
P... |
unit uModel;
interface
type
TPessoa = class
private
FEmail: string;
FNome: String;
procedure SetEmail(const Value: string);
procedure SetNome(const Value: String);
{ private declarations }
protected
{ protected declarations }
public
{ public declarations }
pro... |
{$I OVC.INC}
{$B-} {Complete Boolean Evaluation}
{$I+} {Input/Output-Checking}
{$P+} {Open Parameters}
{$T-} {Typed @ Operator}
{$W-} {Windows Stack Frame}
{$X+} {Extended Syntax}
{$IFNDEF Win32}
{$G+} {286 Instructions}
{$N+} {Numeric Coprocessor}
{$C MOVEABLE,DEMANDLOAD,DISCARDABLE}
{$ENDIF}
{********************... |
{ High frequency stop watch implemntation.
Copyright (c) 2012 by Inoussa OUEDRAOGO
This source code is distributed under the Library GNU General Public License
with the following modification:
- object files and libraries linked into an application may be
di... |
unit SQLDBToolsUnit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, toolsunit,
db,
sqldb, ibconnection, mysql40conn, mysql41conn, mysql50conn, pqconnection,odbcconn,oracleconnection,sqlite3conn;
type TSQLDBTypes = (mysql40,mysql41,mysql50,postgresql,interbase,odbc,oracle,sqlite3);
const MySQLdbTypes =... |
unit DAO.Estados;
interface
uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Control.Sistema, Model.Estados;
type
TEstadosDAO = class
private
FConexao: TConexao;
public
constructor Create;
destructor Destroy;
function Inserir(aEstados: TEstados): Boolean;
function Alterar(aEstados: T... |
{
Double Commander
-------------------------------------------------------------------------
Simple key file implementation based on GKeyFile
Copyright (C) 2014 Alexander Koblov (alexx2000@mail.ru)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... |
unit XMLTBase;
interface
uses
Classes;
type
TXmlEncodingType = (xetUnknow, xetUTF_8, xetUTF_16,
xetBIG5, xetGB2312, xetS_JIS, xetEUC_KR, xetIS0_8859_1);
function XmlT_StrToBool(const Value: WideString): Boolean;
function XmlT_BoolToStr(const Value: Boolean): WideString;
function XmlT_StrToDateTime(const Va... |
unit RemoveRouteDestinationResponseUnit;
interface
uses
REST.Json.Types, HttpQueryMemberAttributeUnit,
GenericParametersUnit;
type
TRemoveRouteDestinationResponse = class(TGenericParameters)
private
[JSONName('deleted')]
FDeleted: boolean;
[JSONName('route_destination_id')]
FRouteDestination... |
//******************************************************************************
//*** Cactus Jukebox ***
//*** ***
//*** (c) 2006-2009 ... |
unit FFSList;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
FFSTypes;
type
TFFSListItemClickEvent = procedure(Sender: TObject; ItemIndex:integer) of object;
TFFSListGroupClickEvent = procedure(Sender: TObject; GroupName:string) of object;
// TRangeList... |
PROGRAM Mortgage(Input, Output);
{ This program computes the monthly installments of a mortgage loan over a number of years.
Ph. Gabrini November 1991 }
Var Loan, AnnualRate, MonthlyRate, Payment,
MonthlyInterest, Interests, Balance: REAL;
Years, Months: Integer;
Answer: CHAR;
{*********************... |
// the code formatter expert as a regular expert
// Original Author: Thomas Mueller (http://blog.dummzeuch.de)
unit GX_Formatter;
{$I GX_CondDefine.inc}
interface
uses
SysUtils,
Classes,
GX_GenericUtils,
GX_Experts,
GX_CodeFormatterExpert,
GX_ConfigurationInfo;
type
TGxCodeFormatt... |
{
$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 clFinanceiroEmpresa;
interface
uses clConexao, Vcl.Dialogs, System.SysUtils, clBancos;
type
TFinanceiroEmpresa = class(TObject)
protected
FConta: String;
FAgencia: String;
FBanco: String;
FTipoConta: String;
FSequencia: Integer;
FEmpresa: Integer;
FPadrao: String;
FForma: Str... |
{
DBAExplorer - Oracle Admin Management Tool
Copyright (C) 2008 Alpaslan KILICKAYA
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at... |
{
TForge Library
Copyright (c) Sergey Kasandrov 1997, 2018
-------------------------------------------------------
# AES block cipher algorithm
}
unit tfAlgAES;
{$I TFL.inc}
interface
uses
tfTypes;
type
PAESAlgorithm = ^TAESAlgorithm;
TAESAlgorithm = recor... |
namespace Sugar.Test;
interface
uses
Sugar,
Sugar.Data.JSON,
RemObjects.Elements.EUnit;
type
JsonObjectTest = public class (Test)
private
Obj: JsonObject;
public
method Setup; override;
method &Add;
method AddFailsWithDuplicate;
method AddFailsWithNilKey;
method AddValue;
me... |
unit UnkFacilitySheet;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, VisualControls, ObjectInspectorInterfaces, PercentEdit,
GradientBox, FramedButton, SheetHandlers, InternationalizerComponent;
const
tidSecurityId = 'SecurityId';
tidTrouble = 'Troubl... |
UNIT Container;
INTERFACE
TYPE
Tree = ^NodeType;
NodeType = RECORD
Word: STRING;
LLink, RLink: Tree;
Amount: INTEGER
END;
PROCEDURE Insert(VAR Ptr:Tree; VAR Data: STRING);
PROCEDURE PrintTree(VAR Ptr: Tree; VAR FOut: TEXT);
IMPLEMENTATION
... |
unit DAO.PenalizacaoAtrasos;
interface
uses DAO.Base, Model.PenalizacaoAtrasos, Generics.Collections, System.Classes;
type
TPenalizacaoAtrasosDAO = class(TDAO)
public
function Insert(aPenas: Model.PenalizacaoAtrasos.TPenalizacaoatrasos): Boolean;
function Update(aPenas: Model.PenalizacaoAtrasos... |
unit AutoMapper.CfgMapper;
interface
uses
AutoMapper.MapItem
, AutoMapper.TypePair
, AutoMapper.MappingExpression
, System.Generics.Collections
, System.Rtti
;
type
/// <summary>Mapper setting flag</summary>
TMapperSetting =
(
/// <summary>Perform mapping even if the source-destination p... |
unit TimerTicker;
interface
uses
Classes, TimerTypes, ShutDown, TimerUtils, ThreadTimer;
type
TTickerTimer = TThreadTimer;
const
cTimerInterval = 40;
type
TTimerTicker =
class(TInterfacedObject, ITicker, IShutDownTarget)
private
fTimer : TTickerTimer;
... |
/// <summary>
/// DSON is a customized version of BSON that more closely represents
/// internal Delphi data types.
/// </summary>
unit DSON;
interface
uses
System.Rtti,
System.Generics.Defaults,
System.SysUtils,
System.Classes,
System.Generics.Collections;
type
TDSONKind = (dkNil, dkByte, dkInt16, ... |
unit ntvPanels;
{**
* 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,
* @author Zaher Dirkey
* @port... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.