text stringlengths 14 6.51M |
|---|
unit uBayer;
interface
uses
System.SysUtils, System.Variants, System.Classes, System.JSON, Data.DB,
Vcl.Dialogs, REST.Types, REST.Client, REST.Response.Adapter,
Winapi.Windows, Vcl.Forms, ShellApi, IdHTTP, IdSSLOpenSSL, System.IOUtils,
Datasnap.DBClient;
type
TBayerAPI = class(TObject)
private
FREST... |
unit AccountServiceBase;
interface
uses
Account;
type
TAccountServiceBase = class
public
procedure TransferFunds(ASource, ATarget: TAccount; AAmount: Currency); virtual; abstract;
end;
implementation
end.
|
unit Unit2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids;
type
TMyHint = class(THintWindow)
private
{ Private declarations }
public
{ Public declarations }
procedure doActivateHint(Sender : TObject);
end;
var
myHint: TMy... |
unit GrfPrim;
interface
uses
GrEPS,
Windows, Classes, Graphics, SysUtils, Math, Jpeg;
var
WinFonts : array[epsFonts] of TFont;
const
grfNum = '%.12g';
ComprAllBmp : Boolean = False;
type
Number = Double;
TFPoint = packed record
X: Number;
Y: Number;
end;
TFPoints = array of TFPoint;
TPoints = a... |
unit Instructions;
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, cxStyles, dxSkinsCore, dsdAddOn,
dsdDB, dsdAction, Vcl.ActnList, d... |
unit tadpilha;
interface
const
max = 1000;
type
Tpilha = record
item: array [1 .. max] of integer;
top:integer;
end;
function pilhaCheia(var p:Tpilha):boolean;
//Pilha cheia
function pilhaVazia(var p:Tpilha):boolean;
//Pilha vazia
function pop(var p:Tpilha):integer;
//Desempilha
procedure push(var p:Tpilh... |
unit core_key_bindings;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,fgl,TypInfo,core_types;
type
//each action that can be executed by user pressing keys
//on different systems key codes may be different so each action is paired with a number
//(key code) that can be reasigned. also allows easy cust... |
unit FROGColorTable;
interface
uses FrogObj, Graphics;
type
TFROGColorTable = class(TFrogObject)
private
procedure GenerateColorTable; // Makes the color table
public
ColorTable: array[1 .. 100] of TColor; // The FROG color table
constructor Create;
end;
implementation
uses Math;
constructor TF... |
unit previewer;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Graphics, ExtCtrls;
type
TPreviewerView = (pvCamera, pvTop, pvBottom, pvFront, pvBack, pvLeft, pvRight);
{ TPreviewer }
TPreviewer = class
private
procedure SetX(AValue: integer);
procedure SetY(AValue: integer);
protected
... |
unit UnitEps;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Buttons;
type
TFrmEps = class(TForm)
Panel3: TPanel;
BCancelar: TSpeedButton;
Baceptar: TBitBtn;
SPcerrar: TSpeedButton;
Label1: TLabel;
La... |
unit MdRView;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Grids, DB, StdCtrls;
type
TMdRecordView = class(TCustomGrid)
private
// data-aware support
FDataLink: TDataLink;
function GetDataSource: TDataSource;
procedure SetDataSource (Value: TDataSou... |
{%RunFlags BUILD-}
unit mbmain;
{$mode objfpc}{$H+}
interface
uses
Classes,
xlbtdevice,
SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
Button2: TButton;
Edit1: TEdit;
Label1: TLabel;
Memo1: TMemo;
procedur... |
{ @abstract(This file is part of the KControls component suite for Delphi and Lazarus.)
@author(Tomas Krysl)
Copyright (c) 2020 Tomas Krysl<BR><BR>
<B>License:</B><BR>
This code is licensed under BSD 3-Clause Clear License, see file License.txt or https://spdx.org/licenses/BSD-3-Clause-Clear.html.
}
... |
unit CriaBalaoInformacao;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Commctrl, StdCtrls;
type
TCriaBalaoInformacao = class
public
{TIPO = 0(sem icone) 1(informacao) 2(aviso) 3(erro)}
class procedure ShowBalloonT... |
unit FrameAdmin;
interface
uses
Windows, SysUtils, Forms, Menus, StdCtrls, ExtCtrls, ComCtrls, Controls, LoginWS, Classes, CommonObjs, InvokeRegistry;
type
TFrame_Admin = class(TFrame)
ListView1: TListView;
PopupMenu1: TPopupMenu;
Insertar1: TMenuItem;
Eliminar1: TMenuItem;
Panel... |
unit Main;
{$include kcontrols.inc}
interface
uses
{$IFDEF FPC}
LCLIntf, LCLType, LMessages, LResources, SQLdb, odbcconn,
{$ELSE}
Windows, Messages, Mask, ADODB, DBClient, Provider,
{$ENDIF}
SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DB, DBCtrls, KGrids, KDBGrids,... |
unit StringEditorUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PropertyEditUnit, StdCtrls, Menus, clipbrd;
type
TStringEditor = class(TPropertyEditor)
Memo: TMemo;
btnOk: TButton;
btnCancel: TButton;
btnHelp: TButton;
... |
program PopShell;
{$IFNDEF HASAMIGA}
{$FATAL This source is compatible with Amiga, AROS and MorphOS only !}
{$ENDIF}
{
Project : PopShell
Topic : Simple hot key commodity
Source : RKRM
}
{$MODE OBJFPC}{$H+}{$HINTS ON}
{$UNITPATH ../../../Base/CHelpers}
{$UNITPATH ../../../Base/Trinity}
{$IFDEF AMIGA... |
unit Model.Services.Order;
interface
uses Model.Services.Interfaces,
Model.Entities.Order, Model.Components.Connections.interfaces,
Model.Components.Connections, System.SysUtils, Data.DB;
type
TModelServicesOrder = class(TInterfacedObject,IModelServicesOrder<TModelEntitiesOrder>)
private
FConnection : IMo... |
unit LoadReportTest;
interface
uses
TestFramework, frxClass, frxDBSet, Classes, frxDesgn;
type
TLoadReportTest = class (TTestCase)
private
Stream: TStringStream;
Report: TfrxReport;
OKPO : array of string;
procedure LoadReportFromFile(ReportName, ReportPath: string);
procedure TStrArrAdd(c... |
unit pasProcs;
interface
uses
Windows, SysUtils, Forms, Classes, Comctrls, XaudioPlayer,
Dialogs, stdctrls, Graphics;
type
TClockUnit = record
Hours, Minutes, Seconds: Integer;
end;
procedure RefreshFileList;
procedure UpdateListNumbers;
procedure PlaySong(SongNumber: Integer; OnThePlayer, ... |
unit TadResults;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, TadGrapher;
type
TTadResults = record
TempWidth: double;
SpecWidth: double;
AutoWidth: double;
FWHM: double;
RMS: double;
TL: double;
SL: double;
end;
TfrmTadRes... |
unit CSOSNTributadoSNSemCredito;
interface
type
TCSOSNTributadoSNSemCredito = class
private
FBase: Real;
FAliquota: Real;
private
function GetValor: Real;
public
constructor Create(Aliquota :Real; Base :Real);
public
property Aliquota :Real read FAliquota;
property Base :Real ... |
{ *************************************************************************** }
{ }
{ This file is part of the XPde project }
{ }
... |
unit unit_FunctionEditor;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, RzGrids, Vcl.ExtCtrls,
RzPanel, RzCommon, RzRadChk, unit_const;
type
TFunctionEditor = class(TRzPanel)
pr... |
unit TADCals;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ComCtrls, FileCtrl, ExtCtrls, Func1D, OutputCals, ReadIn, TadMgr;
type
TfrmTADCals = class(TForm)
pgcTADCals: TPageControl;
tbsInputs: TTabSheet;
tbsRef: TTabSheet;
lblTAD: TLabel;
... |
unit Ai10;
{
ULAI10.DPR================================================================
File: AI10.PAS
Library Call Demonstrated: cbALoadQueue()
Purpose: Loads an A/D board's channel/gain queue.
Demonstration: Prepares a channel/gain queue and... |
{
TPrinterInfo Component Version 1.1 - Suite GLib
Copyright (©) 2009, by Germán Estévez (Neftalí)
Representa los dispositivos de impresión conectados a la máquina.
Utilización/Usage:
Basta con "soltar" el componente y activarlo.
Place the component in the form and active it.
MSDN Info... |
unit TestuHTMLWriter;
{
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, SysUtils, uHT... |
unit Unit3;
{$mode objfpc}{$H+}
interface
uses
Forms, StdCtrls;
const
VIDEODESKTOP_REG_KEY = 'VideoDesktop';
type
{ TForm3 }
TForm3 = class(TForm)
Button1: TButton;
Button2: TButton;
cbRunOnStartup: TCheckBox;
cbLoop: TCheckBox;
procedure Button1Click(Sender: TObject);
procedure Form... |
unit Caixa;
interface
uses
SysUtils,
Contnrs, Movimento, Repositorio, Printers;
type
TCaixa = class
private
Fcodigo: integer;
Fvalor_abertura: Real;
Fvalor_fechamento: Real;
Fdata_fechamento: TDateTime;
Fdata_abertura: TDateTime;
FTotal_dinheiro :Real;
FTotal_cheque :Real;
FT... |
unit UConveyor;
interface
uses USimulation;
type
TDetail = class(TProcess)
protected
procedure RunProcess; override;
end;
TDetailGenerator = class(TProcess)
protected
procedure RunProcess; override;
end;
TConveyor = class(TSimulation)
public
// Генератор деталей
Generator : TDetailGe... |
{*******************************************************************************
* *
* TksFormStack *
* ... |
{-------------------------------------------------------------------------------
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 GraphicsUtils;
Interface
Uses
System.SysUtils, System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Graphics, Vcl.Forms,
Vcl.Consts, Vcl.Themes, Vcl.Buttons,
Winapi.Windows, Winapi.GDIPAPI, Winapi.GDIPOBJ;
Const
R_COEF: DWORD = 19595; // 65536 * 0.299 = 19595
G_COEF: DWORD = 38469; // 65536 * 0.587 = 38469
B_C... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
//
// Copyright (c) Jasper Schellingerhout. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
// I kindly request that you notify me if you use this in your software projects.
// Project located at: https://github.com/schellingerhout... |
//Долги
unit fDebt;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, DB, RxMemDS, Grids, DBGridEh, RXSplit, DBCtrlsEh,
StdCtrls, Mask, ExtCtrls, uChild... |
unit DataInventario;
interface
uses
SysUtils, Classes, DB, ADODB;
type
TDMI = class(TDataModule)
Inventario: TADOTable;
InventarioCodigoId: TStringField;
InventarioDonacionId: TStringField;
InventarioProductoID: TWideStringField;
InventarioCantidad: TBCDField;
InventarioFecha: TDateTimeFi... |
unit uMensage;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Effects, FMX.ScrollBox, FMX.Memo, FMX.TabControl, FMX.Layouts,
FMX.Controls.Presentation, FMX.Objects, FMX.ActnList, u... |
unit GR32_PolygonsOld;
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1 or LGPL 2.1 with linking exception
*
* 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 ... |
unit HlpBlake2BP;
{$I ..\Include\HashLib.inc}
interface
uses
SysUtils,
{$IFDEF HAS_DELPHI_PPL}
System.Classes,
System.Threading,
{$ENDIF HAS_DELPHI_PPL}
HlpHash,
HlpIHashResult,
HlpBlake2B,
HlpIBlake2BConfig,
HlpBlake2BConfig,
HlpIBlake2BTreeConfig,
HlpBlake2BTreeConfig,
HlpIHash,
HlpIHashInf... |
unit uUtilidades;
interface
uses SysUtils;
type
TUtilidades = class
class function IsEmpty(str: string): Boolean;overload;
class function IsEmpty(num: integer): Boolean;overload;
end;
TUtilidadesSeguranca = class
class function EncriptarSenha(senha: string): string;
end;
implementation
uses ... |
unit Membuf;
// A growable continuous in-memory buffer in pure Object Pascal/Delphi.
// https://github.com/liigo/membuf.pas
// Liigo, 201603.
interface
uses SysUtils;
type
TMembuf = class
private
FData: PByte;
FSize: Integer;
FBufSize: Integer;
public
constructor Create(BufSize: Integer; con... |
unit ComWriUtils;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit> ComWriUtils
<What> 控件编写者的工具
<Written By> Huang YanLai(黄燕来)
<History>Move TSafeProcCaller to CompUtils
**********************************************}
interface
us... |
(*
DirectX audio in/out components
This file is a part of Audio Components Suite.
All rights reserved. See the license file for more details.
Copyright (c) 2002-2009, Andrei Borovsky, anb@symmetrica.net
Copyright (c) 2005-2006 Christian Ulrich, mail@z0m3ie.de
Copyright (c) 2014-2015 Sergey Bodrov, serbod@gm... |
unit Adapter.Interfaces.ITarget;
interface
// The Target defines the domain-specific interface used by the client code.
// Define a interface específica do domínio usado pelo código do cliente.
type
ITarget = interface
function GetRequest : string;
end;
implementation
end.
|
unit uDemoScanHref;
interface
uses
uDemo;
type
TDemoScanHref = class(TDemo)
strict private
procedure DumpHRefs(const InputString: String);
strict protected
procedure Run; override;
public
class function Description: String; override;
end;
implementation
uses
SysUtils,
RegularExpressions... |
unit uFramework;
interface
type
TMailFormat = class
end;
THTMLFormat = class(TMailFormat)
end;
TTXTFormat = class(TMailFormat)
end;
TMailMessage = class
private
FMensagem: string;
FFormat: TMailFormat;
public
property Mensagem: string read FMensagem write FMensagem;... |
unit EmoPanel;
interface
uses
FMX.Types,
FMX.Graphics,
FMX.Controls,
System.UITypes,
System.Generics.Collections,
System.Classes,
System.Types;
type
TEmojiItem = class(TObject)
private
FImage: TBitmap;
FFileName: string;
FTag: string;
FRect: TRectF;
public
constructor Create(c... |
unit Frm_CodigosPostales_Editor;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses,
uniGUIClasses, uniGUIForm, Frm_Dialogo, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.Phys.Intf, Fir... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs,
StdCtrls, Unit2;
type
{ TForm1 }
TForm1 = class(TForm)
executeBtn: TButton;
profileList: TComboBox;
cProfileLbl: TLabel;
nProfileLbl: TLabel;
current: TLabel;
procedure e... |
unit UFtpUtils;
interface
uses IdFTP, classes, Generics.Collections, SyncObjs, SysUtils, IdFTPList, IniFiles, IdComponent,
IdAllFTPListParsers;
type
// Ftp 文件信息
TFtpFileInfo = class
public
FileName : string;
IsFile : Boolean;
FileSize : Int64;
FileTime : TDateTime;
public
construc... |
unit UCL.TUThemeManager;
interface
uses
UCL.Classes, UCL.SystemSettings,
System.Classes, System.SysUtils, System.TypInfo,
VCL.Graphics, VCL.Controls,
Generics.Collections;
type
TUThemeKind = (tkAuto, tkLight, tkDark);
TUColorOnBorderKind = (cobkAuto, cobkTrue, cobkFalse);
// UContro... |
unit AppDelegate1;
interface
uses
System.SysUtils, System.TypInfo, System.Classes, System.Types, System.Rtti, Macapi.ObjectiveC, Macapi.ObjCRuntime,
Macapi.CoreFoundation, iOSapi.Foundation, iOSapi.UIKit, iOSapi.CocoaTypes, Macapi.Helpers, CocoaTouch, Unit1;
type
AppDelegate = interface(UIResponder)
['{9F3... |
unit Modflow6ObsWriterUnit;
interface
uses
System.Generics.Collections, CustomModflowWriterUnit,
ModflowPackageSelectionUnit, ModflowCellUnit, PhastModelUnit, QuadTreeClass,
Modflow6ObsUnit, ScreenObjectUnit, System.SysUtils, ModflowMawWriterUnit,
ModflowSfr6WriterUnit, ModflowLakMf6WriterUnit, System.Classes... |
unit UAMC_UserID_Landmark;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Registry,
WinHTTP_TLB, uLkJSON,
UAMC_Base, UAMC_WorkflowBaseFrame, Grids_ts, TSGrid, osAdvDbGrid;
const
LandmarkRegKey = '\AMC\Landmark';
colOrderID = 1;
colOrder... |
unit Observer.Interfaces.Concretes.ConcreteObserverB;
interface
uses
Observer.Interfaces.ObserverSubject;
// Concrete Observers react to the updates issued by the Subject they had
// been attached to.
// Os Observers Concretos reagem às atualizações emitidas pelo Subject nos quais
// eles foram anexados
type
T... |
unit Helper.Thread;
interface
uses
System.SysUtils,
System.Classes;
type
TProcedureExcept = reference to procedure(const AExceptionMessage: string);
type
TThreadCustom = class
private
var
FThread: TThread;
var
FIsTerminated: Boolean;
public
constructor Create();
destructor Destroy; ... |
unit LabelLookCfgDLG;
// %LabelLookCfgDLG : 设置Label的外观的界面
(***** Code Written By Huang YanLai *****)
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, Spin, ExtCtrls, CompGroup, ImgList, CoolCtrls,
ComWriUtils;
type
TdlgCfgLabelLook = class(TFor... |
unit Depto_01;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls;
type
TDepto01 = class(TForm)
Panel3: TPanel;
BT_Incluir: TBitBtn;
BT_Sair: TBitBtn;
Panel1: TPanel;
GroupBox1: TGroupBox;
Label2:... |
unit TCPView.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, VirtualTrees, System.Actions,
Vcl.ActnList, Vcl.Menus, Vcl.ExtCtrls, Vcl.ComCtrls;
type
TfrmTCPView = class(TForm)
VST: TVirtualStringTr... |
unit RPBands;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit>RPBands (Report Bands)
<What>将打印报表抽象为由一些Band组合形成的模型。
该单元描述了这个模型的基本组成元素,同时在该模型的上实现了分页输出这些Band的算法。
这个模型不涉及到具体的打印细节,只是封装了一个分页打印的算法。
在根据数据集增长上依赖于RPDataBrowsers.pas的TRPDa... |
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence }
{ Team Coherence is Copyright 2002 by Quality Software Components }
{ }
{ For further ... |
unit UJITTests;
interface
uses
Classes, SysUtils, Variants,
dwsXPlatformTests, dwsComp, dwsCompiler, dwsExprs, dwsXPlatform,
dwsTokenizer, dwsErrors, dwsUtils, dwsSymbols, dwsFunctions,
dwsJITFixups, dwsJITx86, dwsJITx86Intrinsics;
type
TJITTests = class (TTestCase)
private
... |
unit Main;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.Objects,
FMX.Advertising, FMX.InAppPurchase, System.Generics.Collections, FMX.Layouts, FMX.MultiView, Option;
type
TMainForm =... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ Copyright(c) 2013 Embarcadero Technologies, Inc. }
{ }
{*****************************... |
{*****************************************************************************
Name : psvPluginIntf
Author : Perevoznyk Serhiy
Description : PSV Plugins Framework
History :
Date By Description
---- -- -----------
23-0... |
unit ExplicitLibUnit;
interface
uses
SysUtils;
function ExplicitLibUnitFunction: string;
implementation
function ExplicitLibUnitFunction: string;
begin
Result := '-=WITH EXPLICIT LIBS=-';
end;
end. |
unit UMyLists;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, Buttons, StdCtrls, ExtCtrls, Grids, ImgList, JPEG;
Type
TDependentField = Class(Tobject)
public
Name : string;
visible : boolean;
TypeObject : string;
TypeField : string... |
{**********************************************************************************}
{ }
{ Project vkDBF - dbf ntx clipper compatibility delphi component }
{ ... |
unit PrintDevices;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit>PrintDevices
<What>提供打印驱动接口的实现。实现不仅限于打印机设备,也可以包含屏幕显示等等。
<Written By> Huang YanLai
<See>打印.mdl
<History>
0.l 将接口定义移到RPDefines.pas
***************************... |
unit Father;
interface
uses
System.Classes, REST.Json.Types;
type
IHola = interface(IInterface)
['{CC4A100F-199E-43B2-B95E-BA7233A3C935}']
function GetAPIUrl: string;
property APIUrl: string read GetAPIUrl;
end;
IBye = interface
['{314C6DAD-B258-4D0C-A275-229491430B65}']
function PropToS... |
unit SqlWhereClauseBuilder;
interface
uses
SysUtils, Variants;
type
TSqlWhereClauseBuilder = class;
IWhereColumn = interface
function Equals(value: Variant): TSqlWhereClauseBuilder;
end;
TWhereColumn = class(TInterfacedObject, IWhereColumn)
private
Owner: TSqlWhereClauseBuilder;
Column: Str... |
{
Business Object
Possui as versões dos leiautes disponíveis para exportação do arquivo de clientes
}
unit BO.Exportar.Clientes.Leiaute;
interface
uses
Model.Cliente,
Classes,
SysUtils, Util.Constantes;
type
TVersaoLeiaute = ( tleitBlocado, tleitCaractereSeparador );
IVersaoLeiaute = interface
... |
unit uregisterseditor;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, VirtualTrees, ImgList, Controls,
uLibrary;
type
{ TRegisterData }
TRegisterData = class
protected
function GetCaption: string; virtual; abstract;
function GetImageIndex: integer; virtual;
public
property Caption: ... |
program HotTub (Input, Output);
uses wincrt;
const HOTTUB_PRICE = 2500;
var HotTubsPerWeek, StraightSal, CommissionSal, Com : real;
procedure GetInput(var HTweek : real);
begin
writeln('How many hot tubs would you be able');
writeln('to sell per week? (On average) ');
readln(HTweek);
end;... |
unit URepositorioFuncao;
interface
uses
UFuncao
, UEntidade
, URepositorioDB
, SqlExpr
;
type
TRepositorioFuncao = class(TRepositorioDB<TFUNCAO>)
protected
procedure AtribuiDBParaEntidade(const coFUNCAO: TFUNCAO); override;
procedure AtribuiEntidadeParaDB(const coFUNCAO: TFUNCAO;
... |
unit AbstractReferenceFormViewModelMapper;
interface
uses
ReferenceFormViewModelMapper,
ReferenceFormViewModel,
ReferenceFormDataSetHolder,
EntitySetHolder,
SysUtils,
Classes;
type
TAbstractReferenceFormViewModelMapper =
class abstract (TInterfacedObject, IReferenceFormViewModelMapper)
pro... |
(******************************************************************************
PROYECTO FACTURACION ELECTRONICA
Copyright (C) 2010-2014 - Bambu Code SA de CV - Ing. Luis Carrasco
Este archivo pertenece al proyecto de codigo abierto de Bambu Code:
http://bambucode.com/codigoabierto
La licencia de este codigo fue... |
(******************************************************************************
PROYECTO FACTURACION ELECTRONICA
Copyright (C) 2010-2014 - Bambu Code SA de CV - Ing. Luis Carrasco
Este archivo pertenece al proyecto de codigo abierto de Bambu Code:
http://bambucode.com/codigoabierto
La licencia de este codigo fue... |
unit BooksModuleU;
interface
uses
System.SysUtils, System.Classes, BookBO, System.Generics.Collections,
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, Data.DB, FireDAC.Comp.Client,
FireDAC... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit uRecipeFloatingPoint;
interface
uses
Classes,
RegularExpressions,
uDemo,
uRecipe;
type
TRecipeFloatingPoint = class(TRecipe)
public
class function Description: String; override;
function Pattern: String; override;
procedure GetInputs(const Inputs: TStrings); override;
end;
implementat... |
(*
Copyright (c) 2011-2013, 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 ... |
unit t_TzWorld;
interface
type
TTimeZonePoint = record
X: Integer; // Lon
Y: Integer; // Lat
end;
PTimeZonePoint = ^TTimeZonePoint;
TTimeZonePolygon = record
PointsCount: Integer;
FirstPoint: PTimeZonePoint;
end;
PTimeZonePolygon = ^TTimeZonePolygon;
TTimeZoneBound = r... |
unit Form1;
interface
uses
SmartCL.System, SmartCL.Graphics, SmartCL.Components, SmartCL.Forms,
SmartCL.Fonts, SmartCL.Borders, SmartCL.Application, SmartCL.Controls.Label,
SmartCL.Layout,
SmartCL.Controls.EditBox, SmartCL.Controls.Button, System.Colors,
SmartCL.Controls.Elements;
type
TFor... |
unit TipoStatusNotaFiscal;
interface
type
TTipoStatusNotaFiscal = (snfAguardandoEnvio=0, snfAutorizada=1, snfRejeitada=2,
snfCancelada=3, snfNenhum=-1);
type
TTipoStatusNotaFiscalUtilitario = class
public
class function DeEnumeradoParaInteiro(TipoStatus :TTipoStatusNotaFis... |
unit UnitDualMapper;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, CnThreadingTCPServer,
FMX.StdCtrls, FMX.Edit, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo,
FMX.Memo.Types;
type
... |
unit MolHero.Materials;
interface
uses
FMX.Types3D, FMX.MaterialSources, MolHero.Utils;
type
TAtomMaterials = class
private
FMats: array[0..CHEM_ELEMENTS_COUNT] of TMaterialSource; // "0" for unknown atom type
public
destructor Destroy; override;
function GetAtomMaterial(AtomicNr: by... |
unit uXmlTester;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls;
type
TfrmXmlTester = class(TForm)
pnlData: TPanel;
pnlResult: TPanel;
pnlControls: TPanel;
txtData: TLabel;
edtData: TMemo;
txtResult: TLabel;
edtResult: TMe... |
program CDPlayer;
uses Dos, Crt;
{Structure used to transfer commands to the CDROM driver}
type CommandStructure = record
Length : Byte; {Length of parameter block}
SUC : Byte; {SubUnitCode of CDROM drive,
MSCDEX fills thi... |
{ *********************************************************** }
{ * ksTools Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2010 * }
{ * ----------------------------------------- * }
{ * http://sergworks.wordpress.com/kstools ... |
{ Simple objects
(C) Sergey Bodrov (serbod@gmail.com)
MIT license
TSimpleLock - spin-lock with timeout
TSimpleRWLock - spin-lock with timeout for read/write operations
TSimpleFileWriter - thread-safe file writer for log files
TSimpleDataQueue - thread-safe AnsiString data queue
TStringHash - string-to-inte... |
unit UUaoOrders;
//Import Rally orders; *.uao
interface
uses
SysUtils, MSXML6_TLB, Classes, Forms, UMain, UContainer, UBase, UForm;
const
xPathFormatID = '/APPRAISAL_ORDER/@FormatID';
xPathPort = '/APPRAISAL_ORDER/PORT';
rallyOrderFormatID = 'rally001';
rallyPort = 'Rally';
universalOrderFormID = 857;
ty... |
{-----------------------------------------------------------------------------
Unit Name: DUPropDisplay
Author: Sebastian Hütter
Date: 2006-08-01
Purpose: Property display Window,
To deactivate, set 'NoPropViewer' to true
Program calls do not have to be changed
History: 2006-08... |
unit uCadastroNcmIBPT;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uCadastroPadrao, Data.DB, Vcl.StdCtrls, Vcl.Mask, RxToolEdit, RxCurrEdit, Datasnap.DBClient, Vcl.Grids,
Vcl.DBGrids, DBGridCBN, Vcl.ComCtrl... |
unit UnitTools;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls,bfc,bfb, HexUtils, Buttons,CryptEEP, MD5;
type
TfrmTools = class(TForm)
MemoInfo: TMemo;
GroupBox1: TGroupBox;
IMEI: TLabeledEdit;
ESN:... |
unit rfTableManager_unit;
interface
uses
SysUtils, Classes, Contnrs, Controls, Generics.Collections, Graphics, jpeg,
Front_DataBase_Unit, RestTable_Unit, AdvMenus, pngimage, AdvGDIP, rfOrder_unit,
ExtCtrls;
type
TrfTableManager = class(TObject)
private
FTableParent: TWinControl;
FDataB... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC GUIx layer base classes }
{ }
{ Copyright(c) 2004-2013 Embar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.