text stringlengths 14 6.51M |
|---|
unit ufrmEditor;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uframeEditorHtml, Vcl.StdCtrls,
Vcl.ExtCtrls;
type
TfrmEditor = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
btnModeloCancelar: TB... |
{**************************************************************************************}
{ }
{ CCR Exif - Delphi class library for reading and writing Exif metadata in JPEG files }
{ Version 1.5.2 beta ... |
{Una aerolínea debe actualizar las millas acumuladas por sus clientes en los viajes que han realizado el
último año. Por cada uno de ellos registró:
• DNI (cadena de 8)
• Millas acumuladas (hasta el momento, entero)
Cantidad de viajes realizados y a continuación para el mismo cliente por cada uno de sus viajes:
Desti... |
unit Cotacao.Model;
interface
uses
ormbr.container.objectset.interfaces, ormbr.Factory.interfaces,
FireDAC.Stan.Param, FireDAC.DatS, FireDAC.DApt.Intf, FireDAC.DApt,
FireDAC.Comp.DataSet, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDA... |
unit ibSHDriver_IBX;
interface
uses
// Native Modules
SysUtils, Classes, StrUtils,
// SQLHammer Modules
SHDesignIntf, ibSHDesignIntf, ibSHDriverIntf,
// IBX Modules
IB, IBSQLMonitor;
type
TibBTDriver = class(TSHComponent, IibSHDRV)
private
FNativeDAC: TObject;
FErrorText: stri... |
// 第2版Union-Find
unit DSA.Tree.UnionFind2;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
DSA.Interfaces.DataStructure,
DSA.Utils;
type
{ TUnionFind2 }
TUnionFind2 = class(TInterfacedObject, IUnionFind)
private
__parent: TArray_int;
/// <summary> 查找元素p所对应的集合编号,
/// O(h)复杂度, h为树的... |
{*********************************************************************
* Program : NANG CAP MANG MAY TINH *
* Date : 07-01-2006 *
* Group : Luong va Cap ghep *
************************************... |
program ImageAlphaTest;
uses SwinGame;
procedure Main();
var
img1, img2 : Bitmap;
begin
OpenGraphicsWindow('Image Alpha Test', 800, 600);
LoadDefaultColors();
img1 := LoadBitmap('Obs1.png');
img2 := LoadBitmap('ball_small.png');
repeat
ProcessEvents();
ClearScreen(ColorWhite);
DrawBitmap(img1, 0, 0);
... |
unit uTiffImage;
interface
uses
Classes,
SysUtils,
Graphics,
FreeImage,
FreeBitmap,
Dmitry.Graphics.Types,
uFreeImageIO,
uMemory;
type
TTiffImage = class(TBitmap)
private
{ Private declarations }
FPage: Integer;
FPages: Integer;
FImage: PFIMULTIBITMAP;
pro... |
{
Built-in identifiers unit.
You may edit this file but any modifications will be discarded after IDE restart.
Feel free to suggest additions to this file.
}
unit $builtins;
{$DEFINE _IDE_PARSER_} // This define is always defined in I-Pascal and can be used to fix include-related parsing issues
{$DEFINE ... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
{*******************************************************}
{ }
{ 基于HCView的电子病历程序 作者:荆通 }
{ }
{ 此代码仅做学习交流使用,不可用于商业目的,由此引发的 }
{ 后果请使用者承担,加入QQ群 649023932 来获取更多的技术 }
{ 交流。 ... |
{******************************************************************}
{ Parse of SVG property values }
{ }
{ home page : http://www.mwcs.de }
{ email : martin.walter@mwcs.de ... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : D:\WebServiceIntf\Delphi7\EDBOGuides.wsdl
// >Import : D:\WebServiceIntf\Delphi7\EDBOGuides.wsdl:0
// Encoding : utf-8
// ... |
unit LogUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TLogForm = class(TForm)
LogMemo: TMemo;
private
{ Private declarations }
public
{ Public declarations }
procedure AddLog(log:string);
end;
var... |
{ NAME: Jordan Millett
CLASS: Comp Sci 1
DATE: 9/22/2016
PURPOSE: INPUT: Ask user for:
Name
Age
Favorite Color
OUTPUT:
Name is ___ days old
Name is a (child, teen , adult)
... |
unit ServerReact.Model.Connection;
interface
uses
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.VCLUI.Wait,
Data.DB, FireDAC.Comp.Client, FireDAC.DApt, FireDAC.Phys.MySQLDef, FireDA... |
unit ibSHServicesAPI;
interface
uses
Windows, SysUtils, Classes, Controls, Forms,
SHDesignIntf,
ibSHDesignIntf, ibSHDriverIntf, ibSHTool;
type
TibSHService = class(TibBTTool, IibSHService, IibSHBranch, IfbSHBranch)
private
FDatabaseName: string;
FErrorText: string;
FServer: string... |
unit fBuoyancy;
{
********************************************************
Buoyancy Demo, by Mattias Fagerlund
( mattias@cambrianlabs.com)
See http://www.cambrianlabs.com/Mattias/DelphiODE/BuoyancyParticles.htm
for details on this demo.
}
interface
uses
Winapi.Windows, Winapi.Messages,... |
unit Demo.CandlestickChart.Waterfall;
interface
uses
System.Classes, Demo.BaseFrame, cfs.GCharts;
type
TDemo_CandlestickChart_Waterfall = class(TDemoBaseFrame)
public
procedure GenerateChart; override;
end;
implementation
procedure TDemo_CandlestickChart_Waterfall.GenerateChart;
var
Chart: IcfsGChart... |
unit csAcademicYears;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, DB, cxDBData, dxBar, dxBarExtItems, AArray,
cxGridCustomTableView, cxGridTableView, cxGridDBTableView, c... |
{-------------------------------------------------------------------------------
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
--------------------------------------... |
unit ULogger;
interface
uses
Windows, Controls, Classes, StdCtrls,
Messages, SysUtils, Forms, Dialogs, ExtCtrls,
Winsock, TcpIpHlp;
CONST WM_ASYNCSELECT = WM_USER + 1;
type
TAsyncEvent = procedure (Sender: TObject; Socket: TSocket) of object;
TMainForm = class(TForm)
MainPanel: TPanel... |
(*
Category: SWAG Title: OOP/TURBO VISION ROUTINES
Original name: 0021.PAS
Description: VIEWCOLR.PAS
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:53
*)
(*
> Does somebody know how to get correct colors in a view.
> That is: Exactly the colors I want to specify without mapping
> on the colors of the views own... |
unit ideSHComponentFactory;
interface
uses
SysUtils, Classes, Dialogs, Contnrs, Menus,
SHDesignIntf, ideSHDesignIntf;
type
TideSHComponentFactory = class(TComponent, IideSHComponentFactory)
private
FComponentList: TComponentList;
FComponentFormList: TComponentList;
function GetComp... |
unit infereTypeSimple;
interface
type
TArr = array[0..1] of Integer;
TDatetime = TDatetime;
type
TEnum = (V1, V2);
PEnum = ^TEnum;
var
int: Integer;
enum: TEnum;
enumPtr: PEnum;
arrArr: array of TArr;
d: TDatetime;
implementation
begin
int;
enum;
enumPtr;
arrArr;
1;
$FF;
1.0;
'te... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
{
@abstract Implements @link(NtWindows) that contains some help functions.
}
unit NtWindows;
{$I NtVer.inc}
interface
uses
NtBase;
type
{ @abstract Helper class that contains version, file and locale functions. }
TNtWindows = class
public
{ Checks if the operating system is at least Windows NT.
... |
unit uWizSetupProgramsColumns;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParentWizard, ImgList, StdCtrls, ExtCtrls, ComCtrls, Grids, ADODB;
const
STORE_GRID = 0;
CATEGORY_GRID = 1;
TAX_SCHEDULE_GRID = 2;
COLUMN_MAIN_RETAIL = 1;... |
unit uListFormBaseFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, dxSkinsCore,
cxGridCustomView,
cxGridCustomTableView, cxGridTableView, cxGridDBTableView,
cxGrid,cxLookAndFeels,cxGridDBBandedTableView, dxSkinsForm,uI3BaseFrm;
type
TOpenF... |
unit BsEditDistrict;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, DB, cxMaskEdit, cxDropDownEdit,
cxLookupEdit, cxDBLookupEdit, cxDBLookupComboBox, cxLabel, cxControls,
cxContainer, cxEdit, cxTextEdit, ActnList, FIBDataSet, pFIBDataS... |
unit doubleExt;
interface
function ExtendedToDouble( var w): double;
procedure DoubleToExtended( dd: double; var w);
implementation
uses math;
(*
float64 C_IOHandler::readFloat80(IColl<uint8> buffer, uint32 *ref_offset)
{
uint32 &offset = *ref_offset;
//80 bit floating point value according to the IEEE-75... |
unit UCallbacks;
(*====================================================================
Defines dummy callbacks for the Engine to the user interface. Instead of
setting the calbacks to nil, we use dummy calbacks, so that the usage is
safer.
======================================================================*)
... |
unit MyClasses;
interface
type
IDefaultValue = Interface
['{230C86BD-5BD0-464C-9AF2-AB38A8D11F6A}']
function Concat: string;
end;
TDefaultValue = class(TInterfacedObject, IDefaultValue)
private
fFirst: string;
fSecond: string;
fThird: string;
public
constructor Creat... |
PROGRAM quicksort;
const
max = 10;
TYPE
IntegerArray = array of integer;
ProcPtr = function(left, right : integer): integer;
FUNCTION compareTo(left, right : integer) : integer;
BEGIN
if left < right then
begin
exit(-1);
end
else if left > right then
begin
exit(1);
... |
(*
Category: SWAG Title: SEARCH/FIND/REPLACE ROUTINES
Original name: 0004.PAS
Description: BOYER.PAS
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:46
*)
(* Public-domain demo of Boyer-Moore search algorithm. *)
(* Guy McLoughlin - May 2, 1993. *)
program De... |
unit uInstallThread;
interface
uses
System.Classes,
System.SysUtils,
Winapi.Windows,
Winapi.ActiveX,
uInstallTypes,
uDBForm,
uMemory,
uConstants,
uInstallUtils,
uInstallScope,
uActions,
uTranslate,
uIME;
type
TInstallThread = class(TThread)
private
{ Private ... |
unit libutil;
//{$mode delphi}
interface
uses
Classes, SysUtils;
function UriToFileName(uri: string): string;
function GetPageResult(code: integer; var Output: TMemoryStream): integer;
function IsImage(AFileName: string): boolean;
function IsFileDownload(AFileName: string): boolean;
function GetContentType(AFileN... |
{
@abstract(Provides automatic detecting format of highlighters and importing)
@authors(Vitalik [just_vitalik@yahoo.com])
@created(2006)
@lastmod(2006-06-30)
}
{$IFNDEF QSynUniFormatNativeXmlAuto}
unit SynUniFormatNativeXmlAuto;
{$ENDIF}
interface
uses
{$IFDEF SYN_CLX}
QClasses,
QGraphics,
QSy... |
unit XDebugItem;
interface
uses Classes;
type
TXFunctionType = (XFT_INTERNAL, XFT_USER_DEFINED);
TStringArray = array of string;
PXItem = ^TXItem;
TXItemArray = array of PXItem;
TXItem = record
private
FLevel: word;
FTimeStart: single;
FTimeEnd: single;
FMemoryStart:... |
{
BASSWEBM 2.4 Delphi unit
Copyright (c) 2018-2019 Un4seen Developments Ltd.
See the BASSWEBM.CHM file for more detailed documentation
}
unit BassHLS;
interface
{$IFDEF MSWINDOWS}
uses BASS, Windows;
{$ELSE}
uses BASS;
{$ENDIF}
const
// Additional error codes returned by BASS_ErrorGetCode... |
//16517217/Mohammad Ridwan Hady Arifin
program konversisuhu;
{program menerima masukan berupa sebuah bilangan yang merepresentasikan suhu dan sebuah besaran dari suhu tersebut
kemudian program juga menerima sebuah masukan kedua berupa faktor konversi antara F, R, C atau K,
program akan menghitung nilai suhu setara dal... |
unit rtti_serializer_uMoniker;
interface
uses
Classes, SysUtils, rtti_broker_iBroker, typinfo,
rtti_serializer_uSerialObject;
type
{ TSerialMoniker }
generic TSerialMoniker<T: TRBCustomObject> = class(TRBCustomObject)
private
fRefID: integer;
fIDObject: T;
fStore: IRBStore;
... |
unit DriverControl;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
// !!!!!!!!!!!!!!!!!
// !!! WARNING !!!
// !!!!!!!!!!!!!!!!!
// AFTER USING THIS OBJECT,... |
{/*!
Provides COM interface of TransModeler's TsmApi.
\modified 2019-07-01 16:00pm
\author Wuping Xin
*/}
namespace TsmPluginFx.Core;
uses
rtl;
const
TsmApiMajorVersion = 1;
TsmApiMinorVersion = 0;
const
LIBID_TsmApi : String = '{1DA9E83D-B7FF-49... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, 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.Ph... |
procedure SIRegisterTLISTBOX(Cl: TPSPascalCompiler);
begin
with Cl.AddClassN(cl.FindClass('TCUSTOMLISTBOX'), 'TLISTBOX') do
begin
RegisterProperty('BORDERSTYLE', 'TBorderStyle', iptrw);
RegisterProperty('COLOR', 'TColor', iptrw);
RegisterProperty('FONT', 'TFont', iptrw);
RegisterProperty('MULTISEL... |
unit RouleItem;
interface
type
TRouleItem = class
private
FPath: string;
FName: string;
FAction: TClass;
procedure SetAction(const Value: TClass);
procedure SetName(const Value: string);
procedure SetPath(const Value: string);
public
property Name: string read FName write SetName;
... |
(*
-----------------------------------------------------------------------------------------------------
Version : (288 - 279)
Date : 01.28.2011
Author : Antonio Marcos Fernandes de Souza (amfsouza)
Issue : wrong format to decimal places
Solution: I pointed correct parameters
Version : (288 - 280)
---------------... |
unit DSA.Graph.KruskalMST;
interface
uses
System.SysUtils,
System.Rtti,
DSA.Interfaces.DataStructure,
DSA.Interfaces.Comparer,
DSA.Tree.PriorityQueue,
DSA.Tree.UnionFind6,
DSA.List_Stack_Queue.ArrayList,
DSA.Graph.Edge;
type
TKruskalMST<T> = class
private type
TArr_bool = TArray<boolean>;
... |
unit uSystemObj;
interface
uses uParentClass;
const
SYS_MODULE_TRIAL = 'D';
SYS_MODULE_1 = '1';
SYS_MODULE_2 = '2';
SYS_MODULE_3 = '3';
SYS_MODULE_4 = '4';
SYS_MODULE_5 = '5';
SYS_ERROR = 'E';
type
TSystem = Class(TParentClass)
private
fStartMode : Char;
... |
unit FrameTable1;
interface
{$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF}
uses
{$IFDEF FPC}
Lresources,
{$ELSE}
{$ENDIF}
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, StdCtrls, ExtCtrls,
editCont,util1,selectCells1,
debug0;
type
Tc... |
unit htGenerator;
interface
uses
Windows, SysUtils, Types, Classes, Controls, Graphics,
htInterfaces, htControls, htMarkup;
type
ThtGenerateCtrlEvent = procedure(inMarkup: ThtMarkup;
const inContainer: string; inCtrl: TControl;
var ioHandled: Boolean) of object;
//
ThtGenerator = class
privat... |
//------------------------------------------------------------------------------
//EventList UNIT
//------------------------------------------------------------------------------
// What it does -
// A list of TRootEvents
//
// Changes -
// Dec... |
unit TimeTrackerLogInterface;
interface
uses
Classes,
SysUtils;
type
ITimeTrackerLog = interface['{E4EB6AD6-1601-4638-955D-B05FFD1AF08E}']
procedure WriteLogEntry(const TimeStamp :TDateTime; const Description :string);
procedure ReadLogEntries(Items :TStrings; const MaxEntries :integer);
end;
implem... |
unit AST.Writer;
interface
uses AST.Classes, AST.Delphi.Parser;
type
TASTWriter<TDoc, TNode> = class
private
type
TWriteNodeProc = reference to procedure (const Node: TNode; const AST: TASTItem);
TGetNodeProc = reference to function (const Container: TDoc;
... |
{**************************************************************************************}
{ }
{ CCR Exif - Delphi class library for reading and writing Exif metadata in JPEG files }
{ Version 1.5.0 beta ... |
{Faça um programa Pascal que leia dois números n e outro m (0 <= n <= 9) e conte quantos dígitos n existem em m. Se não existir nenhum dígito correspondente, a mensagem "NAO" deve ser exibida. Caso contrário imprima o resultado do seu cálculo.}
program arranjos;
var
n, m, contaDigitos: longint;
begin
read(... |
unit SplashForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,
SimpleTimer,
InflatablesList_Manager;
type
TfSplashForm = class(TForm)
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObject);
private
{ Private declarati... |
unit frmWizard;
interface
uses
Classes, ComCtrls,
Controls, Dialogs, ExtCtrls,
Forms,
Graphics, Messages, OTFEFreeOTFEBase_U, SDUForms, StdCtrls, SysUtils, Variants, Windows;
type
TfrmWizard = class (TSDUForm)
pnlRight: TPanel;
pcWizard: TPageControl;
pnlButtons: TPanel;
... |
{*******************************************************************************
Title: T2TiPDV
Description: Biblioteca de funções.
The MIT License
Copyright: Copyright (C) 2016 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (... |
unit uUsuario;
interface
type
TUsuario = class
private
FId: Integer;
FNome: string;
function getId: Integer;
function getNome: string;
procedure setId(const Value: Integer);
procedure setNome(const Value: string);
public
constructor create;
published
property id: Integer read g... |
{-------------------------------------------------------------------------------
Copyright 2012 Ethea S.r.l.
Licensed under the Apache License, Version 2.0 (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.apa... |
unit Unit2;
interface
type
{ TAncestor : Предок }
TAncestor = class
private
// Виртуальная процедура
procedure SetMyField(Value: string); virtual; abstract;
function GetMyField: string; virtual; abstract;
protected
public
end;
{ TMyClass : Наследник }
TMyClass = class(TAncestor)
private
FMyField: string;
// П... |
{
Clever Internet Suite Version 6.2
Copyright (C) 1999 - 2006 Clever Components
www.CleverComponents.com
}
unit clBodyChooser;
interface
{$I clVer.inc}
uses
Forms, Classes, Controls, StdCtrls, clMailMessage;
type
TclMessageBodyChooser = class(TForm)
btnOK: TButton;
b... |
(*
Project : unnamed -Bot
Author : p0ke
Homepage : http://unnamed.bot.nu/
Credits : Redlime - Helped with coding.
Tzorcelan - Helped with coding and testing spread.
Positron - Coded netbios-spread orginal. I Modified it.
... |
unit uI2XOCR_TOCR;
interface
uses
Windows,
Classes,
uStrUtil,
Graphics,
SysUtils,
GR32,
GR32_Image,
uI2XOCR,
MapStream,
uDWImage,
uI2XConstants,
Typinfo,
uTOCRdll,
uCmdLine,
ExtCtrls;
const
UNIT_NAME = 'ui2xOCR_TOCR';
X_DPI_DEFAULT = 300;
Y_DPI_DEFAULT = 30... |
unit uRoomDM;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uAbstractDataModule, FMTBcd, DBClient, Provider, DB, uMainDM,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.... |
unit FMain;
interface
uses
Winapi.OpenGL,
Winapi.Windows,
Winapi.Messages,
System.Math,
System.SysUtils,
System.UITypes,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.ExtCtrls,
Vcl.Menus,
// GLS
GLScene,
... |
{******************************************************************}
{ SVG Image }
{ }
{ home page : http://www.mwcs.de }
{ email : martin.walter@mwcs.de ... |
unit Objekt.DHLNameType;
interface
uses
SysUtils, Classes, geschaeftskundenversand_api_2;
type
TDHLNameType = class
private
fNameTypeAPI: NameType;
fName2: string;
fName3: string;
fName1: string;
procedure setName1(const Value: string);
procedure setName2(const Value: string);
proce... |
{: This help file explain all the interaction task classes defined in
the CADSys 4.0 library for both the 2D and 3D use.
These classes are defined in the CS4Tasks unit file
that you must include in the <B=uses> clause in all of your units
that access the types mentioned here.
See also <See Class=TCADPr... |
unit Main;
{$J+}
{$I ipCompiler.inc}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, mwHighlighter, mwCustomEdit, hkBookSyn, StdCtrls, ExtCtrls, ComCtrls, ipPlacemnt, Menus, StdActns, ActnList,
ImgList, TB2Item, TB2Dock, TB2Toolbar, ipMainMenu, mwGeneralSyn, ipB... |
unit pLuaUtils;
{$mode objfpc}{$H+}
{$I pLua.inc}
interface
uses {$IFDEF LINUX}
BaseUnix
{$ENDIF}
{$IFDEF WINDOWS}
Windows
{$ENDIF}
, Classes, SysUtils,
Lua, pLua;
//fs namespace support
procedure plua_fs_register(L:Plua_State);
//dbg namespace support
procedure plua_dbg_register... |
unit Odontologia.Controlador.EmpresaTipo;
interface
uses
Data.DB,
System.Generics.Collections,
System.SysUtils,
Odontologia.Modelo,
Odontologia.Modelo.Entidades.EmpresaTipo,
Odontologia.Modelo.EmpresaTipo.Interfaces,
Odontologia.Controlador.EmpresaTipo.Interfaces;
type
TControllerEmpresaTipo = class(... |
unit MoreControls;
interface
uses
SysUtils, Classes, Graphics,
ThTag, ThWebControl, TpControls, TpLabel, TpInterfaces;
type
TTpFormatLabel = class(TTpLabel, ITpIncludeLister)
private
FFormatString: string;
FOnFormat: TTpEvent;
protected
function GetContent: string; override;
function GetS... |
unit Utilidades.Mensajes;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.ExtCtrls,
Vcl.Buttons,
Vcl.Imaging.pngimage,
Vcl.StdCtrls, utilidades;
type
TPagMensajes = class(TForm)
p... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: FRFaceEditor<p>
Editor fram for a TGLFaceProperties.<p>
<b>Historique : </b><font size=-1><ul>
</ul></font>
}
unit FRFaceEditorLCL;
interface
{$i GLScene.inc}
uses
lresources,
Forms, ComCtrls, FRTrackBarEditLC... |
{ :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: QuickReport 4.0 for Delphi and C+Builder ::
:: ::
:: QRPrgres.pas - Foreground printing progress form ::
:: ... |
unit NewFrontiers.Entity.Mapping;
interface
uses
System.Rtti, Generics.Collections, NewFrontiers.Reflection;
type
/// <summary>
/// Enumeration für den Feldtyp. Wird verwendet um typsicher mit den
/// DB-Feldern kommunizieren zu können.
/// </summary>
TFieldType = (
ftString,
... |
unit uFrameFreeActivation;
interface
uses
Winapi.Windows,
Winapi.ShellApi,
System.SysUtils,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.ExtCtrls,
Dmitry.Controls.Base,
Dmitry.Controls.LoadingSign,
uFrameWizardBase,
uShellInteg... |
Program helloWorld; // Имя программы. Не обязательная строчка
Var // Начало объявления глобальных перменных
hello: string; // Объявление строковой переменной с именем 'hello'.
Begin // Начало тела программы.
hello:= 'Hello World'; ... |
unit PromptForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Spin, StdCtrls;
type
// interposer for spin edit
TSpinEdit = class(Spin.TSpinEdit)
protected
Function IsValidChar(Key: Char): Boolean; override;
end;
TfPromptForm = class(TForm)
... |
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.Layouts, FMX.StdCtrls,
FMX.ListBox, System.Math, FMX.Platform, FMX.Controls.Presentation, AListBoxHelper,
FMX.ScrollBox, FMX.Memo, FMX.G... |
unit uRecvScreen;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IdContext, IdBaseComponent, IdComponent,
IdCustomTCPServer, IdTCPServer, Vcl.StdCtrls, IdGlobal, IdException,
IdSocketHandle, IdThread, IdSy... |
{-------------------------------------------------------------------------------
Copyright 2012-2021 Ethea S.r.l.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://ww... |
unit MainForm;
{$IFDEF FPC}
{$MODE Delphi}
{$R *.lfm}
{$ELSE}
{$R *.DFM}
{$ENDIF}
interface
uses
Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Menus, ImgList, ComCtrls, StdCtrls, ExtCtrls, Buttons, ToolWin,
{$IFDEF FPC}
LCLIntf, LCLType,
{$ELSE}
rxPlacemnt, Windows,
{$END... |
// Copyright (c) 2009, ConTEXT Project Ltd
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this list of condition... |
unit _matrix4;
{***********************************************************************}
{ MATRIX4 : matrix used for 3D transformations utilities }
{ }
{ Copyright (c) 1996 Yves Borckmans }
{*******... |
unit FileCompareUnit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, JPEG, Vcl.filectrl, math;
type
TForm1 = class(TForm)
Memo1: TMemo;
Button1: TButton; //scan
Button2: TButton; ... |
{
Simple spherical panorama viewer using GLScene
The sample input images are by Philippe Hurbain. http://www.philohome.com
Other resources on how to make your own spherical or cylindrical panorama:
http://www.fh-furtwangen.de/~dersch/
http://www.panoguide.com/
http://home.no.net/dmaurer/~dersch/Inde... |
unit FDACDataSetProvider.Editor;
interface
uses
System.Classes, System.SysUtils
, DesignEditors
, FDACDataSetProvider;
type
TFDACDataSetProviderEditor = class(TComponentEditor)
private
function CurrentObj: TFDDataSetProvider;
protected
public
procedure ExecuteVerb(Index: Integer... |
unit ibSHComponent;
interface
uses
Windows, SysUtils, Classes, Contnrs,
SHDesignIntf, SHDevelopIntf,
ibSHDesignIntf;
type
TibBTComponent = class(TSHComponent, IibSHComponent, IibSHDummy)
protected
function GetBranchIID: TGUID; override;
function GetCaptionPath: string; override;
... |
unit qtx.visual.scroll.text;
interface
//#############################################################################
//
// Author: Jon Lennart Aasenden
// Company: Jon Lennart Aasenden LTD
// Copyright: Copyright Jon Lennart Aasenden, all rights reserved
//
// About: This unit introduces ... |
unit DAW.Model.Devices;
interface
uses
System.Generics.Collections,
DAW.Model.Device.New;
type
TdawDevices = class(TList<TdawDevice>)
private
function Compare(const ALeft, ARight: string): Boolean;
public
function IsDuplicat(const ADevice: TdawDevice): Integer;
function ToJSON: string;
proc... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit Chunk;
interface
uses myTypes, SwinGame, Math;
procedure RenderChunk(x, y: Integer; myPlayer: PlayerType; chunk:ChunkArray; blocks: BlockArray);
function GetBlock(world: WorldArray; x, y: integer): integer;
procedure SetBlock(var world: WorldArray; x, y, b: integer);
function GetChunkNumber(x, y: integer): Point2... |
(*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*
Unit
Inventory
*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*
[2007/10/29] Helios - RaX
================================================================================
License: (FreeBSD, pl... |
//******************************************************************************
// Проект ""
// Справочник видов водомеров
//
// последние изменения
//******************************************************************************
unit uHydrometerVid_main;
interface
uses
Windows, Messages, SysUtils, Variants, Clas... |
unit uConsoleApplication;
interface
uses
Windows,
SysUtils,
uProduto,
uIAeroNave,
uAviao,
uHelicoptero,
Variants,
Classes;
type
TConsoleApplication = class
private
class procedure Cabecalho(cabecalho:string);
class procedure PressioneQualquerTecla;
class procedure Men... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.