text stringlengths 14 6.51M |
|---|
unit cEnemy;
interface
uses Contnrs;
type
TEnemy = class
private
_X : SmallInt;
_Y : SmallInt;
_ScreenID : Byte;
_ID : Byte;
_EnemyCheckPointStatus : Byte;
procedure SetX(pX :SmallInt);
procedure SetY(pY : SmallInt);
procedure SetScreenX(pX : Integer);
function GetScreenX : In... |
unit nsMainMenuNew;
// Библиотека : Проект Немезис;
// Название : nsMainMenuNew;
// Автор : Морозов М. А;
// Назначение : Содержит классы используемые для работы с "основным меню";
// Версия : $Id: nsMainMenuNew.pas,v 1.14 2013/07/05 18:33:13 lulin Exp $
(*--------------------------------------------------... |
{ Subroutine SST_W_C_DTYPE (DTYPE, NAME, PACK)
*
* Write the data type definition from the data type descriptor DTYPE.
* The full data type definition will be written, whether simple or not.
* This routine would be used when declaring the data type itself.
* When PACK is TRUE, the data type declaration is for... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserv... |
unit clAcariacoes;
interface
type
TAcariacoes = Class(Tobject)
private
function getApuracao : String;
function getBase : Integer;
function getEntregador : Integer;
function getEnvio : String;
function getExecutor : String;
function getExtravio : Double;
... |
unit libge.dbroot;
interface
const
libge_dbroot_dll = 'libge.dbroot.dll';
type
size_t = Cardinal;
uint32_t = Cardinal;
dbroot_t = record
obj: Pointer;
error: PAnsiChar;
end;
string_t = record
data: Pointer;
size: size_t;
end;
function dbroot_open(const data: Poin... |
unit Weather.Settings;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, HGM.Button, System.ImageList, Vcl.ImgList, Vcl.ExtCtrls,
HGM.Controls.Labels;
type
TFormSettings = class(TForm)
Butt... |
unit uAssets;
interface
uses
glr_scene,
glr_math,
glr_render,
glr_render2d;
type
{ Assets }
Assets = class
public
// Base assets
class var GuiAtlas: TglrTextureAtlas;
class var GuiMaterial: TglrMaterial;
class var GuiCamera: TglrCamera;
class var GuiSpriteBat... |
unit UpdateRoutesCustomDataRequestUnit;
interface
uses
REST.Json.Types,
GenericParametersUnit, JSONNullableAttributeUnit, NullableBasicTypesUnit,
JSONDictionaryIntermediateObjectUnit, HttpQueryMemberAttributeUnit;
type
TUpdateRoutesCustomDataRequest = class(TGenericParameters)
private
[JSONMarshalled(F... |
unit EmailOrdering.Models.EmailMsg;
interface
uses
System.Generics.Collections,
IdMessage, Wddc.Inventory.Order, System.Classes;
type
TEmailMsg = class(TObject)
private
FContents: TIdMessage;
public
function GetTextFromAttachment(Index: integer): TStringList;
property Contents: TIdMessage read ... |
unit GX_MacroTemplateEdit;
interface
uses
Classes, Controls, Forms, StdCtrls, ComCtrls, GX_MacroFile,
GX_BaseForm;
type
TMacroTemplate = record
Name: string;
Description: string;
ShortCut: TShortCut;
InsertPos: TTemplateInsertPos;
end;
TfmMacroTemplateEdit = class(TfmBaseFo... |
unit PE_Files;
{$H+}
{$ALIGN OFF}
interface
uses
Windows;
type
P_DOS_HEADER = ^T_DOS_HEADER;
T_DOS_HEADER = packed record
e_magic: Word;
e_cblp: Word;
e_cp: Word;
e_crlc: Word;
e_cparhdr: Word;
e_minalloc: Word;
e_maxalloc: Word;
e_ss: Word;
e_sp: Word;... |
unit MFichas.View.Relatorio;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
FMX.Objects,
FMX.Layouts,
FMX.ListBox,
FMX.StdCtrls,
FMX.Controls.Presentation,
FMX.TabControl,
... |
unit iaStressTest.TThreadedQueue.PopItem;
interface
uses
System.Classes,
System.Generics.Collections,
System.SyncObjs;
const
POP_TIMEOUT = 10; //the lower the timeout, the more pronounced the problem
MAX_TEST_RUNTIME_SECONDS = 600;
ACCEPTABLE_TIMEOUTVARIANCE_MS = 60;
{$IFDEF MSWINDOWS}
... |
unit nevMeasureView;
{* Область вывода для измерений. }
// Модуль: "w:\common\components\gui\Garant\Everest\new\nevMeasureView.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnevMeasureView" MUID: (481201700007)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
uses
l3IntfUses
, nev... |
unit Notifications;
interface
const
NullId = 0;
type
TEventClass = byte;
IHook =
interface
procedure Handle( EventClass : TEventClass; var Info );
end;
procedure InitNotificationEngine;
procedure DoneNotificationEngine;
procedure RegisterEventClass( EventClass : TEventClas... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
unit UseBranchStatementParsingTest;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FpcUnit, TestRegistry,
ParserBaseTestCase,
WpcScriptCommons,
WpcStatements,
WpcScriptParser,
WpcExceptions;
type
{ TUseBranchStatementParsingTest }
TUseBranchStatementParsingTest = class(TParserBaseTestCase)
... |
unit UnitDocAbstrato;
interface
type
TDocumentoAbstrato = class
private
FNumero: String;
FDV: String;
FDV_Calc: String;
FTamanho: Integer;
FTamanhoDV: Integer;
function EstaEmBranco: Boolean;
function EstaFaltandoDigitos: Boolean;
function EstaSobrandoDigitos: Boolean;
function... |
{******************************************************************************}
{ }
{ Library: Fundamentals TLS }
{ File name: flcTLSKeys.pas ... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit BuildIndustryTask;
interface
uses
Tasks, Kernel, Collection, BuildFacilitiesTask, FacIds;
type
PFacIdArray = ^TFacIdArray;
TFacIdArray = array[0..0] of TFacId;
type
TMetaChoice =
class
public
constructor Create(aBlockClass, aServiceId : string; FacIds : array of TF... |
// Filename : SAXAElfred2.pas
// Version : 1.1 (Delphi)
// Date : July 4, 2003
// Author : Jeff Rafter
// Details : http://xml.defined.net/SAX/aelfred2
// License : Please read License.txt
unit SAXAElfred2;
interface
uses
Classes,
SAX,
XmlReader,
SAXDriver;
type
// Streamlined D... |
unit MdiChilds.UnionDTX;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MDIChilds.CustomDialog, JvComponentBase, JvDragDrop, Vcl.StdCtrls, Vcl.ExtCtrls,
MDIChilds.ProgressForm, DataTable, ActionHandler;
type
TF... |
{ vclutils unit
Copyright (C) 2005-2013 Lagunov Aleksey alexs@hotbox.ru
original conception from rx library for Delphi (c)
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 ve... |
unit uMainForm;
interface
uses
System.Classes, System.PushNotification,
FMX.Controls, FMX.Controls.Presentation, FMX.Forms, FMX.Memo, FMX.Memo.Types,
FMX.ScrollBox, FMX.Types;
type
TMainForm = class(TForm)
memLog: TMemo;
procedure FormDestroy(Sender: TObject);
procedure FormCreate(Sender: TObjec... |
unit parser;
interface
Uses System.Classes;
type
TObjectType = (otUnck, otString, otStringEx, otComboEx);
TStringArray = array of String;
TSimpleObject = class
private
slArguments : TStringArray;
FName: string;
FObjTyp : TObjectType;
procedure SetArguments(const Value: TStringArray);
public
// с... |
unit DcefB_BasicDialog;
interface
uses
Forms, StdCtrls, Controls, Consts, Classes, Graphics, Dialogs, ExtCtrls, Windows,
Math, Dcef3_ceflib;
type
TPasswordDialogForm = class
private
FForm: TForm;
FLabelPassword: TLabel;
FEditPassword: TEdit;
FOKBtn: TButton;
FCancelBtn: TButton;
FLab... |
unit MFichas.Model.Entidade.EMPRESA;
interface
uses
DB,
Classes,
SysUtils,
Generics.Collections,
/// orm
ormbr.types.blob,
ormbr.types.lazy,
ormbr.types.mapping,
ormbr.types.nullable,
ormbr.mapping.classes,
ormbr.mapping.register,
ormbr.mapping.attributes;
type
[Entity]
[Tabl... |
// Upgraded to Delphi 2009: Sebastian Zierer
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* 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 a... |
unit UploadFileGeocodingUnit;
interface
uses SysUtils, Classes, BaseExampleUnit, EnumsUnit;
type
TUploadFileGeocoding = class(TBaseExample)
public
procedure Execute(FileId: String);
end;
implementation
uses NullableBasicTypesUnit;
procedure TUploadFileGeocoding.Execute(FileId: String);
var
Error... |
unit NullableInterceptorUnit;
interface
uses
Windows, REST.JsonReflect, Rtti, SysUtils, System.JSON, System.TypInfo,
System.Generics.Collections;
type
TBaseNullableIntermediateObject = class abstract
protected
FIsNull: boolean;
FIsRequired: boolean;
public
property IsNull: boolean read FIsNull ... |
unit SoundTypes;
interface
type
ISoundTarget =
interface
function GetSoundName : string;
function GetSoundKind : integer;
function GetPriority : integer;
function IsLooped : boolean;
function GetVolume : single;
function GetPan : single;
functi... |
unit MainClientFormU;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
System.Net.HttpClientComponent,
Vcl.StdCtrls,
System.Net.URLClient,
System.Net.HttpClient,
Data.DB,
Vcl.Grids,
Vcl... |
unit Model.RoteirosExpressas;
interface
uses Common.ENum, FireDAC.Comp.Client, FireDAC.Comp.DataSet, Data.DB, DAO.Conexao;
type
TRoteirosExpressas = class
private
FLogradouro: String;
FZona: String;
FBairro: String;
FDescricao: String;
FCliente: Integer;
FPrazo: String;
FCEPFinal: Str... |
unit uMainDataModule;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, sqlite3conn, sqldb, DB, strutils;
type
{ TDM }
TDM = class(TDataModule)
DataSource1: TDataSource;
SQLite3Connection1: TSQLite3Connection;
updateSQLQuery: TSQLQuery;
SQLQueryCount: TSQLQuery;
SQLQueryResult: TSQLQ... |
Unit H2Listview;
Interface
Uses
Messages,Windows, Classes,Controls, ExtCtrls, SysUtils,GR32_Image,GR32,gr32_layers,Graphics
,ComCtrls,XMLDoc,XMLIntf;
Type
TH2ListView = Class(TControl)
Private
fx,
fy,
fwidth,
fheight:Integer;
fvisible:Boolean;
ffont:tfont;
fbitm... |
unit Feature;
interface
uses
FeatureIntf, Classes, dCucuberListIntf;
type
TFeature = class(TInterfacedObject, IFeature)
private
FScenarios: ICucumberList;
FDescricao: string;
FTitulo: string;
function GetScenarios: ICucumberList;
function GetDescricao: string;
function GetTitulo: string... |
unit TrainingDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, MarqueeCtrl, FramedButton,
VoyagerInterfaces, VoyagerServerInterfaces;
type
TTrainingDlg = class(TForm)
CloseBtn: TFramedButton;
HintText: TMarquee;
Shape1: TShape;
... |
unit nsNewCachableNode;
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Data\Tree\nsNewCachableNode.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnsNewCachableNode" MUID: (490AF9B0039B)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses
, l3NodesModelPart
, Dynam... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.CloudStorage.Provider.Azure
Description : CloudStorage Azure provider
Author : Kike Pérez
Version : 1.8
Created : 14/10/2018
Modified : 07/10/2019
This ... |
Unit DT_Jour;
{ $Id: DT_Jour.pas,v 1.45 2010/04/05 06:31:04 voba Exp $ }
// $Log: DT_Jour.pas,v $
// Revision 1.45 2010/04/05 06:31:04 voba
// - remove debug checks
//
// Revision 1.44 2010/03/30 11:12:37 voba
// - заменил trunk файла на прописывание метки
//
// Revision 1.42 2010/03/25 09:44:49 voba
// K:19749... |
unit clCliente;
interface
uses
clPessoaJ, clConexao;
type
TCliente = Class(TPessoaJ)
private
function getCodigo: Integer;
procedure setCodigo(const Value: Integer);
function getOperacao: String;
procedure setOperacao(const Value: String);
constructor Create;
destructor Destroy;
fun... |
/// Utility methods to format numbers as Excel does it.
unit tmsUFlxNumberFormat;
{$INCLUDE ..\FLXCOMPILER.INC}
interface
uses SysUtils,
{$IFDEF FLX_NEEDSVARIANTS} variants,{$ENDIF}
tmsUFlxMessages, Math;
/// <summary>
/// This method has been deprecated. Use <see cref="XlsFormatValue1904@variant@UTF16Stri... |
unit MarikoTutorial;
interface
uses
SysUtils, Tasks;
const
tidTask_ClusterMariko = 'MarikoTutorial';
tidTask_Mariko_MainHeadquarter = 'MarikoMainHq';
tidTask_Mariko_SelectProduct = 'MarikoSelProduct';
tidTask_Mariko_PharmaTutorial = 'MarikoPharmaTutorial';
procedure... |
{
This is a personal project that I give to community under this licence:
Copyright 2016 Eric Buso (Alias Caine_dvp)
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.apache.org/licenses... |
unit nec_v20_v30;
{
v1.1
Aņadidos muchos opcodes
Aņadidos al reset todos los registros
v1.2
Corregidos opcodes $f2 y $f3
}
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
main_engine,dialogs,sysutils,vars_hide,cpu_misc,timer_engine;
const
NEC_V20=0;
NEC_V30=1;
NEC_V33=2;
type
... |
unit uHaiku;
interface
type
IHaiku = interface(IInvokable)
['{72BA7A1E-4B4F-44C5-AD73-AB484E7894E6}']
function GetResultStr: string;
property ResultStr: string read GetResultStr;
end;
function HaikuReview(inStr: string): IHaiku;
implementation
uses System.SysUtils, System.StrUtils;
type
THaiku = ... |
unit HtmlParserTestMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
HTMLParser, Vcl.Grids, Vcl.ComCtrls;
type
TForm16 = class(TForm)
btn1: TButton;
lv1: TListView;
procedure bt... |
unit App;
{ Based on Hello_Triangle.c from
Book: OpenGL(R) ES 2.0 Programming Guide
Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner
ISBN-10: 0321502795
ISBN-13: 9780321502797
Publisher: Addison-Wesley Professional
URLs: http://safari.informit.com/9780321563835
http://www.op... |
unit EULAKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы EULA }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Common\EULAKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "EULAKeywordsPack" MUID: (145DA8D181DD)
{$Include w:\garant6x\implementation\G... |
unit RILogger;
interface
uses pi, pi_int, orbtypes, code_int;
const
REQUEST_CONTEXT_ID: ServiceId = 100;
REPLY_CONTEXT_ID: ServiceId = 101;
type
{TRILogger = class()
end;}
TRIORBInitializerImpl = class(TORBInitializer)
protected
procedure pre_init(const info: IORBInitInfo); override;
procedure ... |
unit UBSExplorer.Tab;
interface
uses
System.SysUtils,
System.IOUtils,
System.Classes,
System.UITypes,
System.Types,
Vcl.Forms,
Vcl.Dialogs,
Vcl.Controls,
Vcl.ComCtrls,
Pengine.EventHandling,
Pengine.ICollections,
Unbound.Game.Serialization,
UBSExplorer.DataModule;
type
TUBSTreeNode =... |
unit oki6295;
interface
uses {$IFDEF WINDOWS}windows,{$else}main_engine,{$ENDIF}
math,dialogs,timer_engine,sysutils,sound_engine;
const
OKIM6295_VOICES=4;
OKIM6295_PIN7_LOW=0;
OKIM6295_PIN7_HIGH=1;
type
adpcm_state=record
signal:integer;
step:integer;
end;
... |
unit uBitmaps;
interface
uses Winapi.Windows, Vcl.Graphics, Vcl.Forms, Vcl.Controls, System.Classes, System.Math;
type
IBitmapCompareResult = interface
['{BC211798-7B90-4DF7-A0CB-E5344CD23EF7}']
function BitmapGet: TBitmap;
property Bitmap: TBitmap read BitmapGet;
function CountGet: Inte... |
unit DataValidators.TestSuite;
interface
uses
TestFramework, System.SysUtils, System.Variants,
Framework.Interfaces,
DataValidators.TBooleanDataValidator,
DataValidators.TCurrencyDataValidator,
DataValidators.TDateTimeDataValidator,
DataValidators.TIntegerDataValidator,
DataValidators.TNumeri... |
unit TestAddressNotesSamplesUnit;
interface
uses
TestFramework, Classes, SysUtils,
BaseTestOnlineExamplesUnit;
type
TTestAddressNotesSamples = class(TTestOnlineExamples)
private
procedure GetAddress;
published
procedure MarkAsDetectedAsVisited;
procedure MarkAsDetectedAsDeparted;
end;
implem... |
unit SoundHandler;
interface
uses
VoyagerInterfaces, Classes, Controls, MPlayer;
type
TSoundHandler =
class( TInterfacedObject, IMetaURLHandler, IURLHandler )
public
constructor Create;
destructor Destroy; override;
private
fPlayers : TStringList;
... |
unit uUtilis;
interface
type
TUtilis = class
private
public
class function SubstituirString(pString,pOld,pNew: String): String;
class function FormatReal(pValor: Currency): String;
end;
implementation
uses
System.SysUtils;
{ TuSmartPro99 }
class function TUtilis.FormatReal(p... |
unit add_order_window;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, data_module, data_module_add, Data.DB,
Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.Buttons,Vcl.WinXPickers,DateUtils, add_cust... |
unit UFaceBookDemo;
interface
uses
FMX.Forms, SysUtils, FMX.TMSCloudBase, FMX.TMSCloudFacebook, FMX.Controls, FMX.Dialogs,
FMX.TabControl, FMX.Grid, FMX.TMSCloudListView, FMX.Edit, FMX.StdCtrls,
FMX.Objects, FMX.TMSCloudImage, FMX.Layouts, FMX.ListBox, System.Classes,
FMX.Types, FMX.TMSCloudBaseFMX, FMX.TMSCl... |
{ Subroutine SST_SYMBOL_LOOKUP (NAME_H, SYM_P, STAT)
*
* Look up an existing symbol in the currently active name spaces.
* NAME_H is the string handle returned by one of the SYO_GET_TAG routines.
* SYM_P is returned pointing to the symbol data block.
* STAT is returned with an error if the symbol was not foun... |
{ **** UBPFD *********** by delphibase.endimus.com ****
>> Разбивка строки на отдельные слова
function StringToWords(const DelimitedText: string; ResultList: TStrings;
Delimiters: TDelimiter = []): boolean - разбивает отдельную строку на
состовляющие ее слова и результат помещает в TStringList
function StringsToWords... |
unit uAbout;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, MGR32_Image, ExtCtrls;
type
TFrmAbout = class(TForm)
View: TMPaintBox32;
Timer: TTimer;
procedure FormHide(Sender: TObject);
procedure FormShow(Sender: TObject);
pro... |
Dispose
(* BinTree DA, 19.12.2018
---
Implementation of a binary search tree and several algorithms on it.
------------------------------------------------ *)
PROGRAM BinTree;
(*=====================================================*)
(* 1. declarations ... |
unit atSyncedStringFileReader;
// Модуль: "w:\quality\test\garant6x\AdapterTest\CoreObjects\atSyncedStringFileReader.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatSyncedStringFileReader" MUID: (502A4763011B)
interface
uses
l3IntfUses
, atStringFileReader
, atLockFile
;
type
TatSyncedStringFileReader =... |
unit l3PureMixIns;
{* Абстрактные примеси. }
// Модуль: "w:\common\components\rtl\Garant\L3\l3PureMixIns.pas"
// Стереотип: "Interfaces"
// Элемент модели: "l3PureMixIns" MUID: (47D810610398)
{$Include w:\common\components\rtl\Garant\L3\l3Define.inc}
interface
uses
l3IntfUses
;
// _ItemType_
(*
Ml3CountHolde... |
{ Subroutine SST_W_C_VAR (V, ADDR_CNT)
*
* Write the variable reference from the variable descriptor V.
* ADDR_CNT is the number of times the resulting expression should be
* the address of the variable descriptor. A value of 0 causes the
* variable reference to be written as is. Values above 0 cause
* "*... |
unit ResequenceAllRouteDestinationsUnit;
interface
uses SysUtils, BaseOptimizationExampleUnit, DataObjectUnit;
type
TResequenceAllRouteDestinations = class(TBaseOptimizationExample)
public
procedure Execute(RouteId: String);
end;
implementation
uses EnumsUnit;
procedure TResequenceAllRouteDestinations.E... |
unit aeLoaderAionH32;
(*
This class loads an aion h32 heightmap.
*)
(*
A few test vectors :
X/Y/Z
Z = height
-- > calculated height
1138.820435
1082.670288
135.8525238
--> 135,699005126953
1208.368896
1033.267212
140.8175659
--> 140,753875732422
1067.761353
1009.945679
136.76446... |
unit PE.RTTI;
interface
uses
System.Classes;
type
TRecordFieldDesc = record
Flags: uint32;
FieldName: PChar;
end;
PRecordFieldDesc = ^TRecordFieldDesc;
// TRttiReadFunc must return:
// - OutFieldSize: size of field.
// - OutReadSize size to read into field.
TRttiFieldResol... |
unit MainForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, FileScanner, ExtCtrls, ComCtrls;
type
TForm1 = class(TForm)
ListView1: TListView;
Panel1: TPanel;
BtnStart: TButton;
Edit1: TEdit;
BtnStop: TButton;
StatusBar... |
unit UDemo;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes,
System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs,
FMX.TMSBaseControl, FMX.TMSMemo, StrUtils, FMX.ListBox, FMX.Objects, FMX.Menus,
FMX.TMSMemoStyles, FMX.StdCtrls, FMX.TMSXUtil;
const
crlf:... |
unit WaveOut;
interface
uses
Windows, MMSystem,
Classes;
type
TOnDataProc = function (var Data; Size : integer) : integer of object;
TWavePlayer =
class
public
constructor Create;
destructor Destroy; override;
public
... |
unit G2Mobile.Model.Produtos;
interface
uses
FMX.ListView,
uDmDados,
uRESTDWPoolerDB,
System.SysUtils,
IdSSLOpenSSLHeaders,
FireDAC.Comp.Client,
FMX.Dialogs,
FMX.ListView.Appearances,
FMX.ListView.Types,
System.Classes,
Datasnap.DBClient,
FireDAC.Comp.DataSet,
Data.DB,
FMX.Objects,
FMX.G... |
unit TTSCOLLTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSCOLLRecord = record
PLenderNum: String[4];
PCollCode: String[8];
PAutoApplyItems: Boolean;
PDescription: String[30];
PRate: Currency;
End;
TTTSCOLLBuffer = class(TDataBuf... |
unit MFichas.Model.Produto.Metodos.Editar;
interface
uses
System.SysUtils,
System.Generics.Collections,
MFichas.Model.Produto.Interfaces,
MFichas.Model.Entidade.PRODUTO;
type
TModelProdutoMetodosEditar = class(TInterfacedObject, iModelProdutoMetodosEditar)
private
[weak]
FParent : iModelPr... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
**********************************************************... |
(*
* 发送数据的专用单元
*
* 注:1. 服务端每个业务线程一个数据发送器,
* 见 iocp_threads.TBusiThread;
* 2. 客户端每个发送线程一个数据发送器;
* 3. TransmitFile 模式发送时,每 TBaseSocket 对象一个
* TTransmitObject 发送器
*)
unit iocp_senders;
interface
{$I in_iocp.inc}
uses
{$IFDEF DELPHI_XE7UP}
Winapi.Windows, System.Classes, System.Va... |
unit AddContact;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DialMessages, Utils, Placemnt, DataErrors;
type
TAddContactForm = class(TForm)
ContactPropsGroupBox: TGroupBox;
UserNameLabel: TLabel;
UserNameEdit: TEdit;
CancelButton:... |
{
Clever Internet Suite
Copyright (C) 2014 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clEncryptor;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, Windows, SysUtils,
{$ELSE}
System.Classes, System.SysUtils, Winapi.Windows,
{$ENDIF}
clUtils, clWUtils, clCryptUtils,... |
unit ULicenca;
interface
uses uDM, System.SysUtils, FireDAC.Stan.Param,
Data.DB, ULicencaVO, uFireDAC, uLicencaItensVO, uGenericDAO,
FireDAC.Comp.Client, uEnumerador, Vcl.Dialogs, uCadastroInterface, System.Generics.Collections, uDMFB,
uFiltroLicenca, uFuncoesServidor, uClienteVO, uCliente, System.MaskUtils;
... |
{* CSI 1101-X, Winter, 1999 *}
{* Assignment 6, Question #1 *}
{* Identification: Mark Sattolo, student# 428500 *}
{* tutorial group DGD-4, t.a. = Jensen Boire *}
UNIT A6Q1TPU ;
INTERFACE
type
nodeptr = ^node ;
stackitem = string ;
node = record
value: stackitem ;
... |
unit session;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, syncobjs, visa, visatype;
type
TOnCloseNotify = procedure(ASender: TObject) of object;
{ TVisaSession }
TVisaSession = class(TComponent)
private
fThrowException,
fActive: boolean;
fAddress: string;
fConnectTimeo... |
unit EditApplianceForma;
interface
{$I defines.inc}
uses
WinAPI.Windows, WinAPI.Messages, System.SysUtils, System.Variants, System.Classes,
VCL.Graphics, VCL.Controls, VCL.Forms, VCL.Menus, VCL.Dialogs, VCL.StdCtrls,
VCL.Mask, Data.DB, VCL.DBCtrls, VCL.Buttons, VCL.ActnList, System.Actions,
OkCancel_frame, ... |
unit DirectionStepUnit;
interface
uses
REST.Json.Types, System.Generics.Collections, Generics.Defaults,
JSONNullableAttributeUnit,
DirectionPathPointUnit, EnumsUnit,
NullableBasicTypesUnit;
type
/// <summary>
/// Direction Step
/// </summary>
/// <remarks>
/// https://github.com/route4me/json-sch... |
unit InfoXTRANTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoXTRANRecord = record
PCode: String[2];
PDescription: String[30];
PGroup: String[1];
PCertificateCoverage: Boolean;
PActive: Boolean;
PModCount: SmallInt;
End;
T... |
unit DW.Consts.Android;
interface
const
cPermissionAccessBackgroundLocation = 'android.permission.ACCESS_BACKGROUND_LOCATION';
cPermissionAccessCoarseLocation = 'android.permission.ACCESS_COARSE_LOCATION';
cPermissionAccessFineLocation = 'android.permission.ACCESS_FINE_LOCATION';
cPermissionCamera = '... |
// **************************************************************************************************
//
// Unit uGlobalPreviewHandler
// unit for the Delphi Preview Handler https://github.com/RRUZ/delphi-preview-handler
//
// The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License... |
unit FeatureIntf;
interface
uses
Classes, dCucuberListIntf;
type
IFeature = interface(IInterface)
['{862178A4-5ACE-44C5-8990-4D96133984C1}']
function GetScenarios: ICucumberList;
function GetDescricao: string;
function GetTitulo: string;
procedure SetDescricao(const Value: string);
procedur... |
unit MdiChilds.CopyStruct;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MdiChilds.CustomDialog, Vcl.StdCtrls,
Vcl.CheckLst, Vcl.ExtCtrls, JvComponentBase, JvDragDrop, GsDocument,
MdiChilds.ProgressForm, ... |
unit uParametroVO;
interface
uses
System.SysUtils, uKeyField, uTableName, System.Generics.Collections;
type
[TableName('Parametros')]
TParametroVO = class
private
FObs: string;
FValor: string;
FCodigo: Integer;
FId: Integer;
FPrograma: Integer;
FNome: string;
procedure SetCodigo(c... |
/// Definitions for the formats in a cell.
unit tmsUFlxFormats;
{$INCLUDE ..\FLXCOMPILER.INC}
interface
uses tmsUFlxMessages;
type
/// <summary>
/// Horizontal Alignment on a cell.
/// </summary>
THFlxAlignment=(
/// <summary>
/// General Alignment. (Text to the left, numbers to the right and ... |
unit DW.FaderRectangle;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library }... |
unit PlayerFlic;
// Copyright (c) 1996 Jorge Romero Gomez, Merchise.
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
SpeedBmp, PlayerAnim, Flics, CodingFlic;
type
TFlicPlayer =
class( TAnimPlayer )
private
fFlicDecoder : TFlicDecoder;
... |
unit nsDeferredTree;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Folders"
// Автор: Лукьянец Р.В.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/Folders/nsDeferredTree.pas"
// Начат: 2006/10/23 08:36:25
// Родные D... |
{ HIObjectCore.h
Copyright (c) 2000-2003, Apple, Inc. All rights reserved.
}
{ Pascal Translation: Peter N Lewis, <peter@stairways.com.au>, 2004 }
{
Modified for use with Free Pascal
Version 210
Please report any bugs to <gpc@microbizz.nl>
}
{$mode macpas}
{$packenum 1}
{$macro on}
{$inline on}
{$cal... |
{
$Project$
$Workfile$
$Revision: 1.3 $
$DateUTC$
$Id: IdFiberWeaverThreaded.pas,v 1.3 2015/06/16 12:31:48 lukyanets Exp $
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright... |
unit MMCheck;
interface
uses
Windows, MMSystem,
SysUtils;
type
EMultimedia =
class(Exception)
public
constructor Create(aResult : hResult);
end;
procedure TryMM(aResult : HResult);
implementation
constructor EMultimedia.Create(aResult : hResult);
begin
i... |
unit Validator;
{$mode objfpc}{$H+}
interface
function IsFEN(const aStr: string): boolean;
implementation
uses
Classes, SysUtils, RegExpr;
type
TValidator = class
public
function ExpandEmptySquares(ARegExpr: TRegExpr): string;
function IsFEN(const aInputStr: string): boolean;
end;
functio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.