text stringlengths 14 6.51M |
|---|
unit CadMotoristas;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, Buttons, ToolWin, StdCtrls, ExtCtrls, Grids, DBGrids,
DB, Mask, DBCtrls, ADODB;
type
TFCadMotoristas = class(TForm)
StatusBar1: TStatusBar;
Panel1: TPanel;
BNovo: TSpee... |
unit swipecontroller;
interface
uses
system.types,
system.controller,
system.dateutils,
SmartCL.System,
SmartCL.Components;
type
TSwipeControllerDirection = (
sdNone=0,
sdLeft,
sdRight,
sdDown,
sdUp
);
TSwipeControllerOptions = set of (coStrictTarget);
TSwipeControllerEven... |
unit untMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, ksMailChimp;
type
TForm10 = class(TForm)
Button1: TButton;
ListBox1: TListBox;
Panel1: TPanel;
Edit1: T... |
Unit BPError;
// Модуль, содержащий объект TBPError
Interface
Uses
Classes ;
Type
//----------------------------------------------------------------------------//
TBPErrorList = Record
sURL , // ошибочный URL
sFName : String ; // Имя выходного файла
sErrCode : Integer ; // Код ош... |
unit Delphi.Mocks.Tests.TValue;
interface
uses
DUnitX.TestFramework;
type
{$M+}
TValueTests = class
published
procedure Test_IsRecord;
procedure Test_IsArray;
end;
{$M-}
implementation
uses
Delphi.Mocks.Helpers, System.Rtti;
{ TValueTests }
type
TMyRec = record
Value: String;
end;
... |
// ==========================================================================
//
// Copyright(c) 2012-2014 Embarcadero Technologies, Inc.
//
// ==========================================================================
//
// Delphi-C++ Library Bridge
// Interface for library FlatBox2D
//
unit Box2D.Rope;... |
unit dll_lz32;
interface
uses
dll_kernel32_file;
const
lz32 = 'LZ32.DLL';
LZERROR_BADINHANDLE = -1; { invalid input handle }
LZERROR_BADOUTHANDLE = -2; { invalid output handle }
LZERROR_READ = -3; { corrupt compressed file format }
LZERROR_WRITE = -4; { out o... |
//Only compile for the LINUX platform.
{$IF NOT Defined(LINUX)}
{$MESSAGE Fatal 'AT.Linux.pas only compiles for the LINUX platform.'}
{$ENDIF}
// ******************************************************************
//
// Program Name : Angelic Tech Linux Library
// Program Version: 2017
// Platform(s) : Linux
// ... |
unit uFloodMap;
interface
uses
Windows, UContainer, Classes, Jpeg, Graphics, UCell, UAWSI_Utils,UClientFloodInsights,
UStrings,UMapUtils, UBase, uEditor,UPgAnnotation, uGlobals;
function LoadFloodMap(doc: TContainer; AddrInfo: AddrInfoRec; var Abort: Boolean; var sl: TStringList): Boolean;
implementation
... |
unit core_camera;
{$mode objfpc}{$H+}
interface
uses
Classes,core_types,vectortypes, VectorGeometry;
type
{ TCamera }
TCamera = class
private
fposition : TAffineVector;
ftarget : TAffineVector;
left90Down,right90Down:boolean;
rot90FromAngle:single;
rot90Time:single;
rot90angle:s... |
Program graphics_area;
{$IFNDEF HASAMIGA}
{$FATAL This source is compatible with Amiga, AROS and MorphOS only !}
{$ENDIF}
{$MODE OBJFPC}{$H+}{$HINTS ON}
{$UNITPATH ../../../Base/CHelpers}
{$UNITPATH ../../../Base/Trinity}
{
===========================================================================
Project : g... |
unit DCP;
interface
(*
The *.DCP (Delphi Compiled Package) support routines and data types
of the DCU32INT utility by Alexei Hmelnov.
----------------------------------------------------------------------------
E-Mail: alex@icc.ru
http://hmelnov.icc.ru/DCU/
-------------------------------------------------------------... |
unit BestBuyForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, PokerCards, Grids;
type
TfrmBestBuy = class(TForm)
grdResults: TStringGrid;
lblResult: TLabel;
Timer: TTimer;
procedure FormActivate(Sender: TObject);
pr... |
unit Di05;
{
ULDI05.DPR ================================================================
File: DI05.PAS
Library Call Demonstrated: cbDBitIn()
Purpose: Reads digital AUXPORT bits.
Demonstration: Sets cbDBitIn() to use AUXPORT and reads
... |
unit JLXPComCtrls;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, ComCtrls, JLTmschema,
JLUxtheme, StdCtrls;
type
{ TJLXPToolBar }
TJLXPToolBar = class(TToolBar)
protected
procedure WndProc(var Message: TMessage); override;
end;
{ TJLXPStatusBar }
TJLXPSta... |
{**************************************************************
Smooth Imaging Components - TIFF Components for Delphi
Copyright (C) 2002 - Poseidonware.com
Author:
Steven Boren - sboren@poseidonware.com
Jan Oosting - j.oosting@lumc.nl
This program is free software; you can redistrib... |
// Fit4Delphi Copyright (C) 2008. Sabre Inc.
// 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 2 of the License, or (at your option) any later version.
//
// This program is ... |
(*
Copyright (c) 2011, Stefan Glienke
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 conditions and t... |
// ====================================================================================
// Wirth's Chainlet
// A terribly stupid implementation of a singly linked list using prehistoric Pascal.
// ====================================================================================
program WirthsChainlet;
// TYPES DECL... |
unit AqDrop.Core.AnonymousMethods;
interface
type
/// ------------------------------------------------------------------------------------------------------------------
/// <summary>
/// EN-US:
/// Anonymous method equivalent to TNotifyEvent.
/// PT-BR:
/// Método anônimo equivalente... |
unit uClient;
interface
uses System.Classes;
type
TClientBase = class(TComponent)
type
TFilterClient = class
private
FUf: string;
FCodigo: integer;
FNome: string;
FCidade: string;
procedure SetCidade(const Value: string);
procedure SetCodigo(const Val... |
unit core_render;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,fgl,dglOpenGL,vectorGeometry,core_material_library,core_types,
core_camera,core_utils,geometryBB, core_matrixStack,renderable_object_types,
core_gBuffer,core_lights,VectorTypes,core_block_brush, core_dynamic_object,core_texture,
core_orde... |
unit beepForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
btn1: TButton;
procedure btn1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TF... |
unit BombaDAO;
interface
uses
Data.SqlExpr, SysUtils, Forms, Windows, Util, Bomba, TanqueBO;
type
TBombaDAO = class
private
{ private declarations }
public
function ObterListaBombas(Descricao: String = ''):TSQLQuery;
function ObterBombaPorId(Id :Integer):TBomba;
function UltimaBomba:TBomba;
... |
type
// @abstract The match type of the Dynamic Link.
// typedef NS_ENUM(NSUInteger, FIRDLMatchType)
FIRDLMatchType = NSUInteger;
const
// The match has not been achieved.
FIRDLMatchTypeNone = 0;
// The match between the Dynamic Link and this device may not be perfect, hence you should not
... |
program e3p3;
uses
crt;
const
MAX_ELEMENTOS = 10;
type
puntNodo = ^tNodo;
tNodo = record
numero:integer;
sig:puntNodo;
end;
////////////////////////////////////////////////////////////////////////
procedure eliminarLista(var lista:puntNodo);
begin
if (lista <> nil) then
eliminarL... |
unit uClipboard;
interface
uses
Classes;
procedure LoadClipboard(S: TStream);
procedure SaveClipboard(S: TStream);
procedure SetTextClipboard;
function IsUnicodeInClipboard: Boolean;
implementation
uses
Windows,
SysUtils;
const
UnicodeFormat: Cardinal = CF_UNICODETEXT;
function IsUnico... |
unit ufrmBanques;
// |===========================================================================|
// | unit ufrmBanques |
// | 2010 F.BASSO |
// |_________________________________________________... |
unit IdTestMessageCoderMime;
interface
uses
IdMessageCoderMIME,
IdSys,
IdTest;
type
TIdTestMessageCoderMime = class(TIdTest)
published
procedure TestFilename;
end;
implementation
procedure TIdTestMessageCoderMime.TestFilename;
//http://support.microsoft.com/kb/177506/EN-US/
var... |
unit UuidGenerator;
interface
uses
SysUtils;
type
TUuidGenerator = class(TObject)
public
constructor Create(lastName:String; birthYear:String='');
function getUuid : String;
private
uuid:String;
end;
implementation
constructor TUuidGenerator.Create(lastName:String; birthYear:String='');
v... |
unit lDeviceInfo;
interface
{$IFDEF IOS}
uses
iOSapi.UIKit, iOSapi.Foundation, Macapi.Helpers;
{$ENDIF}
{$IFDEF ANDROID}
uses
FMX.Platform.Android,
Androidapi.JNI.JavaTypes,
Androidapi.Helpers,
Androidapi.JNI.Os;
{$ENDIF}
type
TMobileDeviceInfo = class
private
{$IFDEF IOS}
class... |
unit FXMLLoader;
{
Restrictions :
- No more than 512 * subframes per frame
* textures
* fontstrings
- No more than 512 levels of subframes
}
interface
uses
XMLIntf, XMLDoc, FLogs, SysUtils, FFonts, FLua, FOpenGL, FTextures;
type
// Global... |
unit menueditorunit;
{$mode objfpc}{$H+}
interface
uses
SysUtils, Classes,
IDETypes, NodeTreeUnit,
MUI,
MUIClass.Base, MUIClass.Area, MUIClass.Window,
MUIClass.Group, MUIClass.Menu;
type
TMenuEditor = class(TMUIWindow)
private
ActionPanel: TMUIGroup;
AddBtn, SubBtn, RemBtn: TMUIButton;
CurMen... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls, FMX.ScrollBox, FMX.Memo,
DW.Notifications;
type
TForm1 = class(TForm)
ImmediateButton: TButton... |
unit ReceiptEdit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ParentForm, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore,
dxSkinBlack, dxSkinBlue, dxSkinBl... |
{-------------------------------------------------------------------------------
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/
So... |
unit Un_Contagem;
interface
uses System.SysUtils, System.Variants, System.Classes;
type
TContagem = class( TComponent )
private
FTempos: Array of TDateTime;
FQuantidade: Integer;
function getTempoMedio: TDateTime;
function getFQuantidade: Integer;
function getPrimeiro: TDateTime;
public... |
{------------------------------------------------------------------------------
TDzTalkApp component
Developed by Rodrigo Depine Dalpiaz (digao dalpiaz)
Non visual component to communicate between applications
https://github.com/digao-dalpiaz/DzTalkApp
Please, read the documentation at GitHub link.
------------------... |
{$ifdef license}
(*
Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com )
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this li... |
{$ifdef license}
(*
Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com )
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this li... |
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence }
{ Team Coherence is Copyright 2002 by Quality Software Components }
{ }
{ For further ... |
unit ParamEditController;
interface
uses
Classes, SysUtils, tiObject, mapper, mvc_base, widget_controllers, AppModel,
ParamEditViewFrm, BaseOkCancelDialogController;
type
// -----------------------------------------------------------------
// Class Objects
// ----------------------------------------------... |
unit Download.Model.Dados;
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.SQLite,
FireDAC.Phys.SQLiteDef, FireDAC.Stan.ExprFuncs,... |
{$MODESWITCH RESULT+}
{$GOTO ON}
(*************************************************************************
Copyright 2009 by Sergey Bochkanov (ALGLIB project).
>>> SOURCE LICENSE >>>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as pub... |
//==============================================================================
// Module name : $RCSfile: GenUtils.pas,v $
// Description : This unit defines global functions, which are not dependent on
// any other unit except standard unit of delphi.
// Copyright : (c) Metronix 2014
// Reversion... |
unit static_fifo;
{* implementação de uma fila utilizando arranjos*}
interface
{* constantes de utilização da fila *}
const MAX = 10;
{* definição de tipos *}
type pointer = integer;
type data = integer;
type fifo = record
item : array[1..MAX] of data;
first, last : pointer;
end;
... |
{$I ..\Definition.Inc}
unit WrapFmxDialogs;
interface
uses
FMX.Dialogs, WrapFmxTypes, PythonEngine;
type
TPyDelphiOpenDialog = class(TPyDelphiFmxObject)
private
function GetDelphiObject: TOpenDialog;
procedure SetDelphiObject(const Value: TOpenDialog);
protected
// Exposed Methods
function ... |
unit DeckLinkDevice;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, System.SyncObjs, System.Generics.Collections,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Winapi.ActiveX, Winapi.DirectShow9,
DeckLinkAPI, DeckLinkAPI.Discovery, DeckLinkA... |
unit udatasaham;
{
NIM/Nama : 16515034/Mikhael Artur Darmakesuma
Nama file : udatasaham.pas
Topik : skema
Tanggal : 27 April 2016
Deskripsi : unit udatasaham digunakan untuk mengelola data kepemilikan saham perusahaan dari beberapa pemilik perseorangan. udatasaham juga digunakan untuk mengelola (membaca dan menu... |
unit OAuth2.Entity.AccessToken;
interface
uses
System.SysUtils,
OAuth2.Contract.Entity.Scope,
OAuth2.Contract.Entity.Client,
OAuth2.Contract.Entity.AccessToken,
OAuth2.Entity.Token,
OAuth2.CryptKey;
type
TOAuth2AccessTokenEntity = class(TOAuth2TokenEntity, IOAuth2AccessTokenEntity)
private
{ pri... |
unit SecondStage;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, RocketPotentialPayload, BaseModel;
type
IBaseSecondStage = interface(IBaseModel) ['{8954442C-5B2C-4F67-A1CF-526A27A11B6A}']
function GetBurnTimeSeconds: LongWord;
function GetEngines: LongWord;
function GetFuelAmountTons: LongW... |
namespace ResultsViewer;
interface
uses
System.Collections.Generic,
System.Linq,
System.Text;
type
DataOrder = public enum (TotalTicks, TicksWithoutChildren, Count, Name); // Match with cb order
SubOrder = public enum (LevelCount, LevelTotalTicks, LevelSubTicks);
Data = public class
p... |
{
Процедура удаления записи из адресной книги
Параметры
name строка название адресной книги
position число позиция в файле, которую надо удалить
}
procedure AddressBookRemoveEntry(name : string; position : integer);
var
f : file of AddressBookEn... |
unit TSTORgbProgress;
interface
Uses
HsInterfaceEx;
Type
IRgbProgress = Interface(IInterfaceEx)
['{4B61686E-29A0-2112-95F5-7E2008F64210}']
Function GetItemProgress() : Byte;
Procedure SetItemProgress(Const AItemProgress : Byte);
Function GetCurOperation() : String;
Procedure SetCurOperatio... |
{
@abstract(Exception classes for GMLib.)
@author(Xavier Martinez (cadetill) <cadetill@gmail.com>)
@created(August 2, 2022)
@lastmod(August 2, 2022)
The GMLib.Exceptions unit provides access to the exceptions raised by GMLib.
}
unit GMLib.Exceptions;
{$I ..\gmlib.inc}
interface
uses
{$IFD... |
unit HSORM.Controller.Contato;
interface
uses
Horse,
System.JSON, REST.Json,
System.SysUtils, SORM.Model.DAOGeneric ;
procedure Registry(App: THorse);
procedure Get(Req: THorseRequest; Res: THorseResponse; Next: TProc);
procedure GetID(Req: THorseRequest; Res: THorseResponse; Next: TProc);
procedure Post(Req: ... |
unit RepositorioItem;
interface
uses
DB, Auditoria, Repositorio, FabricaRepositorio;
type
TRepositorioItem = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function ... |
{***************************************************************************}
{ }
{ DelphiUIAutomation }
{ }
{ ... |
unit U_frmcadastroMensalidade;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
Buttons, StdCtrls, U_Utils, U_FrmCadastroBase, U_dtmcadastroMensalidade,
U_Mensalidade;
type
{ TfrmcadastroMensalidade }
TfrmcadastroMensalidade = class(TFrmCadast... |
unit dmGraficoBolsa;
interface
uses
SysUtils, Classes, IBCustomDataSet, IBUpdateSQL, DB, IBQuery, IBSQL,
Contnrs, GraficoLineasLayer;
type
TDataGraficoBolsa = class(TDataModule)
qLineas: TIBQuery;
qLineasOID_LINEA: TSmallintField;
qLineasOR_VALOR: TSmallintField;
qLineasY1: TIBBCDField;
qLi... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
VBands, StdCtrls, Spin;
type
TForm1 = class(TForm)
VMainBand1: TVMainBand;
Memo1: TMemo;
ckLeft: TCheckBox;
ckRight: TCheckBox;
ckTop: TCheckBox;
ckBottom: TCheckBox;
sedWidth: TSpin... |
{******************************************************************************}
{ }
{ LazORM Project }
{ ... |
unit uEditaEvento;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, JvExControls, JvXPCore, JvXPButtons, DB, kbmMemTable, StdCtrls, Grids, DBGrids, Mask, JvExMask, JvToolEdit, JvBaseEdits,
uTabelaPrecoEditaEvento;
type
TfrmEditaEvento = class(TForm)
Labe... |
PROGRAM QMTime;
{ Quantal time development in one dimension. }
{ By Dan Styer (dstyer@physics.oberlin.edu). Version 1.0. 29 August 1994. }
{ This version uses the CUPS utilities of 7 July 1994, including workarounds
for bugs in that release. }
{ Contents of program QMTime:
Introduction (including notes on modi... |
unit UnitAlterar;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.Win.ADODB, Vcl.StdCtrls, db,
Vcl.Mask, Vcl.DBCtrls;
type
TfrmAlterar = class(TForm)
edt_nomeAlterar: TEdit;
edt_cidadeAlterar: T... |
unit WVCtrls;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit>
<What>
<Written By> Huang YanLai (黄燕来)
<History>
1.1 修改了从字段到控件的同步方式。如果控件是退出时候同步,并且控件的值已经修改,那么强制更新
1.0
<Guide>
如果控件是只读的,那么修改控件的值无法同步到工作字段!
******************... |
PROGRAM MemoryAddressFunction;
CONST LOWER_INDEX = 1;
UPPER_INDEX = 10;
LOWER_1D = 1;
UPPER_1D = 3;
LOWER_2D = 1;
UPPER_2D = 4;
TYPE IntegerArray = ARRAY [LOWER_INDEX..UPPER_INDEX] OF INTEGER;
FUNCTION MAF1D(startAddr: LONGINT; index, typeSize: INTEGER): LONGINT;
BEGIN
MAF1D := startAddr + ((index - LOWER_INDE... |
unit IdTestHttpServer;
interface
uses
IdGlobal,
IdContext,
IdHttp,
IdCustomHttpServer,
IdHttpServer,
IdHttpHeaderInfo,
IdObjs,
IdSys,
IdTest;
type
TIdTestHttpServer = class(TIdTest)
private
procedure HandleSimpleGet(AContext:TIdContext; ARequestInfo: TIdHTTPRequestInfo; AR... |
unit uClientes;
interface
uses
System.Classes, System.Generics.Collections, FireDAC.Comp.Client;
type
TClientes = class(TObject)
private
FCodigo : Integer;
FNome : String;
FEndereco : String;
FEmail : String;
public
property Codigo : Integer read FCodigo write FCodig... |
unit UFileCatcher;
interface
uses Windows, ShellApi;
type
TFileCatcher = class(TObject)
private
fDropHandle: HDROP;
function GetFile(Idx: Integer): string;
function GetFileCount: Integer;
function GetPoint: TPoint;
public
constructor Create(DropHandle: HDROP);
destructor ... |
unit ProdColorPatternEdit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxPropertiesStore,
cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer,
cxEdit, Vcl.Menus, Vcl.StdCtrls, cxBut... |
{*!
* Fano Web Framework (https://fanoframework.github.io)
*
* @link https://github.com/fanoframework/fano
* @copyright Copyright (c) 2018 Zamrony P. Juhara
* @license https://github.com/fanoframework/fano/blob/master/LICENSE (MIT)
*}
unit DaemonAppImpl;
interface
{$MODE OBJFPC}
{$H+}
uses
Runnable... |
{* MIDAS.PAS
*
* Simplified MIDAS Sound System API
*
* Copyright 1995 Petteri Kangaslampi and Jarno Paananen
*
* This file is part of the MIDAS Sound System, and may only be
* used, modified and distributed under the terms of the MIDAS
* Sound System license, LICENSE.TXT. By continuing to use,
* ... |
unit Juros;
interface
uses TipoJuros;
type
TJuros = class
private
codigo: integer;
juros: double;
mora: double;
acrescimo: double;
diaAtraso: integer;
statusGrupo: integer;
TipoJuros: TTipoJuros;
public
constructor Create();
destructor Destroy(); over... |
unit TanqueBO;
interface
uses
Data.SqlExpr, SysUtils, Forms, Windows, Util, TanqueDAO, Tanque;
type
TTanqueBO = class
private
{ private declarations }
public
function ObterListaTanques(Descricao: String = ''):TSQLQuery;
function ObterTanquePorId(Id :Integer):TTanque;
function UltimoTanque:TTa... |
unit UFileMLSImport;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2007 by Bradford Technologies, Inc. }
{ This is the unit for importing data form MLS }
interface
uses
Windows, Messages, SysUt... |
unit UFacadeValidationData;
interface
uses
SysUtils, UPerson, UPhysicalPerson, UUser, UAppController, PCRE, pcre_dll,
Variants, DateUtils, Classes;
type
TFacadeValidationData = class
private
errors: string;
{ SINGLETON }
class function NewInstance: TFacadeValidationData;
function CheckIfIsNu... |
unit AT.Vcl.DX.NativeFileSelector;
interface
uses
Winapi.ShlObj,
System.Classes, System.UITypes, System.SysUtils,
Vcl.Controls, Vcl.ImgList,
cxControls, dxShellBreadcrumbEdit, dxLayoutLookAndFeels,
cxShellListView, cxShellTreeView, cxShellControls,
AT.Vcl.DX.NativeFileSelector.Frame;
type
[ComponentPla... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
{─────────────────────────────────────────────────────────────────────
Holy Land - A Pascal Project - Utility Functions
Copyright (c) 2019 Tóth Balázs Aladár
No warranty.
─────────────────────────────────────────────────────────────────────}
unit HLUtils;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils... |
unit api.parrot.ardrone;
interface
{$SCOPEDENUMS ON}
uses
System.SysUtils, System.Classes,
IdBaseComponent, IdComponent, IdGlobal,
IdUDPBase, IdUDPClient,
IdTCPConnection, IdTCPClient;
type
TDroneMovement = (
Hover,
MoveUp,
MoveDown,
MoveLeft,
MoveRight,
MoveForward,
MoveBackwa... |
{$ifdef license}
(*
Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com )
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this li... |
PROGRAM PseudographicPrinting(INPUT, OUTPUT);
CONST
MinValueOfCoord = 1;
MaxValueOfCoord = 25;
MinSymbol = 'A';
MaxSymbol = 'Z';
TYPE
Sets = SET OF MinValueOfCoord .. MaxValueOfCoord;
VAR
Symbol: CHAR;
PROCEDURE PrintSymbolByCoord(VAR FOut: TEXT; VAR Symbol: CHAR);
VAR
Indication: INTEGER;
Program... |
unit IdTest;
//minimal/example test runner for .net/mono
//feel free to improve this code
interface
uses
System.Reflection,
IdObjs,
IdBaseComponent;
type
TIdTest = class;
TIdTestClass = class of TIdTest;
TIdTest = class(TIdBaseComponent)
public
class procedure RegisterTest(con... |
unit RepositorioPisNt;
interface
uses
DB,
Repositorio;
type
TRepositorioPisNt = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIdentificador(Objeto :TO... |
unit Sample2.Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Memo1: TMemo;
procedure Button1Click(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarati... |
unit Intersect;
interface
uses Types;
// TFloatPoint : a point in floating point format
type TFloatPoint = record
x : single;
y : single;
end;
type TFloatRect = record
Point1 : TFloatPoint;
Point2 : TFloatPoint;
Point3 : TFloatPoint;
Point4 : TFloatPoint;
end;
type TFloatCirc... |
// see ISC_license.txt
{$I genLL.inc}
unit Runtime;
interface
uses
Types, Classes, SysUtils, nQueues, Tokens;
const
CHAR_EOF = -1;
LEX_EOF = -1;
LEXNONE = 0;
type
ERecognitionException = class(Exception);
ENoViableAltException = class(ERecognitionException); // need to remove
EMismatchedCharException ... |
{$A-,B+,D+,E-,F+,G-,I+,L+,N+,O+,P-,Q-,R-,S+,T-,V+,X+}
{$M 16384,0,600000}
Unit BStack;
Interface
Type
PPointer =^TPointer;
TPointer =Record
Info:Pointer;
Next:PPointer;
End;
TStack =Object
Head:PPointer;
Constructor Init;
Procedure InitHead(H:Pointer);
Procedu... |
unit ErrorsMessageFormU;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TErrorsMessageForm = class(TForm)
Memo1: TMemo;
Label1: TLabel;
private
FErrors: TArray<String>;
... |
{ 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/ }
{ ... |
Unit CXC326;
// Inicio Uso Estándares: 01/08/2011
// Unidad : CXC326
// Formulario : frmPleDatosCliente
// Fecha de Creación : 18/04/2013
// Autor : Abelardo Sulca Palomino
// Objetivo : Ventana que permite modificar los datos del cliente
// ... |
unit RocketEndpoint;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Rocket;
type
IRocketEndpoint = interface(IInterface) ['{A5D91091-21F4-4671-9D04-21C57C7475B9}']
function All: IRocketList;
function One(const Id: string): IRocket;
end;
function NewRocketEndpoint: IRocketEndpoint;
implementat... |
{ Invokable interface IAntennaWS }
unit AntennaWSIntf;
interface
uses InvokeRegistry, Types, XSBuiltIns, ElbrusTypes, Elbrus, CommunicationObj;
type
{ Invokable interfaces must derive from IInvokable }
IAntennaWS = interface(IInvokable)
['{E5342DDF-910D-4454-AE9B-B270C4865639}']
//Status
... |
unit SCMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus,
TB2Item, ImgList, DBActns, ActnList, ActnMan, ExtCtrls,
ActnMenus, GraficoBolsa, AppEvnts, uAccionesVer,
SpTBXItem, TB2Dock,
TB2Toolbar, XPStyleActnCtrls, BusCommunication, fmBaseFormVis... |
unit Cadastro;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, xmldom, XMLIntf, StdCtrls, msxmldom, XMLDoc, Buttons,
IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, Ma... |
unit AqDrop.Core.Automaton;
interface
uses
AqDrop.Core.Collections.Intf;
type
/// ----------------------------------------------------------------------------------------------------------------
/// <summary>
/// EN-US:
/// Enum type that defines the states types of an automaton:
/// ... |
// Author: Wayne Buchner
// Student ID: 6643140
// Date: 03/04/2011
// Program: MyFriends.pas
// Description: reads strings from a prompt into an array
program MyFriends;
Function ReadString(prompt : String):String;
begin
Write(prompt);
ReadLn(result);
end;
procedure PopulateFriends(var list : array of String);
var... |
unit DataMultiJC;
// TMultiJCTableData - trida starajici se o vyplneni tabulky slozenych jizdnich
// cest
interface
uses ComCtrls, SysUtils;
type
TMultiJCTableData=class
private
LV:TListView;
public
procedure LoadToTable();
procedure UpdateTable();
procedure UpdateLine(line... |
{
ClickFORMS
(C) Copyright 1998 - 2010, Bradford Technologies, Inc.
All Rights Reserved.
Purpose: A panel to navigate pages of a document.
}
unit UControlPageNavigatorPanel;
interface
uses
Contnrs,
ControlAdvancedPanel,
ExtCtrls,
Types,
UContainer,
UPage;
type
/// summary: Event occuring whe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.