text stringlengths 14 6.51M |
|---|
unit UFrmCadastroCidade;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UFrmCRUD, Menus, Buttons, StdCtrls, ExtCtrls
,UCidade
,UUTilitarios
,URegraCRUDEstado
,URegraCRUDCidade
;
type
TFrmCadastroCidade = class(TFrmCRUD)
gbInformacoes: TGroupBox;... |
unit Geo.Utils;
interface
uses
Geo.Calcs, Geo.Pos, clipper;
type
TGeoUtils = class
public
class function ExpandPolygonBy(var AZone: TGeoPosArray; const ARadius: Double): Boolean;
end;
implementation
class function TGeoUtils.ExpandPolygonBy(var AZone: TGeoPosArray; const ARadius: Double): Boolean;
var
... |
unit EstoqueFactory.Controller;
interface
uses EstoqueFactory.Controller.interf, Produto.Controller.interf,
ImportarProduto.Controller.interf, Orcamento.Controller.interf,
ExportarOrcamento.Controller.interf;
type
TEstoqueFactory = class(TInterfacedObject, IEstoqueFactoryController)
private
public
cons... |
{*******************************************************************************
Title: iTEC-SOFTWARE
Description: VO relational the table [RECEBIMENTO_CONTA]
The MIT License
Copyright: Copyright (C) 2010 www.itecsoftware.com.br
Permission is hereby granted, free of charge, to any person
obtaining a copy of this s... |
unit uFrmPessoaHistoryTypeResult;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PAIDETODOS, siComp, siLangRT, StdCtrls, LblEffct, ExtCtrls,
ADODB;
type
TFrmPessoaHistoryTypeResult = class(TFrmParent)
btnSave: TButton;
Label1: TLabel;
edtResult:... |
(*
The Computer Language Benchmarks Game
http://benchmarksgame.alioth.debian.org/
contributed by Vitaly Trifonof based on a contribution of Ales Katona
*reset*
*)
program BinaryTrees;
type
PNode = ^TNode;
TNode = record
l, r: PNode;
end;
function CreateNode(l2, r2: PNode): PNode; inline;
begin
C... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
A plane simulating animated water
The Original Code is part of Cosmos4D
http://users.hol.gr/~sternas/
Sternas Stefanos 2003
}
unit VXS.WaterPlane;
interface
{$I VXScene.inc}
uses
System.Classes,
FMX.Obj... |
Unit USrv;
interface
uses Windows, Classes, Graphics, Controls, Messages, Dialogs,
SysUtils;
const WM_GETIMAGE = WM_USER + $0429;
function BitmapToRegion(Bitmap: TBitmap): HRGN;
function CopyToBitmap(Control: TControl; Bitmap: TBitmap; Anyway: boolean): boolean;
procedure CopyParentImage(Control: TControl; De... |
unit CatTarifGridAdd;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLabel, cxCurrencyEdit, cxControls, cxContainer, cxEdit,
cxTextEdit, cxLookAndFeelPainters, ActnList, StdCtrls, cxButtons,
cxMaskEdit, cxDropDownEdit, cxCalendar, uFControl, uLabeledFContr... |
unit LessEqOpTest;
interface
uses
DUnitX.TestFramework,
uIntXLibTypes,
uIntX;
type
[TestFixture]
TLessEqOpTest = class(TObject)
public
[Test]
procedure Simple();
[Test]
procedure SimpleFail();
[Test]
procedure Big();
[Test]
procedure BigFail();
[Test]
procedure Eq... |
unit sp_cust_rate_acc_FORM_ADD;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Mask, BaseTypes, SYS_OPTIONS, cxControls, cxContainer,
cxEdit, cxTextEdit, cxMaskEdit, cxButtonEdit, cxLookAndFeelPainters,
cxButtons, Variants, ExtCtrls, dogLoaderUnit, cxLabel,... |
unit ThItemFactory;
interface
uses
System.Classes,
ThItem, ThTypes;
type
TThItemClasses = class(TObject)
private
FList: TList;
public
constructor Create;
destructor Destroy; override;
procedure AddItem(ID: Integer; ItemClass: TThItemClass);
function GetItemClass(ID: Integer): TThItemCl... |
unit Invoice.Controller.TabForm.Default;
interface
uses Invoice.Controller.Interfaces, Vcl.ComCtrls, Vcl.ActnList, System.Classes, Vcl.Forms;
type
TControllerTabFormDefault = class(TInterfacedObject, iControllerTabFormDefault)
public
constructor Create;
destructor Destroy; Override;
... |
unit tExecuteTask;
interface
uses
SysUtils, Classes, ShellAPI, OoMisc, uPOSServerTypes, uDMThread, ActiveX;
type
TThreadExecuteTask = class(TThread)
private
{ Private declarations }
fRunning : Boolean;
fIDStore: Integer;
FLocalSetting: TLocalSetting;
FServerConnection: TServerConnection;... |
unit Stitch;
{ SuperStitch function }
interface
uses
SysUtils, WinTypes, WinProcs, Classes, Dialogs,
M_Global, M_Util, M_MapUt, M_mapfun, M_editor, G_Util;
TYPE TStitchRequest = class(TObject)
sc, wl : Integer;
sc0, wl0 : Integer;
XOffs : Real;
YOffs : Real;
end;
CONST
STITCH_DIR_RIGHT = 0;
... |
unit URequisicaoEstoque;
interface
uses
UEntidade
,UTipoMovimentacao
,UStatus
,UEmpresaMatriz
,UProduto
,UDeposito
,UUsuario
,ULote
;
type
TREQUISICAOESTOQUE = class (TENTIDADE)
public
TIPO_MOVIMENTACAO : TTIPOMOVIMENTACAO;
DATA_EMISSAO : TDateTime;
DATA_ENTRADA : TDa... |
unit uImportFunc;
interface
uses
SysUtils, Classes, Variants, DB, ActiveX, ComObj, Excel8TLB, ComCtrls, ADODB,
AppEvnts, VirtualTable, StrUtils, Dialogs, ChooseOrg;
type
TPrimaryKey = record
Id, Inst: integer;
end;
{ TdmImportFunc }
TdmImportFunc = class(TDataModule)
private
{ Private declarat... |
unit ImageRGBAData;
interface
uses Windows, Graphics, Abstract2DImageData, RGBASingleDataSet;
type
T2DImageRGBAData = class (TAbstract2DImageData)
private
// Gets
function GetData(_x, _y, _c: integer):single;
// Sets
procedure SetData(_x, _y, _c: integer; _val... |
unit OrcamentoOperacaoAlterar.Controller;
interface
uses Orcamento.Controller.interf, Orcamento.Model.interf,
OrcamentoItens.Model.interf, Generics.Collections, TESTORCAMENTOITENS.Entidade.Model,
TESTORCAMENTO.Entidade.Model, System.SysUtils, ormbr.factory.interfaces,
OrcamentoFornecedores.Model.Interf, TESTORC... |
unit Odontologia.Modelo.Pais;
interface
uses
Data.DB,
SimpleDAO,
SimpleInterface,
SimpleQueryRestDW,
Odontologia.Modelo.Pais.Interfaces,
Odontologia.Modelo.Entidades.Pais,
Odontologia.Modelo.Conexion.RestDW,
System.SysUtils;
type
TModelPais = class (TInterfacedOBject, iModelPais)
private
F... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2015 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable as ... |
{*********************************************************************************************}
{ }
{ XML Data Binding }
{ ... |
unit Datapar.Conexao.DBExpress;
interface
uses
Data.DB, Datapar.Conexao, Data.FMTBcd, Data.SqlExpr, Data.DBXOracle;
type
TExpressQuery = class(TDataparQuery)
strict private
FConnection : TSQLConnection;
FQuery: TSQLQuery;
public
constructor create(AProvider: TDataparProvide... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
A PFX whose particles are lines
}
unit VXS.LinePFX;
interface
{$I VXScene.inc}
uses
System.Classes,
System.SysUtils,
VXS.OpenGL,
VXS.PersistentClasses,
VXS.VectorGeometry,
VXS.ParticleFX,
VXS.... |
unit Unit1;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
GLCadencer,
GLTexture,
GLWin32Viewer,
GLScene,
GLObjects,
GLMaterial,
GLFileTGA,
GLCoordinates,
GL... |
unit ufrmDialogSubGroup;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmMasterDialog, System.Actions,
Vcl.ActnList, ufraFooterDialog3Button, Vcl.ExtCtrls, uInterface, uModBarang,
cxGraphics, cxControls... |
program HowToUseRadioButton;
uses
SwinGame, sgTypes, sgUserInterface;
procedure Main();
var
cp : Panel;
begin
OpenGraphicsWindow('How To Radio Button ', 400, 150);
LoadDefaultColors();
cp := LoadPanel('radioPanel.txt');
ShowPanel(cp);
PanelSetDraggable(cp, false);
repeat ... |
unit AsConvertOpTest;
{$mode objfpc}{$H+}
interface
uses
fpcunit,
testregistry,
uIntXLibTypes,
uIntX;
type
{ TTestAsConvertOp }
TTestAsConvertOp = class(TTestCase)
published
procedure AsInteger();
procedure AsUInt32();
procedure AsInt64();
procedure AsUInt64();
private
pr... |
namespace GlHelper;
{$GLOBALS ON}
interface
uses
rtl,
RemObjects.Elements.RTL;
{$IF ISLAND}
{$DEFINE FIXMATHERROR} // Use own implementation of Pow because error in RTL Island
{$ENDIF}
const
{ Default tolerance for comparing small floating-point values. }
SINGLE_TOLERANCE = 0.000001;
EPSILON: Single = 1E... |
(***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software... |
program _2;
type
TPtr=^Elem;
Elem=record
len:word;
inf:string;
link:TPtr;
end;
var f:text;
Top:TPtr;
procedure Pop(value:string);
var P:TPtr;
begin
new(P);
P^.inf:=value;
P^.len:=length(value);
p^.link:=Top;
Top:=P;
end;
procedure Push;
var P:TPtr;
begin
new(P);
P:=Top;
Top:=Top... |
unit BCEditor.Editor.Utils;
interface
uses
System.Classes, BCEditor.Types;
function GetTextPosition(AChar, ALine: Integer): TBCEditorTextPosition;
function IsUTF8(Stream: TStream; out WithBOM: Boolean): Boolean;
implementation
uses
System.Math, System.SysUtils, BCEditor.Consts;
function GetText... |
unit M_flaged;
interface
uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons,
StdCtrls, IniFiles, M_Global, ExtCtrls;
type
TFlagEditor = class(TForm)
LBFlags: TListBox;
Panel1: TPanel;
Title: TPanel;
SBCommit: TSpeedButton;
SBRollback: TSpeedButton;
SBHelp: TSpeedButton;
... |
unit AST.Delphi.System;
interface
{$i compilers.inc}
uses System.Classes,
System.SysUtils,
AST.Pascal.Parser,
AST.Delphi.Classes,
AST.Delphi.DataTypes,
AST.Delphi.Operators,
AST.Parser.Utils,
AST.Parser.Messages,
AST.Classes,
AST.Intf,
AST.Delphi.Err... |
namespace proholz.xsdparser;
interface
type
XsdListVisitor = public class(XsdAnnotatedElementsVisitor)
private
// *
// * The {@link XsdList} instance which owns this {@link XsdListVisitor} instance. This way this visitor instance can
// * perform changes in the {@link XsdList} object.
//
//
var o... |
namespace InterfacesSample.SampleClasses;
interface
uses
System,
System.Windows.Forms;
type
{ IVersionInfo interface
Notice how, in Oxygene, there's no need to declare setter and getter methods for
interface properties. Their implementation and names are deferred to the class
that implements... |
//=============================================================================
// sgAnimations.pas
//=============================================================================
/// Animations in SwinGame can be used to move between cells in bitmaps and
/// sprites. Each Animation generates a number sequence that c... |
unit uDmPesquisa;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.IB,
FireDAC.Phys.IBDef, FireDAC.VCLUI.Wait, FireDAC.Stan.Param, ... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ XML RTL Constants }
{ }
{ Copyright (c) 2002 Borland ... |
unit Server.Controller;
interface
uses
System.Generics.Collections,
System.JSON,
Spring.Collections,
Common.Entities.Player,
Server.WIRL.Response,
Common.Entities.Card,
Common.Entities.Round,
Common.Entities.Bet,
Common.Entities.GameSituation,
Server.Entities.Game
;
type
IApiV1Controller = inte... |
unit OBJLoader;
interface
uses
Classes,
SysUtils,
StrUtils,
System.Math.Vectors,
Generics.Collections,
Shape,
Material,
Math,
Utils,
MTLLoader;
type
TOBJFile = class
public
v: TList<TVector>;
vn: TList<TVector>;
constructor Create();
end;
function Rebound(Stre: TDynStore; Shps:... |
(*
OpenSSL-compatible encrypt/decrypt routines can be used to protect non-TLS (wss://) websocket
connections using a shared secret key in a text-friendly manner.
v0.11, 2015-08-08, by Alexander Morris
added more notes and sample code, added time_strcmp() and a different random() function
added asHex (defau... |
//---------------------------------------------------------------------------
// Copyright 2014 The Open Source Electronic Health Record Alliance
//
// 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 Lice... |
unit savefilt;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
wwsavflt, Wwfltdlg, StdCtrls, Grids, Wwdbigrd, Wwdbgrid, DB, DBTables,
Wwtable, Wwdatsrc, selfilt, Menus;
type
TSaveFilterDemo = class(TForm)
wwFilterDialog1: TwwFilterDialog;
wwDataSource1: TwwDat... |
{ ZADANIE 14
* Vytvorte funkciu, ktorá zistí ciferný súčet celého kladného čísla
* a použite ju v hlavnom programe.
* }
program FunkciaCifernySucet;
uses crt, sysutils;
var c: Longint; {globalne premenne - mozeme ich pouzivat v celom programe} {pouzijeme Longint namiesto integer-u aby sme mohli zadava... |
{
Purpose: Generates bash tags for a selected plugin automatically
Games: FO3/FNV/FO4/TES4/TES5/SSE/Enderal
Author: fireundubh <fireundubh@gmail.com>
}
unit GenerateWryeBashTags;
const
scaleFactor = Screen.PixelsPerInch / 96;
var
kFile : IwbFile;
slBadTags : TStringLis... |
unit MTLLoader;
interface
uses Classes,
SysUtils,
StrUtils,
System.Math.Vectors,
Generics.Collections,
Shape,
Material,
Math,
Utils;
function LoadMTL(Stre: TDynStore; fileName: string) : TDictionary<string, TMaterial>;
implementation
function LoadMTL(Stre: TDynStore; fileName: string) : TDictionar... |
unit uList64;
interface
uses
Generics.Collections,
SysUtils;
type
TList64 = class(TList<Int64>)
private
function GetMaxStatDateTime: TDateTime;
function GetMaxStatInt64: Int64;
function GetMaxStatInteger: Integer;
function GetMaxStatBoolean: Boolean;
function GetHasVarValue... |
Function SoNumero(Texto : String) : String;
//
// Filtra todos os numeros de uma string
//
var
Ind : Integer;
TmpRet : String;
begin
TmpRet := '';
for Ind := 1 to Length(Texto) do
begin
if IsDigit(Copy(Texto,Ind,1)) then
begin
TmpRet := TmpRet + Copy(Texto, Ind, 1);
end;
end;
Result ... |
unit ibSHDataVCLTreeEditors;
interface
uses
Windows, Classes, Controls, Types, Messages, StdCtrls, DB, SysUtils,
Graphics, Buttons, ExtCtrls, DBCtrls, StrUtils, DBGridEh,
VirtualTrees, Forms,
SHDesignIntf, SHOptionsIntf, ibSHDesignIntf, ibSHDriverIntf,TntStdCtrls;
type
PTreeRec = ^TTreeRec;
... |
unit abFunctions;
interface
uses Windows, WinInet, ShFolder;
//String Functions
function IntToStr(I: Integer): String;
function StrToInt(S: String): Integer;
function LowerCase(S: String): String;
function MatchStrings(Str1, Str2: String): Boolean;
function LeftStr(const AText: AnsiString; const ACount: I... |
unit Controller.Interfaces;
interface
uses
Vcl.Samples.Spin, Vcl.ComCtrls, Data.DB, Datasnap.DBClient;
type
TProgress = Vcl.ComCtrls.TProgressBar;
TDataset = Data.DB.TDataSet;
TClientDataSet = Datasnap.DBClient.TClientDataSet;
TFieldType = Data.DB.TFieldType;
IThreadController = interface
['{8D669FD... |
namespace PictureViewer;
interface
uses
System.IO,
System.Windows.Media.Imaging,
System.Collections.ObjectModel;
type
ImageFile = public class
private
fImage: BitmapFrame;
fUri: Uri;
fPath: String;
protected
public
constructor (aPath: String);
method ToString(): String; overri... |
unit uRoleListfrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uListFormBaseFrm, cxStyles, cxCustomData, cxGraphics, cxFilter,
cxData, cxDataStorage, cxEdit, DB, cxDBData, cxGridLevel, cxClasses,
cxControls, cxGridCustomView, cxGridCustomTableView... |
unit XED.CategoryEnum;
{$Z4}
interface
type
TXED_Category_Enum = (
XED_CATEGORY_INVALID,
XED_CATEGORY_3DNOW,
XED_CATEGORY_ADOX_ADCX,
XED_CATEGORY_AES,
XED_CATEGORY_AMX_TILE,
XED_CATEGORY_AVX,
XED_CATEGORY_AVX2,
XED_CATEGORY_AVX2GATHER,
XED_CATEGORY_AVX512,
XED_CATEGORY_AVX512... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit TpPersistComponent;
interface
uses
SysUtils, Classes;
type
TTpPersistComponent = class(TComponent)
public
procedure SaveToStream(inStream: TStream); virtual;
procedure SaveToFile(const inFilename: string); virtual;
function SaveToText: string; virtual;
procedure LoadFromStream(inStream: ... |
unit uObjStringList;
interface
uses classes;
type
TObjStringList = class(TStringList)
private
procedure AutoFreeObject(index:integer); virtual;
public
destructor Destroy; override;
procedure Clear; override;
end;
implementation
procedure TObjStringList.AutoFreeObject(index : integer );
begi... |
unit PersDatesAcc;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, DB, cxDBData, cxCheckBox, dxBar, dxBarExtItems,
cxSplitter, cxLabel, cxContainer, cxTextEdit, cxMaskEdit, cxDBEdit,... |
unit uFileSystemSetFilePropertyOperation;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LazUTF8,
uFileSourceSetFilePropertyOperation,
uFileSource,
uFileSourceOperationOptions,
uFileSourceOperationUI,
uFile,
uFileProperty,
uDescr;
type
{ TFileSystemSetFilePropertyOperation }
TFileSystem... |
{-------------------------------------------------------------------------------
Copyright 2012 Ethea S.r.l.
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.apa... |
// quadratic function solver
function Solve(a, b, c : Real; var x1, x2 : Real) : Boolean;
var d : Real;
begin
d := (b*b) - (4*a*c);
if d < 0 then Result := False
else
begin
x1 := (-1*b + sqrt(d)) / (2*a);
x2 := (-1*b - sqrt(d)) / (2*a);
Result := True;
end;
end;
// function tester
var a, b, c, x... |
unit NosoTime;
{
Nosotime 1.2
December 12th, 2022
Noso Time Unit for time synchronization on Noso project.
Requires indy package. (To-do: remove this dependancy)
Changes:
- Random use of NTP servers.
- Async process limited to every 5 seconds.
- Block time related functions.
}
{$mode ObjFPC}{$H+}
interface
uses
... |
{: MainForm<p>
Main form of the ManuCAD program<p>
<b>History :</b><font size=-1><ul>
<li>13/02/03 - SJ - Added Block drawing
<li>10/02/03 - SJ - Added Arc & Circle drawing & color selection
<li>08/02/03 - DA - A new DXf is opened with the form
- SJ - Added Polyline drawing
... |
unit ProdutoOperacaoExcluir.Controller;
interface
uses Produto.Controller.interf, Produto.Model.interf,
TESTPRODUTO.Entidade.Model, System.SysUtils;
type
TProdutoOperacaoExcluirController = class(TInterfacedObject,
IProdutoOperacaoExcluirController)
private
FProdutoModel: IProdutoModel;
FRegistro: ... |
unit ufrmDialogAdjustmentCashier;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterDialog, ExtCtrls, StdCtrls, Mask,
System.Actions, Vcl.ActnList, ufraFooterDialog3Button, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cx... |
unit ibSHTrigger;
interface
uses
SysUtils, Classes,
SHDesignIntf,
ibSHDesignIntf, ibSHDBObject;
type
TibBTTrigger = class(TibBTDBObject, IibSHTrigger)
private
FTableName: string;
FStatus: string;
FTypePrefix: string;
FTypeSuffix: string;
FPosition: Integer;
function... |
program HowToCollideSpriteWithLines;
uses
SwinGame, sgTypes;
procedure Main();
var
leftLine, rightLine, topLine, bottomLine: LineSegment;
ball: Sprite;
begin
OpenGraphicsWindow('Bouncing Ball', 800, 600);
ClearScreen(ColorWhite);
LoadBitmapNamed('ball', 'ball_small.png');
leftLine := Lin... |
(* WS_ADT 23.04.2017 *)
(* Container for strings *)
(* Hidden data *)
UNIT WS_ADT;
INTERFACE
TYPE
(* "hiding" of tree data *)
TreePtr = POINTER;
PROCEDURE InitTree(VAR Tree: TreePtr);
FUNCTION IsEmpty(VAR Tree: TreePtr): BOOLEAN;
FUNCTION Contain... |
{------------------------------------------------------------------------------
Miguel A. Risco Castillo TuELED v0.2
http://ue.accesus.com/uecontrols
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with ... |
unit ibSHDDLHistoryActions;
interface
uses
SysUtils, Classes, Menus,
SHDesignIntf, ibSHDesignIntf;
type
TibSHDDLHistoryPaletteAction = class(TSHAction)
public
constructor Create(AOwner: TComponent); override;
function SupportComponent(const AClassIID: TGUID): Boolean; override;
pro... |
unit UPais;
interface
type
TPais = class (TObject)
private
FIdPais: Integer;
FPais: String;
FSigla:String;
FDDI:String;
FDataCadastro:String;
FDataAlteracao:String;
protected
procedure setIdPais(vIdPais:Integer);
procedure setPais(vPa... |
{*******************************************************}
{ }
{ Iocomp OPC Classes }
{ }
{ Copyright (c) 1997,2002 Iocomp Software }
{ ... |
{
----------------------------------------------------------------
File - STATUS_STRINGS.PAS
Copyright (c) 2003 Jungo Ltd. http://www.jungo.com
----------------------------------------------------------------
}
unit status_strings;
interface
uses
Windows, windrvr;
function Stat2Str(dwStatus : DWORD) : S... |
unit uLockBox_TestCases;
interface
uses
Classes, TestFramework, uTPLb_Hash, uTPLb_CryptographicLibrary, uTPLb_Codec,
uTPLb_StreamCipher, uTPLb_HugeCardinal, uTPLb_MemoryStreamPool;
type
TEnvironment_TestCase = class( TTestCase)
published
procedure Test_Environment;
end;
implementation
uses
SysUtils... |
unit GLOBAL;
interface {Opysannya dostupnoyi informatsiyi dlya yinshykh moduliv}
const
p = 2;
m = 10;
n = 10;
type
arr = array[1..p, 1..m, 1..n] of integer; {Zadannya korystuvats'koho typu "masyv"}
vector=array [1..n*m] of integer;
var A:arr; {Zminna typu masyv}
C:vector;
procedure ShowArray(const a:... |
unit Chapter09._05_Solution1;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
Math,
DeepStar.Utils;
/// 背包问题
/// 记忆化搜索
/// 时间复杂度: O(n * C) 其中n为物品个数; C为背包容积
/// 空间复杂度: O(n * C)
type
TSolution = class(TObject)
public
function knapsack01(const w, v: TArr_int; c: integer): integer;
end;
proced... |
{
Datamove - Conversor de Banco de Dados Firebird para Oracle
licensed under a APACHE 2.0
Projeto Particular desenvolvido por Artur Barth e Gilvano Piontkoski para realizar conversão de banco de dados
firebird para Oracle. Esse não é um projeto desenvolvido pela VIASOFT.
Toda e qualquer alteração deve ser s... |
{ ****************************************************************************** }
{ * Low MemoryHook written by QQ 600585@qq.com * }
{ * https://zpascal.net * }
{ * https://github.com/PassByYou888/zAI ... |
namespace MetalExample;
interface
uses
Metal,
MetalKit;
// Helper Class for load a Shader from Resources and setup the vertex and fragment functions
type
shaderLoader = class
private
_vertexfunc :MTLFunction;
_fragmentfunc :MTLFunction;
public
constructor(const device: MTLDevice) Shadername(... |
unit RegistryCleaner_RegExceptions;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TfmRegExceptionsAdd = class(TForm)
edExclusionString: TEdit;
gbExcludeFrom: TGroupBox;
rbKeyAddr: TRadioButton;
rbText: T... |
unit uI2XThreadBase;
interface
uses
SysUtils,
Classes,
uI2XDLL,
uDWImage,
GR32,
uI2XConstants,
uFileDir,
uI2XTemplate,
uImage2XML,
uI2XPluginManager
;
type
TI2XThreadedImageJob = class(TThread)
private
FTaskIDFriendly : string;
FImageMemoryMapID : string;
... |
unit uFrmPurchaseCalcFreight;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PAIDETODOS, siComp, siLangRT, StdCtrls, LblEffct, ExtCtrls, DB,
DBClient, ADODB, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxEdit, cxDBData, cxGridLevel, cxClasses, cxCo... |
unit Mail4Delphi.Default;
interface
uses Mail4Delphi.Intf, System.Classes, System.SysUtils, IdSMTP, IdSSLOpenSSL, IdMessage, IdText, IdAttachmentFile,
IdExplicitTLSClientServerBase, System.Variants;
type
TMail = class(TInterfacedObject, IMail)
private
FIdSSLIOHandlerSocket: TIdSSLIOHandlerSocketOpenSSL;
... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [PONTO_FECHAMENTO_JORNADA]
The MIT Li... |
(*
* Main server source.
*
* Overview of DNS protocol: http://www.zytrax.com/books/dns/ch15/
*)
unit DNSServer;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, StrUtils,
syncobjs,
synautil,
blcksock,
synsock,
DNSProtocol;
type
(*
* Blocksocket settings
*)
TUDPBlockSocketAttributes =... |
namespace org.me.deviceinfo;
//Sample app by Brian Long (http://blong.com)
{
This example demonstrates querying an Android device for various metrics and data
}
interface
uses
java.util,
android.app,
android.content,
android.content.res,
android.os,
android.view,
android.util,
a... |
//
// Generated by JavaToPas v1.5 20180804 - 083150
////////////////////////////////////////////////////////////////////////////////
unit android.icu.text.Normalizer;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
android.icu.text.Normalizer_QuickCheckResult;
type
JNormalizer = interface;
... |
{..............................................................................}
{ Summary: MillExporter - MMSetupDlg }
{ Setup the default values for a milling machine to be used by MillExporter. }
{ ... |
unit ViewTributacaoPis;
{$mode objfpc}{$H+}
interface
uses
HTTPDefs, BrookRESTActions, BrookUtils, FPJson, SysUtils, BrookHTTPConsts;
type
TViewTributacaoPisOptions = class(TBrookOptionsAction)
end;
TViewTributacaoPisRetrieve = class(TBrookRetrieveAction)
procedure Request({%H-}ARequest: TRequest; ARe... |
unit uTFTPDownload;
interface
uses
Classes, NMFtp, uFrmNewLoader;
type
TFiles = record
LocalFile : String;
ServerFile : String;
Description : String;
end;
type
TFTPDownload = class(TThread)
private
{ Private declarations }
aFile : array[0..10] of TFiles;
Counted : integer;
... |
unit RegionsModel;
interface
uses connection, Ragna, System.JSON, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf,
FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.ConsoleUI.Wait, Data.DB,
FireDAC.Comp.Client, FireDAC.Phys.PG, FireDAC.Ph... |
unit nsProcessFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, ExtCtrls;
type
TfrmProcess = class(TForm)
aniProgress: TAnimate;
pbxFileName: TLabel;
pbxAction: TLabel;
ProgressBar1: TProgressBar;
Label1... |
unit RotateToolThreadUnit;
interface
uses
Windows,
Classes,
Effects,
Graphics,
RotateToolUnit,
uEditorTypes,
uMemory,
uDBThread;
type
TRotateEffectThread = class(TDBThread)
private
{ Private declarations }
FSID: string;
FProc: TBaseEffectProc;
BaseImage: ... |
unit ILPP_ColorCorrection;
{$INCLUDE '.\ILPP_defs.inc'}
interface
uses
ILPP_Base;
{===============================================================================
--------------------------------------------------------------------------------
Conversion using map
-------------------... |
unit DummySyntaxHighlightMemo;
interface
uses
SysUtils,Windows,Messages,Classes,SyntaxHighlightMemo,SyntaxHighlighter,
Controls,Forms;
type
TDummySyntaxHighlightMemo=class(TCustomSyntaxHighlightMemo)
private
FSource:TCustomSyntaxHighlightMemo;
procedure WMSetCursor(var Message:TMessage)... |
unit uPctPetTreatmentFch;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParentButtonFch, mrConfigFch, DB, StdCtrls, XiButton, ExtCtrls,
cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit,
cxLookupEdit, cxDBLookupEdit, cxDBLookupComboBo... |
unit Grant_Ctrl_MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, ExtCtrls, cxMaskEdit, cxDropDownEdit,
cxCalendar, cxTextEdit, cxButtonEdit, cxContainer, cxEdit, cxLabel,
cxControls, cxGroupBox, StdCtrls, cxButtons, gr_uCommonC... |
unit pSHDBSynEdit;
interface
uses Windows, Classes, Controls, DBCtrls, DB, Messages, SysUtils,
SynEditKeyCmds,
pSHSynEdit;
type
TpSHDBSynEdit = class(TpSHSynEdit)
private
FDataLink: TFieldDataLink;
FFocused: Boolean;
FMemoLoaded: Boolean;
// FPaintControl: TPaintControl;
... |
unit CurrentCtrl_ByPrev;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, FIBDatabase, pFIBDatabase, DB,
FIBDataSet, pFIBDataSet, ActnList, StdCtrls, cxButtons, cxTextEdit,
cxMaskEdit, cxControls, cxContainer, cxEdit, cxLabel, ExtCtrls, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.