text stringlengths 14 6.51M |
|---|
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Copyright (c) 2020-2020 Skybuck Flying
// Copyright (c) 2020-2020 The Delphicoin Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-... |
unit TestPreprocessorTokens;
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is TestPreprocessorTokens
The Initial Developer of the Original Code is Anthony Steele.
Portions created by Anthony Steele are Copyright (C) 1... |
{
MP3Utils.pas
Object pascal unit with utility functions to analyze MP3 files.
Copyright (C) 2005 Volker Siebert, Germany
All rights reserved.
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 th... |
unit SuchenFrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Generics.Collections,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, Fi... |
unit SMCnst;
interface
{Ukrainian strings}
const
strMessage = 'Друк...';
strSaveChanges = 'Ви бажаете зберегти внесенi змiни на серверi?';
strErrSaveChanges = 'Даннi не вдалося зберегти! Перевiрте з''єднання з сервером та коректнiсть внесених данних.';
strDeleteWarning = 'Ви дiйсно бажаєте видалити т... |
{ Module of routines that manipulate the edit string object. Each of
* these routines take an edit string object ESTR passed by reference as
* their first parameter.
*
* An ESTR is a low level object intended for imbedding in other objects.
* It displays a rectangle with a text string and lets the user edit ... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
{ ********************************************************************** }
{ }
{ Delphi and Kylix Cross-Platform Visual Component Library }
{ Component and Property Editor Source }
{ ... |
{
IsZRDOS: return TRUE if we're running ZRDOS (for file timestamps)
}
FUNCTION IsZRDOS : BOOLEAN;
CONST
GetDosVersion = 48;
BEGIN
IsZRDOS := ((BdosHL(GetDosVersion) AND $FF00) SHR 8) = 0;
END;
|
unit pFIBExports;
interface
{$I FIBPlus.inc}
uses SysUtils,{$IFNDEF D6+}Windows,{$ELSE}FIBPlatforms,{$ENDIF}Classes,
pFIBInterfaces,FIBDatabase,FIBQuery,FIBDataSet,pFIBDataSet,pFIBQuery,
StrUtil,pFIBDatabase,SqlTxtRtns, pFIBMetaData;
type
TFIBStringer= class(TComponent, IFIBStringer)
... |
unit FileLoader;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Dialogs,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, DBGrids, Grids,
IdFTP, IdFTPList, IdFTPCommon, IniFiles, StrUtils, ComCtrls,
Themes, Forms, DB, URegIni1, Logger;
type
PMemItems = ^TMemIt... |
unit ncPrinterConstsAndTypes;
interface
uses windows, sysutils, classes;
type
PPrinterInfo8A = ^TPrinterInfo8A;
PPrinterInfo8W = ^TPrinterInfo8W;
PPrinterInfo8 = PPrinterInfo8A;
{$EXTERNALSYM _PRINTER_INFO_8A}
_PRINTER_INFO_8A = record
pDevMode: PDeviceModeA;
end;
{$EXTERNALSYM _PRINTER_INFO_8W}
... |
unit IdGopherServer;
interface
uses
Classes,
IdGlobal,
IdTCPServer;
const
Id_TIdGopherServer_TruncateUserFriendly = True;
Id_TIdGopherServer_TruncateLength = 70;
type
TRequestEvent = procedure(AThread: TIdPeerThread; ARequest: string) of object;
TPlusRequestEvent = procedure(AThread: TIdPeerThread; AR... |
unit uAcessoUsuario;
interface
uses uUsuario, uEmpresa;
type
TAcessoUsuario = class
private
codigo: Integer;
empresa: TEmpresa;
usuario: TUsuario;
terminal: String;
public
// construtor
constructor TAcessoUsuarioCreate;
// destrutor
destructor TAcessoUsuarioDestroy;
// meto... |
unit uFuncionario;
interface
uses uDependente, System.Generics.Collections;
type
TFuncionario = class
private
FID: Integer;
FCPF: String;
FSalario: Real;
FNome: String;
FListaDependentes: TList<TDependente>;
public
constructor Create; overload;
destructor Destroy;
property Id_Fu... |
program ExampleAuthenticate;
{$ifdef MSWINDOWS}{$apptype CONSOLE}{$endif}
{$ifdef FPC}{$mode OBJFPC}{$H+}{$endif}
uses
SysUtils, IPConnection, Device;
type
TExample = class
private
ipcon: TIPConnection;
public
procedure ConnectedCB(sender: TIPConnection; const connectReason: byte);
procedure Enum... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC Data Adapter Layer implementation }
{ }
{ Copyright(c) 2004-2018 Embar... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: FileB3D<p>
File streaming class for the B3D loader<p>
<b>History :</b><font size=-1><ul>
<li>24/07/09 - DaStr - Got rid of compiler hints
<li>29/05/08 - DaStr - Added $I GLScene.inc
<li>22/12/05 - Mathx - Added to t... |
unit udmNFe;
interface
uses
System.SysUtils, System.Classes, System.IniFiles, spdNFCe, System.Contnrs,
spdNFCeDataSets, Data.DB, nxdb, nxllComponent, nxsdServerEngine,
nxreRemoteServerEngine, nxllTransport, nxptBasePooledTransport,
nxtwWinsockTransport, madTools, Vcl.ExtCtrls, Windows, Messages,
spdNFCeType... |
unit BodyKindsQuery;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf,
FireD... |
Program NinetyNine;
Uses sysutils;
Var
i: Integer;
Begin
For i := 99 downto 1 do
begin
WriteLn(IntToStr(i) + ' bottles of beer on the wall, ' + IntToStr(i) + ' bottles of beer');
WriteLn('Take one down and pass it around, ' + IntToStr(i-1) + ' bottles of beer on the wall');
end;
ReadLn;
End. |
(*****************************************************************************
* Pascal Solution to "It Makes No Difference in the End" from the *
* *
* Seventh Annual UCF ACM UPE High School Programming Tournament *
... |
unit FIToolkit.Config.Defaults;
interface
uses
System.SysUtils, System.Rtti, System.Generics.Collections,
FIToolkit.Config.Types;
type
TDefaultValueAttributeClass = class of TDefaultValueAttribute;
TDefaultValueAttribute = class abstract (TCustomAttribute)
strict private
FValueKind : TDefaultVal... |
unit adot.Collections.Heap;
interface
{
TBHeap<TKey, TValue> Binary heap functions
TBinaryHeapClass<TKey,TValue> Binary heap implementation for pairs <TKey,TValues>
TBinaryHeapClass<TKey> Binary heap implementation for <TKey>
}
uses
adot.Types,
adot.Collections.Types,
adot.Collectio... |
{$MODE OBJFPC} { -*- delphi -*- }
{$INCLUDE settings.inc}
unit players;
interface
uses
hashfunctions, hashtable, genericutils;
type
TPlayerID = String[10];
TPlayer = class
protected
FName: UTF8String;
FID: TPlayerID;
public
constructor Create(const Name: UTF8String; const ID: TPlayerI... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit MainView;
interface
uses
System.Classes,
System.Actions,
FMX.Graphics,
FMX.ActnList,
FMX.Forms,
FMX.Edit,
FMX.EditBox,
FMX.NumberBox,
FMX.StdCtrls,
FMX.Controls,
FMX.ListBox,
FMX.Layouts,
FMX.Controls.Presentation,
FMX.MultiView,
FMX.Types,
FMX.StdActns,
FMX.MediaLibrary.Actions... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit StoreHouseListInterface;
interface
type
IStorehouseList = interface(IInterface)
function GetStoreHouseCount: Integer;
function GetStoreHouseTitle: string;
property StoreHouseCount: Integer read GetStoreHouseCount;
property StoreHouseTitle: string read GetStoreHouseTitle;
end;
implementation
... |
unit MediaStream.Framer.H264;
interface
uses Windows,SysUtils,Classes, BufferedStream, MediaProcessing.Definitions,
MediaStream.Framer,H264Parser,H264Def;
type
TStreamFramerH264 = class (TStreamFramer)
private
FStream: TStream;
FReader: TBufferedStream;
FBuffer: TMemoryStream;
FParser : TH264P... |
unit MediaStream.Filer.H264;
interface
uses SysUtils,Classes, Windows, SyncObjs, MediaStream.Filer, MediaProcessing.Definitions,H264Parser;
type
TStreamFilerH264 = class (TStreamFiler)
private
FParser: TH264Parser;
protected
procedure DoWriteData(const aFormat: TMediaStreamDataHeader; aData: pointer;... |
unit ugraphicsform;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs,
ComCtrls, StdCtrls, ExtCtrls, Grids, Buttons, ValEdit, Menus, Windows,
strutils, uregistermachine, umanualform;
type
{ TReMEditForm }
TReMEditForm = class(TForm)
openWriteBtn: TBut... |
unit PascalCoin.FMX.Frame.Send;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
PascalCoin.FMX.Frame.Base, FMX.EditBox, FMX.NumberBox, FMX.Edit, FMX.ListBox,
FMX.Controls.Presentation,... |
unit amqp.time;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
{$INCLUDE config.inc}
uses {$IFNDEF FPC}
{$IFDEF _WIN32}
Net.Winsock2,
{$ELSE}
Net.SocketAPI,
{$ENDIF}
Winapi.Windows,
{$ELSE}
Windows, winsock2, //WS2tcpip,
... |
unit Main;
interface //####################################################################
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
System.Math.Vectors,
FMX.Types3D, FMX.Objects3D, FMX.Controls.Present... |
unit View.Usuario;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, View.BaseGrid, DB, ActnList, ImgList, ComCtrls, StdCtrls,
Buttons, Grids, DBGrids, JvExDBGrids, JvDBGrid, ExtCtrls, Mask, JvExMask,
JvToolEdit, Model.Usuario.Entidade;
type
TfrmV... |
unit MovimentoDeContaCorrenteAplicacao;
interface
uses Classes,
{ Fluente }
DataUtil, UnModelo, Componentes, UnAplicacao,
UnMovimentoDeContaCorrenteListaRegistrosModelo,
UnMovimentoDeContaCorrenteListaRegistrosView,
UnMovimentoDeContaCorrenteRegistroView,
UnMovimentoDeContaCorrenteImpressaoView;
type
T... |
unit Unit1;
interface
uses
System.SysUtils, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
//GLS
GLScene, GLTeapot, GLObjects, GLWin32Viewer,
GLVectorGeometry, GLTexture, GLCadencer, GLImposter, GLSkydome,
GLCrossPlatform, GLCoordinates, GLBase... |
{*******************************************************}
{ }
{ Delphi REST Client Framework }
{ }
{ Copyright(c) 2013-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit ColorGridImpl1;
interface
uses
Windows, ActiveX, Classes, Controls, Graphics, Menus, Forms, StdCtrls,
ComServ, StdVCL, AXCtrls, DelCtrls_TLB, ColorGrd;
type
TColorGridX = class(TActiveXControl, IColorGridX)
private
{ Private declarations }
FDelphiControl: TColorGrid;
FEvents: IColorGridXEven... |
unit uRAMForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, ExtCtrls, Grids, uResourceStrings, uView, uProcessor,
StdCtrls, Menus, Registry, uMisc;
type
TRAMRefreshRequestEvent = procedure(Listener: IRAM) of object;
TRAMUpdateReq... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ Copyright(c) 2012-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
//*********************************************************************************//
//Unit: osUtilsBD //
//Classes: //
// -TAlteradorBD ... |
{*!
* 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 ResponseStreamIntf;
interface
{$MODE OBJFPC}
{$H+}
type
(*... |
unit fmVDLogger;
interface
uses VCL.Forms, System.Classes, System.SysUtils, VCL.ComCtrls, VCL.StdCtrls, VCL.Controls;
type
tgLogger = Class(TCustomForm)
private
FStatusBar: TStatusBar;
FMemo: TMemo;
procedure SetStatusBar(const Value: TStatusBar);
procedure SetMemo(const Value: TMemo);
proper... |
unit BillContentViewModel;
interface
uses
BaseProductsViewModel, ProductsBaseQuery0, BillContentInterface, BillInterface,
BillContentQry, StoreHouseListQuery;
type
TBillContentViewModel = class(TBaseProductsViewModel)
private
FBill: IBill;
FqStoreHouseList: TQueryStoreHouseList;
function GetqBill... |
unit RootForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, SettingsController, FormsHelper;
type
TfrmRoot = class(TForm)
procedure FormCreate(Sender: TObject);
procedure FormClose(Sender: TObject... |
unit UnitJournal;
interface
type
TJournalRecord = record
public
Time: TDateTime;
Level: byte;
Ok: boolean;
Text: string;
class function Deserialize(var p: Pointer)
: TArray<TJournalRecord>; static;
end;
implementation
uses myutils, System.sysutils;
fu... |
{**********************************************************}
{ }
{ Cipher 1.0 }
{ ---- Sample for Using TinyDB }
{ }
{ Author: Day... |
unit PRFWK_DAO;
interface
uses PRFWK_Classe, Classes, PRFWK_Atributo, PRFWK_Modelo, TypInfo, DBClient, SqlExpr,
Provider, PRFWK_Conexao, DB, SysUtils, PRFWK_Utilidades, Variants, PRFWK_ClientDataSet,
PRFWK_DataSetProvider, PRFWK_SqlDataSet, AdoDB, PRFWK_AdoDataSet;
type
TPRFWK_DAO = class(TPRF... |
unit UCtrlCidade;
interface
uses uController, DB, UDaoCidade;
type CtrlCidade = class(Controller)
private
protected
umaDaoCidade : DaoCidade;
public
Constructor CrieObjeto;
Destructor Destrua_se;
function Salvar(obj:TObject): string; override... |
unit SudokuMain;
{
***************************************************************************
* Copyright (C) 2006 Matthijs Willemstein *
* *
* Note: the original code by Matthijs was checked in as revision 7... |
unit Getter.TrimBasics;
interface
uses
SysUtils, Windows,
OSFile, OSFile.IoControl, OSFile.Handle, OS.Handle,
Partition, Getter.PartitionExtent, Getter.Filesystem.Name;
type
TTrimBasicsToInitialize = record
PaddingLBA: Integer;
LBAPerCluster: Cardinal;
StartLBA: UInt64;
end;
EUnknownPartition... |
unit Script;
interface
uses
Classes, Data;
type
TDBScript = class(TObject)
private
FLines: TStringList;
public
procedure Clear;
procedure SetHeader;
procedure AddInsert(Values: TValuesRec);
procedure SetFooter;
function GetText: AnsiString;
end;
implementation
//------------------... |
unit DlgParamsRandom;
{$mode objfpc}{$H+}
interface
uses
Forms, ButtonPanel, StdCtrls,
SpectrumTypes, FrmRange, FrmRangePoints;
type
TRandomParamsDlg = class(TForm)
ButtonPanel1: TButtonPanel;
GroupBoxY: TGroupBox;
GroupBoxX: TGroupBox;
RangeX: TRangeFrm;
RangeY: TRangeFrm;
PointsX: TR... |
Unit DM;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DB, DBTables;
type
TDM1 = class(TDataModule)
Customer: TTable;
CustomerSource: TDataSource;
SQLCustomer: TQuery;
SQLOrders: TQuery;
OrdersSource: TDataSource;
SQLOrdersOrderNo: TFloatField;... |
unit GlobalVars;
interface
const
MenuState = 1; //Состояние меню
HelpState = 2; //Состояние вывода справки
ChooseMapState = 3; //Состояние выбора карты
InputNamesState = 4; //Состояние ввода ников
MainGameState = 5; //Состояние самой игры (бомбермена)
EditorState = 7; //Состояни... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLObjectManager<p>
The object manager is used for registering classes together with a category,
description + icon, so that they can be displayed visually. This can then
be used by run-time or design-time scene editors for choosi... |
unit u_xml_events;
{$mode objfpc}{$H+}
interface
uses Classes, SysUtils, DOM, u_xml;
type
{ TXMLTimerType }
TXMLTimerMode = (tmUp, tmDown, tmRecurrent);
TXMLTimerType = class(TDOMElement)
private
function Get_Estimated_End_Time: TDateTime;
function Get_Frequency: car... |
unit ThreadToView.Trim;
interface
uses
SysUtils, Classes, Windows,
Global.LanguageString;
type
TTrimProgress = record
CurrentPartition: Integer;
PartitionCount: Integer;
end;
TTrimSynchronization = record
IsUIInteractionNeeded: Boolean;
ThreadToSynchronize: TThread;
Progress: TTrimProg... |
program Sample;
begin
WriteLn(1);
WriteLn(2);
end.
|
unit amqp.api;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
uses {$IFDEF FPC}SysUtils,{$Else} System.SysUtils, {$ENDIF} amqp.framing, AMQP.Types;
function amqp_basic_publish( state : Pamqp_connection_state; channel : amqp_channel_t;
exchange, routing_key : Tamqp_bytes;
... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit SolidLongInput;
interface
uses
System.SysUtils, System.Classes, FMX.Types, FMX.Controls, FMX.Graphics,
FMX.Effects, System.UITypes, LongInput, ColorClass;
type
TSolidLongInput = class(TLongInput)
private
{ Private declarations }
protected
{ Protected declarations }
FShadow: TShadowEffect;
... |
// ==============================================================
//
// This unit contains the routine for displaying the player stats
// Note: It requires TALProgressBar.
// Can be found at:
// http://store77.googlecode.com/svn/trunk/GOLD/LUX-source/ALProgressBar.pas
//
// Esta unit contém a rotina para mostr... |
unit UThreadTestConnectMongo;
interface
uses
Classes, UDMMongo, UIMainController;
type
TThreadTestConnectMongo = class(TThread)
private
FController: IMainController;
protected
procedure Execute; override;
public
constructor Create(MainController : IMainController);
end;
implementat... |
unit PizzaStore;
interface
uses
Pizza, System.SysUtils;
type
TTipoDePizzas = class of TPizza;
TPizzaStore = class
private
class var CardapioPizzas: TArray<TTipoDePizzas>;
public
class procedure RegistrarPizza(Pizza: TTipoDePizzas); virtual;
class function PedirPizza(Pizzas: string): TPizza;
... |
unit nexPopUpBase;
interface
uses
SysUtils, Classes, Controls, cxControls, cxContainer, cxEdit,
SpTBXFormPopupMenu, SpTBXItem, SpTBXControls, cxTextEdit, Menus,
Forms, SpTBXSkins;
type
TnexPopUpBase = class(TcxTextEdit)
private
FOnChange: TMenuChangeEvent;
FOnPopup: TNotifyEvent;
FOnClosePopup:... |
{ This, Folks, is the 2nd BackDoor program. Enjoy it, it's made for you! }
{ Idea: C. Olliwood. Distortions by Chip-sy-King (Hahaha!) }
PROGRAM Funny_Message_V1_0; { From Feb. the 26, 1995 }
USES Crt;
VAR Zuffi_Zahl : Integer;
Spruch : String;
PROCEDURE Waehle_Spruch;
BEGIN
Zuffi_Zahl... |
{$i deltics.unicode.inc}
unit Deltics.Unicode.Transcode.Utf8ToUtf16;
interface
uses
Deltics.Unicode.Types;
procedure _Utf8ToUtf16Be(var aUtf8: PUtf8Char; var aUtf8Count: Integer; var aUtf16: PWideChar; var aUtf16Count: Integer);
procedure _Utf8ToUtf16Le(var aUtf8: PUtf8Char; var aUtf8Cou... |
unit BrickCamp.Common.Mapping;
//as per a stack entry by Sir Rufo. Its as per as I have done it c# and ruby
interface
uses
System.Generics.Collections,
System.Rtti,
System.SysUtils,
System.TypInfo;
type
TMapKey = record
Source: PTypeInfo;
Target: PTypeInfo;
class function Create<TSource, TTarget... |
unit Unit_GlobalFunctions;
interface
uses ActiveX, Windows, Sysutils;
type
SingleArray = array of single;
TRowData = class
private
fComObj : IUnknown;
public
constructor Create(ComObj : IUnknown); overload;
property ComObj : IUnknown read fComObj write fComObj;
end;
function SingleArrayToSaf... |
unit JcfIdeRegister;
{ AFS 7 Jan 2K
JEDI Code Format IDE plugin registration }
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is JcfIdeRegister, released May 2003.
The Initial Developer of the Original Code is Ant... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1997,99 Inprise Corporation }
{ ... |
{ }
{ Log unit v3.02 }
{ }
{ This unit is copyright © 2002-2004 by David J Butler ... |
unit FIToolkit.CommandLine.Exceptions;
interface
uses
FIToolkit.Commons.Exceptions;
type
ECommandLineException = class abstract (ECustomException);
{ Command-line option exceptions }
ECLIOptionException = class abstract (ECommandLineException);
ECLIOptionParseError = class abstract (ECLIOptionExceptio... |
unit UDaoVenda;
interface
uses uDao, DB, SysUtils, Messages, UVenda, UDaoCliente, UDaoProduto,
UDaoCondicaoPagamento, UDaoFuncionario, UDaoContasReceber, UContasReceber,
UDaoUsuario, Dialogs;
type DaoVenda = class(Dao)
private
protected
umVenda : Venda;
... |
unit HomeOrderItem;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Mask, DBCtrlsEh, ExtCtrls, DBLookupEh, Grids, DBGridEh,
DB, RpCon, RpConDS, RpBase, RpSystem, RpDefine, RpRave, ComCtrls, ToolWin;
type
THomeOrderItemForm = class(TForm)
... |
unit uFrmSendEmail;
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls,
ComCtrls, ACBrMail, types, ACBrBase, Menus, ExtCtrls,Windows, DB,
DBClient, Variants;
type
{ TForm1 }
TFrmSendMail = class(TForm)
ACBrMail1: TACBrMail;
MainMenu1: TMainMenu;
Opes1: TMenuItem;
... |
unit FungsiLain;
interface
uses Windows, SysUtils, TlHelp32, Messages, Dialogs;
function GetVersion(ApplicationName: string) : string;
function GetProcessID(ProcessName: String):Integer;
function GetHWndByPID(const hPID: THandle): THandle;
procedure KillProcess(hWindowHandle: HWND);
implementation
procedure KillP... |
unit SearchComponentOrFamilyQuery;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf,... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit Unit1;
interface
use... |
library tclsampleext;
{$mode objfpc}{$H+}
{$packrecords C}
{ Strings are UTF8 by default }
{$codepage utf8}
uses {$IFDEF UNIX} {$IFDEF UseCThreads}
cthreads, {$ENDIF} {$ENDIF}
Classes,
SysUtils,
ctypes,
tcl;
type
TMailingListRecord = record
FirstName: string;
end;
PMailingLi... |
(***********************************************************)
(* xPLRFX *)
(* part of Digital Home Server project *)
(* http://www.digitalhomeserver.net *)
(* info@digitalhomeserver.net *)
(****... |
unit caChart;
{$INCLUDE ca.inc}
interface
uses
// Standard Delphi units
Windows,
Classes,
SysUtils,
Controls,
ExtCtrls,
Graphics,
// ca units
caGraphics,
caClasses,
caControls;
type
TcaAxisType = (axX, axY);
//---------------------------------------------------------------------------
... |
{-----------------------------------------------------------------------------
Author: Roman
Purpose: Пример реализации трейдера. Данный трейдер работает с
двумя индикаторами MACD и RSI на фреймах 60 и 15
History:
-----------------------------------------------------------------------------}
unit ... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ SOAP Support }
{ }
{ Copyright (c) 2001 Borland S... |
unit IdTimeServer;
interface
{
2000-3-May J. Peter Mugaas
-Added BaseDate to the date the calculations are based on can be
adjusted to work after the year 2035
2000-30-April J. Peter Mugaas
-Adjusted the formula for the integer so that the Time is now
always based on Universal Time (also known as Green... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit Form.EditBook;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Form.BaseEditForm, cxGraphics,
cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore,
dxSkinMetropolis, cxClasses, dxSkinsForm, Vcl.... |
{-----------------------------------------------------------------------------
Author: Roman Fadeyev
Purpose: Реализация IStockDataSourceConnection для файлов формата MetaTrader 4
History:
-----------------------------------------------------------------------------}
unit FC.StockData.MT.StockDataConnection;
... |
{*******************************************************}
{ Unit Name: Stats.BaseMng }
{ Unit Description: Base management for traces }
{ Copyright: © 1994-2017 SIMCON s.r.o. }
{ ----------------------------------------------------- }
{ Maintainer: Michal Ko... |
UNIT DT_Pokedex;
INTERFACE
USES
Utilidades, BaseDeDatos, DT_Especie, DT_TipoElemental, SysUtils;
TYPE
DatosPokedex= RECORD
especies: ListaEspecies;
tiposElementales: ListaTiposElementales;
indiceDeSeleccion: INTEGER;
end;
(*Carga desde la base de datos las listas de especies y t... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, CRCunit, FileCtrl, ComCtrls;
type
TForm1 = class(TForm)
Memo1: TMemo;
Button1: TButton;
Edit1: TEdit;
ProgressBar1: TProgressBar;
procedure UpdateList(StartDir: string; L... |
unit uDisplayUtils;
interface
uses math, sysutils;
function showTime(t:TDatetime):string;
function showBytes(b:int64):string;
function showVel(v:double):string;
function SizeToStr(b:Int64):string;
implementation
function showTime(t:TDatetime):string;
var
AHour, AMinute, ASecond, AMilliSecond: W... |
/ *****************************************************************
// ** COMPANY NAME: HPA Systems
// *****************************************************************
// ** Application......:
// **
// ** Module Name......: RichFunctions1.pas
// ** Program Name.....:
// ** Program Description... |
{**********************************************}
{ TPenDialog }
{ Copyright (c) 1996-2004 by David Berneda }
{**********************************************}
unit TeePenDlg;
{$I TeeDefs.inc}
interface
uses {$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
SysUtils, Class... |
unit untEasyDesignerPivotGridReg;
{$I cxVer.inc}
interface
uses
Windows, Classes, SysUtils, TypInfo,
Types, DesignIntf, DesignEditors, VCLEditors, Forms, DB, ShellApi, ImgList,
cxDesignWindows, cxEditPropEditors, cxPropEditors, cxControls, cxEdit,
cxStyles, cxPivotGridDesigner, cxCustomPivotGrid, ... |
unit uObjectUrlDotaz;
interface
uses SysUtils, Types, Classes, IdUri, IdGlobal;
type
TUrlDotaz = class(TObject)
private
function EncodeString(s: string): string;
protected
public
adresa: string;
params: TStringList;
constructor Create; overload;
constructor Create(adr: string); overload;
... |
unit QTThunkU;
{$R-,S-,Q-}
//Define only one of these symbols
//If none are defined it defaults to original windows
{$define Generic} //Should work on all versions of Win95
{ $define OSR2} //Works on newer OSR2 versions
{ $define OSR1} //Works on original version of Win95
interface
uses
Windows, SysUtils;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.