text stringlengths 14 6.51M |
|---|
unit frmAddLibraryPathU;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, System.UITypes,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
Vcl.ExtCtrls, Vcl.Buttons, LibraryHelperU, Vcl.Menus,
System.Actions, Vcl.... |
{..............................................................................}
{ Summary Fetch existing violation objects and generate a report outlining }
{ different violations. }
{ Copyright (c) 2004 by Altium Limited ... |
unit uWatermarkOptions;
interface
uses
Winapi.Windows,
System.SysUtils,
System.Classes,
System.Math,
System.Types,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.Samples.Spin,
Vcl.ExtCtrls,
Vcl.ComCtrls,
Dmitry.Graphics.Types,
Dmitry.Controls.B... |
Program Squares15;
{Вариант 15b1 с ошибками - нет Constructor и Virtual}
Uses Graph, WinCrt, Square;
Type
TColoredSquare = object(TSquare)
Color: Integer;
Procedure Init(AX, AY:Integer; ASide: Word; AColor: Integer);
Function GetColor: Integer;
Procedure PutColor(AColor: Integer);
Pro... |
unit docs.areas;
interface
uses
Horse,
Horse.GBSwagger;
procedure registry();
implementation
uses schemas.classes;
procedure registry();
begin
Swagger
.Path('produtor/{id_produtor}/areas')
.Tag('Áreas de Produção')
.GET('listar aras de produção de um produtor', 'listar aras de produ... |
unit umain;
{$MODE Delphi}
interface
uses
{$IFDEF MSWINDOWS}
Windows,
{$ENDIF}
SysUtils, Classes, Controls, Forms, Dialogs, ExtCtrls,
GLScene, GLCadencer, GLMaterial, GLSimpleNavigation, GLLCLViewer,
GLWindowsFont, GLSLShader, GLObjects, GLFBORenderer, GLHUDObjects,
GLGeomObjects;
type
{ TGLDemoForm }
... |
{*******************************************************************************
Title: T2Ti ERP
Description: Controller do lado Cliente relacionado à tabela [tribut_configura_of_gt]
... |
unit uneUtils;
{*******************************************************************************
* *
* Название модуля : *
* ... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit Mycat.SQLEngine;
interface
uses
System.Classes, System.SysUtils, System.Generics.Collections,
MyCat.Net.CrossSocket.Base,
Mycat.BackEnd.Mysql.CrossSocket.Handler, Mycat.BackEnd.DataSource;
type
TEngineCtx = class;
IAllJobFinishedListener = interface
procedure OnAllJobFinished(Ctx: TEngineCtx);
... |
{$M 20000,0,30000}
Program Xwing_Cheat_Utility; { Version 2.0 par D. MORCELLET }
uses Dos,Crt,Drivers,XUtils,Menus,Windows,Desktop,Config,Misc,TxtFonts;
CONST
{ Nombre maximal de pilotes g‚r‚s }
MaxPilot=30;
{ Nombre de missions pour chaque StarFighter }
NbMissions : ARRAY[0..3] of Byte = (6,6,6,6);
{... |
unit frmSerialNumberDialogView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uDialogParent, siComp, siLangRT, StdCtrls, ExtCtrls;
type
TfrmSerialDgView = class(TDialogParent)
lblSerialType: TLabel;
lblValue: TLabel;
edtSerialNumber: TEdit;
p... |
unit uFaceRecognizerService;
interface
uses
Generics.Collections,
System.SysUtils,
System.Classes,
System.Math,
Vcl.Graphics,
OpenCV.Utils,
Dmitry.Utils.Files,
uConstants,
uMemory,
uBitmapUtils,
uConfiguration,
uFaceDetection,
uFaceRecognizer,
uFaceAnalyzer,
uDBEnt... |
(*
Category: SWAG Title: ANYTHING NOT OTHERWISE CLASSIFIED
Original name: 0141.PAS
Description: Finding Pentium FDiv Error
Author: WILLIAM G. S. BROWN
Date: 05-26-95 23:07
*)
{
From: brownwm@aplcenmp.apl.jhu.edu (William G. S. Brown)
Here is a short Pentium test program that will uncover the FDIV
error. No... |
unit Objekt.OptionList;
interface
uses
SysUtils, Classes, Contnrs, Objekt.BaseList, Objekt.Option;
type
TOptionList = class(TBaseList)
private
function getOption(Index: Integer): TOption;
public
constructor Create; override;
destructor Destroy; override;
function Add: TOption;
property It... |
(*
NUME AUTOR: Mitrea Cristina
SUBIECT: Teoria grafelor
TEMA NR.: 3
PROBLEMA:
Sa se conceapa un algorim care determina si afiseaza marjele de timp pentru
fiecare activitate din desfasurarea unui obiectiv.
Acest obiectiv se poate reprezenta sub forma grafului potentiale ....
Se considera ca G=(... |
unit SearchSort;
{$WEAKPACKAGEUNIT ON}
interface
uses SysUtils, UniStrUtils;
type
//Возвращает > 0, если объект больше объекта на позиции pos. Ноль, если равны.
TCompareProcP = function(data: pointer; obj: pointer; pos: integer): integer;
//Обратная совместимость: Возвращает > 0, если позиция I больше об... |
unit uLandMark;
interface
uses
JsonDataObjects, Ils.Json.Names, Ils.Json.Utils, AStar64.FileStructs, Geo.Hash, Geo.Pos, AStar64.Typ,
SysUtils, Classes, UFiles, {Windows, }Ils.Logger, System.IniFiles,
System.Generics.Collections, System.Math, AStar64.Files, AStar64.Areas,
AStar64.Extra, uGeneral, Geo.Calcs, La... |
program problem09;
uses crt;
(*
Problem: Special Pythagorean triplet
Problem 9
@Author: Chris M. Perez
@Date: 5/15/2017
*)
const
MAX: longint = 1000;
function pythagoreanTriplet(arg: longint): longint;
var
isPythagoreanTriplet: boolean = false;
product: longint = 1;
k: longint = 0... |
unit TestingCommon;
interface
uses TestFramework;
var
TestCasesDir: string = ''; //all tests must keep subfolders for data
SpeedTests: TTestSuite; //register any performance tests here. Nil => do not register
function CommonDataDir: string; inline; //where stuff like dictionaries and resources is
pr... |
{$I-,Q-,R-,S-}
{Problem 6: Bad Hair Day [Brian Dean, 2006]
Some of Farmer John's N cows (1 <= N <= 80,000) are having a bad
hair day! Since each cow is self-conscious about her messy hairstyle,
FJ wants to count the number of other cows that can see the top of
other cows' heads.
Each cow i has a specified height h... |
{################################################}
{# Program Fahr #}
{# | | _ |V| _|\| _ __ _ _ #}
{# |__|_||<(/_ | |(_| |(/_|||(/_(/_ #}
{# 2015 #}
{################################################}
{# převod jednotek ... |
{------------------------------------------------------------------------------
DzNoteEditor property editor
Developed by Rodrigo Depine Dalpiaz (digao dalpiaz)
Property Editor to TStrings class integrated in Delphi IDE
https://github.com/digao-dalpiaz/DzNoteEditor
Please, read the documentation at GitHub link... |
{$modeswitch nestedprocvars}
//=============================================================================
// sgPhysics.pas
//=============================================================================
//
// Responsible for performing collisions and vector maths.
//
//==============================================... |
unit TestRedisClientU;
{
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, System.Variants, IdTCPClie... |
unit uContainerDefault;
interface
uses
System.TypInfo,
System.SysUtils,
System.Generics.Collections;
type
TGetter = TFunc<IInterface>;
TContainer = class
strict private
FRegistros: TDictionary<PTypeInfo, TGetter>;
class var FDefault: TContainer;
class function GetDefault: TContainer; static... |
unit UserListDlg;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, DBClient, ZjhCtrls, Grids, DBGrids, StdCtrls, Buttons;
type
TDlgUserList = class(TForm)
DBGrid1: TDBGrid;
cdsUser: TZjhDataSet;
dsUser: TDataSource;
cdsUserCode_: TStringFiel... |
unit ThreeDSFile;
interface
uses BasicDataTypes, BasicFunctions;
const
C_MAIN_CHUNK = $4D4D;
C_3DEDITOR_CHUNK = $3D3D;
C_OBJECT_BLOCK = $4000;
C_TRIANGULAR_MESH = $4100;
C_VERTICES_LIST = $4110;
C_FACES_DESCRIPTION = $4120;
C_FACES_MATERIAL = $4130;
C_MAPPING_COORDINATES_LIST = ... |
unit uSubSaleConsult;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParentSub, siComp, siLangRT, ExtCtrls, Grids, DBGrids,
SMDBGrid, DB, ADODB, StdCtrls, Mask, DateBox, Buttons, LblEffct,
cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, cxDBDa... |
// ----------- Parse::Easy::Runtime -----------
// https://github.com/MahdiSafsafi/Parse-Easy
// --------------------------------------------
unit Parse.Easy.Lexer.CustomLexer;
interface
uses
System.SysUtils,
System.Types,
System.Classes,
System.ZLib,
Vcl.Dialogs,
Parse.Easy.Lexer.CodePointStream,
Pars... |
unit fillables;
interface
type
TFillableSingle = record
IsFilled: boolean;
Value: single;
function ToString: string;
end;
TFillableDateTime = record
IsFilled: boolean;
Value: TDateTime;
function ToString: string;
end;
implementation
uses
System.SysUtils;
{ T... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2011 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of Delphi, C++Builder or RAD Studio (Embarcadero Products).
// This software is considered a Redis... |
unit parserTree;
{$mode objfpc}{$H+}
interface
uses
Classes, PasTree, PParser;
type
{ TWraperTreeContainer }
TWraperTreeContainer = class(TPasTreeContainer)
private
fElements : TStringList;
function GetCount: Integer;
function GetItem(index: integer): TPasElement;
public
constructor Crea... |
unit Chapter05._05_Solution1;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
AI.ListNode,
DeepStar.Utils;
// 237. Delete Node in a Linked List
// https://leetcode.com/problems/delete-node-in-a-linked-list/description/
// 时间复杂度: O(1)
// 空间复杂度: O(1)
type
TSolution = class(TObject)
public
proce... |
{*******************************************************************************
Title: T2Ti ERP
Description: Controller do lado Cliente relacionado à tabela [OS_ABERTURA]
T... |
//*****************************************************************************************************\\
// Copyright (©) Cergey Latchenko ( github.com/SunSerega | forum.mmcs.sfedu.ru/u/sun_serega )
// This code is distributed under the Unlicense
// For details see LICENSE file or this:
// https://github.com/SunSere... |
unit uFinContaCorrenteReconcile;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
uParentDialogFrm, StdCtrls, Buttons, ExtCtrls, Db, ADODB, siComp,
siLangRT;
type
TFinContaCorrenteReconcile = class(TParentDialogFrm)
quContaCorrente: TADOQuery;
quContaCorrenteUl... |
unit uDownloadManager;
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.ListBox, FMX.StdCtrls, FMX.Edit,
FMX.Controls.Presentation, FMX.ListView.Types, FMX.ListView, FMX.EditBox, ... |
unit ibSHDataGridFrm;
interface
uses
SHDesignIntf, SHOptionsIntf,
ibSHDesignIntf, ibSHDriverIntf, ibSHDataCustomFrm,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ToolWin, ExtCtrls, SynEdit, pSHSynEdit, Grids, DBGrids,
DBGridEh, DbUtilsEh, ImgList, DB... |
unit uDocwikiProxy_VCL;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IdHTTPProxyServer, IdCmdTCPServer,
IdContext, IdServerIOHandler, IdServerIOHandlerSocket, IdServerIOHandlerStack,
IdAntiFreezeBase, Vcl.... |
unit AqDrop.DB.ORM.Manager;
interface
uses
System.SysUtils,
AqDrop.Core.InterfacedObject,
AqDrop.Core.Collections.Intf,
AqDrop.Core.Collections,
AqDrop.DB.Types,
AqDrop.DB.Connection,
AqDrop.DB.SQL.Intf,
AqDrop.DB.Adapter;
type
TAqDBORMManager = class;
TAqDBORMManagerClient = cl... |
(*
Category: SWAG Title: PRINTING/PRINTER MANAGEMENT ROUTINES
Original name: 0027.PAS
Description: Printusing in PASCAL
Author: PHIL NICKELL
Date: 11-21-93 09:45
*)
{
From: PHIL NICKELL
Subj: Basic PrintUsing in PAS
Does anyone know of any shareware or freeware routines in Turbo Pascal
5.5, that will allow ... |
//////////////////////////////////////////////////////////////////////////
// This file is a part of NotLimited.Framework.Common NuGet package.
// You are strongly discouraged from fiddling with it.
// If you do, all hell will break loose and living will envy the dead.
//////////////////////////////////////////////////... |
unit UGameText;
interface
uses
w3system;
type
TText = class(TObject)
text, colour : string;
x, y : integer;
constructor create(newText, newColour : string; newX, newY : integer);
end;
implementation
constructor TText.create(newText, newColour : string; newX, newY : integer);
begin
text := newTe... |
unit VertexQueue;
interface
uses BasicMathsTypes;
type
PVertexData = ^TVertexData;
TVertexData = record
X,Y,Z : integer;
Position: integer;
Next : PVertexData;
end;
CVertexQueue = class
private
Start,Last : PVertexData;
NumItems: integer;
... |
unit Antlr.Runtime.Tools.Tests;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
SysUtils,
TestFramework,
Gen... |
unit System_Hdc;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ExtCtrls, Graphics;
type
{ TSystemHdc }
TSystemHdc = class
private // Attribute
const
// Konstante für die Anzahl an Bytes / Sektor
SECBYTES = 512;
// Konstanten der Bit-Adressen im HDC-Error Re... |
type coordinates = array[1..3] of real;
var x, y : coordinates;
var i : integer;
function distance(x1, y1, x2, y2 : real) : real;
begin
distance := sqrt(sqr(x1 - x2) + sqr(y1 - y2));
end;
function area(a, b ,c : real) : real;
var p : real;
begin
p := (a + b + c) / 2;
area := sqrt(p*(p - a)*(p - b)*(p - c));
en... |
unit gr_OperationEnd_MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxLabel, cxTextEdit, cxMaskEdit,
cxSpinEdit, ExtCtrls, cxControls, cxContainer, cxEdit, cxProgressBar,
StdCtrls, cxButtons, ActnList, FIBQuery, pFIBQuery, pF... |
namespace WindowsLive;
interface
uses
System,
System.Collections,
System.Collections.Generic,
System.Collections.Specialized,
System.IO,
System.Net,
System.Reflection,
System.Security.Cryptography,
System.Text,
System.Text.RegularExpressions,
System.Web,
System.Web.Configuration,
System.Xm... |
unit txCache;
interface
type
TItemCacheNode=class(TObject)
end;
TItemCache=class(TObject)
private
FItems:array of record
id:integer;
n:TItemCacheNode;
end;
FSize,FCount:integer;
public
constructor Create;
destructor Destroy; override;
procedure Clear;
function Add(id... |
unit MainLib;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, SvcMgr, Dialogs,MainLoader;
type
TRunner = class(TService)
procedure ServiceStart(Sender: TService; var Started: Boolean);
private
{ Private declarations }
public
function GetServiceController: TSe... |
unit MySqlite;
interface
uses
Windows, Classes, SysUtils, MyStringUtils;
type
HSQLCONTEXT = Pointer;
HSQLDB = Pointer;
HSQLSTMT = Pointer;
HSQLVALUE = Pointer;
{ TMySqlTable }
TMySqlTable = class(TObject)
private
FColumns: TStringList;
FQuery: HSQLSTMT;
protected
function GetFieldInde... |
unit trl_upersistxml;
interface
uses
trl_irttibroker, trl_ipersist, trl_ifactory,
trl_urttibroker,
DOM, XMLRead, XMLWrite, xpath,
SysUtils, fgl, classes, base64;
const
cSID = 'SID';
cRefID = 'refid';
cRefClass = 'refclass';
cValue = 'Value';
cRoot = 'root';
cStoreSettings = 'storesettings';
cLa... |
unit LIB.Complex;
interface //#################################################################### ■
uses LIB;
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【レコード】
//%%%%%%%%%%%%%%%%%%%%%%%%%... |
unit uLockBox_OpenSSLTestCases;
interface
uses TestFramework, Classes, uTPLb_Signatory, uTPLb_OpenSSL, SysUtils,
uTPLb_Codec, uTPLb_CryptographicLibrary, uTPLb_Random;
type
TOpenSSL_TestCase = class( TTestCase)
protected
FcodecOpenSSL: TOpenSSL_Codec;
FSig: TOpenSSL_Signatory;
FKey, FIV: TBytes;
... |
unit Main;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Objects,
FMX.DialogService;
type
TCor = (cAzul = 0, cAmarelo = 1, cBranco = 2);
TJogador = TCor.cAzul .. TCor.cAmare... |
(*
Category: SWAG Title: DIRECTORY HANDLING ROUTINES
Original name: 0051.PAS
Description: Yet Another Tree Program
Author: DAVID DANIEL ANDERSON
Date: 11-22-95 13:33
*)
PROGRAM YATP; { Free DOS utility: Yet Another "Tree" Program. }
(* I got much of the code for this program, particularly
the "Displa... |
(*
Category: SWAG Title: DIRECTORY HANDLING ROUTINES
Original name: 0005.PAS
Description: Searching a Complete Drv
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:37
*)
{
> Can any one tell me a way to make pascal (TP 6.0) search a Complete
> drive, including all subdirectories, even ones that are not in the
> ... |
unit ThStylePainter;
interface
uses
Windows, Types, Graphics,
ThCssStyle;
type
TThStylePainter = class
private
FPaintRect: TRect;
FCanvas: TCanvas;
FStyle: TThCssStyle;
FColor: TColor;
protected
procedure PaintRectEdge(inStyle: TPenStyle; inWidth: Integer;
inSide: TThCssBorderSide)... |
unit uModel115ProgramSettings;
interface
uses
SysUtils, IniFiles, Forms, Dutils;
Type
TMode = ( Batch, Interactive );
var
lf: TextFile;
fini : TiniFile;
LogFileName, IniFileName, InitialCurrentDir: TFileName;
Mode: TMode;
implementation
initialization
InitialCurrentDir := GetCurrentDir;
LogFile... |
{
* 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 your option) any later version.
*
* Author: PeratX
* Genisys-Android Project
}
Program Genisys... |
{* Extended Backus-Naur Form for RawrLang, a F#-based programming language with
the Haskell typesystem which compiles to PHP *}
module = "module", identifier, "where" ;
identifier = ( letter | "'" ), { letter | "'" | digit } ;
letter = uppercase-letter | lowercase-letter ;
digit = "0" | "1" | "2" | "3" | "4" | "5"... |
unit uServerDatabase;
interface
uses
System.Classes, System.StrUtils, System.SysUtils, uDBUtils, uModApp, System.Rtti,
System.TypInfo;
type
TServerDatabase = class(TObject)
protected
function GenerateCreateTable(AModAPP : TModApp): string; virtual; abstract;
function GenerateAlterTable(AModAPP : TModA... |
unit fmeSelectPartition;
interface
// NOTE: The "Tabs" property of the TTabControl has the tab captions as it's
// strings (as per normal), but each of the TStringList's Object's is a
// DWORD.
// If the DWORD's highest WORD is HIWORD_CDROM, the lowest WORD is an
// index into FRe... |
unit uPayments;
interface
uses Classes, SysUtils, uTefDial, uTEFDedicado, uSystemConst, uMsgBox,
uTefConsts, uTEFTypes, uTEFDedicadoInterface;
type
TPayment = class;
TPartialPay = class;
TPartialPayEvent = procedure(Payment: TPayment; Lista: TList; var Sucess: Boolean) of object;
TPayments = class(T... |
unit uSystemConst;
interface
uses Messages;
const
//SOFTVAR CONST
PDV_MD5 = '00fe96bc61c96a87414ab6874098b584';
//Main Retail Const
STORE_MARK = '#STORE_ACCESS_LIST#';
TEMP_TABLE = '*TempTable*';
REGISTRY_PATH = 'SOFTWARE\Applenet\MainRetail';
REGISTRY_POS_PATH = 'SOFTW... |
unit BCEditor.Editor.LineSpacing;
interface
uses
System.Classes, Vcl.Graphics;
type
TLineSpacingRule = (lsSingle, lsOneAndHalf, lsDouble, lsSpecified);
TBCEditorLineSpacing = class(TPersistent)
strict private
FOnChange: TNotifyEvent;
FRule: TLineSpacingRule;
FSpacing: Integer;
... |
unit FornecedorDAO;
interface
uses
DBXCommon, SqlExpr, Fornecedor, BaseDAO;
type
TFornecedorDAO = class(TBaseDAO)
public
function List: TDBXReader;
function NextCodigo: string;
function Insert(Fornecedor: TFornecedor): Boolean;
function Update(Fornecedor: TFornecedor): Boolean;
function Del... |
unit EST0001P.View;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, PesquisaBase.View, cxGraphics,
cxLookAndFeels,
cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore, cxControls, cxContainer,
cxEdit, cxStyles,... |
unit ibSHDomain;
interface
uses
SysUtils, Classes,
SHDesignIntf,
ibSHDesignIntf, ibSHDBObject;
type
TibBTDomain = class(TibBTDBObject, IibSHDomain, IibSHFuncParam)
private
// FExistsPrecision: Boolean;
FFieldTypeID: Integer;
FSubTypeID: Integer;
FCharsetID: Integer;
FColl... |
unit htTurboSplitter;
interface
uses
Windows, SysUtils, Types, Classes, Controls, Graphics,
htInterfaces, htTag, htMarkup, htControls, htAjaxPanel, htTurboBox;
type
ThtTurboSplitter = class(ThtTurboGraphicControl)
protected
procedure Paint; override;
public
constructor Create(inOwner: TComponen... |
unit Form.SetterAndGetterErzeugen;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Objekt.FeldList, Objekt.Feld;
type
TForm1 = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
... |
{******************************************************************************}
{ }
{ Delphi OPENSSL Library }
{ Copyright (c) 2016 Luca Minuti ... |
unit SyntaxHighlighter;
interface
uses
SysUtils,Windows,Classes,Graphics;
type
TLineClass=Byte;
TCharClass=Byte;
TCharClassArray=array[0..$FFFF] of TCharClass;
PCharClassArray=^TCharClassArray;
TCharClassHighlight=record
BackgroundColor,FontColor:TColor;
FontStyle:TFontStyles;
... |
unit Win32.MPEG2Data;
{$mode delphi}
interface
uses
Windows, Classes, SysUtils,
Win32.MPEG2Structs;
const
IID_IMpeg2TableFilter: TGUID = '{BDCDD913-9ECD-4fb2-81AE-ADF747EA75A5}';
IID_IMpeg2Data: TGUID = '{9B396D40-F380-4e3c-A514-1A82BF6EBFE6}';
IID_ISectionList: TGUID = '{AFEC1EB5-2A64-46c6-BF4B... |
(*
Category: SWAG Title: ANYTHING NOT OTHERWISE CLASSIFIED
Original name: 0026.PAS
Description: Finding Anagrams
Author: SWAG SUPPORT TEAM
Date: 08-27-93 20:00
*)
{
Program compiled and tested With BP 7.0
WARNING since this Program is not using the fastest algorithm to
find it's Anagrams, long Delays can b... |
unit PartitionImageDLL;
interface
uses
Classes, Windows,
OTFEFreeOTFEDLL_U,
SDPartitionImage,
SDUGeneral;
type
TPartitionImageDLL = class(TSDPartitionImage)
protected
FFilename: Ansistring;
FSize: ULONGLONG;
fMountedAs: char;
FBytesPerSector: integer;
FFOTFEMountedO... |
unit UDSQLQuery;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, UCrpe32;
type
TCrpeSQLQueryDlg = class(TForm)
pnlSQLQuery: TPanel;
lblSQLQuery: TLabel;
memoSQL: TMemo;
btnOk: TButton;
btnCancel: TButton;
btnConnect: TButton;
... |
unit VoxelUndoEngine;
interface
uses BasicMathsTypes, BasicDataTypes, BasicVXLSETypes, Voxel, Voxel_Engine;
Type
TUndo_Redo_Voxel_Data = record
Pos : TVector3i;
V : TVoxelUnpacked;
end;
TUndo_Redo_Section_Data = record
XSize, YSize, ZSize: integer;
Data : array of TUnd... |
unit Unit3;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids,
Vcl.StdCtrls, Vcl.Buttons, StrUtils, Vcl.Menus, Vcl.ExtCtrls,
Vcl.Imaging.pngimage, Vcl.Imaging.jpeg, Vcl.ExtDlgs;
... |
library terminal;
{ Библиотека представляет из себя эмулятор терминала.
Умеет воспринимать нажатые клавиши и отображать их на экране. }
uses Font8x8, GraphABC, System, Timers;
const
/// Предельная позиция знакоместа в x
х_лит_предел = 40;
/// Предельная позиция знакоместа в y
у_лит_предел = 30;
/// РА... |
unit URepositorioLote;
interface
uses
Ulote
,UEmpresaMatriz
,URepositorioEmpresaMatriz
,UEntidade
,URepositorioDB
,SqlExpr
;
type
TRepositorioLote = class (TRepositorioDB<TLOTE>)
private
FRepositorioEmpresa : TRepositorioEmpresa;
public
constructor create;
destructor destroy; override;
... |
{
DelphiProtocolBuffer ProtBuf.pas
declares the TProtocolBufferMessage base class
used by units generated by dpbp
Copyright 2014-2016 Stijn Sanders
Made available under terms described in file "LICENSE"
https://github.com/stijnsanders/DelphiProtocolBuffer
}
unit ProtBuf;
{$D-}
{$L-}
interface
uses Classes... |
unit uPow2StringConverter;
{$I ..\Include\IntXLib.inc}
interface
uses
uIStringConverter,
uConstants,
uXBits,
uIntX,
uIntXLibTypes;
type
/// <summary>
/// Provides special fast (with linear time) ToString converting if base is pow of 2.
/// </summary>
TPow2StringConverter = class... |
(* Stack ADT 3 19.04.2017 *)
(* ---------- *)
(* implementing the stack as abstract data type - version 3 *)
(* ========================================================= *)
UNIT StackADT3;
INTERFACE
TYPE
Stack = ^StackRec;
... |
unit fmeVolumeSelect;
interface
uses
Classes, Controls, Dialogs, Forms,
Graphics, Messages, OTFEFreeOTFEBase_U, SDUDialogs, SDUFrames, StdCtrls,
SysUtils, Variants, Vcl.Buttons,
Windows;
type
TOpenSave = (fndOpen, fndSave);
TfmeVolumeSelect = class (TSDUFrame)
bbBrowsePartition: TBitBt... |
unit u_parser;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
u_tokens;
const
AlphaChars: set of char = ['a'..'z', '_'];
DigitChars: set of char = ['0'..'9'];
HexChars: set of char = ['0'..'9', 'a'..'f'];
type
TMashParser = class
public
fp: string;
code: TStringList;
to... |
unit uW7TaskBar;
interface
uses
Windows, ComObj, ShlObj, ActiveX;
const
CLSID_TaskbarList: TGUID = '{56fdf344-fd6d-11d0-958a-006097c9a090}';
IID_ITaskbarList : TGUID = '{56FDF342-FD6D-11d0-958A-006097C9A090}';
IID_ITaskbarList2: TGUID = '{602D4995-B13A-429b-A66E-1935E44F4317}';
IID_ITaskbarList3... |
//
// Generated by JavaToPas v1.5 20171018 - 170649
////////////////////////////////////////////////////////////////////////////////
unit android.provider.Telephony_Mms_Intents;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes;
type
JTelephony_Mms_Intents = interface;
JTelephony_Mms_IntentsClas... |
unit SvodByGroupPrDataModul;
interface
uses
SysUtils, Classes, FIBDataSet, pFIBDataSet, FIBDatabase, pFIBDatabase,
frxClass, frxDBSet, frxDesgn, IBase, IniFiles, Forms, Dates, Variants,
Unit_SprSubs_Consts, ZProc, ZSvodTypesUnit, Controls, FIBQuery,
pFIBQuery, pFIBStoredProc, ZMessages, Dialogs, Math, Unit_Sv... |
namespace;
interface
uses
System,
System.IO,
System.Web,
WindowsLive;
type
WindowsLiveAuthHandler = public partial class(System.Web.UI.Page)
const
LoginPage = 'login.aspx';
LogoutPage = LoginPage;
LoginCookie = 'webauthtoken';
class var ExpireCookie: DateTime := DateTime.Now.AddYears(-10);
c... |
unit SessionLock;
{ Contains session information/lock functions }
interface
uses SysUtils, Classes, Windows, UniStrUtils;
type
TSessionLock = class(TStringList)
protected
hFile: THandle;
procedure Load;
public
constructor Create(LockFile: UniString);
destructor Destroy; override;
... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit Data.API.Google;
interface
uses
System.StrUtils, Data.Articles;
type
TTextType = (ttPLAINTEXT);
TTextTypeHelper = record helper for TTextType
constructor Create(const ATextTypeCode: String);
function ToString: String;
end;
IQuery = interface
['{9DD2DF53-37BB-46BE-B91A-56613FA5132C}']
... |
unit uCliente;
interface
uses Generics.Collections, Rest.Json;
type
TExtraClass = class
private
public
function ToJsonString: string;
class function FromJsonString(AJsonString: string): TExtraClass;
end;
TQsaClass = class
private
FNome: String;
FQual: String;
public
property nome: String read FNome write ... |
unit ibSHDriverIntf;
interface
uses
SHDesignIntf,
SysUtils, Classes, DB, Graphics, Types;
type
TibErrorCode= record
SQLCode :Integer;
IBErrorCode:Integer;
end;
IibSHDRV = interface(ISHDRVNativeDAC)
['{98EFE313-1125-4220-9BDE-E95ADEA8EEB5}']
function GetErrorText: string;
... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmZLIBDataStorage
Purpose : To allow the storage of ZLIB Compressed data within the application
Date : 03-04-2000
Author : Ryan J. Mills
Version : 1.90
Notes : See rm... |
unit ClientAPI.Readers;
interface
uses
System.JSON;
function ImportReaderReportsFromWebService(const token: string): TJSONArray;
implementation
uses
System.SysUtils, System.IOUtils;
function GetContactsFromService(const token: string): TJSONValue;
var
JSONFileName: string;
fname: string;
FileContent: st... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.