text stringlengths 14 6.51M |
|---|
unit HiddenTests;
interface
uses
System.Classes,
TestFramework,
NtHiddenId;
type
THiddenTests = class(TTestCase)
private
FValue: THiddenId;
FCustomValue: THiddenId;
procedure Encode(value: Integer);
procedure EncodeCustom(value: Integer);
protected
procedure SetUp; override;
pro... |
unit txFilterSql;
interface
uses SysUtils, txDefs, txFilter, DataLank;
type
TtxSqlQueryFragments=class(TObject)
private
FItemType:TtxItemType;
AliasCount,FParentID:integer;
AddedWhere:boolean;
DbCon:TDataConnection;
function BuildSQL:UTF8String;
function SqlStr(const s:UTF8String):UTF8St... |
unit Odontologia.Modelo.Medico;
interface
uses
Data.DB,
SimpleDAO,
SimpleInterface,
SimpleQueryRestDW,
System.SysUtils,
Odontologia.Modelo.Conexion.RestDW,
Odontologia.Modelo.Medico.Interfaces,
Odontologia.Modelo.Estado,
Odontologia.Modelo.Estado.Interfaces,
Odontologia.Modelo.Entidades.Medico;
... |
unit FSelectDrive;
(*====================================================================
Dialog box for selecting the drive to be scanned
======================================================================*)
interface
uses
SysUtils,
{$ifdef mswindows}
WinTypes,WinProcs,
{$ELSE}
LCLIntf, LC... |
// SwinGame.pas was generated on 2016-05-18 15:40:10.114231
//
// This is a wrapper unit that exposes all of the SwinGame API in a single
// location. To create a SwinGame project all you should need to use is
// SwinGame and sgTypes.
unit SwinGame;
interface
uses sgTypes, sgAnimations, sgAudio, sgCamera, sgGeometry... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit MyCat.BackEnd.Generics.HeartBeatConnection;
interface
uses
System.SysUtils, MyCat.BackEnd.Interfaces;
// 结构的容器的声明模版
{$I DGLCfg.inc_h}
type
THeartBeatConnection = record
private
FTimeOutTimestamp: Int64;
FConnection: IBackEndConnection;
public
constructor Create(const Connection: IBackEndCo... |
unit uImageListUtils;
interface
uses
Winapi.Windows,
Winapi.CommCtrl,
Vcl.Graphics,
Vcl.Controls,
Vcl.ImgList;
type
// Descendant of regular TImageList
TSIImageList = class(TImageList)
protected
procedure DoDraw(Index: Integer; Canvas: TCanvas; X, Y: Integer;
Style: Cardinal... |
{..............................................................................}
{ Summary Demo the use of Integrated Library Manager and Model Type Manager }
{ interfaces to extract data associated with each interface }
{ ... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
//
// Generated by JavaToPas v1.5 20171018 - 171332
////////////////////////////////////////////////////////////////////////////////
unit android.media.ImageReader;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
android.view.Surface,
android.media.Image,
Androidapi.JNI.os;
type
JImageRead... |
unit uParentListRefreshThread;
interface
uses
Classes, uParentList;
type
TParentListRefreshThread = class(TThread)
private
{ Private declarations }
MyParentList: TParentList;
protected
procedure Execute; override;
procedure MakeRefresh;
public
procedure Start(ParentList: TParentList);... |
unit Nullpobug.Example.Spring4d.RemoteMathService;
interface
implementation
uses
Nullpobug.Example.Spring4d.ServiceLocator
, Nullpobug.Example.Spring4d.MathServiceIntf
, Nullpobug.Example.Spring4d.MathResource
;
type
TRemoteMathServiceImpl = class(TInterfacedObject, IMathService)
private
FMathResour... |
unit u_Main;
interface
uses
Winapi.OpenGL,
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Classes,
Vcl.Controls,
Vcl.Forms,
Vcl.Graphics,
GLTexture,
GLTextureFormat,
GLScene,
GLMaterial,
GLCoordinates,
GLCrossPlatform,
GLWin32Viewer,
GLBaseClasses,
... |
//
// Generated by JavaToPas v1.5 20150830 - 104105
////////////////////////////////////////////////////////////////////////////////
unit android.provider.ContactsContract_DeletedContactsColumns;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes;
type
JContactsContract_DeletedContactsColumns = inte... |
unit Dfm2Text.Libs.Converts;
interface
uses
System.SysUtils,
System.Classes;
/// <summary> Returns true if <c>DFM</c> file is in a binary format </summary>
function IsDFMBinary(FileName: string): Boolean;
/// <summary> Convert a binary <c>DFM</c> file to a text <c>DFM</c> file </summary>
function Dfm2Txt(Src, De... |
UNIT uStrList;
INTERFACE
TYPE
TStrList = CLASS(TObject)
PRIVATE
vList : ARRAY OF STRING;
PUBLIC
Count : Integer;
CONSTRUCTOR Create;
PROCEDURE Clear;
PROCEDURE Add(Text:STRING);
PROCEDURE Replace(Index: Integer; Input: String);
FUNCTION Strings(Index:Integer) : STRING;
EN... |
unit ShowImage;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, ipPlacemnt, ipHTMLHelp;
type
TfmShowImage = class(TipHTMLHelpForm)
Image: TImage;
Placement: TipFormPlacement;
procedure FormClose(Sender: TObject; var Action: TCloseAction);... |
unit camfeatures;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
Grids, StdCtrls, IniPropStorage, SdpoVideo4L2, VideoDev2;
type
{ TFCamFeatures }
TFCamFeatures = class(TForm)
BFeatureValueSet: TButton;
BSave: TButton;
BLoad: TBut... |
unit LrProject;
interface
uses
SysUtils, Classes,
LrTreeData, LrDocument;
type
TLrProjectItem = class(TLrTreeNode)
private
FSource: string;
FImageIndex: Integer;
protected
function GetDisplayName: string; override;
function GetFolderPath: string;
function GetProjectItem(inIndex: Intege... |
(*
* SDL 1.3 FreePascal header for iPhone
* Pre-Alpha
*
* Used SDL header from Hedgewars project (http://www.hedgewars.org) and JEDI-SDL and modified to
* fit just the needs for SDL with iPhone and updated to the latest ("stable") version (Rev. 5483)
*
* Warning: Still incomplete!!!
*
* © Johannes Stein, 2010
... |
unit ufrmDisplayLastTransactionNo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterBrowse, StdCtrls, ExtCtrls, ActnList , System.Actions,
cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
dxBarBuiltInMenu, cxStyles, cxCustomData, cxFilt... |
unit docs.graphics;
interface
uses
Horse,
Horse.GBSwagger;
procedure registry();
implementation
uses schemas.classes;
procedure registry();
begin
Swagger
.Path('graficos/anos')
.Tag('Graficos')
.get('anos que possuem registro de produção', 'anos que possuem registro de produção')
... |
unit pofilestest;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fpcunit, testregistry, mpofiles;
type
TPoFileProt = class(TPoFile); // get access to protected methods
{ TTestPofiles }
TTestPofiles= class(TTestCase)
private
PoFile: TPoFileProt;
public
procedure SetUp; override;
pr... |
unit Unit1;
interface
uses
Winapi.OpenGL,
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
//GLS
GLTexture,
GLWin32Viewer,
GLScene,
GLVectorTypes,
GLVectorFileObje... |
{
Copyright (c) 2020 Adrian Siekierka
Based on a reconstruction of code from ZZT,
Copyright 1991 Epic MegaGames, used with permission.
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 Softwar... |
unit FornecedorProduto;
interface
uses
Fornecedor, DBXJSONReflect, RTTI, DBXPlatform;
type
TDoubleInterceptor = class(TJSONInterceptor)
public
function StringConverter(Data: TObject; Field: string): string; override;
procedure StringReverter(Data: TObject; Field: string; Arg: string); override;
end;
... |
unit uFrmDadosProduto;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uFrmDadosMasterDetailBase, ComCtrls, StdCtrls, Buttons, ExtCtrls, Grids,
DBGrids, Produto, TipoProduto, DBClient, uProdutoDAOClient, Mask,
Spin, uEstoqueDAOClient, Estoque, DB, FornecedorP... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
namespace SharedUI.Shared;
{$IF ECHOES}
uses
System.Windows,
System.Windows.Controls;
type
MainWindow = public partial class(System.Windows.Window)
public
constructor withController(aController: MainWindowController);
begin
DataContext := aController;
InitializeComponent();
end;
p... |
unit uFinLancamentoList;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
BrowseConfig, Db, Menus,DBTables, StdCtrls, ExtCtrls, Buttons, ComCtrls,
uFinQuitacaoFch, uFinQuitacaoToolBarMover, uFinQuitacaoMoverHelp, Mask,
checklst, dxBar, uParentList, dxDBGrid, dxGrClms, ... |
unit libutils;
interface
type
TStrArray = array of string;
TCommandChain = array of TStrArray;
function is_int( s: string ): boolean;
procedure push( var a: TStrArray; s: String );
procedure push( var a: TCommandChain; s: TStrArray );
function str_split( str: string; delimiter: string ): TStrArray... |
unit uLogger;
interface
uses
System.Classes,
System.SysUtils,
System.SyncObjs,
Winapi.Windows,
uConfiguration,
uMemory;
{$DEFINE _EVENTLOG}
type
TLogger = class(TObject)
private
{$IFDEF EVENTLOG}
FFile: TFileStream;
SW: TStreamWriter;
FSync: TCriticalSection;
{$ENDIF... |
unit FdefDac2;
interface
{$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF}
uses windows,classes,sysutils,
util1,Gdos,dtf0,descac1,spk0,blocInf0,debug0,Mtag0;
{ Définition de la structure d'un fichier Elphy/Dac2
Un fichier DAC2 commence par typeHeaderDac2: le mot clé permet d'identifier le... |
Unit Figures;
interface
uses Graph, Stack;
type
PFigureStack = ^TFigureStack;
TFigureStack = object (TStack)
p: Real;
constructor Init(p0: Real);
procedure Tick;
destructor Done; virtual;
end;
PFigure=^TFigure;
TFigure = object (TStackable)
x, y, vx, vy: Integer;
... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit MT5.Api;
interface
uses
System.SysUtils, System.Generics.Collections,
MT5.Connect, MT5.RetCode, MT5.Auth, MT5.Order,
MT5.Position, MT5.History, MT5.Deal, MT5.User;
type
TMTApi = class
private
{ private declarations }
FMTConnect: TMTConnect;
FAgent: string;
FIsCrypt: Boolean;
protect... |
{
JoinMe! is an IRC server based on the RFC 1459 mIRC client & Bahamut server commands/replies
Copyright 2001(02) by Elias Konstadinidis
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 ve... |
{===============================================================================
RadiantGaugesForm Unit
Radiant Shapes - Demo Source Unit
Copyright © 2012-2014 by Raize Software, Inc. All Rights Reserved.
Modification History
------------------------------------------------------------------------... |
// Copyright (c) 2009, ConTEXT Project Ltd
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this list of condition... |
//******************************************************************************
//* Проект "Горводоканал" *
//* Форма коментариев к договорам *
//* Выполнил: Перчак А.Л. 2010г ... |
unit uConverter;
interface
uses
DBXJSON, DBXJSONReflect, System.SysUtils, REST.Json;
type
TConverte = class
public
class function ObjectToJSON<T: class>(aObject: T): TJSONValue;
class function JSONToObject<T: class>(aJSON: TJSONValue): T;
class procedure DestroiObj<T: class>(aObject: T);
end;
i... |
unit uMarkerDrawer;
{
*****************************************************************************
* This file is part of Multiple Acronym Math and Audio Plot - MAAPlot *
* *
* See the file COPYING. ... |
unit ArchiveSaveUnit;
interface
uses
System.Classes, System.SysUtils, System.Zip, System.Generics.Collections,
ArchiveNodeInterface, System.Types;
type
TActivity = (aSaveArchive, aSaveDescriptions, aMove);
TDescriptionWriting = (dwAll, dwModel);
TProgressEvent = Procedure (Sender: TObject; Fraction: doubl... |
unit uFchMargem;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PaiDeFichasBrowse, cxStyles, cxCustomData, cxGraphics, cxFilter,
cxData, cxEdit, DB, cxDBData, dxPSGlbl, dxPSUtl, dxPSEngn, dxPrnPg,
dxBkgnd, dxWrap, dxPrnDev, dxPSCompsProvider, dxPSFillPattern... |
unit Sport;
interface
uses
SysUtils, DB, Classes;
type
TSport = class(TObject)
private
FDescription: String;
FGoalie: Boolean;
FId: String;
FName: String;
FOrigin: String;
FPlayers: Integer;
public
property Description: String read FDescription;
property Goalie: Boolean read ... |
(* A barrel, may contain items when broken apart. This is an entity instead of
an item because it may tranform into a trap or another entity when attacked *)
unit barrel;
{$mode objfpc}{$H+}
interface
uses
SysUtils, map, items, ale_tankard, leather_armour1, cloth_armour1, wine_flask;
(* Create a barrel *)
proced... |
Unit ClassWatchAdd;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
Interface
Uses
Windows, Messages, SysUtils,
Variants, Classes, Graphics,
Controls, Forms, Dialogs, ExtCtrls,
StdCtrls, ComCtrls, ClassWatch, Generics.Collections;
Type
TClassWatchAddFrm = Class (TForm)
MainPanel: TPanel;
CancelButton: TBut... |
{******************************************************************************}
{ }
{ Delphi OPENSSL Library }
{ Copyright (c) 2016 Luca Minuti ... |
unit cpuid;
interface
uses windows, sysutils;
const
{ Error flags }
ERR_NOERROR = 0;
ERR_CPUIDNOTSUPPORTED = (-1);
ERR_EXECUTIONLEVELNOTSUPPORTED = (-2);
ERR_BADINFOSTRUCTURE = (-3);
{ Return value identifiers }
VAL_NOVALUE = 0;
{ CPUID EFLAGS Id bit }
CPUIDID_BIT = $200000;
{ Default Benchmar... |
unit uDBShellUtils;
interface
uses
Winapi.Windows,
Vcl.Graphics,
Vcl.Forms,
Dmitry.Utils.Files,
acWorkRes,
UnitDBFileDialogs,
uResourceUtils,
uTranslate,
uShellUtils,
uMemory,
uShellIntegration;
function GetIconForFile(Ico: TIcon; out IcoTempName: string; out Language: In... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.ComCtrls, Vcl.Menus, Vcl.ExtDlgs;
type
TForm1 = class(TForm)
MainMenu1: TMainMenu;
File1: TMenuItem;
Pri... |
unit jo9_ostatki_add;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, cxClasses, cxControls, cxGridCustomView,
cxGridCustomTableView, cxGridTableView, cxGridLevel, cxGrid, dxBar,
E... |
unit uWizards;
interface
uses
Classes, Controls, uMemory, uFrameWizardBase, uDBForm;
type
TWizardManager = class(TWizardManagerBase)
private
FStepTypes: TList;
FSteps: TList;
FOwner: TWinControl;
FX, FY: Integer;
FCurrentStep: Integer;
FOnChange: TNotifyEvent;
FStepC... |
unit uPaymentBonusBucks;
interface
uses
uPayment, uBonusBucks;
type
TPaymentBonusBucks = class(TPayment)
private
FBonusBucks: TBonusBucks;
procedure UpdateBonusBucks;
protected
procedure OnProcessPayment; override;
procedure BeforeDeletePayment; override;
function GetPaymentType: Integer;... |
{-----------------------------------------------------------------------------
Unit Name: frmDisassemlyView
Author: Kiriakos Vlahos
Date: 30-May-2005
Purpose: Disassembly Editor View
History:
-----------------------------------------------------------------------------}
unit frmDisassemlyView;
... |
//**********************************************************************************************************************
// $Id: udDiffLog.pas,v 1.9 2006-08-23 15:19:11 dale Exp $
//----------------------------------------------------------------------------------------------------------------------
// DKLang Transla... |
unit uModProdukJasa;
interface
uses
uModApp, uModBarang, uModRefPajak, uModRekening, uModSuplier;
type
TModProdukJasa = class(TModApp)
private
FPROJAS_CODE: String;
FPROJAS_NAME: String;
FPROJAS_OWNER: String;
FPROJAS_IS_BKP: Integer;
FPROJAS_DEFAULT_PRICE: Double;
// FSUPLIER_ID: TModSu... |
unit uBase;
interface
uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DB, ComCtrls, DBCtrls, ToolWin, StdCtrls, ExtCtrls, Grids, DBGrids, DBClient,
Menus, Provider, ImageList, ImgList, Data.Win.ADODB,
System.Variants, uPersistencia;
type
TfBase = class(TForm)
Panel1: TPanel... |
unit uDadosRelat;
interface
uses
System.SysUtils, System.Classes, Data.FMTBcd, Datasnap.DBClient, Data.DB,
Data.SqlExpr, frxDBSet, frxClass, Datasnap.Provider, frxExportCSV,
frxExportRTF, frxExportPDF, Vcl.Dialogs, System.DateUtils, System.UITypes;
type
TdmDadosRelat = class(TDataModule)
sqlBaixas: TSQLD... |
unit localizar;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids, StdCtrls, JsEdit1, ExtCtrls,
DB, func, FireDAC.Comp.Client;
type
TForm7 = class(TForm)
DBGrid1: TDBGrid;
Edit1: TEdit;
Label1: TLabel;
Timer1: TTimer;
Data... |
unit TestLogger;
interface
uses
DPM.Core.Types,
DPM.Core.Logging;
type
TTestLogger = class(TInterfacedObject, ILogger)
protected
procedure Debug(const data: string);
procedure Error(const data: string);
procedure Information(const data: string; const important : boolean = false);
procedure Su... |
{
publish with BSD Licence.
Copyright (c) Terry Lao
}
unit doCPLC;
{$MODE Delphi}
interface
uses iLBC_define,C2Delphi_header;
{----------------------------------------------------------------*
* Compute cross correlation and pitch gain for pitch prediction
* of last subframe at given lag.
*-------... |
unit Tree;
interface
uses System.SysUtils, System.Variants, System.Classes, Wintypes;
type
pNode = ^TNode; //Указатель на TNode
TData = array [0..2,0..2] of integer;//тип поля игры
TField = array of TPoint;//тип массива свободных полей
//Класс Узла-----------------------------------------------------... |
namespace GlHelper;
{$IF TOFFEE}
interface
uses
rtl,
Foundation,
CoreGraphics,
RemObjects.Elements.RTL,
OpenGL;
type GlImage = public class
private
fImg : glImageData;
fValid : Boolean;
method LoadCoreImage(const fullname : String) : Boolean;
public
constructor (const aPath : String);
... |
unit base_driver;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
LowxRTTI, lowX, StdCtrls,typinfo;
{
Thank you Mason Louie for you (very nice) example. The problem (commented line below) is now resolved.
This test case also demonstrates tcomponent > XML and back,... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, uPSComponent, Forms, Controls, Graphics, Dialogs,
StdCtrls, process, unix, LCLIntf, ValEdit, ExtCtrls, ActnList, Buttons,
Ctypes;
type
{ TForm1 }
TForm1 = class(TForm)
ButtonLaunchTerminal: TButton;
ButtonSetKeyboard: TB... |
unit JclInstall;
interface
{$I jcl.inc}
uses
Windows, SysUtils, Classes, ComCtrls, JediInstallIntf;
type
TJclInstall = class (TInterfacedObject, IJediInstall)
private
FJclPath: string;
FJclSourcePath: string;
FClxDialogFileName: string;
FVclDialogFileName: string;
FVclDialogSendFileName: s... |
unit FormReplaceColour;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Voxel_Engine, BasicDataTypes, palette, voxel,
mouse, VoxelUndoEngine;
Type
TReplaceColourData = record
Col1 : byte;
Col2 : byte;
end;
... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLSLPostBlurShader <p>
A shader that blurs the entire scene.<p>
<b>History : </b><font size=-1><ul>
<li>22/04/10 - Yar - Fixes after GLState revision
< Added VectorTypes to uses
<li>16/04/07 - DaStr - S... |
unit uMultiCore;
interface
uses Windows,Classes;
const _MultiCoreRotateCycle=16;
// function type
type
TMultiCoreThreadFunc = procedure(ptr:Pointer);
TMultiCoreThreadEvent = procedure(ptr:pointer) of object;
type
// TemaphoreClass
TMultiCoreSemaphore=class
protected
//FSema : THANDLE;
FCS ... |
unit fTINLoader;
interface
uses
Winapi.Windows,
Winapi.Messages,
Winapi.OpenGL,
System.SysUtils,
System.Variants,
System.Classes,
System.Math,
Vcl.ExtCtrls,
Vcl.StdCtrls,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.Imaging.Jpeg,
GLScene,
GLMesh,
GLC... |
unit ModflowTDisWriterUnit;
interface
uses SysUtils, CustomModflowWriterUnit, PhastModelUnit;
type
TTemporalDiscretizationWriter = class(TCustomModflowWriter)
private
procedure WriteDataSet0;
procedure WriteOptions;
procedure WriteDimensions;
procedure WriteStressPeriods;
public
class funct... |
unit OrcamentoFornecedores.Model;
interface
uses OrcamentoFornecedores.Model.Interf,
ormbr.container.objectset.interfaces, ormbr.Factory.interfaces,
TESTORCAMENTOFORNECEDORES.Entidade.Model;
type
TOrcamentoFornecedoresModel = class(TInterfacedObject, IOrcamentoFornecedoresModel)
private
FConexao: IDBConn... |
{-----------------------------------------------------------------------------
Unit Name: USpaceEntities
Author: J.Delauney
Purpose: Custom "Space" GLObject for better integrating with GLScene
- Multiple planets, Moons,... with their individual properties
- One Space object per orbit, unli... |
unit GuidHelper;
interface
// Gets a new GUID string
function NewGuid : String;
implementation
uses Classes, SysUtils;
function NewGuid : String;
var
guid: TGUID;
begin
CreateGUID(guid);
Result := GUIDToString(guid);
end;
end.
|
//
// Robert Rossmair, 2002-09-22
//
unit StretchGraphicDemoMain;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, Menus, ExtCtrls, ExtDlgs, JPEG,
JclGraphics;
type
TStretchDemoForm = class(TForm)
OpenDialog: TOpenPictureDialog;
PageControl:... |
unit Dmitry.PathProviders;
interface
uses
Generics.Collections,
System.Classes,
System.SyncObjs,
System.SysUtils,
Winapi.Windows,
Winapi.CommCtrl,
Vcl.Graphics,
Vcl.ImgList,
Dmitry.Memory;
const
PATH_FEATURE_PROPERTIES = 'properties';
PATH_FEATURE_CHILD_LIST = 'child_list';
... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Controller relacionado à tabela [PESSOA]
The MIT License
Copyright: Copyright (C) 2014 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated d... |
unit AStarFrm;
{ [1] AStar Cube..Data Display Demo Directions
[2] Demo #1 Smiley
[3] PATHFINDING DEMO #2 - Smiley & Chaser
[4] PATHFINDING DEMO #3 - Smiley & Chaser (4-way)
[5] ;PATHFINDING DEMO #4a - Collision Avoidance (loop-based)
[6] ;PATHFINDING DEMO #4b - Collision Avoidance (time-based)
[7] ... |
unit DotEnv;
interface
uses System.SysUtils, System.Types, System.UITypes, System.Classes,
System.RegularExpressions, System.RegularExpressionsCore;
type
TDotEnv = class
private
public
dotEnvFile: TStringList;
class var Instance : TDotEnv;
class function getInstace: TDotEnv; static... |
unit fmPassword;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Oracle, Buttons;
type
TfmPass = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
Label1: TLabel;
edOld: TEdit;
edNew: TEdit;
Label2: TLabel;
edCheck: T... |
unit TestURateioController;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework, URateioVO, UCondomin... |
unit ThCssStyle;
interface
uses
Classes, Messages, SysUtils, Types, Graphics,
ThMessages, ThStyleList, ThPicture;
type
TThCssBase = class(TPersistent)
private
FOnChanged: TNotifyEvent;
protected
procedure Changed; virtual;
public
//:$ OnChanged event is fired when a style property is chang... |
unit LightSourceUnit;
// ========================================================================
// MesoCam: Light Source control module
// (c) J.Dempster, Strathclyde Institute for Pharmacy & Biomedical Sciences
// ========================================================================
interface
uses
System.Sy... |
unit UII2XOptions;
interface
uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
UIOptionsBase,
StdCtrls,
Buttons,
ComCtrls,
ExtCtrls,
OmniXML,
ActnList,
ImgList,
Typinfo,
uStrUtil,
Grids,
uI2XOptions,
uI2XDLL,
... |
unit Main_Window;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Menus, ExtCtrls,
StdCtrls, ComCtrls, ActnList, Buttons;
type
{ TMainWindow }
TMainWindow = class(TForm)
actionTerminalSettings: TAction;
actionHardwareInfo: TAction;
... |
unit Filters;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, VirtualShellUtilities,
VirtualWideStrings, Forms;
const
ProfileData = 'Profile.dat';
STR_WARNING = WideString('Warning');
STR_CONFIRM = WideString('Confirmation');
STR_BLANKPROFILENAME = WideString('A bla... |
Unit Splines;
{
This program has been designed and is CopyLefted by:
* Han de Bruijn; Systems for Research "A little bit of Physics would be (===)
* and Education (DTO/SOO), Mekelweg 6 NO Idleness in Mathematics"(HdB) @-O^O-@
* 2628 CD Delft, The Netherlands http://huizen.dto.tudelft.nl/deBruijn #/_\#
* E-mail: ... |
unit API_Parse;
interface
type
TParseTools = class
class function ParseByRegEx(aPage:string; aRegEx:string): TArray<string>;
class function ParseStrByRegEx(aPage:string; aRegEx:string): string;
class function Explode(aIncome: string; aDelimiter: string): TArray<string>;
class function GetNormalizeSt... |
{
Laz-Model
Copyright (C) 2002 Eldean AB, Peter Söderman, Ville Krumlinde
Portions (C) 2016 Peter Dyson. Initial Lazarus port
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 versi... |
(*
Category: SWAG Title: STRING HANDLING ROUTINES
Original name: 0005.PAS
Description: PERM-STR.PAS
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:58
*)
{
Here it is. note that this permutes a set of Characters. if you want to
do something different, you will have to modify the code, but that should
be easy... |
(*
Category: SWAG Title: TEXT FILE MANAGEMENT ROUTINES
Original name: 0059.PAS
Description: Expanding Tabs
Author: MICHAEL TEATOR
Date: 05-27-95 10:37
*)
program ExpandTabs;
{
Public domain by Michael Teator
February 1995
}
const
Space: byte = 32;
type
TextFile = file of byte;
var
... |
unit Car;
{$mode delphi}
interface
uses
SysUtils, Graphics, Classes, LCLIntf,
Entity, StopLine, TrafficSignal, Rotator;
type
TCarEntity = class(TEntity)
protected
Rotated, AtStopLine, Hurry: Boolean;
Signal: TSignalEntity;
public
Color: TColor;
procedure Paint; override;
... |
unit Ellipsoid_Integration;
//
// PHOLIAGE Model, (c) Roelof Oomen, 2006-2007
//
// Model integration methods
//
interface
uses
Model_Absorption, GaussInt;
type
TEllipse = class(TGaussIntA)
private
r : Double; // Radius of circle transformation at Z
Z : Double; // Z-Coor... |
unit uGameScreen.Credits;
interface
uses
Windows,
GLScene, GLObjects, GLWin32Viewer, GLHUDObjects, GLMaterial, GLTexture,
GLKeyboard, GLFilePNG, GLState,
uGameScreen,
dfKeyboardExt;
const
C_SCREEN_NAME = 'Credits';
C_CREDITS_TEXTUREPATH = 'data\menu\';
C_CREDITS_IMAGESCALE = 1/1;
... |
unit uFrmExportItems;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, ExtCtrls, cxStyles,
cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB, cxDBData,
cxGridLevel, cxClasses, cxControls, cxGridCustomView,
cxG... |
unit eRecord;
interface
uses
API_ORM,
eCommon;
type
TRecord = class(TEntity)
private
FKey: string;
FOwnerGroupID: Integer;
FValue: string;
public
class function GetStructure: TSructure; override;
published
property Key: string read FKey write FKey;
property OwnerGroupID: Integer r... |
unit HilfsFunktionen;
interface
uses
SysUtils;
function Zufallszahl(minimum, maximum: integer): integer;
function ZufallsBoolean(Wahrscheinlichkeit: integer): boolean; overload;
function ZufallsBoolean(Wahrscheinlichkeit: integer; Basis: integer): boolean; overload;
type
TKassenStatus = (ksWareScannen, ksWareS... |
unit uRBApp;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, forms, controls,
rtti_serializer_uXmlStore, rtti_serializer_uFactory, rtti_broker_iBroker,
rtti_idebinder_iBindings, rtti_idebinder_uDesigner, iStart,
rtti_broker_uPersistClassRegister;
type
{ TRBApp }
TRBApp = class(TInterfacedObject,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.