text stringlengths 14 6.51M |
|---|
unit ntvCtrls;
{$mode objfpc}{$H+}
interface
uses
Classes, Messages, Controls, StdCtrls, ExtCtrls, SysUtils, Math, Contnrs, Graphics, Forms,
LCLType, LCLIntf, LMessages, LCLProc, ntvThemes,
ntvUtils;
type
{ TntvCustomControl }
TntvCustomControl = class(TCustomControl)
protected
p... |
unit raiden_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nec_v20_v30,main_engine,controls_engine,gfx_engine,rom_engine,pal_engine,
sound_engine,seibu_sound,misc_functions;
function iniciar_raiden:boolean;
implementation
const
raiden_rom_main:array[0..3] of tipo_roms=(
(n:'1.u0253';l:... |
program centros;
type
centro = record
nombre :string;
universidad :string;
cantidadInvestigadores :integer;
cantidadBecarios :integer;
end;
universidad = record
nombre :string;
cantidadCentros :integer;
cantidadInvestigadores :integer;
cantid... |
{$I ACBr.inc}
unit ASCIOTConfiguracoes;
interface
uses
ASCIOTUtil, pciotCIOT,
{$IFNDEF ACBrCTeOpenSSL}
ACBrCAPICOM_TLB, JwaWinCrypt, JwaWinType, ACBrMSXML2_TLB,
{$ENDIF}
Classes, Sysutils, pcnConversao, ActiveX;
{$IFNDEF ACBrCTeOpenSSL}
const CAPICOM_STORE_NAME = 'My'; //My CA Root AddressBook
{$ENDIF}
t... |
unit UserUnit;
interface
uses
REST.Json.Types, System.Generics.Collections, SysUtils,
JSONNullableAttributeUnit,
NullableBasicTypesUnit, GenericParametersUnit, EnumsUnit;
type
/// <summary>
/// Response json schema for the retrieved member's object
/// </summary>
/// <remarks>
/// https://github.co... |
{
$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 r... |
unit WPRTEDefsConsts;
{ -----------------------------------------------------------------------------
Copyright (C) 2002-2013 by wpcubed GmbH - Author: Julian Ziersch
info: http://www.wptools.de mailto:support@wptools.de
__ __ ___ _____ _ _____
/ /... |
unit RSDialogs;
{ *********************************************************************** }
{ }
{ RSPak Copyright (c) Rozhenko Sergey }
{ http://sites.google.com/site/sergroj/ }... |
program hw3q3a;
type
TAGTYPE = (i, r, b);
IRB = record
case kind: TAGTYPE of
i: (IFIELD: integer);
r: (RFIELD: real);
b: (BFIELD: Boolean);
end;
var
Vtype : char ;
Vval : string ;
Vint : integer ;
Vreal : real ;
V... |
unit kwRAISE;
{* Зарезервированное слово RAISE. Аналогично raise из Delphi. Если не было исключения, то генерируется EtfwScriptException.
Пример:
[code]
TRY
'Тестовое исключение' RAISE
EXCEPT
true >>> WasException
END
[code] }
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\kwRAISE.pas"
// Стереотип: "Scri... |
unit ChangePassword;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DialMessages, Utils, Placemnt, DataErrors;
type
TChangePasswordForm = class(TForm)
PasswordPropsGroupBox: TGroupBox;
CurrentPasswordLabel: TLabel;
NewPasswordLabel: TLab... |
///<summary>
/// Fixes the SelectDirectory function of Delphi 2007 (not sure whether it needs fixing
/// in later versions) </summary>
unit GX_dzSelectDirectoryFix;
interface
{$WARN UNIT_PLATFORM OFF}
uses
Windows,
SysUtils,
FileCtrl,
Controls;
///<summary>
/// Bugixed version of the FilCtrl S... |
{ Subroutine SST_R_SYN_COMMAND (STAT)
*
* Process COMMAND syntax. This is the top level SYN file syntax.
}
module sst_r_syn_command;
define sst_r_syn_command;
%include 'sst_r_syn.ins.pas';
procedure sst_r_syn_command ( {process COMMAND syntax}
out stat: sys_err_t); {completion status cod... |
(* MPP_SS: HDO, 2004-02-06
------
Syntax analyzer and semantic evaluator for the MiniPascal parser.
Semantic actions to be included in MPI_SS and MPC_SS.
===================================================================*)
UNIT MPC_SS;
INTERFACE
VAR
suc... |
unit udmEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, udmGlobal, DB, DBAccess, Ora, DBClient, udmDBCore, udmDBRoot, uGlobals,
DBSearch;
type
TdmEditClass = class of TdmEdit;
TdmEdit = class(TdmDBRoot)
OraSession: TOraSession;
private
FhNu... |
unit LogTreeView;
{
Copyright (C) 2006 Luiz Américo Pereira Câmara
pascalive@bol.com.br
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) a... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Grids, IniFiles;
type
TForm1 = class(TForm)
img1: TImage;
btn1: TButton;
lbl1: TLabel;
lbl2: TLabel;
btn3: TButton;
strngrd1: TStringGrid;
... |
unit CustomerInfoFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Dm, StdCtrls, PrjConst, A4onTypeUnit;
type
TCustomerInfoFrm = class(TFrame)
gbInfo: TGroupBox;
lblFIO: TLabel;
lblDebt: TLabel;
memAbonent: TMemo;
private
{ Private... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit ManifestUnit;
interface
uses
REST.Json.Types, System.Generics.Collections,
JSONNullableAttributeUnit,
NullableBasicTypesUnit;
type
/// <summary>
/// The manifest contains values derived from other values
/// </summary>
/// <remarks>
/// https://github.com/route4me/json-schemas/blob/master/Addr... |
unit evStyleTableFontSizeCorrector;
{* [RequestLink:209585097]. }
// Модуль: "w:\common\components\gui\Garant\Everest\evStyleTableFontSizeCorrector.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevStyleTableFontSizeCorrector" MUID: (4E32AB1401C0)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}... |
unit TestUBird;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework, UBird, UEuropean, UAfrican, UNorw... |
unit TokyoScript.Runtime;
{
TokyoScript (c)2018 Execute SARL
http://www.execute.Fr
}
interface
uses
System.Classes,
System.SysUtils;
const
FLAG_CONSOLE = 1;
type
TOpCode = (
opReturn, // empty
opGotoLabel, // goto vLabel
opJumpiEQ, // if vReg1 = vReg2 then goto vLab... |
unit FMX.Graphics.INativeCanvas;
interface
uses
System.Types,
System.UITypes,
System.Math.Vectors,
FMX.Types,
FMX.Graphics;
type
TDrawProc = reference to procedure;
TDrawMethod = (Native, Firemonkey);
INativeCanvas = interface
function GetCanvas: TCanvas;
procedure NativeDraw(const ARect: ... |
{ ***************************************************************************
Copyright (c) 2016-2021 Kike Pérez
Unit : Quick.Conditions
Description : Conditions validator
Author : Kike Pérez
Version : 2.0
Created : 05/05/2021
Modified : 11/05/2021
This file is part of QuickLib... |
unit uClasse.Veiculo.Terrestre.Caminhao;
interface
uses
uClasse.Veiculo.Terrestre, System.SysUtils, System.DateUtils;
type
TCaminhao = class(TTerrestre)
private
public
DataInstalacao_tacografo: Tdatetime;
DataValidade_tacografo: Tdatetime;
QtdEixos: integer;
TipoCarr... |
unit BCEditor;
interface {********************************************************************}
uses
Windows, Messages, ActiveX, GDIPAPI, GDIPObj,
Classes, SysUtils, UITypes, StrUtils, Generics.Collections,
Forms, StdActns, Controls, Graphics, StdCtrls, Dialogs, Consts,
Menus,
BCEditor.Commands, B... |
unit RijndaelECB;
{ Copyright (c) 2001, Tom Verhoeff (TUE) }
{ Version 1.0 (July 2001) }
{ FreePascal library for use of Rijndael in Electronic Codebook Mode }
interface
const
HexStrLen = 32;
BlockLen = 16;
type
HexStr = String [ HexStrLen ]; { hex digits only: ['0'..'9', 'A'..'F'] }
Block = array [ ... |
unit Parsers.SRC;
interface
uses
Parsers.Abstract, SysUtils, GsDocument, Classes, Generics.Collections, Parsers.Excel.Tools;
type
TSRCRow = class
private
FValue: string;
FArray: TArray<string>;
function GetValue: string;
function GetParam(index: integer): string;
function GetParamCount: integer;
public... |
unit ConcreateFactoryMethod;
interface
uses
FactoryMethod;
type
TConcreteProductCreator = class(TAbstractProductCreator)
public
function CreateProduct(AProductID: integer): IProduct; override;
end;
// The function that creates the products is virtual and can be overridden at least from
implementatio... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, XPMan, Spin, ComCtrls, FDOTable, ClipBrd, ShowMsgs,
IniFiles, OSUtils, Strings;
type
TMainFrm = class(TForm)
CancelBtn: TButton;
OKBtn: TButton;
GroupBox2: TGroupBox;
Label3... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit CommonTypesUnit;
interface
uses
System.Generics.Collections, SysUtils;
type
TIntegerArray = TArray<integer>;
TStringArray = TArray<String>;
T2DimensionalStringArray = array of array of String;
TStringPair = TPair<String,String>;
TArrayStringPair = TArray<TStringPair>;
TListStringPair = TList<TStri... |
unit IsometricMap;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
SpeedBmp, Threads, IsometricMapTypes;
type
TZoomLevel = 1..100; // Percent
type
TCanvasImage = TSpeedBitmap;
hfocus = integer;
type
TOnIsometricChange = procedure (Sender : TObject) of obj... |
unit Thread._201010_importar_pedidos_tfo;
interface
uses
System.Classes, Dialogs, Windows, Forms, SysUtils, Messages, Controls, System.DateUtils, System.StrUtils, Generics.Collections,
Control.Entregas, Control.Sistema, FireDAC.Comp.Client, Common.ENum,
FireDAC.Comp.DataSet, Data.DB, Control.PlanilhaEntradaEntr... |
unit commandhandling;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, levelhandling, typehandling;
procedure start();
procedure undergo(Text: string);
procedure askload();
procedure asksave();
procedure attemptmove();
procedure attemptfight();
procedure attemptbuy();
implementation
//Pr... |
unit dates;
interface
type
weekdaytype = array[0..6] of string[3];
Procedure initweekdays(var weekdays:weekdaytype);
Function packit(m,d,y:integer):integer;
Procedure unpackit(date:integer;var m,d,y:integer);
Function dateval(x:string):integer;
Function datestr(x:integer):string;
... |
unit VCLBackup;
interface
uses
BackupInterfaces, Classes, SysUtils;
procedure RegisterBackup;
type
TStringListBackupAgent =
class( TBackupAgent )
public
class procedure Write( Stream : IBackupWriter; Obj : TObject ); override;
class procedure Read ( Stream : IBackupRe... |
unit Bird.Socket.Helpers;
interface
uses IdIOHandler, IdGlobal, System.SysUtils, System.JSON;
type
TIdIOHandlerHelper = class helper for TIdIOHandler
private
function GetHandShaked: Boolean;
function ReadBytes: TArray<byte>;
procedure Send(const ARawData: TArray<byte>); overload;
procedure SetHan... |
unit pgTableModifier;
// Модуль: "w:\common\components\rtl\Garant\PG\pgTableModifier.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TpgTableModifier" MUID: (564B212F02DA)
{$Include w:\common\components\rtl\Garant\PG\pgDefine.inc}
interface
{$If Defined(UsePostgres)}
uses
l3IntfUses
, l3ProtoObject
, daPara... |
unit BaiduMapAPI.NaviService.Android;
//author:Xubzhlin
//Email:371889755@qq.com
//百度地图API 安卓导航服务 单元
//官方链接:http://lbsyun.baidu.com/
//TAndroidBaiduMapNaviService 百度地图 安卓导航服务
interface
uses
System.Classes, BaiduMapAPI.NaviService, Androidapi.JNI.baidu.navisdk, Androidapi.JNI.JavaTypes,
Androidapi.JNIBridge, Andr... |
unit uicombo;
interface
uses ui, uimpl, uihandle, uicomp, uiform, uilist, datastorage;
type
TWinPopupListForm=class(TWinModal)
private
wItems:TWinList;
protected
public
constructor Create(Owner:TWinHandle);override;
procedure CreatePerform;override;
procedure Show(nCmdShow:int... |
unit Progress;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Utils, StdCtrls, ComCtrls, ExtCtrls;
type
TProgressForm = class(TForm)
StepProgressLabel: TLabel;
StepProgressBar: TProgressBar;
OverallProgressLabel: TLabel;
OverallProgressBar: TP... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clHttp;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, Windows, SysUtils, Contnrs, WinSock,{$IFDEF DEMO} Forms, clEncoder, clEncryptor, clCertificate, clHtmlParser,{$ENDIF}
{$ELSE}
... |
unit ce_search;
{$I ce_defines.inc}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
Menus, StdCtrls, actnList, Buttons, SynEdit, SynEditSearch, SynEditTypes,
ce_common, ce_mru, ce_widget, ce_synmemo, ce_interfaces, ce_observer,
ce_writableComponent;
type
// TCESe... |
UNIT CountingWords1;
INTERFACE
TYPE
Tree = ^Node;
Node = RECORD
Word: STRING; //поле ячейки, содержит в себе слово-символы
Counter: INTEGER; //счётчик, показывает, кол-во одинаково обработанных Word при вставке в дерево
Left, Right: Tree //указатели в бинарном дереве ... |
unit DAO.ContatosEmpresa;
interface
uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Model.ContatosEmpresa;
type
TContatosEmpresaDAO = class
private
FConexao : TConexao;
public
constructor Create();
function GetID(iID: Integer): Integer;
function Insert(aContatos: TContatosE... |
PROGRAM TestRemove(INPUT,OUTPUT);
{Читает строку из входа, пропускает её через RemoveExtraBlanks}
USES Queue;
PROCEDURE RemoveExtraBlanks;
{Удаляет лишние пробелы между словами на одной строке}
VAR
Ch, Blank, LineEnd: CHAR;
BEGIN {RemoveExtraBlanks}
Blank := ' ';
LineEnd := '#';
AddQ(LineEnd); {помечаем конец... |
PROGRAM WriteSymbol(INPUT, OUTPUT);
CONST
Min = 0;
Max = 25;
DrawingSymbol = 'X';
SpaceSymbol = ' ';
SymbolWidth = 5;
TYPE
Matrix = SET OF Min..Max;
VAR
Symbol: CHAR;
MatrixSymbol: Matrix;
PROCEDURE DefineSymbol(VAR Symbol: CHAR; VAR MatrixSymbol: Matrix);
BEGIN {DefineSymbol}
CASE Symbol OF
'A'... |
unit secp256k1;
{ ******************
Big thanks to Velthuis for his BigInteger
You saved my ass :)
Multiplatform ECDSA Pair creation in pure Pascal
****************** {$DEFINE PUREPASCAL }
interface
uses
Velthuis.BigIntegers, misc, System.SysUtils, ClpBigInteger,
ClpIX9ECParameters,
ClpIECDomainParam... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit MFichas.Model.Permissoes.Metodos.Lista;
interface
uses
System.SysUtils,
System.Generics.Collections,
MFichas.Model.Entidade.USUARIOPERMISSOES,
MFichas.Model.Permissoes.Interfaces,
MFichas.Controller.Types;
type
TModelPermissoesMetodosLista = class(TInterfacedObject, iModelPermissoesLista)
privat... |
program Shortest_Path_by_Ford_Bellman;
const
max = 100;
maxC = 10000;
var
c: array[1..max, 1..max] of Integer;
d: array[1..max] of Integer;
Trace: array[1..max] of Integer;
n, S, F: Integer;
procedure LoadGraph;
var
i, m: Integer;
u, v: Integer;
begin
... |
library colorlib;
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie
All rights reserved.
For more info see: Copyright.txt
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
{$mode objfpc}... |
{
Writes AvisoCNC G-Code
License: The same modified LGPL as the Free Pascal RTL
See the file COPYING.modifiedLGPL for more details
AUTHORS: Felipe Monteiro de Carvalho
Pedro Sol Pegorini L de Lima
}
unit avisocncgcodewriter;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
fpvectorial;
... |
{
$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 r... |
unit alcuSubmitterWorkPool;
{* Коллекция служебно-рабочих пользователей }
// Модуль: "w:\archi\source\projects\PipeInAuto\Tasks\alcuSubmitterWorkPool.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TalcuSubmitterWorkPool" MUID: (53CDF9FE006B)
{$Include w:\archi\source\projects\PipeInAuto\alcuDefine.inc}
interf... |
unit UninstProgressForm;
{
Inno Setup
Copyright (C) 1997-2010 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Uninstaller progress form
$jrsoftware: issrc/Projects/UninstProgressForm.pas,v 1.16 2010/10/30 20:26:25 jr Exp $
}
interface
{$I VERSION.INC}
u... |
unit InfoCLDOCTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoCLDOCRecord = record
PClaimNumber: String[6];
PImageId: String[9];
PType: String[10];
PDate: String[10];
PUserID: String[6];
End;
TInfoCLDOCBuffer = class(TDataBuf)
... |
{
Author: Jarl K. Holta
License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html)
Runtime datatype representations
}
unit xpr.list;
{$I express.inc}
interface
{$I objh.inc}
uses
SysUtils,
xpr.express,
xpr.objbase;
type
TListObject = class(TEpObject)
value: TObjectArray;
constructor C... |
unit IterateableService;
// Модуль: "w:\common\components\SandBox\IterateableService.pas"
// Стереотип: "Service"
// Элемент модели: "TIterateableService" MUID: (5519611903CF)
{$Include w:\common\components\SandBox\sbDefine.inc}
interface
uses
l3IntfUses
, l3ProtoObject
, Classes
;
type
MIterateableService_Ite... |
unit clCEPAgentes;
interface
uses clConexao;
type
TCEPAgentes = Class(TObject)
private
function getAgente: Integer;
function getCep: String;
procedure setAgente(const Value: Integer);
procedure setCep(const Value: String);
function getGrupo: Integer;
procedure setGrupo(const Value: Integ... |
unit PaintWindow;
{
Tablet Enable PaintBox Sample
by LI Qingrui
emailto: qrli@hotmail.com
This file is supplied "AS IS", without warranty of any kind.
Feel free to use and modify for any purpose.
Enjoy yourself.
}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
WinTa... |
unit uROWebsocketChannel;
interface
uses
Classes, SysUtils,
uROClient, uROClientIntf,
//copied from: http://code.google.com/p/bauglir-websocket/downloads/detail?name=BauglirWebSocket2_pascal_library.2.0.4.zip
WebSocket2;
type
TROWebsocketChannel = class(TROTransportChannel,
... |
unit Unit6;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Edit, FMX.StdCtrls,
FMX.Objects, FMX.Layouts, FMX.ListBox, FMX.TabControl;
type
TForm6 = class(TForm)
Button2: TSpeedButton;
Button3: TSpeedB... |
namespace Sugar.IO;
interface
uses
{$IF WINDOWS_PHONE OR NETFX_CORE}
Windows.Storage,
{$ENDIF}
Sugar;
{$HIDE W37}
type
[Obsolete("Use Folder instead")]
FolderUtils = public static class
private
{$IF COOPER}
method RecursiveDelete(Item: java.io.File);
method ListItems(FolderName: java.io.F... |
unit uFiltroLicenca;
interface
uses
System.SysUtils, uFiltroCliente;
type
TFiltroLicenca = class
private
FCliente: TFiltroCliente;
FIdCliente: integer;
FDataUtilizacaoInicial: string;
FDataUtilizacaoFinal: string;
FTipo: string;
FUtilizadas: string;
FSituacao: string;
procedure ... |
unit RoadsHandler;
interface
uses
Controls,
Classes,
VoyagerInterfaces,
VoyagerServerInterfaces,
CircuitsRenderer,
CircuitsDownloader;
type
TRoadId = TCircuitId;
type
TOnAreaRefreshedNotification = procedure ( const RoadsData : ICircuitsData ) of object;
type
IRoadsHandl... |
unit uScenes;
interface
uses Classes, uScene;
type
TScenes = class(TScene)
private
FScene: TScene;
procedure SetScene(const Value: TScene);
public
procedure Timer; override;
procedure MouseUp(Button: TMouseBtn); override;
procedure MouseDn(Button: TMouseBtn); override;
pr... |
unit TileMap;
interface
uses
SysUtils,
Math,
PNGImage,
PNGImageList,
Graphics,
PositionRecord,
SizeRecord;
type
TTileMap = class
protected
fTileLst: TPNGImageList;
fColumns : integer;
fRows : integer;
fTileMapArray : array of array of Integer;
fTileSize : integer;
function ge... |
unit DW.IdleHandler.Android;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library ... |
unit Scenario;
interface
uses
ScenarioIntf, Classes, dCucuberListIntf, ValidationRuleIntf, TestFramework, StepIntf;
type
TScenario = class(TTestCase, IScenario, IValidationRule)
private
FSteps: ICucumberList;
FTitulo: string;
FValidationRule: IValidationRule;
function GetSteps: ICucumberList;
... |
program SPLITPAS ( INPUT , OUTPUT , OUTTEXT , OUTBIN ) ;
(***********************************************************)
(* *)
(* This program splits the large download file *)
(* - see download.pas - into the original seperate *)
(* files and... |
Unit Joystick;
(****************************************************************************)
INTERFACE
(****************************************************************************)
var
JoyXMin,JoyXMax,JoyXHalf,JoyYMin,JoyYMax,JoyYHalf: integer;
function JoystickExists : Boolean;
f... |
unit ExtAIForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
ExtAILog, ExtAIDelphi,
// Detection of IP address
Winsock, Vcl.ComCtrls;
type
TExtAI = class(TForm)
btnConnectClient: TBu... |
unit Sokoban;
{ Sokoban component for Delphi 2+ (C)2K by Paul TOTH <tothpaul@free.fr>
http://tothpaul.free.fr
}
{
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 Li... |
{ 13.01.2012 18:11:22 (GMT+1:00) > [shmia on SHMIA01] checked in Bugfix
für function ISO8601Timezone() }
{ 13.01.2012 17:43:43 (GMT+1:00) > [shmia on SHMIA01] checked in Erweiterung
für Zeitzonen }
{ 26.06.2009 10:38:50 (GMT+2:00) > [shmia on SHMIA01] checked in ISO8601StrToDateTime:
korrekte Behandlung... |
unit uPenarikanDeposit;
interface
uses
uAccount, uModel, uSupplier, uAR;
type
TPenarikanDeposit = class(TAppObject)
private
FAP: TAP;
FKeterangan: string;
FNoBukti: string;
FNominal: Double;
FSantri: TSupplier;
FTanggal: TDatetime;
function GetAP: TAP;
public
published
prope... |
unit Ragna.Intf;
{$IF DEFINED(FPC)}
{$MODE DELPHI}{$H+}
{$ENDIF}
interface
uses FireDAC.Comp.Client, System.JSON, Data.DB;
type
IRagna = interface
['{0F1AD1E9-A82C-44BE-9208-685B9C3C77F9}']
procedure Paginate(const AOffSet, ALimit: Integer);
procedure RadicalResearch(const AValue: string; const AFie... |
unit Control.FinanceiroEmpresa;
interface
uses System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Control.Sistema, Model.FinanceiroEmpresa;
type
TFinanceiroEmpresaControl = class
private
FFinanceiro : TFinanceiroEmpresa;
public
constructor Create;
destructor Destroy; override;
property Finan... |
{
archive handler
c:\windows\hene\hede.zip\hene.dir\hede
openfs called with url of archive name and directories are added as needed
this way parents should work better
}
unit fsarchive;
interface
uses
fs,
SysUtils, Classes;
type
TArchiveFSHandler = class(TFSHandler)
protected
Base : string;
St... |
unit FastShareMem;
(*
* Shared Memory Allocator for Delphi DLL's
* Version: 1.21
*
* Features:
* no runtime dll required.
* no performance degradation.
*
* Usage:
* Must be the first unit listed in the project file's USES section
* for both dll and exe projects. If you install a memory manager for
*... |
unit Model.PlanilhaRespostaCTNC;
interface
uses Generics.Collections;
type
TPlanilhaRespostaCTNC = class
private
FPrevisao: String;
FCodigoEmbarcador: String;
FSequencia: String;
FNN: String;
FFlag: String;
FPedido: String;
FLeitura: String;
FEntregador: String;
FNomeEmbarcado... |
{small demo for TLMDFormDisplay.
demonstrates:
- creating forms at runtime and assigning them to the TLMDFormdisplay control.
- Hiding Forms (play with SaveResources and check the difference! )
- Focus-Handling
- handling modal forms shown from page forms
Note:
If property SaveRessources is enabled, please set
Border... |
unit AutolinkerTask_Const;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "EVD"
// Модуль: "w:/common/components/rtl/Garant/EVD/AutolinkerTask_Const.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root eleme... |
unit SeleWin;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs
,StdCtrls,ExtCtrls;
type
TSeleWin = class(TPanel)
private
{ Private declarations }
dragX,dragY:integer;
_Items:TStrings;
_OkOnClick:TNotifyEvent;
_CloseOnClick:TNotifyEvent;
p... |
unit ComSec;
interface
uses
Windows, ActiveX, ComObj, Registry, SysUtils;
const
RPC_C_AUTHN_NONE = 0;
RPC_C_AUTHN_DCE_PRIVATE = 1;
RPC_C_AUTHN_DCE_PUBLIC = 2;
RPC_C_AUTHN_DEC_PUBLIC = 4;
RPC_C_AUTHN_GSS_NEGOTIATE = 9;
RPC_C_AUTHN_WINNT ... |
unit dcPassEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, DataController, dbctrls, db, ffsException;
type
TdcPassEdit = class(TEdit)
private
{ Private declarations }
fdcLink : TdcLink;
fTranData : String;
... |
unit ConnectionStubUnit;
interface
uses
REST.Types, System.JSON, Classes, ConnectionUnit;
type
TConnectionStub = class(TConnection)
private
const ApiKey = '11111111111111111111111111111111';
var
FUrl: String;
FMethod: TRESTRequestMethod;
FRequestBody: String;
FContentType: TRESTContentTyp... |
unit uSpace;
{$mode delphi}
interface
uses
glr_render, glr_render2d, glr_math, glr_scene;
const
STARS_PER_LAYER = 100;
type
TSpacePatch = record
Position: TglrVec2f;
Stars: array of TglrSprite;
Initials: array of TglrVec2f;
end;
{ TSpace }
TSpace = class
protected
fCount: Integer;
... |
unit uModuloVO;
interface
uses System.SysUtils, uKeyField, uTableName;
type
[TableName('Modulo')]
TModuloVO = class
private
FId: Integer;
FCodigo: Integer;
FNome: string;
FAtivo: Boolean;
FIdStr: string;
public
[KeyField('Mod_Id')]
property Id: Integer read FId write FId;
[Fie... |
unit PT4WordBase;
{
База слов и выражений
}
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
const
RuNumWords = 4;
EnNumWords = 4;
RuNumSent = 4;
EnNumSent = 4;
RuNumText = 1;
EnNumText = 1;
function RuGetWord(N : integer) : string;
function RuGetSentence(N : integer) : string;
function RuGet... |
{ basic fs functions }
{$WARN SYMBOL_PLATFORM OFF}
unit fs;
interface
uses
Classes, Windows, SysUtils, Contnrs;
const
faBrowseable = $10000000;
faNonSelectable = $20000000;
faCalculated = $40000000;
dirIndex : integer = -1;
dateTimeFormatMask : string = 'mm/dd/yy hh:mm';
type
EFSException... |
unit TpylabelUnit;
{$mode delphi}
interface
uses
Classes, SysUtils, Controls, PyAPI, objectlistunit, pyutil, StdCtrls,
callbacunit, Forms;
type
Tpylabel = class(TButton)
constructor Create(obj: Tlaz4py);
procedure reg(var k: integer; var Methods: array of PyMethodDef);
end;
implementation
functio... |
unit uilist;
interface
uses ui, uimpl, uihandle, uicomp, datastorage;
type
TWinList=class(TWinComp)
private
wItems:TStringListEx;
wTopItem:integer;
wSelected:integer; // TODO multi
wOnSelected:TWinHandleEvent;
protected
procedure SetSelected(AValue:integer);
public
c... |
unit TMC.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Tabs, SynEditHighlighter,
SynHighlighterPas, SynEdit, SynMemo, System.Generics.Collections, Vcl.Grids,
TableDraw, Vcl.StdCtrls, Vcl.ExtCtrls,... |
unit AddOrderToOptimizationRequestUnit;
interface
uses
REST.Json.Types, SysUtils,
JSONNullableAttributeUnit, HttpQueryMemberAttributeUnit,
GenericParametersUnit, RouteParametersUnit, AddressUnit,
NullableBasicTypesUnit, EnumsUnit;
type
TAddOrderToOptimizationRequest = class(TGenericParameters)
private
... |
unit uChamadoColaboradorVO;
interface
uses
System.SysUtils, System.DateUtils, uUsuarioVO;
type
TChamadoColaboradorVO = class
private
FHoraInicial: TTime;
FIdUsuario: Integer;
FId: Integer;
FIdOcorrencia: Integer;
FHoraFim: TTime;
FTotalHoras: Double;
FUsuarioVO: TUsuarioVO;
proc... |
program ejercicio6;
type
procesador = record
marca :string;
linea :string;
nucleos :integer;
reloj :real;
escala :integer;
end;
actual = record
marca :string;
cantidad :integer;
end;
maximos = record
primera :actual;
segu... |
unit PublicUtils;
interface
uses IdGlobal, System.SysUtils, Math, Constants, ProtocolCommon, ProtocolApp, ProtocolKop, ProtocolLib;
type TIntRecord = packed record
int: Uint32;
end;
ArrOfByte = array[0..7] of byte;
function Buf36ToStr(Buf: TBuf36): string;
function StrToBuf36(Value: string): TBuf3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.