text stringlengths 14 6.51M |
|---|
unit BCEditor.Editor.LeftMargin.LineNumbers;
interface
uses
Classes, BCEditor.Types;
type
TBCEditorLeftMarginLineNumbers = class(TPersistent)
strict private
FAutosizeDigitCount: Integer;
FDigitCount: Integer;
FOnChange: TNotifyEvent;
FOptions: TBCEditorLeftMarginLineNumberOptions;
... |
unit Unit2;
interface
type
tParams = class
class procedure save;
class procedure load;
class function getValue(key: string; default: string): string; overload;
class function getValue(key: string; default: boolean): boolean; overload;
class function getValue(key: string; default: integer): integ... |
unit iTunesClient;
interface
uses
SysUtils, Classes, httpsend, ssl_openssl;
type
TiTunesClient = class(TObject)
private
Session: String;
public
constructor Create(Session: String);
function Search(term, country: String; limit: Integer = 5; media: String = 'software'): String;
function Lookup... |
unit LCVectorialFillControl;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Controls, LCVectorialFillInterface,
LCVectorialFill, BGRABitmap, BGRABitmapTypes, BGRAGradientScanner,
LCVectorOriginal;
type
TLCFillTarget = LCVectorialFillInterface.TLCFillTarget;
const
ftPen = LCVectorialFillInterface.f... |
unit uMarketing;
{$mode objfpc}{$H+}
interface
uses
SynCommons, mORMot, uForwardDeclaration;//Classes, SysUtils;
type
// 1
TSQLMarketingCampaign = class(TSQLRecord)
private
fParentCampaign: TSQLMarketingCampaignID;
fStatus: TSQLStatusItemID;
fCampaignName: RawUTF8;
fCampaignSummary... |
unit UHash;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs,
Variants,UlkJSON;
type
{
hjprErrorParsing - ошибка парсинга json. json - не валидный
hjprErrorCreate - ошибка создания узла при разборе ( возможно проблемы
с преобр... |
unit Test.Escapes;
interface
uses
Deltics.Smoketest;
type
Escapes = class(TTest)
procedure UtilsAnsiHex;
procedure UtilsWideHex;
procedure Index;
procedure Json;
end;
implementation
uses
Deltics.Unicode,
Deltics.Unicode.Utils;
{ Escapes -------------------... |
{*******************************************************}
{ }
{ Delphi REST Client Framework }
{ }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit BigWindowForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Frame.CurrentsDiagramBase, Frame.BigWindow, GMDock, dxDockControl,
IniFiles, GMGlobals, ControlFrame;
type
TBigWindowFormForDocking = class... |
unit FileProxy;
{x$DEFINE BAD_PATTERN_CHECK}
{x$DEFINE PX_DEBUG}
{x$DEFINE DISABLE_WRITES}
{$DEFINE ATS}
interface
uses System.Sysutils, debug, numbers, systemx, windows;
type
TAlignedTempSpace = record
aligned: Pbyte;
procedure Allocate;
procedure Unallocate;
end;
PAlignedTempSpace = ^TalignedTem... |
unit CustomErrorTable;
interface
uses FireDAC.Comp.Client, ProgressInfo, System.Classes, NotifyEvents,
TableWithProgress, DSWrap;
type
TCustomErrorTableW = class(TDSWrap)
private
FError: TFieldWrap;
protected const
public
const
ErrorMessage: String = 'Ошибка';
WarringMessage: String = 'Предуп... |
unit BrickCamp.Resources.TAnswer;
interface
uses
System.Classes,
System.SysUtils,
System.JSON,
Spring.Container.Common,
Spring.Container,
MARS.Core.Registry,
MARS.Core.Attributes,
MARS.Core.MediaType,
MARS.Core.JSON,
MARS.Core.MessageBodyWriters,
MARS.Core.MessageBodyReaders,
BrickCamp.Reposit... |
program IniMod;
{
Jacek Pazera
https://www.pazera-software.com
https://github.com/jackdp
----------------------------------------------------
IniMod - Console application for managing INI files.
----------------------------------------------------
Compile using FPC 3.2.0 or newer. Older FPC versions ma... |
{ These functions calculate the greatest common divisor of two numbers, using Euclid’s Algorithm. }
{ Here is a simple to understand implementation of the algorithm (which as a downside takes longer to execute) }
function gcd(x,y:longint):longint;
begin
while x<>y do
begin
if (x>y) then x := x-y
else y := y-x... |
unit fODDietLT;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
fAutoSz, ExtCtrls, StdCtrls, ORFn, fODBase, rODBase, VA508AccessibilityManager;
type
TfrmODDietLT = class(TfrmAutoSz)
lblMealCutoff: TStaticText;
Label2: TStaticText;
GroupBox1: TGroupBox;
c... |
(*
XML基础解析
原始作者:王云涛
建立时间:2011-12-02
*)
unit BASEXMLAPI;
interface
uses
SysUtils, Classes, XMLDoc, Variants, xmldom, XMLIntf, msxmldom, MSXML;
type
TBASEXMLAPI = class(TObject)
private
//格式化节点值,不存在节点返回空白字符
function FormatXMLDOMNodeValue(const Node: IXMLDOMNode): string;
pr... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
//网上找到的delphi hashtable, delphi7下通过测试,其它版本没有测试,弄到这只是因为,代码可以研究。
// 我看过了的都加了点注释,后面没看了。
//
//Java 中的 Hashtable 类小巧好用,尤其是因为采用了哈希算法,查找的速度奇快。后来因
//工作需要,使用 Delphi 实施一些项目,特别不习惯没有哈希表的日子。于是决定自己动手做
//一个。
//不必白手起家,Delphi 中有一个 THashedStringList 类,它位于 IniFiles 单元中。它里面
//有一个不错的哈希算法,解决冲突的机制是“链地址”。把这个类改装改装,就成了自己的
//了。新鲜热辣,火爆出炉。下面就来看看新的... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
Buttons;
type
{ Tfrm2015Assignment15 }
Tfrm2015Assignment15 = class(TForm)
BitBtn1: TBitBtn;
btnDeleteSelected: TButton;
btnInitialiseStrArray: TButton;
btnAssignStrArr... |
{*********************************************************************
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Autor: Brovin Y.D.
* E-mail: y.brovin... |
unit Ths.Erp.Database.Table.SysTaxpayerType;
interface
{$I ThsERP.inc}
uses
SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils,
FireDAC.Stan.Param, System.Variants, Data.DB,
Ths.Erp.Database,
Ths.Erp.Database.Table;
type
TSysTaxpayerType = class(TTable)
private
FTaxpayerType: TFi... |
unit BCEditor.Utils;
interface
uses
Windows, Math, Classes, Graphics, Dialogs, BCEditor.Consts, BCEditor.Types;
function CeilOfIntDiv(ADividend: Cardinal; ADivisor: Word): Word;
function DeleteWhiteSpace(const AStr: string): string;
function GetTabConvertProc(TabWidth: Integer): TBCEditorTabConvertProc;
... |
unit ARelOrdemSerra;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Componentes1, ExtCtrls, PainelGradiente, StdCtrls, Buttons, Mask,
numericos, Localizacao, UnDadosProduto;
type
TFRelOrdemSerra = class(TFormularioPermissao)
PainelGradient... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit ncgClassicMenu;
interface
uses
SysUtils,
Windows;
(***********************************************************************
** Who wants to know more about the method how I discovered all this
** may have a look at the following URL (German) or contact me via my
** forum:
**
** http://www.delphipraxis... |
programme le_garage_automobile
//but: Créer des garages (identifié par nom,adresse,avec entre 6 voiture min et 15 voiture max), créer des voitures(identifiée par marque,model,energie,puissance
// fiscal,puissance DYN, couleur, Option, Année model, prix modele, cote argus, date de mis en circulation, age, plaque d'imma... |
unit PacketPriority;
interface
{
Copyright (c) 2014, Oculus VR, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same dire... |
unit frmBindingEditorU;
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.Mask,
Vcl.Buttons, System.Actions, Vcl.ActnList, System.Types,
Vcl.ExtCtrls, AdvEdit, AdvIPEdit, Vcl... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ SOAP Support }
{ }
{ Copyright (c) 2001 Borland S... |
unit ContactMgr_BOM;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
tiObject, tiVisitor, tiOID, tiOIDInteger;
type
{FORWARD DECLARATIONS}
TContactMgr = class;
TPeople = class;
TPerson = class;
TAdrsList = class;
TEAdrsList = class;
TAdrs = class;
{ TContactMgr }
TContactMgr = class(T... |
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+}
{$M 1024,0,0}
{
by Behdad Esfahbod
Algorithmic Problems Book
August '1999
Problem 15 O(N3) Bfs Method
}
program
GirthOfGraph;
const
MaxN = 100;
var
N, V : Integer;
A : array [1 .. MaxN, 1 .. MaxN] of Integer;
Q, P, D, Gir : array [1 .. MaxN] of Integ... |
unit Code01.RemoveRepetitions;
interface
{
@theme: Delphi Challenge
@subject: #01 Remove Character Repetitions
@author: Jacek Laskowski
@date: 2020-05-09 21:00
Funkcja przyjmująca na wejściu dwa parametry:
- łańcuch tekstowy oraz
- znak (char),
celem funkcji jest usunięcie z zadanego łańcucha wszystkich powtórz... |
object AudioFormatForm: TAudioFormatForm
Left = 0
Top = 0
BorderStyle = bsDialog
Caption = 'Audio Format'
ClientHeight = 461
ClientWidth = 170
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreat... |
unit FIToolkit.ProjectGroupParser.Exceptions;
interface
uses
FIToolkit.Commons.Exceptions;
type
EProjectsParserException = class abstract (ECustomException);
{ Project group parser exceptions }
EProjectGroupParseError = class (EProjectsParserException);
{ Project parser exceptions }
EProjectParseEr... |
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+}
{$M 1024,0,0}
{
by Behdad Esfahbod
Algorithmic Problems Book
April '2000
Problem 76 Simulating
}
program
CarsCircle;
const
Pi = 2 * System.Pi;
MaxN = 100;
type
TCar = record
V, V2 : Extended;
P : Extended;
T, T2 : Extended;
end;
T... |
unit uOpstelling;
interface
uses
Contnrs, uSelectie, uPlayer, uHTPredictor, Forms, Classes;
type
TOpstelling = class
private
FFrameOpstelling: TFrame;
FSelectie: TSelectie;
FOpstellingPlayerArray: array[1..14] of TPlayer;
FOpstellingOrderArray: array[1..14] of TPlayerOrder;
FSpelhervatter: ... |
program Sample;
var i,j: Integer;
begin
WriteLn('enter two numbers:');
Read(i,j);
WriteLn('got ', i, ' and ', j);
end.
|
{********************************************}
{ TeeOpenGL Editor Component }
{ Copyright (c) 1999-2004 by David Berneda }
{ All Rights Reserved }
{********************************************}
unit TeeGLEditor;
{$I TeeDefs.inc}
interface
uses
{$IFNDEF LINUX}
Windows, Mess... |
unit Component.UAWebbrowser;
interface
uses Classes, SHDocVw, ActiveX;
type
TUAWebBrowser = class(TWebbrowser, IDispatch)
private
const
DISPID_AMBIENT_USERAGENT = -5513;
private
FUserAgent: string;
BrowserAmbient: IOleControl;
function QueryBrowserAmbientAndIfAvailableSetIt: ... |
unit MyGlobal;
interface
uses
Classes, SysUtils, IOUtils, JdcGlobal, MyCommon;
const
PROJECT_CODE = 'MyProject';
APPLICATION_CODE = 'playIoT Application';
APPLICATION_TITLE = 'playIoT Form Application Templete';
COPY_RIGHT_SIGN = '¨Ï 2018 playIoT';
HOME_PAGE_URL = 'http://www.playIoT.biz';
... |
unit Ths.Erp.Database.Table.SysQualityFormNumber;
interface
{$I ThsERP.inc}
uses
SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils,
FireDAC.Stan.Param, System.Variants, Data.DB,
Ths.Erp.Database,
Ths.Erp.Database.Table;
type
TSysQualityFormNumber = class(TTable)
private
FTableNa... |
////////////////////////////////////////////////////////////////////////////////
//
// ****************************************************************************
// * Project : FWZip
// * Unit Name : FWZipCrc32
// * Purpose : Набор функций для рассчета контрольной суммы блока данных
// * : Класс T... |
unit UExweb;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs,
UUrl,UHash,UHttp,UExWebType, DB, DBClient;
{$define _log_}
type
TExWebBlockInfo = record
public
blockSize: Integer;
count: Integer;
id: string;
md5: string;
size:... |
program terminalargs;
var
i: integer;
begin
for i := 0 to ParamCount do
writeln ('[', i ,']: ', ParamStr(i));
end.
|
{*********************************************}
{ TeeBI Software Library }
{ Geographic Database Support }
{ Copyright (c) 2015-2017 by Steema Software }
{ All Rights Reserved }
{*********************************************}
unit BI.Geographic;
interface
... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011 Embarcadero Technologies, Inc. }
{ ... |
unit Support.Sandforce.Hynix;
interface
uses
SysUtils,
Support, Support.Sandforce;
type
THynixSandforceNSTSupport = class sealed(TSandforceNSTSupport)
private
function IsHynixSandforceProduct: Boolean;
public
function GetSupportStatus: TSupportStatus; override;
end;
implementation
{ THynixSand... |
{ ALGORITHME du programme:
programme Carre_magique
CONST
taille = 5
type
Tableau=TABLEAU[1..taille,1..taille] en ENTIER
//BUT initialiser le tableau avec des 0
//ENTREE 4 entiers et un tableau
//SORTIE le tableau, initialisé à 0 et 2 entiers initialisés
procedure initTab (var Tab:Tableau var x,y:ENTIER)
var i,j... |
unit uMainForm;
interface
uses
System.Classes, System.SysUtils,
Vcl.Forms, Vcl.StdCtrls, Vcl.Controls,
//GLS
GLObjects, GLScene, GLBlur, GLSimpleNavigation, GLTexture,
GLCadencer, GLVectorGeometry, GLTeapot, GLPolyhedron, GLGeomObjects,
GLWin32Viewer, GLCrossPlatform, GLMaterial, GLCoordinates, ... |
PROGRAM Balkendiagramm;
FUNCTION Maximum(ni: ARRAY OF integer): integer;
var i, max: integer;
BEGIN (* Maximum *)
max := 0;
FOR i := 0 TO Length(ni) - 1 DO BEGIN
IF (ni[i] > max) THEN BEGIN
max := ni[i];
END; (* IF *)
END; (* FOR *)
Maximum := max;
END; (* Maximum *)
P... |
{ This, Folks, is the 2nd BackDoor program. Enjoy it, it's made for you! }
{ Idea + Coding: C. Olliwood. Distortions by Chip-sy-King (Hahaha!) }
(* by BackDoor. 18/6/1995 *)
PROGRAM Funny_Message_V1_0; { From Feb. the 26, 1995 }
USES Crt;
VAR Zuffi_Zahl : Integer;
Spruch : String;
PROCEDURE... |
unit uZeichnerInit;
{$mode delphi}
interface
uses
Classes, SysUtils, fgl,
uZeichnerbase, uZeichnerGruenesBlatt, uZeichnerFarben,
uZeichnerSchrittlaenge,uZeichnerFarbenUndSchrittlaenge,
uZeichnerFarbenBlattUndSchritt;
type TErbteZeichnerBase = class of TZeichnerBase;
type TVersandTabelleZeichner = TFPGMap<... |
unit Test_FIToolkit.Logger.Impl;
{
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.Class... |
{$mode objfpc}{$H+}{$J-}
program Problem_3;
var
length : Real;
width : Real;
height : Real;
begin
writeln('The volume is calculated as V = length * width * height.');
end. |
{ ---------------------------------------------------------------------------- }
{ Delphi Implementation of AISParser Library }
{ Copyright 2006 by Brian C. Lane <bcl@brianlane.com> }
{ All Rights Reserved ... |
{*******************************************************************************
作者: dmzn@163.com 2008-08-07
描述: 系统数据库常量定义
备注:
*.自动创建SQL语句,支持变量:$Inc,自增;$Float,浮点;$Integer=sFlag_Integer;
$Decimal=sFlag_Decimal;$Image,二进制流
*******************************************************************************... |
{
Single Source Shortest Paths - With Negative Weight Edges
BellmanFord Algorthm O(N3)
Input:
G: Directed weighted graph (No Edge = Infinity)
N: Number of vertices
S: The source vertex
Output:
D[I]: Length of minimum path from S to I
P[I]: Parent of vertex I in its path from S, P[S] = 0
NoAnswer: Gra... |
unit g_Heap;
interface
uses
Windows;
type
THeap = class
private
FInitialSize: Integer;
FMaximumSize: Integer;
FHeap: THandle;
public
constructor Create(InitialSize, MaximumSize: Integer);
destructor Destroy; override;
function AllocMem(Size: Integer): Pointer;
function ReallocMem(... |
unit FC.StockChart.UnitTask.Calendar.BarList;
interface
{$I Compiler.inc}
uses
SysUtils,Classes, BaseUtils, Serialization, StockChart.Definitions.Units,StockChart.Definitions,
FC.Definitions, FC.Singletons,
FC.StockChart.UnitTask.Base;
implementation
uses
FC.StockChart.UnitTask.Calendar.BarListDialog;
type
... |
unit ANovaOrdemProducao;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Componentes1, ExtCtrls, PainelGradiente, StdCtrls, Buttons, numericos,
Mask, Localizacao,UnDados, ComCtrls, UnordemProducao,UnProdutos,
DBKeyViolation, EditorImagem, Grids, CG... |
{ Invokable interface IClientsTalking }
unit uClientsTalkingIntf;
interface
uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns,
System.IOUtils, FMX.Dialogs, FMX.Forms, Classes, SysUtils, System.UITypes,
System.Variants;
type
TClientServ = class(TRemotable)
private
FAdress: string;
... |
unit WideComboBox;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TWideComboBox = class(TComboBox)
private
protected
procedure ComboWndProc(var Message: TMessage; ComboWnd: HWnd;
ComboProc: Pointer); override;
function Get... |
{=============================== Program Header ================================
PROGRAM-NAME : PSA3220A(사내근로복지기금 대출 지급등록)
SYSTEM-NAME : 복리후생
SUBSYSTEM-NAME : 사내근로복지기금 대출
Programmer : 사내근로복지기금 대출 신청
Version :
Date :
Update Contents
버전 수정일 수정자 수정내용 ... |
unit JWT.ES;
interface
uses System.SysUtils, JWT, ipcecc, ipctypes;
type
TJWTSigner_ECC = class abstract(TInterfacedObject, IJWTSigner)
private
FCipher: TipcECC;
protected
class function HashAlgorithm: TipcECCHashAlgorithms; virtual; abstract;
class function UsePSS: Boolean; virtual; abstract;
... |
unit f14_save;
interface
uses
csv_parser,
buku_handler,
user_handler,
peminjaman_Handler,
pengembalian_Handler,
kehilangan_handler,
tipe_data;
{ DEKLARASI FUNGSI DAN PROSEDUR }
procedure save(var data_buku: tabel_buku; var data_user: tabel_user; var data_peminjaman: tabel_peminjaman; var d... |
{ Simple program to insert a Patreon link into modern_pascal_introduction.html .
Inserts a snippet of CSS and HTML code into the given document.
Copyright Michalis Kamburelis 2018-2018.
License: Permissive Apache 2.0 license.
See https://www.apache.org/licenses/LICENSE-2.0 .
Feel free to modify and reuse.
}... |
unit vr_android_utils;
{$mode delphi}{$H+}
{$I vrode.inc}
interface
{$IFDEF ANDROID}
uses
Classes, SysUtils, Laz_And_Controls, AndroidWidget,
vr_utils, vr_intfs, vr_transport, vr_app_utils;
type
{ TAndroidApp }
TAndroidApp = class(jApp)
protected
procedure DoAfterInitialized; override;... |
unit APermissaoRelatorio;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Menus, StdCtrls, Buttons, ExtCtrls, Componentes1, DB, UnImpressaoRelatorio,
DBClient, Tabela, CBancoDados;
type
TFPermissaoRelatorio = class(TFormularioPermissao)
Men... |
unit fpeMakerNoteMinolta;
{$IFDEF FPC}
//{$mode objfpc}{$H+}
{$MODE DELPHI}
{$ENDIF}
interface
uses
Classes, SysUtils,
fpeGlobal, fpeTags, fpeExifReadWrite;
type
TMinoltaMakerNoteReader = class(TMakerNoteReader)
protected
function AddTag(AStream: TStream; const AIFDRecord: TIFDRecord;
const A... |
{ Chokyi Ozer 16518269 }
unit udatamhs;
{ Unit ini berisi fungsi & prosedur untuk mengelola data mahasiswa }
{ DEKLARASI TYPE FUNGSI DAN PROSEDUR }
interface
const
NMax = 100;
type
dataMhs = record
NIM : String;
KdKul : String;
Nilai : Integer;
... |
unit app_main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Spin,
ExtCtrls, BCButton;
type
{ TForm1 }
TForm1 = class(TForm)
BtnRun: TBCButton;
LabelFrom: TLabel;
LabelIterations: TLabel;
LabelTo: TLabel;
MemoResult: TMemo;
... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLFilePAK<p>
<b>History : </b><font size=-1><ul>
<li>04/06/10 - Yar - Added to GLScene
(Created by Rustam Asmandiarov aka Predator)
</ul><p>
}
unit GLFilePAK;
{$I GLScene.inc}
interface
us... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 2016 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit WiseErr;
interface
uses
Dialogs,
WiseConst, main;
function ErrorDeamon(ErrorNumber:integer; ErrorString: string):integer;
procedure StatusMesage(msg: string);
implementation
Type
ErrorEvent = record
N :integer;
Msg: string;
Deg: integer;
Ret: integer;
end;
Const
ErrType: ... |
unit urs.DataSetHelper;
interface
uses
System.Rtti, System.Generics.Collections,
Data.DB;
type
TDBFieldsMapping = (mapAuto, mapManual);
var
DefaultDBFieldsMapping: TDBFieldsMapping = mapAuto;
type
DBFieldsAttribute = class(TCustomAttribute)
strict protected
FMode: TDBFieldsMapping;
public
con... |
unit ProgressU;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, AviThread, ExtCtrls;
type
TAviFinishEvent = procedure(Sender: TObject; const filename: string; Success: boolean) of object;
TProgressForm = class(TForm)
Label1: TLabel;... |
{$i deltics.interfacedobjects.inc}
unit Deltics.InterfacedObjects.InterfacedPersistent;
interface
uses
Classes,
Deltics.Multicast;
type
TInterfacedPersistent = class(TPersistent, IUnknown,
IOn_Destroy)
private
fOn_Destroy: IOn_Destro... |
unit Initializer.TotalWrite;
interface
uses
SysUtils,
Global.LanguageString, Device.PhysicalDrive, Support,
AverageLogger.Write, AverageLogger, OS.EnvironmentVariable, MeasureUnit.DataSize;
type
TMainformTotalWriteApplier = class
private
procedure AppendWriteToWriteLabel;
procedure ApplyTodayUsageB... |
UNIT main;
INTERFACE
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, Grids, Menus, CLipBrd;
type
TMainWin = class(TForm)
PicturePanel: TPanel;
PaintPanel: TPanel;
PaintBox: TPaintBox;
PictureName: TComboBox;
Popup: TPopupMenu;... |
{
Ultibo Crypto API Test unit.
Copyright (C) 2020 - SoftOz Pty Ltd.
Arch
====
<All>
Boards
======
<All>
Licence
=======
LGPLv2.1 with static linking exception (See COPYING.modifiedLGPL.txt)
Credits
=======
Information for this unit was obtained from:
References
==========
Crypto API
==========
Th... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, ComCtrls, ToolWin, ExtCtrls, FR_Class, FR_Desgn, DateUtils,
XPMan, IniFiles;
type
TMainForm = class(TForm)
StatusBar: TStatusBar;
MainMenu: TMainMenu;
MenuFile: TMenuI... |
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Measures defined : We define some Objects and Strcuture to
// manage and store Sizes and Dates
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
unit Measures;
interface
uses Classes;
type
cMeasuresItem = (miCreated, miModified, miAc... |
program Sample;
var
H : String;
begin
H := 'Hello World';
WriteLn('H: ''', H, '''');
end.
|
//
// Generated by JavaToPas v1.4 20140526 - 132955
////////////////////////////////////////////////////////////////////////////////
unit android.view.WindowId;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
Androidapi.JNI.os,
android.view.WindowId_FocusObserver;
type
JWindowId = interface;... |
unit Role;
interface
uses
Right;
type
TRole = class
private
FName: string;
FCode: string;
FDescription: string;
FRights: array of TRight;
FAssignedNewValue: boolean;
FAssignedOldValue: boolean;
function GetHasCode: boolean;
function GetHasName: boolean;
function GetRight(co... |
unit SortThds;
interface
uses
Classes, Graphics, ExtCtrls,windows,Sysutils;
type
{ TSortThread }
PSortArray = ^TSortArray;
TSortArray = array[0..MaxInt div SizeOf(Integer) - 1] of Integer;
TSortThread = class(TThread)
private
FBox: TPaintBox;
FSortArray: PSortArray;
FSize: Integer;
FA, F... |
unit ProjectBundles;
interface
uses Windows, Sysutils, Classes; // keep uses in old style for earlier versions
CONST
REG_PATH_DELPHI = 'SOFTWARE\Borland\Delphi\%s\Known Packages';
REG_PATH_CODEGEAR = 'SOFTWARE\CodeGear\BDS\%s\Known Packages';
REG_PATH_EMBARCADERO = 'SOFTWARE\Embarcadero\BDS\%s\Known... |
{
2Satisfiability Problem
DFS Method O(N3)
Input:
M: Number of clauses
N: Number of Xs
Pairs[I]: 1<=I<=M Literals of clause I, -x means ~x (not x)
Output:
Value[I]: Value of x[i] in a satisfiability condition
NoAnswer: System is not satisfiable
By Behdad
}
program
TwoSat;
const
MaxN = 100 + 2;
... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2013-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit Annotation.Interfaces;
interface
uses
Generics.Collections, AnnotatedImage, System.Types, Vcl.Graphics,
Annotation.Action, Classes, Vcl.Controls, Forms;
type
TPresentMode = (prmdOriginal, prmdCombined, prmdMask);
TImageInfo = record
FileName: string;
Width: integer;
Height: integer;
end;... |
unit Ths.Erp.Database.Table.Attribute;
interface
{$I ThsERP.inc}
implementation
type
AttTableName = class(TCustomAttribute)
private
FName: string;
public
property Name: string read FName write FName;
constructor Create(AValue: string);
end;
type
AttFieldName = class(TCustomAttribute)
privat... |
{$R-}
{$Q-}
unit ncEncRipemd128;
// To disable as much of RTTI as possible (Delphi 2009/2010),
// Note: There is a bug if $RTTI is used before the "unit <unitname>;" section of a unit, hence the position
{$IF CompilerVersion >= 21.0}
{$WEAKLINKRTTI ON}
{$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])}
{$... |
//28Feb1999 - modified getFirstToken to handle TABs as well
// - now triming the remaining of s and the function return value in all functions
// - adding the getFirstTokenUsingSeparators routine
// - now getFirstToken is implemented a getFirstTokenUsingSeparators call (for SPACE and TAB)
u... |
unit UTool;
interface
uses system.Classes, system.Threading,System.StrUtils,System.Types,System.SysUtils;
type
TLoadThread = class(TThread)
private
FProgressDialogThread: TThread;
procedure DoProcessing;
public
ID: integer;
Lastname: string;
Firstname: string;
Age: integer;
constru... |
unit uVeiculo;
interface
uses uiVeiculo;
type
TVeiculo = class(TInterfacedObject, iVeiculo)
private
{ private declarations }
FkmInicial: Integer;
FkmFinal: Integer;
FquantLitros: Currency;
FvalorCombustivel: Currency;
FcapacidadeTanque: Currency;
function GetKmInici... |
unit MediaProcessing.Convertor.RGB.VFW.Impl;
interface
uses SysUtils,Windows,Classes, MediaProcessing.Definitions,MediaProcessing.Global, MediaProcessing.Convertor.RGB.VFW, VFW,JPeg;
type
TMediaProcessor_Convertor_Rgb_Vfw_Impl =class (TMediaProcessor_Convertor_Rgb_Vfw,IMediaProcessorImpl)
private
FInInfo :... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL,
IdSSLOpenSSL, IdMessage, IdBaseComponent, IdComponent, IdTCPConnection,
IdTCPClient, IdExplicitTLSClientServerBase, IdMessageClient, IdPOP3, S... |
unit RMD160;
{RIPEMD-160 - 160 bit Secure Hash Function}
interface
(*************************************************************************
DESCRIPTION : RIPEMD-160 - 160 bit Secure Hash Function
REQUIREMENTS : TP5-7, D1-D7/D9-D10/D12/D17-D18/D25S, FPC, VP
EXTERNAL DATA : ---
ME... |
unit PaymentListParams;
interface
uses
SysUtils;
type
TPaymentListParams = class
private
FFromDate: TDateTime;
FUntilDate: TDateTime;
FLocationCode: string;
public
property FromDate: TDateTime read FFromDate write FFromDate;
property UntilDate: TDateTime read FUntilDate write FUntilDate;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.