text stringlengths 14 6.51M |
|---|
unit LandClassesHandler;
interface
uses
VoyagerInterfaces, Controls, LandInfo;
type
TLandClassesHandler =
class( TLandClassesInfo, IMetaURLHandler, IURLHandler )
// IMetaURLHandler
private
function getName : string;
function getOptions : TURLHandlerOptions;
... |
unit kwTestResolveInputFilePath;
{* *Описание:* добавляет к имени файла путь к директории TestSet, где хранятся исходные файлы.
*Формат*
[code]
aFileName test:ResolveInputFilePath
[code]
где aFileName - имя файля без пути (!).
Результат помещается в стек. }
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\kwT... |
{
OpenAL player for the fpsound library
License: The same modified LGPL as the LCL
Authors:
JiXian Yang
Felipe Monteiro de Carvalho
}
unit fpsound_openal;
{$mode objfpc}
interface
uses
Classes, SysUtils, OpenAL_NT, fpsound;
type
{ TOpenALPlayer }
TOpenALPlayer = class(TSoundPlayer)
private
al_devic... |
unit NueFiltro;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, Grids, Buttons, Mask, ToolEdit, Db, DbTables;
type
tfEstado = ( tfNuevo, tfEdit );
tcControl = ( tcDate, tcFloat, tcString );
TFiltroDlg = class(TForm)
GroupBox1: TGroupBox;
... |
unit prehistoricisle_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
m68000,main_engine,controls_engine,gfx_engine,rom_engine,pal_engine,
ym_3812,nz80,upd7759,sound_engine;
function iniciar_prehisle:boolean;
implementation
const
prehisle_rom:array[0..1] of tipo_roms=(
(n:'gt-e2.2h';l:$2... |
{ Subroutine SST_DTYPE_NEW_SUBRANGE (DTYPE_BASE,ORD_MIN,ORD_MAX,DTYPE_P)
*
* Create a new subrange data type, if necessary. DTYPE_BASE is the data type
* descriptor for the subrange. ORD_MIN and ORD_MAX are the min/max ordinal
* values the the new data type is to have within the base data type.
* DTYPE_P wi... |
unit Model.Usuarios;
interface
uses Common.ENum, FireDAC.Comp.Client;
type
TUsuarios = class
private
FCodigo: integer;
FNome: String;
FLogin: String;
FEMail: String;
FSenha: String;
FGrupo: Integer;
FPrivilegio: String;
FExpira: String;
FDiasExpira: Integer;
FPrimeiroAcess... |
unit ConnectOptionsFrm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, ExtCtrls, GMList, Menus, Buttons, StdCtrls, FramedButton,
InternationalizerComponent, ImgList;
type
TGMConnOptions =
class(TForm)
ImageList1: TImageList;
PopupMenu1: ... |
program matrices;
type
matriz = array [0..4,0..4] of integer;
const min : integer = 0;
const max : integer = 4;
var matrixR : array [0..4, 0..4] of integer;
var matrixA : array [0..4,0..4] of integer;
var matrixB : array [0..4,0..4] of integer;
procedure llenado(var matrixA : matriz ; matrixB : matriz);
var i,... |
{!DOCTOPIC}{
Type » TBox
}
{!DOCREF} {
@method: function TBox.Width(): Int32;
@desc: Returns the width of the TBox
}
function TBox.Width(): Int32; {$IFDEF AeroLib}override;{$ENDIF}
begin
Result := (Self.X2 - Self.X1 + 1);
end;
{!DOCREF} {
@method: function TBox.Height(): Int32;
@desc: Returns the heigh... |
{!DOCTOPIC}{
Matrix » TIntMatrix
}
//-----------------------------------------------------------------------------
{!DOCREF} {
@method: Integer matrix
@desc: [hr]
}
{!DOCREF} {
@method: function se.NewMatrix(W,H:Int32; Init:Int32=0): TIntMatrix;
@desc: Creates a new matrix. Fills it with `Init`.
}
functio... |
{==================================================================================================
File: CoreAudio/AudioHardware.h
Contains: API for communicating with audio hardware.
Version: Technology: Mac OS X
Release: Mac OS X
Copyright: (c) 1985-2005 by Appl... |
{$MODE OBJFPC}
program TilingBricks;
uses Math;
const
InputFile = 'BRICKS.INP';
OutputFile = 'BRICKS.OUT';
maxSize = 200;
maxN = maxSize * maxSize div 2;
maxM = maxN * 4;
maxV = 1000;
maxW = maxV * maxV * 2;
maxD = maxN * maxW + 1;
type
THeap = record
nItems: Integer;
items, pos: array[1..max... |
unit l3KeyboardLayoutService;
// Модуль: "w:\common\components\rtl\Garant\L3\l3KeyboardLayoutService.pas"
// Стереотип: "Service"
// Элемент модели: "Tl3KeyboardLayoutService" MUID: (55099A8303E1)
{$Include w:\common\components\rtl\Garant\L3\l3Define.inc}
interface
uses
l3IntfUses
, l3ProtoObject
;
(*
Ml3Keybo... |
unit uGeraApuracao;
interface
uses
FireDAC.Comp.Client, System.SysUtils;
type
TRetornoApuracao = record
vlsAPUR_ANO : String;
vldAPUR_RECEITABRUTA : Double;
vldAPUR_DESPESAS : Double;
vldAPUR_LUCROEVIDENCIADO : Double;
vldAPUR_PORCENTAGEMISENTA : Double;
... |
unit ssStrUtil;
interface
uses
SysUtils, Forms, Classes, Types, Math;
type
TCharset = set of Char;
function addLine(s: string; crp: Integer = 0): string;
function addNonEmptyLine(lbl, txt: string; crp: Integer = 0): string;
function addspaces(s: String; lead,tail: Integer): String;
funct... |
unit FrmMain;
//uses NLDJoystick created by Albert de Weerd (aka NGLN)
//https://www.nldelphi.com/showthread.php?29812-NLDJoystick
//http://svn.nldelphi.com/nldelphi/opensource/ngln/NLDJoystick/
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Co... |
{
The abstract factory is a class that creates components and returns them to the
caller as their abstract types. In this case I chose interfaces over the abstract
classes as used in the samples of the book. Any number of concrete classes can
implement the factory interface. The consumer in this case does not s... |
{
$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... |
program programadores;
procedure leerDatos(var legajo: integer; salario : real); // Salario no se pasa por referencia
// Entonces no se actualiza el valor afuera del procedimiento
begin
writeln(‘Ingrese el nro de legajo y el salario”);
... |
unit StringUtils;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
{ TStringUtils }
TStringUtils = class
class function GetWordAtCursor(const S: string; CursorPos: Integer): string;
end;
implementation
{ TStringUtils }
class function TStringUtils.GetWordAtCursor(const... |
unit VideoLoader;
{$WARN SYMBOL_PLATFORM OFF}
{$PointerMath ON}
interface
uses
Windows, ActiveX, Classes, ComObj, Video2Matrix_TLB, StdVcl,
PrivLoader, SysUtils, Vcl.Graphics;
const
MAX_THUMB_WIDTH = 320;
MAX_THUMB_HEIGHT = 240;
BYTES_PER_PIXEL = 3;
SUPPORTED_FILETYPES: array [0 .. 5] of string = ('*.mp... |
namespace Sugar.Xml;
interface
uses
{$IF COOPER}
org.w3c.dom,
{$ELSEIF ECHOES}
System.Xml.Linq,
System.Linq,
{$ELSEIF TOFFEE}
Foundation,
{$ENDIF}
Sugar,
Sugar.IO;
type
XmlDocument = public class (XmlNode)
private
{$IF COOPER}
class method ParseXml(Content: String... |
unit App;
{ Based on 005_mandelbrot.cpp example from oglplus (http://oglplus.org/) }
{$INCLUDE 'Sample.inc'}
interface
uses
System.Classes,
Neslib.Ooogles,
Neslib.FastMath,
Sample.App;
type
TMandelbrotApp = class(TApplication)
private
FProgram: TGLProgram;
FVerts: TGLBuffer;
FCoords: TGLBuf... |
unit eInterestSimulator.Model.PagamentoVariavel;
interface
uses
eInterestSimulator.Model.Interfaces;
type
TModelAmortizacaoPagamentoVariavel = class(TInterfacedObject, iResultado)
private
FNumeroParcela: Integer;
FValorJuros: Real;
FValorAmortizacao: Real;
FValorSaldo: Real;
FValorPagamento... |
// Simple types used in the code formatter
// Original Author: Egbert van Nes (http://www.dow.wau.nl/aew/People/Egbert_van_Nes.html)
// Contributors: Thomas Mueller (http://www.dummzeuch.de)
// Jens Borrisholt (Jens@borrisholt.dk) - Cleaning up the code, and making it aware of several... |
{ *********************************************************** }
{ * TForge Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2017 * }
{ *********************************************************** }
unit tfWindows;
{$I TFL.inc}
interface
uses tfTyp... |
unit svInIOCPService;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, SvcMgr, Dialogs,
http_objects, iocp_managers, iocp_server;
type
TInIOCP_HTTP_Service = class(TService)
InIOCPServer1: TInIOCPServer;
InHttpDataProvider1: TInHttpDataProvider;
procedure ServiceCreate(Sende... |
unit DirectoryServerProtocol;
interface
type
TAccountId = string;
const
DIR_NOERROR_StillTrial = -1;
DIR_NOERROR = 0;
DIR_ERROR_Unknown = 1;
DIR_ERROR_AccountAlreadyExists = 2;
DIR_ERROR_UnexistingAccount = 3;
DIR_ERROR_SerialMaxed =... |
program temperature;
var
selection : integer;
centi, fahren : real;
begin
writeln('Please select an option: ');
writeln('1. For Centigrate to Fahrenheit ');
writeln('2. For Fahrenheit to centigrate ');
write('>> ');
read(selection);
case selection of
1:
begin
write('Enter centigrate: ');
read(centi);
... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
{
$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 wwSimpleMind;
interface
Uses
wwMinds, wwTypes;
type
TSimpletonMind = class (TwwMind)
protected
function GetCaption: string; override;
function GetEnglishCaption: string; override;
function Thinking: TwwDirection; override;
end;
TLazyMind = class (TSimpletonMind)
protected
function G... |
unit ce_libmaneditor;
{$I ce_defines.inc}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
Menus, ComCtrls, Buttons, ce_widget, ce_interfaces, ce_project, ce_dmdwrap,
ce_common;
type
{ TCELibManEditorWidget }
TCELibManEditorWidget = class(TCEWidget, ICEProjectObs... |
unit CsCommon;
{ $Id: CsCommon.pas,v 1.8 2008/10/01 07:45:40 narry Exp $ }
// $Log: CsCommon.pas,v $
// Revision 1.8 2008/10/01 07:45:40 narry
// - добавлен путь к образам документов
//
// Revision 1.7 2008/07/14 07:47:53 narry
// - получение путей к базе с сервера (первый шаг, немного в сторону)
//
// Revision 1... |
unit Controller.Produto;
interface
uses
Horse, Service.Produto, System.JSON, Dataset.Serialize,System.SysUtils;
type
TControllerProduto = class
public
class procedure List(Req : THorseRequest; Res : THorseResponse; Next: TProc);
class procedure GetById(Req : THorseRequest; Res : THorseResponse; Next: ... |
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.StdCtrls,
FMX.Objects, FMX.Colors, FMX.ExtCtrls, FMX.ListBox;
type
Tmainfrm = class(TForm)
recBoard: TPaintBox;
ToolBar1: TTool... |
unit uSceneLoad;
interface
uses uScene, Graphics, uGraph;
type
TSceneLoad = class(TSceneCustom)
private
FGraph: TGraph;
FLogo: TBitmap;
FLoadMsg: string;
FIsLoad: Boolean;
procedure Load;
public
//** Конструктор.
constructor Create;
destructor Destroy; override;... |
Program a3test1;
{ This program gives you a menu interface to manage two collections (c1 and c2).
You can insert, delete, join, print and get the size of either collection. Use this to test your code.
Make sure you hand in a compiled version of this program.
NOTE: There is a new function here called "Pe... |
unit SessionHelper;
// Модуль: "w:\garant6x\implementation\Garant\tie\Garant\GblAdapterLib\SessionHelper.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "SessionHelper" MUID: (47711DA00052)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses
;
type
SessionHelper = class
priv... |
Unit mte.utils;
{----------------------------------------------------------}
{ Developed by Muhammad Ajmal p }
{ ajumalp@gmail.com }
{ pajmal@hotmail.com }
{ ajmal@erratums.com }
{----------------------------------------------------------}
{$mode objfpc}{$H+}
Interface
Uses
base64,
Classes,
D... |
{
DBAExplorer - Oracle Admin Management Tool
Copyright (C) 2008 Alpaslan KILICKAYA
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 3 of the License, or
(at... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit INFOXENTITYTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TINFOXENTITYRecord = record
PEntId: String[8];
PModCount: String[1];
PName: String[30];
PAddr1: String[30];
PAddr2: String[30];
PAddr3: String[30];
PCitySt: String[25];... |
// 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 tcChangedToolBarsList;
interface
uses
l3Interfaces,
tcInterfaces,
tcItemList
;
type
TtcChangedToolBarsList = class(TtcItemList,
ItcChangedToolBarsList)
protected
// ItcChangedToolBarsList
function pm_GetToolBar(Index: Integer): ItcChangedToolBar;
function ItcChangedTo... |
unit InfoRPTRUNTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoRPTRUNRecord = record
PLenderNumber: String[8];
PReportID: Integer;
PControlStatus: String[10];
PStart: String[20];
PStop: String[20];
PStopStatus: String[10];
PUse... |
////////////////////////////////////////////////////////////////////////////////
// TrakceErrors.pas: Error codes definiton
////////////////////////////////////////////////////////////////////////////////
{
LICENSE:
Copyright 2019-2020 Jan Horacek
Licensed under the Apache License, Version 2.0 (the "License... |
unit DataServIntf;
interface
type
ICustomData = interface (IInvokable)
['{890B77BE-661E-4301-8A29-0B8274D27116}']
function GetData: string; stdcall;
function SendDelta (Delta: string): Boolean;
end;
implementation
uses
InvokeRegistry;
initialization
InvRegistry.RegisterInterface(TypeInfo(ICustomD... |
unit TCPSocket_Lazarus;
interface
uses
Sysutils, RTLConsts, StatusThread,
Classes, SyncObjs, sockets;
{$M+}
const
INVALID_SOCKET = -1;
SOCKET_ERROR = -1;
type
TSocket = Longint;
TTCPHost = record
IP: String;
Port: Word;
end;
TSimpleTCPSocket = class
private
function GetPeerName: A... |
unit TTSPENDTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSPENDRecord = record
PLenderNum: String[4];
PCifFlag: String[1];
PLoanNum: String[20];
PCollNum: Integer;
End;
TTTSPENDBuffer = class(TDataBuf)
protected
function PtrIn... |
{ Function SST_TERM_SIMPLE(TERM)
*
* Returns TRUE if the term is "simple". This means no computes are needed
* to evaluate it, other than just to go fetch its value.
}
module sst_TERM_SIMPLE;
define sst_term_simple;
%include 'sst2.ins.pas';
function sst_term_simple ( {check for term is simple/compli... |
UNIT BinaryTree;
INTERFACE
TYPE
Tree = ^Node;
Node = RECORD
Word: STRING; //поле ячейки, содержит в себе слово-символы
Counter: INTEGER; //счётчик, показывает, кол-во одинаково обработанных Word при вставке в дерево
Left, Right: Tree //указатели в бинарном дереве
... |
unit uDM;
interface
uses
SysUtils, Classes, uClassDef, DB, ADODB, Inifiles, Forms, Dialogs;
// Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs;
const
ConstIniSectionSetUp = 'SETUP';
ConstIniKeyConnString = 'ConnectionString';
type
TDM = class(TDataModule)
Con: TADOConnection;... |
unit HGM.Controls.PanelExt;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, System.Types, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, HGM.Common;
type
TPanelExt = class(TCustomPanel)
private
FOnPanel:Boolean;
FD... |
unit tdLDAPEnum;
interface
uses
System.Classes, Winapi.Windows, System.SysUtils, System.AnsiStrings, System.TypInfo,
System.DateUtils, Winapi.ActiveX, ADC.LDAP, JwaRpcdce, ActiveDs_TLB, MSXML2_TLB,
System.SyncObjs, ADC.Types, ADC.DC, ADC.Attributes, ADC.ADObject, ADC.ADObjectList, ADC.Common,
ADC.AD;
type
... |
unit vtImageListWrapper;
{$I vtDefine.inc }
interface
uses
ImgList,
l3ImageList
;
type
TvtImageList = class(Tl3ImageList)
protected
function DoGetBigSize: Boolean;
override;
{-}
procedure DoSetBigSize(aValue: Boolean);
override;
{-}
public
constructor Create(aList: TCustomImageList);
o... |
namespace Sugar.Test;
interface
uses
Sugar,
RemObjects.Elements.EUnit;
type
GuidTest = public class (Test)
private
Data: Guid;
GuidString: String := "{5EB4BEC4-5509-4434-9D33-2A9C74CC54EE}";
method AreEqual(Expected, Actual: Guid);
method AreNotEqual(Expected, Actual: Guid);
... |
unit ExtAI_DLL;
interface
uses
Classes, Windows, System.SysUtils,
ExtAISharedInterface;
type
TInitializeDLL = procedure(var aConfig: TDLLpConfig); StdCall;
TTerminateDLL = procedure(); StdCall;
TCreateExtAI = function(aID, aPort: Word; apIP: PWideChar; aLen: Cardinal): boolean; StdCall;
TTerminateExtAI = f... |
unit SettingsInterface;
interface
type
ILoggerSettings = interface(IInterface)
function GetDataLifeTime: Cardinal;
function GetFileName: string;
function GetTruncateFileInterval: Cardinal;
property DataLifeTime: Cardinal read GetDataLifeTime;
property FileName: string read GetFileName;
prope... |
unit ZombieCharacter;
interface
uses
SysUtils,
Math,
MMsystem,
PositionRecord,
ZombieAction,
ZombieDirection;
type
{$SCOPEDENUMS ON}
TZombieState = (Calm = 0, Alerted, Angry, Ordered);
{$SCOPEDENUMS OFF}
TZombieCharacter = class
protected
fStateCheckEveryElapsedSeconds : Double;
fSensesCheckEveryElap... |
{$mode objfpc} { Directive for defining classes }
{$m+} { Directive for using constructor }
program PascalProgram37;
uses crt, math; { }
{ `Abstract` class Example // No lambdas in free Pascal }
type
ExampleClass = class
public
function calculate_f(x : double) : double; virtual; abstract;
end;
{... |
unit WpcExceptions;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TWpcException = class(Exception);
TWpcIllegalArgumentException = class(TWpcException);
TWpcUseErrorException = class(TWpcException);
TWpcEnvironmentDetectorException = class(TWpcException);
{ TWpcScriptParseException }
... |
unit Samples.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Vcl.StdCtrls, RESTRequest4D.Request.Intf, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC... |
unit BankGeneralSheet;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, VisualControls, ObjectInspectorInterfaces, PercentEdit,
GradientBox, FramedButton, SheetHandlers, ExtCtrls,
InternationalizerComponent;
const
tidSecurityId = 'SecurityId';
tidTrouble ... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit kwPopEditorRepaintAndCheckWithEtalon;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopEditorRepaintAndCheckWithEtalon.pas"
// Родные Delphi интерфе... |
program CBR2;
var
Zahl1, Zahl2: Integer;
procedure Zahlentauschen (var Param1, Param2: Integer);
var
Hilfsvariable: Integer;
begin
Hilfsvariable := Param1;
Param1 := Param2;
Param2 := Hilfsvariable
end;
begin
Zahl1 := 10;
Zahl2 := 20;
WriteL... |
unit aeTerrain;
interface
uses windows, types, classes, aeCamera, System.Generics.Collections, aeRenderable, aeMesh, aeSceneNode,
aeConst, sysutils, aeLoggingManager, math, aeVectorBuffer, aeIndexBuffer, dglOpenGL;
const
// target tile size. When quadtree arrived at this size, we stop splitting tree.
AE_TERRAI... |
unit AsyncPatcher;
interface
uses
classes, Types, SysUtils, CommandoSettings, UpdateInfo, ExtActns;
type
TProgressEvent = procedure(AMin, AMax, APosition: Integer) of object;
TLogEvent = procedure(AMessage: string) of object;
TAsyncPatcher = class(TThread)
private
FSettings: TCommandoSett... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit Parsers.Excel.Indexes.Kvartal;
interface
uses
SysUtils, Classes, GsDocument, Parsers.Excel, Parsers.Abstract, StrUtils, GlobalData;
type
TKvartalIndexRow = class (TExcelRowWrapper)
public
function IsChapter: Boolean;
function IsSubChapters: Boolean;
function IsIndexRow: Boolean;
function G... |
unit l3FrameLinesSpy;
{* Сохранение информации по опечатанным линиям (для отрисовки не работает). }
// Модуль: "w:\common\components\rtl\Garant\L3\l3FrameLinesSpy.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "Tl3FrameLinesSpy" MUID: (4D00B058024F)
{$Include w:\common\components\rtl\Garant\L3\l3Define.inc}
in... |
unit fmContainerSelection;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls,
ADC.Types, ADC.DC;
type
TForm_Container = class(TForm)
TreeView_Containers: TTreeView;
Button_Ca... |
{*******************************************************}
{ YAGE: Yet Another Global Encoder }
{ Unit: Main.Exec }
{ Copyright(c) 2019 Alexey Anisimov }
{ Contact email: softlight@ya.ru }
{************************... |
// Common useful UI-related classes and routines
//
// Copyright (C) 2003-2004 Ivan Polyacov, Apus Software (ivan@apus-software.com)
// This file is licensed under the terms of BSD-3 license (see license.txt)
// This file is a part of the Apus Game Engine (http://apus-software.com/engine/)
unit UIScene;
interfac... |
{Copyright (c) 1982, Charles L. Hedrick
Distribution and use of this software is subject to conditions described
in the Installation Document.}
const {declarations to help using break masks}
{Standard Field break mask
all control chars, space through comma, dot, slash,
colon through question mark, atsign, open... |
unit UGeCartaCorrecao;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UGrPadraoCadastro, ImgList, IBCustomDataSet, IBUpdateSQL, DB, Mask, DBCtrls,
StdCtrls, Buttons, ExtCtrls, Grids, DBGrids, ComCtrls, ToolWin, IBQuery,
IBTable, cxGraphics, cxLookAnd... |
unit xn.list;
interface
uses System.Generics.Collections, System.Generics.Defaults, xn.Items;
type
IxnListCustom<T> = interface(IxnItems<T>)
['{D08DE521-118D-4A58-B9D4-34E8211FED75}']
function GetEnumerator: TEnumerator<T>;
function Add(aItem: T): Integer; overload;
function Remove(aIt... |
unit FindUnit.Worker;
interface
uses
OtlCommonFU, OtlTaskFU, OtlThreadPoolFU, OtlParallelFU, OtlCollectionsFU, SimpleParser.Lexer.Types,
Classes,FindUnit.PasParser, Generics.Collections, FindUnit.IncluderHandlerInc, Log4Pascal;
type
TOnFinished = procedure(FindUnits: TObjectList<TPasFile>) of object;
... |
unit FBits;
interface
uses
Windows, Graphics, SysUtils, Controls;
const
cBitTextOff = 12; //Offset between label coord and text
type
TBitTyp = (
bbNone,
bbBitmap,
bbLine,
bbOval,
bbPoint,
bbLabel,
bbTrack,
bbILIcon //ImageList icon
);
TBitInfo = record
ID: Integer;
... |
{******************************************************************************}
{ }
{ Library: Fundamentals TLS }
{ File name: flcTLSAlgorithmTypes.pas ... |
unit NewMessage;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Menus, Placemnt, DialMessages, Utils,
DataErrors;
type
TNewMessageForm = class(TForm)
ActionPanel: TPanel;
MessageTextMemo: TMemo;
MainMenu: TMainMenu;
FileMI: TMenuIt... |
unit AuthenticationResponseUnit;
interface
uses
REST.Json.Types,
GenericParametersUnit, NullableBasicTypesUnit, JSONNullableAttributeUnit;
type
TPartOfBadAuthenticationResponse = class(TGenericParameters)
private
[JSONName('status')]
FStatus: boolean;
[JSONName('session_guid')]
[Nullable]
... |
unit Mat.ProjectParser;
interface
uses
System.Generics.Collections, System.Classes, System.SysUtils,
System.IOUtils, XMLIntf, XMLDoc, Mat.ProjectUnitParser, Vcl.Forms;
type
// Class for Project file parsing.
TProjectFile = class
private
FFullPath: string;
FTitle: string;
F... |
unit GMPanel;
{ ******************************************************************** }
{ TGMPanel }
{ ******************************************************************** }
{ Date : 2006-10-30 }
{ Codin... |
unit D_AttrAlarm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, BottomBtnDlg, StdCtrls, Buttons, ExtCtrls,
k2Interfaces, k2Tags,
DT_Alarm, Mask, vtCombo, vtDateEdit,
l3Variant
;
type
TAttrAlarmDlg = class(TBottomBtnDlg)
edtDate: TvtDateEdit;
... |
unit browse;
interface
function BrowseURL(const URL: string) : boolean;
function BrowseURL_IE( const URL: string ): boolean;
implementation
uses
windows, Registry, ShellAPI;
function BrowseURL_IE(const URL: string) : boolean;
var
Browser: string;
begin
Result := True;
Browser := '';
with TRegist... |
unit ssRegUtils;
interface
uses
Registry, Windows;
var
ssRegUtils_Error: String;
function WriteToRegInt(const ARegKey, AValueName: string; AValue: Integer; const root: HKEY = HKEY_CURRENT_USER): boolean;
function ReadFromRegInt(const ARegKey, AValueName: string; var AValue: Integer; const root: HKEY ... |
unit fGoToLevel;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, cMegaROM, cConfiguration;
type
TfrmGoToLevel = class(TForm)
lstLevels: TListBox;
cmdOK: TButton;
cmdCancel: TButton;
procedure FormShow(Sender: TObject);
procedure c... |
unit uDocument;
interface
uses
Classes, SysUtils;
type
TDocRec = Record
ATime: TDateTime;
Title: ShortString;
End;
{TDocument}
TDocument = Class
private
F: File of TDocRec;
FFileName: String;
public
constructor Create(FileName: String);
destructor Destroy; override... |
{
Reads 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 avisocncgcodereader;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
fpvectorial;
t... |
unit tmsUFlxRowComments;
{$INCLUDE ..\FLXCOMPILER.INC}
interface
uses SysUtils, Classes,
{$IFDEF FLX_GENERICS} Generics.Collections, {$ENDIF}
Contnrs;
type
{$IFDEF FLX_GENERICS}
TCommentRowPos = class (TList<integer>)
public
Row: integer;
end;
{$ELSE}
TCommentRowPos= class(TList)
private
fu... |
unit Lander;
interface
uses
Windows, Classes, Graphics, GameTypes, LanderTypes;
type
TLander =
class(TInterfacedObject, IGameDocument, ICoordinateConverter)
public
constructor Create(const Map : IWorldMap);
destructor Destroy; override;
private // IGameDocument
procedu... |
unit GX_AutoTodoDone;
interface
uses
SysUtils, Classes, Controls, Forms, Dialogs, StdCtrls;
type
TfmAutoTodoDone = class(TForm)
lblMesssage: TLabel;
btnOK: TButton;
chkDontShowAgain: TCheckBox;
public
class function Execute(ATodoCount: Integer): Boolean;
end;
implementation
... |
unit SimpleResult;
interface
uses
DataFileSaver, Data.DB, DBManager;
type
TSimpleResult = class(TInterfacedObject, IDataSetIterator)
private
FData: TDataSet;
FTableName: String;
FIterPointer: Integer;
public
constructor Create(tableName: String; dbm: TAbsDBManager);
function... |
unit PlainText;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Editors, EditableObjects;
type
TPlainTextEditor =
class(TInPlaceVisualControl)
edValue: TEdit;
procedure FormResize(Sender: TObject);
procedure edValueChange(Sender: TObjec... |
Program stack;
Uses crt;
Const max = 4;
Type
TS = Record
Stacks : Array[1..max] Of Integer;
top : Integer;
End;
Var
tumpukan : TS;
i : Integer;
Function iniStack(Var stack : TS) : Boolean;
Begin
stack.top := 0;
iniStack := True;
End;
Function push(Var stack : TS; data : Integer) : Boolean;
Begin
... |
UNIT TreeSort;
INTERFACE
USES
ConstAndTypes;
PROCEDURE Insert(VAR Ptr: Tree; Data: WordString); {Добавить слово в дерево}
PROCEDURE PrintTree(VAR Ptr: Tree; VAR Fout: TEXT); {Распечатать дерево}
PROCEDURE CleanTree(VAR Ptr: Tree); {Очистить дерево}
IMPLEMENTATION
PROCEDURE ... |
{
Clever Internet Suite
Copyright (C) 2014 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clIdnTranslator;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils, Windows,
{$ELSE}
System.Classes, System.SysUtils, Winapi.Windows,
{$ENDIF}
clUtils;
type
EclIdnError... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.