text stringlengths 14 6.51M |
|---|
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ Interface RTTI Support }
{ }
{ Copyright(c) 1995-2011 Embar... |
unit uTranslateSystemRTLConsts;
interface
uses
Windows,
System.RTLConsts,
uTranslate;
Type
TTranslateSystemRTLConsts = Class(TTranslate)
private
public
class procedure ChangeValues; override;
End;
Implementation
class procedure TTranslateSystemRTLConsts.ChangeValues;
begin
SetResourceStr... |
PROGRAM TestBin;
{$I FLOAT.INC}
{$DEFINE DEBUG}
uses MathLib0;
CONST
OutToDisk = FALSE;
initial_default = 0.1;
v_default = 0.2;
VAR
out : text;
steps : WORD;
initial, { starting value }
v, { volatility in percent per period }
Result : Float;
{~~~~~~~~~~~~~~~~~... |
unit ULogin;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, Vcl.Imaging.GIFImg, Vcl.ExtCtrls, Data.DB, MemDS, Vcl.Imaging.pngimage, Vcl.Menus,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.... |
unit Demo.Main;
interface
uses
WHATWG.Console, WHATWG.XHR, ECMA.TypedArray, W3C.DOM4, W3C.Html5,
W3C.FileAPI, W3C.WebAudio, SimpleSofaFile,
Demo.Framework, Demo.Audio, Demo.Hrtf;
type
TFileSelect = class(TDivElement)
private
FInputFile: TInputFileElement;
public
procedure AfterConstructor; overri... |
{
gir2pascal.lpr
Copyright (C) 2011 Andrew Haines andrewd207@aol.com
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 pro... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit FIToolkit.ProjectGroupParser.Consts;
interface
uses
FIToolkit.Localization;
const
{ XML consts for a project group file format. Do not localize! }
// <Project>\<ItemGroup>\<Projects Include="%RELATIVE_PATH_TO_DPROJ%">
STR_GPROJ_ROOT_NODE = 'Project';
STR_GPROJ_PROJECTS_GROUP_NODE ... |
(********************************************************************************************
** PROGRAM : cgiform
** VERSION : 1.0.0
** DESCRIPTION : Demonstrates how to process HTML forms in CGI programs.
** AUTHOR : Stuart King
** COPYRIGHT : Copyright (c) Irie Tools, 2002. All Rights Reserved.
** NOT... |
//
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose... |
unit ClassStack;
interface
type
//==============================================================================
// TStackItem class
//==============================================================================
TStackItem = class
private
FEnglish : string;
FSlovak : string;
FNext ... |
unit uCommon;
{$mode objfpc}{$H+}
interface
uses
SynCommons, mORMot, uForwardDeclaration;
type
// 1
TSQLDataSource = class(TSQLRecord)
private
fDataSourceType: TSQLDataSourceTypeID;
fDescription: RawUTF8;
published
property DataSourceType: TSQLDataSourceTypeID read fDataSourceType wr... |
unit Threads.RegularControl;
interface
uses Windows, Classes, SysUtils, GMGenerics, Threads.Base, GMSqlQuery, GMGlobals, Math;
type
TRegularControlledChannel = class
ID_Prm, SourcePrmID: int;
LastControlledDT: LongWord;
bVerified: bool;
end;
TRegularControl = class(TGMThread)
private
FChnLis... |
unit ParametersGroupUnit2;
interface
uses
QueryGroupUnit2, System.Classes, ParameterKindsQuery, ParametersQuery,
ParameterTypesQuery, ParamSubParamsQuery, SubParametersQuery2,
System.Generics.Collections, ParametersExcelDataModule, NotifyEvents,
RecordCheck, DSWrap;
type
TParametersGroup2 = class(TQueryGro... |
unit Solutions;
{$mode tp}
{$H+}
interface
uses
Math, SysUtils;
function LargestPalindromeProduct: Int64;
function LargestPrimeFactor(number: Int64): Int64;
function EvenFibonacciNumbers: Int64;
function MultiplesOf3And5: Int64;
implementation
type
IntVector = Array of Int64;
BoolVector =... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1995,98 Inprise Corporation }
{ ... |
{$F-,A+,O+,G+,R-,S+,I+,Q-,V-,B-,X+,T-,P-,D-,L-,N-,E+}
unit MCIcodes;
interface
function mciProcess(S : String; Len : Byte) : String;
function mciProcessControlCode(C : String) : Boolean;
function mciProcessMCICode(C : String) : Boolean;
implementation
uses Crt,
Global, Output, Strings, Misc, DateTi... |
unit scanner;
interface
const
IdLen = 31; {number of significant characters in identifiers}
type
Symbol = (null, TableStartSym, TableEndSym, RowStartSym, RowEndSym, CellStartSym, CellEndSym, ContentsSym, UnknownSym, EofSym);
Contents = string[IdLen];
var
sym: Symbol; {next symbol}
val: inte... |
unit SpriteTimer;
interface
uses Classes, WinTypes, Controls, Forms, MmSystem;
type
PThreadControl = ^TThreadControl;
TThreadControl = record
Control: TControl;
Interval: dword;
Enabled: boolean;
OnTimer: TNotifyEvent;
TickRun: dword;
end;
TSpriteTim... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit uTranslateVclComStrs;
interface
uses
Windows,
Vcl.ComStrs,
uTranslate;
Type
TTranslateDataSqlConst = Class(TTranslate)
private
public
class procedure ChangeValues; override;
End;
Implementation
class procedure TTranslateDataSqlConst.ChangeValues;
begin
SetResourceString(@sTabFailCle... |
unit AnimalsClasses;
interface
type
TAnimal = class
public
constructor Create;
function GetKind: string;
private
FKind: string;
end;
TDog = class (TAnimal)
public
constructor Create;
end;
implementation
{ TAnimal }
constructor TAnimal.Create;
begin
FKind := 'Animal';
end;
function... |
unit frComments;
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is frComments.pas, released Nov 2003.
The Initial Developer of the Original Code is Anthony Steele.
Portions created by Anthony Steele are Copyright (C) ... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
// 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 PushSupplierMain;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, CORBA, CosEvent, PushSupplier_Impl;
type
TForm1 = class(TForm)
Memo1: TMemo;
Button1: TButton;
Edit1: TEdit;
procedure FormCreate(Sender: TObject);
procedure Button1Clic... |
unit Generics.Collections;
interface
{$MODE DELPHIUNICODE}
uses fgl;
type
TArray<T> = array of T;
TList<T> = class(TFPGList<T>)
end;
{ TDictionary }
TDictionary<TKey, TData> = class(TFPGMap<TKey, TData>)
public
function TryGetValue(const Key: TKey; out Value: TData): Boolean;
end;
{ TObje... |
unit Security.Login.Interfaces;
interface
uses Vcl.Forms, Vcl.ExtCtrls;
Type
// TAuthNotifyEvent = reference to procedure(const aEmail: string; const aPassword: string; var aAuthenticated: boolean; var aEmailError: string; var aPasswordError: string);
// TResultNotifyEvent = reference to procedure(const aResu... |
unit FontStuffTest;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, SBPro, Vcl.StdCtrls;
type
TForm1 = class(TForm)
StatusBarPro1: TStatusBarPro;
Button1: TButton;
procedure Button1Clic... |
unit bDB;
interface
uses Firedac.comp.client, Firedac.Phys.MySQL, Firedac.UI.Intf,
Firedac.comp.dataset, Firedac.comp.UI,
types, winapi.windows,
Firedac.stan.Option, Firedac.dapt, Firedac.stan.def,
Data.DB, vEnv, system.sysutils, Firedac.stan.async, strutils;
type
TDB = class
private
class var
con... |
UNIT XYSTACK;
TYPE
nodetype = RECORD
a,b : WORD;
lastnode : POINTER;
END;
VAR
noderec : nodetype;
nodeptr : ^noderec;
{ ---------------------------------------------------------------}
PROCEDURE Push(VAR stack : POINTER; x,y : WORD);
BEGIN
new(node);
node^.a := x;
node^.b... |
unit caTransparentWnd;
{$INCLUDE ca.inc}
interface
uses
Windows, Messages, Classes, Controls, Forms;
type
TcaTransparentWnd = class(TComponent)
private
{ Private declarations }
protected
_percent : shortint;
{ Protected declarations }
public
procedure SetTransparent(percent : shortint); ov... |
{*********************************************}
{ TeeBI Software Library }
{ ZeosLib Database data import and export }
{ Copyright (c) 2015-2017 by Steema Software }
{ All Rights Reserved }
{*********************************************}
unit BI.DB.ZeosLib;
(*
ZeosLi... |
{ :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: QuickReport 3.0 for Delphi 3.0/4.0/5.0 ::
:: ::
:: Demonstration on how to use the TQRExprMemo control ::
:: ::
... |
///////////////////////////////////////////////////////////////////////////////////
//
//
// FileName : SUITitleBar.pas
// Creater : Shen Min
// Date : 2001-10-15 V1-V3
// 2003-06-15 V4
// Comment :
//
// Copyright (c) 2002-2003 Sunisoft
// http://www.sunisoft.com
// Emai... |
unit uKamObjektiv;
{$MODE Delphi}
//Bisher etwas mager, da nur Objektive für perspektivische Sicht vorgesehen sind.
//Eine Minimalauswahl aus "Standardobjektiven wäre vorstellbar (Weitwinkelobjektiv ...).
interface
TYPE TObjektiv= (Perspektive, Orthogonal);
VAR aktObjektiv: TObjektiv;
procedure KamProjFlaecheInit
... |
unit ORCtrlsVA508Compatibility;
interface
uses
Forms, Controls, StdCtrls, SysUtils, Windows, VA508AccessibilityManager;
type
TORCheckBox508Manager = class(TVA508ManagedComponentClass)
public
constructor Create; override;
function GetComponentName(Component: TWinControl): string; override;
function ... |
{ Copyright (C) 2004 Vincent Snijders
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library 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 distri... |
unit ExtraChargeQuery2;
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,
Fi... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ ISAPI/NSAPI Web server application components }
{ }
{ Copyright(c) 1995-2011 Embar... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
{/*
* (c) Copyright 1993, ... |
{*****************************************************************}
{ SimpleTimer is a timer class. It has the same timer resolution }
{ as TTimer, but it is more lightweight because it's derived from }
{ TObject in stead of TComponent. Furthermore, the same handle is }
{ shared between multiple instances of Simpl... |
{ Turbo Reference }
{ Copyright (c) 1985, 1989 by Borland International, Inc. }
program Circular;
{ Simple program that demonstrates circular unit references via
a USES clause in the implementation section.
Note that it is NOT possible for the two units to "USE" each
other in their interface sections. It is pos... |
{*!
* Fano Web Framework (https://fano.juhara.id)
*
* @link https://github.com/zamronypj/fano
* @copyright Copyright (c) 2018 Zamrony P. Juhara
* @license https://github.com/zamronypj/fano/blob/master/LICENSE (GPL 3.0)
*}
unit MySqlDbImpl;
interface
{$MODE OBJFPC}
{$H+}
uses
DependencyIntf,
Rd... |
{*********************************************}
{ TeeChart Pro OpenGL Component }
{ Copyright (c) 1998-2004 by David Berneda }
{ All Rights Reserved }
{*********************************************}
unit TeeOpenGL;
{$I TeeDefs.inc}
interface
uses Classes,
{$IFDEF CLX}
... |
unit uDownloads.Controller.DownloaderControler;
interface
uses
uDownloads.Controller.Interfaces, System.Net.HttpClient,
System.SysUtils, System.Classes, uDownloads.Service.HTTPDownload,
uDownloads.View.Log, uDownloads.Model.Entidades.LogDowload,
uDownloads.Model.Interfaces, System.IOUtils, Vcl.Dialogs;
type
... |
Unit IdIMAP4Server;
Interface
{
2002-Apr-21 - J. Berg
-use fetch()
2000-May-18 - J. Peter Mugaas
-Ported to Indy
2000-Jan-13 - MTL
-Moved to new Palette Scheme (Winshoes Servers)
1999-Aug-26 - Ray Malone
-Started unit
}
Uses
Classes,
IdAssignedNumbers,
IdTCPServer;
Const
IMAPCommands : Array [1..25] ... |
unit Classe_Acesso;
interface
uses Classes, Dialogs, SysUtils, IniFiles,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,
FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, FireDAC.Comp.DataSet,
FireDAC.Comp.Client,
FireDAC.Stan.Intf, FireDAC.Stan.Option,
Classe_Empr... |
unit Restaurantes.Constantes;
interface
const
//Mensagens de retorno
Info200 = 200;
DescInfo200 = 'Requisição bem sucedida.';
Erro400 = 400;
DescErro400 = 'Requisição inválida: o pedido não pode ser entregue devido a sintaxe incrorreta';
Erro500 = 500;
DescErro500 = 'Erro inte... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
{/*
* (c) Copyright 1993, ... |
{***************************************************************
*
* Project : Resolver
* Unit Name: ResolverTest
* Purpose :
* Version : 1.0
* Date : Wed 25 Apr 2001 - 01:14:19
* Author : Ray Malone / Vladimir Vassiliev <ray@mbssoftware.com voldemarv@hotpop.com>
* History :
* Tested : Wed 25 Apr 20... |
unit fOptionsReportsDefault;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Spin, fOptions, ComCtrls, ORFn, ORNet, ORCtrls,
ORDtTm, rCore, fBase508Form, VA508AccessibilityManager;
type
TfrmOptionsReportsDefault = class(TfrmBase508Form)
Label2:... |
unit RelatorioLookupDataUn;
interface
uses
SysUtils, Classes, DB, DBClient, osClientDataset, osLookupDataUn, FMTBcd,
Provider, osCustomDataSetProvider, osSQLDataSetProvider, SqlExpr,
osSQLDataSet;
type
TRelatorioLookupData = class(TosLookupData)
TipoRelatorioClientDataSet: TosClientDataset;
... |
unit CommonDataProvider.ADO;
interface
uses
CommonConnection.Intf, DB, ADODB, DBClient, SysUtils, classes, Variants,
Spring.Container, Spring.Services, UIRestore, NCADOConnection, DMBase,
DataSetHelper, uGlobal, CommonConnectionClass, Provider, CommonResourceStrings;
type
TNG_ADOConnection = class(TInterfaced... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: FileX<p>
Simple X format support for Delphi (Microsoft's favorite format)<p>
<b>History : </b><font size=-1><ul>
<li>17/04/13 - YP - Warn user if file content unparsable (http://paulbourke.net/dataformats/directx/)
<li... |
Program arboles;
Type
// Lista de enteros
lista = ^nodoL;
nodoL = record
dato: integer;
sig: lista;
end;
// Arbol de enteros
arbol= ^nodoA;
nodoA = Record
dato: integer;
HI: arbol;
HD: arbol;
End;
// Lista de Arboles
{------------------------------------------------------------... |
unit gExpressionEvaluator;
{ Author: Steve Kramer, goog@goog.com }
interface
Uses
classes
, contnrs
, Variants
, gParse
, SysUtils
;
Type
TgExpressionEvaluatorClass = Class of TgExpressionEvaluator;
TgExpressionEvaluator = class(TgSymbolString)
strict private
FInFixTokenList : TObjectList;
... |
unit PascalCoin.RawOp.Classes;
interface
uses System.SysUtils, System.Generics.Collections, PascalCoin.Wallet.Interfaces,
PascalCoin.Utils.Interfaces, PascalCoin.RawOp.Interfaces;
type
TRawOperations = class(TInterfacedObject, IRawOperations)
private
FList: TList<IRawOperation>;
protected
function G... |
unit TestWarnings;
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is TestWarnings, released May 2003.
The Initial Developer of the Original Code is Anthony Steele.
Portions created by Anthony Steele are Copyright (C)... |
unit uDBConfig;
interface
uses
DBSQLite, DBMySql;
type
TDBConfig = class
public
Default: TDBSQLite; //必须有Default成员变量名
MYSQL: TDBMySql;
constructor Create;
destructor Destroy; override;
end;
implementation
{ TDBConfig }
constructor TDBConfig.Create;
begin
Default := TDBSQLite.Create('SQ... |
unit TestSecurityDescriptorManipulator;
{
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
SysUtils, TestFramework... |
{
this file is part of Ares
Aresgalaxy ( http://aresgalaxy.sourceforge.net )
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 ... |
unit test_main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, ComCtrls, StdCtrls, FngDirWatch;
const
Status_State = 0;
Status_Directory = 1;
type
TMainForm = class(TForm)
ToolbarPanel: TPanel;
StatusBar: TStatusBar;
Bevel: TBevel;
... |
unit set_in_2;
interface
implementation
type
TEnum = (i1, i2, i3, i4);
var
S: set of TEnum;
G1, G2: Boolean;
procedure Test;
begin
S := [i1, i3];
G1 := (i3 in S) and (i2 in S);
G2 := (i4 in S) or (i1 in S);
end;
initialization
Test();
finalization
Assert(G1 = False);
Assert(G2 = True);
end. |
{*
* GetBreakType: Detects the type of line break in a file.
* Jonas Raoni Soares da Silva <http://raoni.org>
* https://github.com/jonasraoni/get-break-type
*}
TBreakType = (btUnknown, btWindows, btMacintosh, btUnix, btBinary);
function GetBreakType(const Filename: string; const MaxDataToRead: Cardinal = 5 * 1024... |
unit FIToolkit.Main;
interface
uses
System.SysUtils, System.Types;
type
TExitCode = type LongWord;
function RunApplication(const FullExePath : TFileName; const CmdLineOptions : TStringDynArray) : TExitCode;
function TerminateApplication(E : Exception) : TExitCode;
implementation
uses
System.Classes, S... |
{ 25/05/2007 11:16:46 (GMT+1:00) > [Akadamia] checked in }
{ 14/02/2007 08:32:06 (GMT+0:00) > [Akadamia] checked in }
{ 14/02/2007 08:31:52 (GMT+0:00) > [Akadamia] checked out /}
{ 12/02/2007 10:16:54 (GMT+0:00) > [Akadamia] checked in }
{ 08/02/2007 14:08:09 (GMT+0:00) > [Akadamia] checked in }
{--------------... |
unit ncCommPlusIndy;
{
ResourceString: Dario 12/03/13
}
interface
uses
SysUtils, Classes, SyncObjs, ExtCtrls, dialogs, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, idURI;
type
TplusReq = class
ptrTokenNex : TGUID;
ptrTokenPlus : String;
ptrURL : String;
ptrGettingToken... |
unit LLVM.Imports.DisassemblerTypes;
interface
//based on DisassemblerTypes.h
uses
LLVM.Imports,
LLVM.Imports.Types;
type
TLLVMDisasmContextRef = type TLLVMRef;
(**
* The type for the operand information call back function. This is called to
* get the symbolic information for an operand of an instruction.... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ WSDL Items }
{ }
{ Copyright (c) 2001 Borland... |
{ ***************************************************************************
Copyright (c) 2016-2020 Kike Pérez
Unit : Quick.DAO
Description : DAO Easy access
Author : Kike Pérez
Version : 1.1
Created : 22/06/2018
Modified : 07/04/2020
This file is part of QuickDAO: https://gi... |
program CircleMoving;
uses SwinGame, sgTypes;
const
CIRCLE_RADIUS = 150; //Using Constants to avoid Magic Numbers
procedure Main();
var
x,y : Integer;
begin
openGraphicsWindow('Circle Moving', 800, 600);
x := 400;
y := 300;
REPEAT
//Moving The circle Logic
If KeyDown(LeftKey) and (ScreenWidth()-x + CIRCLE_RADIUS < S... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ Strings Editor Dialog }
{ }
{ Copyright (c) 1999-200... |
{$i deltics.inc}
unit Test.InterfaceReference;
interface
uses
Deltics.Smoketest;
type
TInterfaceReferenceTests = class(TTest)
private
fOnDestroyCallCount: Integer;
procedure OnDestroyCallCounter(aSender: TObject);
published
procedure SetupMethod;
procedure InterfaceR... |
unit Unit1;
interface
uses
SysUtils, Variants, Classes, QGraphics, QControls, QForms,
QDialogs, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,
QStdCtrls, QExtCtrls, Sockets;
type
TForm1 = class(TForm)
Panel1: TPanel;
Memo1: TMemo;
Panel2: TPanel;
Label3: TLabel;
Label4: TL... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit uModel.Interfaces;
interface
uses System.Classes, uModel.Endereco;
type
iPessoaContatoModel = interface;
iPessoaContatoList = interface;
iPessoaModel = interface
['{5CEAF308-2BD1-46B8-A649-1FE6E519CC28}']
function Id: Integer; overload;
function Id(Value: Integer): iPessoaModel; overload;
... |
unit ProductsBaseView1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ProductsBaseView0, cxGraphics,
cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxCustomData, cxStyles,
cxTL, cxMaskEdit, cxDBLookup... |
unit UnitSettings;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, ExtCtrls, Spin;
type
TFormSettings = class(TForm)
CbAlphaBlend: TCheckBox;
CbAutoVol: TCheckBox;
CbStayOnTop: TCheckBox;
TbDarkLevel: TTrackBar;
Label1: ... |
////////////////////////////////////////////////////////////////////////////////
//
//
// FileName : SUIEdit.pas
// Creator : Shen Min
// Date : 2002-08-22 V1-V3
// 2003-06-20 V4
// Comment :
//
// Copyright (c) 2002-2003 Sunisoft
// http://www.sunisoft.com
// Email: supp... |
{-----------------------------------------------------------------------------
Author: Roman Fadeyev
Purpose: Источники данных, использующее для историю котировок
(IStockDataStorage)
History:
-----------------------------------------------------------------------------}
unit FC.StockData.HC.StockD... |
unit UDaoTransportadora;
interface
uses uDao, DB, SysUtils, Messages, UTransportadora, UEndereco, UDaoCidade,
UDaoCondicaoPagamento;
type DaoTransportadora = class(Dao)
private
protected
umTransportadora : Transportadora;
umEndereco : Endereco;
... |
unit FSysView;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, PairSplitter,
ComCtrls, FSTree, DTV;
type
TFileSystemView = class;
TFileListView = class;
{ TFileSystemTreeView }
TFileSystemTreeView = class(TDetailledTreeView)
private
function... |
{*!
* 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 TemplateViewImpl;
interface
{$MODE OBJFPC}
{$H+}
uses
Head... |
Unit FaceUnit;
interface
uses windows, sysutils, classes, dialogs, Graphics, PNGImage;
(******************************************************************************)
type
TRGBArray = ARRAY[0..0] OF TRGBTriple;
pRGBArray = ^TRGBArray;
(* face rec & animations*)
type
TFaceRes = (rEyes, rPupils,... |
unit BDLoginUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls,
System.IniFiles, System.Win.Registry, System.Actions, Vcl.ActnList,
plugin, NppForms;
type
TBDL... |
{*******************************************************}
{ }
{ DelphiWebMVC }
{ }
{ °æÈ¨ËùÓÐ (C) 2019 ËÕÐËÓ(PRSoft) }
{ ... |
unit pdv_abertura_fechamento_caixa;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters,
Menus, cxControls, cxContainer, cxEdit, dxSkinsCore, dxSkinBlack,
dxSkinBlue, dxSkinCaramel, dxSkinCoffee, dxSkinD... |
unit TestMaxBlankLines;
{ AFS 10 Nov 2003
Test blank lines removal }
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is TestMaxBlankLines, released November 2003.
The Initial Developer of the Original Code is Antho... |
unit uParentedPanel;
interface
uses
SysUtils, Classes, Controls, ExtCtrls;
type
TOnParentModifiedEvent = procedure(Sender: TObject; aParent:TWinControl) of object;
TParentedPanel = class(TPanel)
private
FOnParentModified : TOnParentModifiedEvent;
{ Private declarations }
protected
procedure Set... |
unit AutoBindingDescriptionForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinBlack,
dxSkinBlue, dxS... |
unit uObjInspFntChngr;
interface
procedure Register;
implementation
uses
SysUtils, Graphics, Forms;
var
FSavedFont: TFont;
const
PreferParentFont = True;
PreferFontName = 'Tahoma';
PreferFontSize = 8;
function FindObjectInspecotr: TCustomForm;
var
I: Integer;
begin
for I := 0 to Screen.CustomFormCo... |
{***************************************************************
*
* Project : echoclient
* Unit Name: main
* Purpose : Demonstrates usage of the ECHO client
* Date : 21/01/2001 - 12:59:11
* History :
*
****************************************************************}
unit main;
interface
uses
{$IFDE... |
namespace OxygeneLogo;
interface
uses
System.Windows,
System.Windows.Controls,
System.Windows.Data,
System.Windows.Documents,
System.Windows.Media,
System.Windows.Navigation,
System.Windows.Shapes;
type
OxygeneWindow = public partial class(Window)
private
// To use Loaded eve... |
unit plc_1;
interface
uses system;
type
TPLCObjectResult = (plcResultOK, plcResultWait, plcResultError);
TModBusDeviceStatus = (mdbNormal = 0,mdbError = 1);
//=====================================
PM2827 = class;
TA2_c = class;
TL_Ms = class;
//=====================================
PM2827 = class
J... |
{ ---------------------------------------------------------------------------- }
{ HeightMapGenerator MB3D }
{ Copyright (C) 2017 Andreas Maschke }
{ ---------------------------------------------------------------------------... |
unit uMoveMacrosForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, KbdMacro;
type
TMacrosMoveForm = class(TForm)
Label1: TLabel;
FromLabel: TLabel;
FromDevice: TLabel;
ToLabel: TLabel;
ToDevice: TComboBox;
ResultLabel: TLab... |
unit PlayerSessionStorage;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Fgl, dmxPlayer;
const
PLAYER_DATE_FORMAT = 'YYYY-MM-DD HH:MM:SS';
type
TPlayerFileInfo = packed record
Size: Int64;
CreatedAt: TDateTime;
end;
{ TPlayerPoint }
TPlayerPoint = packed record
rn: Integer;
la... |
unit NtUtils.Processes;
interface
uses
Winapi.WinNt, Ntapi.ntdef, Ntapi.ntpsapi, NtUtils.Exceptions, NtUtils.Objects;
const
// Ntapi.ntpsapi
NtCurrentProcess: THandle = THandle(-1);
type
TProcessHandleEntry = Ntapi.ntpsapi.TProcessHandleTableEntryInfo;
// Open a process (always succeeds for the current PID... |
unit Legend;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons, StrUtils;
type
TLegendForm = class(TForm)
btn_Print: TBitBtn;
btn_cancel: TBitBtn;
procedure FormCreate(Sender: TObject);
procedure btn_PrintClick(Sen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.