text stringlengths 14 6.51M |
|---|
unit umain;
interface
uses
Variants, ComObj, Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Menus, IniFiles, DB, IBDatabase, IBSQL, global_h,
ImgList;
type
Tflog = class(TForm)
ed_log: TMemo;
tt_sync: TTimer;
tray_icon: TTrayIcon;
... |
unit UPortFloodAddresses;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, UForms;
type
TAddressSelector = class(TAdvancedForm)
AddressList: TListBox;
Panel1: TPanel;
btnSelect: TButton;
btnCancel: TButton;
LabelMsg: TLab... |
// =============================================================================
// Module name : $RCSfile: ScriptChecker.pas,v $
// Description : This unit defines classes for checking fields of test steps.
// Compiler : Delphi 2007
// Author : 2016-02-03 /bsu/
// History :
//=========================... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://localhost:8080/StandardWebService/service/TicketWs?wsdl
// >Import : http://localhost:8080/StandardWebService/servi... |
unit uMongoCursor;
interface
uses
System.Classes, System.Generics.Collections, System.JSON.Types, Data.DB,
FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.DatS,
FireDAC.Phys.MongoDBWrapper, FireDAC.Phys.MongoDB,
FireDAC.Comp.DataSet, FireDAC.Comp.Client;
type
TMongoCursor = class(TComponent... |
unit uPoiEditor;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ToolWin, Vcl.ComCtrls, Vcl.ExtCtrls,
Vcl.StdCtrls, stelmap, Vcl.ButtonGroup, Vcl.CategoryButtons, Vcl.Grids,Xml.XMLIntf,XMLDoc;
typ... |
unit RouteSortingTest;
interface
uses dbTest, dbObjectTest, TestFramework, ObjectTest;
type
TRouteSortingTest = class (TdbObjectTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TRouteSorting = class(TObjectTest)
private
function InsertDefault: integer; over... |
unit uOpCodes;
// Ths source is distributed under Apache 2.0
// Copyright (C) 2019-2020 Herbert M Sauro
// Author Contact Information:
// email: hsauro@gmail.com
interface
Uses System.SysUtils;
const
oNop = byte (0);
oHalt = byte (1);
// Arithmetic
oAdd = byte (2); // Pop tw... |
{******************************************************************************
PROYECTO FACTURACION ELECTRONICA
Copyright (C) 2010-2014 - Bambu Code SA de CV - Ing. Luis Carrasco
Clase usada para generar la Cadena Original del XML del comprobante y que nos
servirá para calcular el sello digital
Este archivo per... |
unit Unit2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, Buttons, StdCtrls;
type
TForm1 = class(TForm)
Panel1: TPanel;
Image1: TImage;
SpeedButton1: TSpeedButton;
Memo1: TMemo;
Button1: TButton;
Timer1: TTimer;
procedur... |
unit Frm_OAuth2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, uniGUITypes, uniGUIAbstractClasses,
uniGUIClasses, uniGUIForm, uniButton, uniGUIBaseClasses, uniLabel, uniTimer,
Funciones, uniURLFrame;
type
TFrmOAuth2 = class(TUniForm)
UniLabel1: TUniLabel;
... |
unit IdHeaderCoderIndy;
interface
{$i IdCompilerDefines.inc}
uses
IdGlobal, IdHeaderCoderBase;
type
TIdHeaderCoderIndy = class(TIdHeaderCoder)
public
class function Decode(const ACharSet, AData: String): String; override;
class function Encode(const ACharSet, AData: String): String; overr... |
PROGRAM Rev(INPUT, OUTPUT);
PROCEDURE Reverse(VAR InputFile, OutputFile: TEXT);
VAR
Ch: CHAR;
BEGIN { Reverse }
IF NOT EOLN(InputFile)
THEN
BEGIN
READ(InputFile, Ch);
Reverse(InputFile, OutputFile);
WRITE(OutputFile, Ch)
END
END; { Reverse }
BEGIN { Rev }
Reverse(INPUT, OUTPUT); ... |
unit UWPXMulti;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
UWWMulti, UMultipliers, StdCtrls, JLLabel, ExtCtrls, Grids,
UComm, USpotClass, UzLogConst, UzLogGlobal, UzLogQSO;
type
TWPXMulti = class(TWWMulti)
procedure FormCreate(Sender: TObject);
procedure ... |
unit Icons.Utils;
interface
{$if compilerversion >= 21}
{$define Delphi2010_UP}
{$ifend}
uses Classes, SysUtils, Generics.Collections;
type
TIconEntry = record
name: string;
codepoint: Integer;
index: Integer;
aliases: string;
{$IFDEF Delphi2010_UP}
class operator Implicit(Entry: TIconE... |
unit UFormsLib;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{$WARN SYMBOL_PLATFORM OFF}
{$WARN UNIT_PLATFORM OFF}
interface
uses
Classes, ComCtrls, Commctrl,... |
unit main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, StdCtrls, ExtCtrls, qstring, qjson;
type
TForm1 = class(TForm)
Panel1: TPanel;
mmResult: TMemo;
OpenDialog1: TOpenDialog;
SaveDialog1: TSaveDialog;
Button10: TButton;
chkCreate:... |
unit CustomerClass;
interface
uses
MVCFramework.Serializer.Commons;
type
[MVCNameCase(ncLowerCase)]
TCustomer = class
private
FCompanyName: string;
FCity: string;
FCustomerID: string;
FContactName: string;
public
property customerid: string read FCustomerID write FCustom... |
unit Estado;
interface
uses SysUtils, Contnrs;
type
TEstado = class
private
Fcodigo :Integer;
Fsigla :String;
Fnome :String;
public
property codigo :Integer read Fcodigo write Fcodigo;
property sigla :String read Fsigla write F... |
unit NaturezaOperacao;
interface
uses
TipoNaturezaOperacao;
type
TNaturezaOperacao = class
private
FCodigo :Integer;
FCFOP :String;
FDescricao :String;
Fsuspensao_icms: String;
procedure Setsuspensao_icms(const Value: String);
private
function GetTipoNaturezaOperacao: TTipoN... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2013 Embarcadero Technologies, Inc. }
{ ... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.ORM.UTF8Helper
Description : Helper functions for SynCommons RawUT8 type
Author : Kike Pérez
Version : 1.2
Created : 18/07/2017
Modified : 08/05/2019
Th... |
(*Output:
Map of bool variables: {}
Map of real variables: {a=null, b=null}
Enter two floats:
Input: 1.0 2.0
A: 1.0
B: 2.0
Addition (A+B): 3.0
Subtraction (A-B): -1.0
Multiplying (A*B): 2.0
Dividing (A/B): 0.5*)
program Test9;
var
a, b: real;
begin
writeln('Enter two floats:');
readln(a, b);
writeln('A: '... |
{
TPhysicalMemoryInfo Component Version 1.1 - Suite GLib
Copyright (©) 2009, by Germán Estévez (Neftalí)
Representa la memoria física instalada y disponible para el sistema operativo.
Utilización/Usage:
Basta con "soltar" el componente y activarlo.
Place the component in the form and active it... |
unit URepositorioFuncionario;
interface
uses
UFuncionario
, UFuncao
, UTurno
, UMunicipio
, UEntidade
, URepositorioDB
, SqlExpr
, URepositorioFuncao
, URepositorioTurno
, URepositorioMunicipio
;
type
TRepositorioFuncionario = class(TRepositorioDB<TFUNCIONARIO>)
private
FRepositorioF... |
{Copyright © 1998 by Michael Tran}
unit Cologrid;
{.$R mgrid.res}
interface
uses WinTypes, WinProcs, Messages, SysUtils, Classes, Controls,
Graphics, Grids, menus;
type
TSettingEvent = Procedure(ARow,Acol: Longint;var Fcolor:Longint;var Bold,Italic,underline:boolean) of object;
TMgrid = class(TStringGrid)
... |
unit Samples.Main;
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.ComCtrls, Vcl.Mask;
type
TFrmSamples = class(TForm)
pclBCrypt: TPageControl;
tabGenerate: TTabSheet;
... |
unit UExtraUtilities;
interface
uses Classes, UKRDMBasico, Uni, UniSQLMonitor;
function CreateDataModule(const aProviderName: WideString; const aOwner: TComponent = nil): TKRDMBasico;
function CheckSessions: Boolean;
function UseCompression: Boolean;
function UseDBMonitor: Boolean;
function SessionExists(c... |
unit core_editor_states;
{$mode objfpc}{$H+}
interface
type
//different mouse/keyboard handling modes
eEditorStates = (esNone,
esPointLight,//editing point light
esSingleBlock,// sible block brush is set
esSelectMode,//only mouse picking of existing obj/lights/whatever
esEditBrush,//edit... |
unit Exper;
interface
uses FrogObj, FrogTrace, Numerics, NLO, Classes, Windows, RawData;
type
TDataOrder = (doWavelength, doDelay);
TBinning = (bnWavelength, bnFrequency);
TWavelengthCentering = (wcCenterOfMass, wcPeak);
TExper = class(TFrogObject)
private
mNTau: integer;
mNLam: integer;
... |
unit PrimeEnumU;
interface
uses
System.Classes, System.Generics.Collections;
type
TPrimesEnumerable = record
private
FStart: Integer;
public
constructor Create(AStart: Integer);
function GetEnumerator: TEnumerator<Integer>;
end;
function GetPrimes(const AStart: Integer): TPrimesEnumerable;
fu... |
{
ID:because3
PROG:frac1
LANG:PASCAL
}
program frac1;
type pointer=^node;
node=record
fz,fm:integer;
next:pointer;
end;
var n:integer;
h,e:pointer;
function zfs(y,z:integer):boolean;
var i:integer;
begin
i:=2;
while i<=y do begin
if (y mod i=0) and... |
unit Cliente;
interface
uses SysUtils, Contnrs;
type
TCliente = class
private
Fcodigo :Integer;
Fnome :String;
Fcpf_cnpj :String;
Ffone :String;
Fcep :String;
Flogradouro :String;
Fnumero :String;
Fcomplemento :String;
Fbairro :String;
Fcodigo_cidade :Integer;
Fuf :St... |
UNIT Asteroids;
(*< Defines all asteroid stuff. *)
(*
Copyright (c) 2019 Guillermo Martínez J.
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... |
unit UtilDB;
interface
uses SysUtils, DB, IBSQL, IBQuery, IBDatabase, kbmMemTable, Contnrs;
type
TDataSetEvents = array of TDataSetNotifyEvent;
TInspectDataSet = record
events: TDataSetEvents;
bookmark: Pointer;
dataSet: TDataSet;
end;
TAttachObjectDataset = class
private
DataSet: TDataSe... |
unit FuncModelTest;
interface
uses FuncModel, SysUtils, TestCases, Models;
procedure testFuncModel(logger: Logger);
implementation
type
Envi = class(TestEnv)
db: PModel;
end;
Model = class(PointerModel)
data: string;
constructor new(data: string);
end;
function testModelCopy... |
program e1p1;
uses
crt;
type
aEnteros = file of integer;
////////////////////////////////////////////////////////////////////////
procedure imprimirArchivo(var archEnteros:aEnteros);
var
entero:integer;
begin
reset(archEnteros);
while not eof(archEnteros) do
begin
read(archEnteros, ente... |
unit IdTestVCard;
interface
uses
IdSys,
IdTest,
IdObjs,
IdVCard;
type
TIdTestVCard = class(TIdTest)
published
procedure TestLoad;
end;
implementation
const
cEol=#13#10;
cName='Holmes;Sherlock;;Mr';
cFullName='Sherlock Holmes';
cCompany='Example Company';
cPhon... |
unit uBase1024;
{$ZEROBASEDSTRINGS ON}
interface
uses
System.SysUtils,
uBase,
uUtils;
type
IBase1024 = interface
['{4131E6DD-DAB7-4752-84D9-88B52E03CEF1}']
function Encode(data: TArray<Byte>): String;
function Decode(const data: String): TArray<Byte>;
function EncodeString(const data: St... |
unit BasicMsSQLText;
interface
uses
SysUtils,
Classes,
Generics.Collections;
type
TDCSQLState = (smInsert,smUpdate,smDelete,smSelect);
TDelphicanMsSQLText = class
private
FSQLText : string;
FValuesDictionary : TDictionary<String, Variant>;
FWheresDictionary : TDictionary<String, Vari... |
unit RESTRequest4D.Request.Indy;
{$IFDEF FPC}
{$mode delphi}
{$ENDIF}
interface
uses RESTRequest4D.Request.Contract, RESTRequest4D.Response.Contract, IdHTTP, IdSSLOpenSSL, IdCTypes, IdSSLOpenSSLHeaders,
RESTRequest4D.Utils, RESTRequest4D.Request.Adapter.Contract, IdMultipartFormData,
{$IFDEF FPC}
DB, Class... |
unit RESTRequest4D.Response.Client;
interface
uses RESTRequest4D.Response.Contract, REST.Client, System.SysUtils, System.JSON, System.Classes;
type
TResponseClient = class(TInterfacedObject, IResponse)
private
FRESTResponse: TRESTResponse;
FStreamValue: TMemoryStream;
function Content: string;
fu... |
{******************************************************************}
{ Projeto que faz o Download de um arquivo usando Thread }
{ }
{ Esse projeto usa o padrão observer para que a thread notifique o }
{ form principal sobre o status do download.... |
unit ClipbrdComponents;
interface
uses Classes, Project, Outlines;
type TveComponentsToClipboard = class
protected
FStream : TMemoryStream;
FProject : TveProject;
FOutlines : TList;
public
procedure CopySelected( Project : TveProject );
constructor Create;
destructor Destroy... |
unit rfUser_unit;
interface
uses
SysUtils;
type
TrfUser = class(TObject)
FID: Integer;
FName: String;
public
constructor Create(const AID: Integer; const AName: String);
property ID: Integer read FID write FID;
property Name: String read FName write FName;
end;
impleme... |
unit TSTOZeroIntf;
Interface
Uses Windows, HsInterfaceEx;
Type
IArchivedFileData = Interface(IInterfaceEx)
['{4B61686E-29A0-2112-88CD-8AEE4A0BDD74}']
Function GetDataLength() : Word;
Procedure SetDataLength(Const ADataLength : Word);
Function GetFileName1() : AnsiString;
Procedure SetFileNam... |
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence }
{ Team Coherence is Copyright 2002 by Quality Software Components }
{ }
{ For further ... |
unit uOps;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, StrUtils, uUtils, uVars;
type
TGuuToken = (opSub, opSet, opCall, opPrint, opUnknown);
const
GuuToken: array[opSub..opPrint] of string = (
'sub', 'set', 'call', 'print'
);
type
TGuuOp = class
public
OpType ... |
unit MainFormU;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Redis.Client, Redis.Commons,
Redis.NetLib.Indy, System.Actions, Vcl.ActnList, Vcl.ComCtrls;
type
TForm7 = class(TForm)
edtWor... |
unit AbstractFactory.Interfaces.IAbstractProductB;
interface
uses
AbstractFactory.Interfaces.IAbstractProductA;
// Here's the the base interface of another product. All products can
// interact with each other, but proper interaction is possible only between
// products of the same concrete variant.
// Aqui esta ... |
unit UCC_MLSResponse;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids, ExtCtrls;
type
TMLSResponse = class(TForm)
MLSGrid: TStringGrid;
Panel1: TPanel;
Panel2: TPanel;
Button1: TButton;
Button2: TButton;
Label1: TLabel;
... |
Program RechteckVerschluesselung; //Programmname
Uses crt; //verwendete Units
CONST Grenze=20; //maximale AusmaŠe (verĄnderbar)
VAR TextTabelle : ARRAY[1..Grenze,1..Grenze] OF CHAR; //Text als Einzelbuchstaben
Spalten, Zeilen : INTEGER; //eingegebene Anzahl der Zeilen und Spalten
Procedure Ausmasse; //AusmaŠe ... |
{ ZIPDIR.PAS - This is a VCL to get you the "Table of Contents"
of a Zip File.
TZipDir (this VCL) should NOT be used if you will be using
TZipMaster. TZipDir is a subset of TZipMaster that only has
the List method.
This VCL is used in Demo3, which shows how to use the Zip DLLs
without using TZipMaster... |
unit core_LSystemHelper;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,core_types, core_listofrecords, fgl, VectorGeometry,
core_utils,VectorTypes,core_block_brush, core_chunk;
type
TLSystemRules = specialize TFPGList<TLSystemRule>;
TLSystemRendererStack = specialize TFPGList<TLSystemRendererState>... |
unit Views.Main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ComCtrls, ExtCtrls,
StdCtrls, BCrypt, BCrypt.Types, TypInfo;
type
{ TForm1 }
TForm1 = class(TForm)
btnCompare: TButton;
btnGenerate: TButton;
btnGetHashInfo: TButton;
btnNeedsRehash: ... |
unit Items;
{
Copyright (c) 2014 Josh Blake
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License, as described at
http://www.apache.org/licenses/ and http://www.pp4s.co.uk/licenses/
}
interface
uses
SmartCL.Graph... |
unit Utils;
interface
uses Windows, SysUtils, CommDlg, ShellAPI, ShlObj, ActiveX, Crypt;
const
CFG_EXTENSION = '.cfg';
procedure ShowError(const ErrStr: WideString);
function GetFileNameW(const bOpenDialog: Boolean; const hParent: HWND;
var FileName: WideS... |
object ConfirmReplaceDialog: TConfirmReplaceDialog
Left = 275
Top = 110
BorderStyle = bsDialog
Caption = 'Confirm Replace'
ClientHeight = 81
ClientWidth = 329
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style ... |
unit Controller;
interface
uses
DAO, Model, Singleton.Connection, Util.Enum, DB;
type
TController = class
private
FModel: TModel;
FDAO: TDAO;
procedure SetModel(const Value: TModel);
procedure SetDAO(const Value: TDAO);
public
constructor Create; virtual;
destructor Destroy; override;... |
unit UBall;
{
Copyright (c) 2014 George Wright
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License, as described at
http://www.apache.org/licenses/ and http://www.pp4s.co.uk/licenses/
}
interface
uses
SmartCL.Sy... |
unit InpIntDlg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, Spin;
type
TdlgInputInt = class(TForm)
lbDescription: TLabel;
seValue: TSpinEdit;
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
procedure seValueKeyDown(Sender: TObject; var Key... |
(*++
Copyright (C) 2018 Automatic Component Toolkit Developers
All rights reserved.
Abstract: This is an autogenerated Pascal implementation file in order to allow easy
development of Prime Numbers Interface. It needs to be generated only once.
Interface version: 1.2.0
*)
{$MODE DELPHI}
Unit libprimes_impl;
inter... |
unit uMemoryManager;
// Ths source is distributed under Apache 2.0
// Copyright (C) 2019-2020 Herbert M Sauro
// Author Contact Information:
// email: hsauro@gmail.com
interface
Uses Classes, SysUtils;
type
TBlockType = (btGarbage, btBound, btOwned, btConstant);
TRhodusObject = class (TObject)
blockTy... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Menus, ExtDlgs;
type
TForm1 = class(TForm)
PaintBox1: TPaintBox;
Panel1: TPanel;
Button1: TButton;
LabeledEdit1: TLabeledEdit;
ColorDialog1: TColorDialog;
B... |
Unit
XMLConsoleWithTemplates;
Interface
Uses
Classes,
SysUtils,
XMLConsole,
XMLScanner,
HTMLParser,
HTMLNodes;
Type
TXMLConsoleWithTemplates = Class(TXMLCustomConsole)
Public
Procedure PrintTemplate(Var Message); Message 'printtemplate';
Procedure ProcessTemplate(Var Message); Message 'processtemplate'... |
{$IFDEF FREEPASCAL}
{$MODE DELPHI}
{$ENDIF}
unit dll_user32;
interface
uses
atmcmbaseconst, winconst, wintype;
const
IDC_ARROW_A = PAnsiChar(32512);
IDC_ARROW_W = PWideChar(32512);
IDC_IBEAM_A = PAnsiChar(32513);
IDC_WAIT_A = PAnsiChar(... |
PROGRAM EXEMPLO11;
USES CRT;
VAR TEXTO1 : STRING;
TAMANHO, I : INTEGER;
BEGIN
{Este exemplo troca todas as vogais da cadeia
TEXTO1 pelo caractere ?}
{A variável TEXTO1 recebe a cadeia de caracteres:
PROGRAMA DE COMPUTADOR}
TEXTO1:='PROGRAM... |
unit uStringObject;
// Ths source is distributed under Apache 2.0
// Copyright (C) 2019-2020 Herbert M Sauro
// Author Contact Information:
// email: hsauro@gmail.com
interface
uses Classes, uMemoryManager;
type
TStringObject = class (TRhodusObject)
value : string;
function isEqualTo (str1 :... |
UNIT ServerLoop;
INTERFACE
uses MemStream,NetAddr,UnixType,Sockets;
procedure Main;
{#Message handling#}
type tSMsg=object
Source: ^tNetAddr;
Length: {Long}Word;
Data: pointer;
stream: tMemoryStream;
channel: word;
end;
type tMessageHandler=procedure(msg:tSMsg);
procedure SetMsgHandler(OpCode:byte; handler:tMe... |
unit View.UserListForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, View.TemplateForm, Data.DB, Vcl.Menus,
GrdPMenu, JvComponentBase, JvFormPlacement, Vcl.Grids, Vcl.DBGrids,
JvExDBGrids, JvDBGrid, Vcl.Ex... |
unit DIOTA.Dto.Request.GetInclusionStatesRequest;
interface
uses
System.Classes,
REST.Client,
System.JSON.Builders,
DIOTA.IotaAPIClasses;
type
TGetInclusionStatesRequest = class(TIotaAPIRequest)
private
FTransactions: TStrings;
FTips: TStrings;
protected
function GetCommand: String; overrid... |
unit PUSHMessageCash;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxLookAndFeels,
cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore, dxSkinsDefaultPainters,
Vcl.StdCtrls, cxButtons, Vcl.ExtCtrls, ... |
unit ImgLoadThreadU;
interface
uses
System.Classes,
FMX.Graphics;
type
TNotifyBitmapLoaded = procedure(Sender: TObject; Bitmap: TBitmap) of object;
TImageLoaderThread = class(TThread)
private
{ Private declarations }
FNotifyWhenFinished: TNotifyEvent;
FNotifyBitmapLoaded: TNotifyBitmapLoaded;
... |
unit DAO.PedidoVendaItem;
interface
uses
Model, DAO, FireDAC.Comp.Client;
type
TPedidoVendaItemDAO = class(TDAO)
public
function StringDelete: string; override;
function StringInsert: string; override;
procedure SetParameters(var AFDQuery: TFDQuery; const AModel: TModel); override;
function Cre... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit Model.ProSu.Subscriber;
interface
uses Model.ProSu.Interfaces;
function CreateProSuSubscriberClass : ISubscriberInterface;
implementation
type
TProSuSubscriber = class (TInterfacedObject, ISubscriberInterface)
private
fUpdateMethod: TUpdateSubscriberMethod;
public
procedure UpdateSubscriber (con... |
unit Unit7;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Samples.Spin,
Vcl.ExtCtrls;
type
TForm7 = class(TForm)
lbName: TLabeledEdit;
spinHours: TSpinEdit;
Label... |
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence }
{ Team Coherence is Copyright 2002 by Quality Software Components }
{ }
{ For further infor... |
unit DlgTestTPL;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DlgTest, Menus, cxLookAndFeelPainters, StdCtrls, cxButtons, cxStyles,
cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB,
cxDBData, cxCalc, cxCheckComboBox, cxListBox, cxMaskE... |
unit FileAgeDlg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, ComCtrls, SearchFile, ExIniFile, AppEvnts, Util2;
type
TFileAgeDlg = class(TForm)
bvlLine: TBevel;
imgIcon: TImage;
imgMulti: TImage;
txtName: TLabel;
edtName: TEdit... |
unit uP3_umum;
interface
uses uP1_TipeBentukan;
{------------------------------------------------------------}
{**********DAFTAR SUBPROGRAM TENTANG TANGGAL*****************}
{------------------------------------------------------------}
procedure tulisTanggal(x : tanggal);
procedure ambilTanggal(formatString... |
unit OAuth2.RequestType.AuthorizationRequest;
interface
uses
System.JSON,
System.Generics.Collections,
OAuth2.Contract.Entity.Client,
OAuth2.Contract.Entity.User,
OAuth2.Contract.Entity.Scope;
type
TOAuth2AuthorizationRequest = class
private
{ private declarations }
FGrantTypeId: string;
F... |
unit MultiFormatOneDReader;
{
* Copyright 2008 ZXing authors
*
* 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 ... |
unit UFindNReplace;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2005 by Bradford Technologies, Inc. }
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
... |
PROGRAM WorkWithQueryString(INPUT, OUTPUT);
USES
DOS;
FUNCTION GetQueryStringParameter(Key: STRING): STRING;
VAR
QS: STRING;
N, Long, LongKey: INTEGER;
BEGIN {GetQueryStringParameter}
QS := GetEnv('QUERY_STRING');
LongKey := length(Key)+1;
Long := length(QS);
N:=POS(Key, QS);
IF N <> 0
THEN
BEGIN
... |
{***********************************************************************************
** SISTEMA...............: Vida Nova Gestão de Vendas 2019 **
** PARA EMPRESAS.........: Micro e Pequena Empresa **
** LINGUAGEM/DB..........: Delphi 10.3 Rio / Firebird 2.5 ... |
[Code]
{ TortoiseCVS - a Windows shell extension for easy version control }
{ }
{ Inno Setup install script Pascal code }
{ }
{ Copyright (C) 2011 - Torsten Martinsen }
{ <tor... |
{
ClickForms
(C) Copyright 1998 - 2009, Bradford Technologies, Inc.
All Rights Reserved.
}
unit UCSVDataSet;
interface
uses
Classes,
DBClient;
type
TFieldChart = array of integer;
TCSVDataSet = class(TClientDataSet)
private
procedure ChartFields(const table: TStringList; var chart: TFieldC... |
unit fileprovider;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, AndroidWidget;
type
TFileProviderSource = (srcResRaw, srcResDrawable, srcInternal, srcAssets);
{Draft Component code by "Lazarus Android Module Wizard" [1/16/2017 1:06:19]}
{https://github.com/jmpessoa/lazandroidmodulewizard}
{jControl... |
unit uConfigEditor;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, VirtualTrees, ImgList, ActiveX, Controls, Dialogs, lcltype,
Menus,
uLibrary;
type
{ TConfigData }
TConfigData = class
protected
function GetCaption: string; virtual; abstract;
function GetImageIndex: integer; virtual;
... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 1995-2013 Embarcadero Technologies, Inc. }
{ ... |
unit DBAppProjetoBase;
interface
uses
Winapi.Windows, System.SysUtils, System.Variants, System.Classes,
IOUtils, XMLDoc, XMLIntf, XMLDom, DBAppBaseArq, DBAppColuna;
type
TDBAppBaseRec = record
Id : integer;
Nome : string;
Cadastro : TDateTime;
Alteracao : TDateTime
end;
TDBApp... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.ORM.Form.Login
Description : ORMRestClient Login Form
Author : Kike Pérez
Version : 1.2
Created : 02/06/2017
Modified : 08/05/2019
This file is part of ... |
unit recentfileslist;
interface
uses sysutils, windows, classes, contnrs, menus, registry, nickstream,
graphics,forms;
type
TOnrecentfileclick = procedure(filename: string) of object;
TRecentfiles = class(tcomponent)
private
fhandler: tonrecentfileclick;
fmenu: tmenuitem;
fcanvas: tform;
proce... |
unit Icons.FontAwesome;
interface
uses Icons.Utils;
// fortawesome/font-awesome - 5
// Generated by IconFontsImageListUtility
// https://github.com/andrea-magni/IconFontsImageListUtility
// 2021-07-20 14:29.25
{$if compilerversion >= 21}
{$define Delphi2010_UP}
{$ifend}
type
TFontAwesome = record // 1459 entri... |
Unit UrlParser;
// Моя версия класса - парсера
Interface
Uses
Classes ;
Type
TCSIParser = Class( TComponent )
Private
FLocDub : Boolean ; // Удалять ли дубликаты из локальных урл
FIntDub : Boolean ; // Удалять ли дубликаты из внешних урл
Procedure Do_Parse( Const What : String ) ;
Proc... |
unit Lib.Persistent.Helpers;
interface
uses System.Classes, System.SysUtils, System.JSON, REST.JSON, System.Rtti, System.TypInfo;
type
TPublishedProperties2JSONHelper = class
protected
function GetAsJSONObject: TJSONObject;
procedure SetAsJSONObject(AJSONObject: TJSONObject);
function GetAsJSO... |
program p;
begin
writeln('Hello, World!') { оператор вывода строки }
end.
|
unit Delphi.Mocks.Tests.Proxy;
interface
uses
Rtti,
SysUtils,
DUnitX.TestFramework,
Delphi.Mocks;
type
{$M+}
[TestFixture]
TTestMock = class
published
[Test, Ignore]
procedure Expectation_Before_Verifies_To_True_When_Prior_Method_Called_Atleast_Once;
[Test]
procedure VerifyAllRespects... |
unit props;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FGL;
type
TProperty = class
protected
_name: string;
_dirty: boolean;
function GetDirty: boolean;
function GetName: string;
public
constructor Create(const aName: string); virtual;
destructor Destroy; override;
pro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.