text stringlengths 14 6.51M |
|---|
unit uPerformanceAspect;
interface
uses
System.SysUtils, System.Rtti, Aspect4D;
type
TPerformanceAspect = class(TAspect, IAspect)
private
function PodeExecutar(const method: TRttiMethod): boolean;
public
function GetName: string;
procedure DoAfter(instance: TObject; method: TRttiMethod;
co... |
unit UePad;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2005 by Bradford Technologies, Inc. }
interface
Uses
Windows, SysUtils;
function GetEPadSignature(bmpPath, userName: PChar): intege... |
unit ThoughtWorks.QRCode.Codec.Util.Color;
interface
type
TColor_Fields = (GRAY = $AAAAAA, LIGHTGRAY = $BBBBBB, DARKGRAY = $444444,
BLACK = $000000, WHITE = $FFFFFF, BLUE = $8888FF, GREEN = $88FF88, LIGHTBLUE
= $BBBBFF, LIGHTGREEN = $BBFFBB, RED = $FF8888, ORANGE = $FFFF88, LIGHTRED = $FFBBBB);
IColor = ... |
{***************************************************************************}
{ }
{ Delphi.Mocks }
{ }
{ ... |
unit TOblsRizeni;
{
Trida TORs sdruzuje oblasti rizeni do databaze.
}
interface
uses TOblRizeni, IniFiles, SysUtils, Classes, COmCtrls, IdContext,
StdCtrls, Generics.Collections;
type
//recordy vyuzivany pri externich implementacich navaznosti na OR (napriklad u technologickych bloku)
// vyuziva se i u ... |
{**********************************************************
Author(s): Sergey Seroukhov (Zeos Database Objects)
based on Mysql-direct library by Cristian Nicola
MysQL libmysql.dll Version 5 API Interface Unit
Link :
http://www.sourceforge.net/projects/zeoslib
http://dev.mysql.com/doc/refman/5.0/en/c-api-funct... |
// ###################################################################
// #### This file is part of the mathematics library project, and is
// #### offered under the licence agreement described on
// #### http://www.mrsoft.org/
// ####
// #### Copyright:(c) 2011, Michael R. . All rights reserved.
// ####
// ####... |
unit Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, System.Sensors,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TForm1 = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
PaintBox1: TP... |
UNIT rpi;
INTERFACE
USES unix, sysutils, classes;
CONST
LOW: pchar = '0';
HIGH: pchar = '1';
OUTPUT: pchar = 'out';
INPUT: pchar = 'input';
TYPE
TGPIO = object
tab_pins: TStringlist;
procedure init;
destructor destroy;
procedure setup(port: integer; mode: pchar);
procedure digitalWrite... |
unit ExtOpenGL;
interface
uses OpenGL, Winapi.Windows;
procedure glBindTexture(target: GLenum; texture: Gluint); stdcall;
external opengl32;
{ --------------------------------------------------------------------- }
{ Extentions for standard Delphi OPENGL.PAS }
{ ----------------------------------------... |
// see ISC_license.txt
{$I genLL.inc}
unit CMinusParser;
interface
uses
Runtime, Trees, CMinusLexer;
type
TCMinusParser = class(TParser)
public
function pars_program(): TTree;
function pars_declaration(): TTree;
function pars_function(): TTree;
function pars_stmt(): TTree;
function pars_ass... |
unit Partner1CLink;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorDBGrid, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxPCdxBarPopupMenu, cxStyles,
cxCustomData, cxFilter, cxData,... |
unit AT.Fmx.Actions.Bind;
interface
uses
System.Classes, System.UITypes, AT.Fmx.Actions.Consts,
FMX.Bind.Navigator;
type
[ComponentPlatformsAttribute(pidATActionsPlatforms)]
TATFMXBindNavigateApplyUpdates = class(TFMXBindNavigateApplyUpdates)
strict private
FAndroidImageIndex: TImageIndex;
FAndroid... |
unit DIOTA.Pow.Kerl;
interface
uses
DIOTA.Pow.ICurl,
DIOTA.Pow.JCurl,
DIOTA.Utils.Pair,
DIOTA.Pow.SpongeFactory,
keccak_n;
type
TSHA3_384_Hash = array[0..47] of Byte;
TKerl = class(TJCurl)
private
const
HASH_LENGTH = Integer(243);
BIT_HASH_LENGTH = Integer(384);
BYTE_HASH_LENGT... |
unit uDemoStripInvalidChars;
interface
uses
uDemo;
type
TDemoStripInvalidChars = class(TDemo)
strict private
function CleanInput(const StrIn: String): String;
strict protected
procedure Run; override;
public
class function Description: String; override;
end;
implementation
uses
RegularExp... |
unit CancellationThreadUnit;
interface
uses Windows, SysUtils, Classes;
type
TOnCancellationEventHandler = procedure(Sender: TObject) of object;
TCancellationThread = class(TThread)
strict protected
FOnCancellationEventHandler: TOnCancellationEventHandler;
function GetIsCancelled: Boolean... |
program testingIfThenElse;
(* Testing: If-Then-Else statements and begin...end blocks *)
begin
if (true) then
writeln('then');
else
begin
writeln('else');
end;
if (false) then
writeln('then');
writeln('then');
else
begin
writeln('else');
writeln('else');
end;
end; |
unit View.CountryListForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.UITypes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, View.TemplateForm, Vcl.ExtCtrls,
Data.DB, Vcl.Grids, Vcl.DBGrids, Vcl.DBCtrls, JvExDBGrids, JvDBGrid, JvComponentBase, ... |
unit dmEditFS;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, dmFS, IBSQL, DB, IBCustomDataSet, IBQuery, UtilDB;
type
TEditFS = class(TFS)
iFS: TIBSQL;
uFS: TIBSQL;
dFS: TIBSQL;
private
OIDGenerator: TOIDGenerator;
protected
function A... |
unit ServerResources;
interface
uses
WiRL.Core.Attributes,
WiRL.http.Accept.MediaType,
SysUtils,
Classes;
type
[Path('helloworld')]
THelloWorldResource = class
public
[GET, Produces(TMediaType.TEXT_PLAIN)]
function SayHelloWorld: string;
end;
implementation
uses
WiRL.... |
unit core_ui;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, dglOpenGL, core_types, core_ui_controls,
controls, core_texture, core_material_library, fgl, core_listofrecords,
VectorGeometry, core_ui_base, ui_main_menu;
type
{ TuiManager }
TuiManager = class
private
atlas:TTextureAtlas;
c... |
(******************************************)
(* Conversión Número -> Letra *)
(* *)
(* *)
(* *)
(* dos funciones: *)
(* *)
(* 1 ... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011-2013 Embarcadero Technologies, Inc. }
{ ... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ Copyright(c) 2013 Embarcadero Technologies, Inc. }
{ }
{*****************************... |
unit NtUtils.Ldr;
{
The function to interact with the module loader in ntdll.
}
interface
uses
Ntapi.WinNt, Ntapi.ntldr, Ntapi.ntrtl, Ntapi.Versions, DelphiApi.Reflection,
NtUtils;
const
// Artificial limitation to prevent accidental infinite loops
MAX_MODULES = $800;
type
PDllBase = Ntapi.ntldr.PDllBa... |
unit FindUnit.PasParser;
interface
uses
System.Classes,
System.SysUtils,
DelphiAST.Classes,
FindUnit.Header,
System.Generics.Collections,
SimpleParser.Lexer.Types;
type
TPasFile = class(TObject)
private
FLastModification: TDateTime;
FOriginUnitName: string;
FFilePath: string;
FLi... |
type Tdate=record
Day:integer;
Month:integer;
Year:integer;
end;
function LeapYear(a:Tdate):boolean;
begin
if ((a.Year mod 400=0) or ((a.Year mod 4=0) and (a.Year mod 100<>0))) then
LeapYear:=True
else
LeapYear:=False;
end;
var
Date:Tdate;
begin
readln(Date.Day,Date.Month,Dat... |
unit TBlokZamek;
//definice a obsluha technologickeho bloku Zamek
interface
uses IniFiles, TBlok, TechnologieJC, Menus, TOblsRizeni, SysUtils, Classes,
IdContext, Generics.Collections, TOblRizeni;
type
TBlkZamekStav = record
enabled:boolean;
klicUvolnen:boolean;
nouzZaver:Cardinal; // tady je ulozen... |
unit UDefinitions;
interface
uses
FireDAC.Comp.Client;
type
TNotifyProc = procedure of object;
TNotifyMsgProc = procedure(const AMsg: string) of object;
TThreadKind = (tknDriven, tknNondriven);
TDataObjects = record
HeaderQry, DetailQry, InsertQry, ErrorQry, SelectQry, DoneQry, ExecQry: TFDQuery;
e... |
///*
// * android-plugin-client-sdk-for-locale https://github.com/twofortyfouram/android-plugin-client-sdk-for-locale
// * Copyright 2014 two forty four a.m. LLC
// *
// * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// * in compliance with the License. You may o... |
unit Clothes.View;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
Common.Form,
Clothes.Classes, Clothes.DataModule, Clothes.ViewModel,
ClothesReg.View, ClothesTypesReg.View,
FMX.StdCtrls, FMX.Con... |
unit ICMO2FacReader;
interface
uses
Classes, SysUtils, ComObj, CommUtils, ADODB;
type
TICMO2FacRecord = packed record
sbillno_mz: string;
sbillno_fac: string;
end;
PICMO2FacRecord = ^TICMO2FacRecord;
TICMO2FacReader2 = class
private
FList: TList;
FFile: string;
Exc... |
unit UAMC_URLS;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2012 by Bradford Technologies, Inc. }
interface
function GetURLForStreetLinksServer: String;
implementation
uses
UGlobals, UAMC_Glob... |
unit UCL.SystemSettings;
interface
uses
UCL.Classes,
Winapi.Windows,
System.Win.Registry,
VCL.Graphics;
// Get data
function GetAccentColor: TColor;
function IsAccentColorEnabled: Boolean;
function GetAppTheme: TUTheme;
// Set data
procedure SetAccentColor(aColor: TColor);
procedure SetAc... |
unit AqDrop.Core.Tokenizer;
interface
uses
AqDrop.Core.Automaton, AqDrop.Core.Automaton.Text, AqDrop.Core.Collections.Intf, AqDrop.Core.Exceptions;
type
/// ------------------------------------------------------------------------------------------------------------------
/// <summary>
/// EN-US:
... |
{*******************************************************************************
This file is part of the Open Chemera Library.
This work is public domain (see README.TXT).
********************************************************************************
Author: Ludwig Krippahl
Date: 23.1.2014
Purpose:
Utility functio... |
(*
* "THE BEER-WARE LICENSE" (Revision 42):
* d0p1 <d0p1@yahoo.com> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a beer in return.
*)
UNIT TestWallet;
{$mode objfpc}{$H+}
INTERFACE
... |
unit AddVideo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Data.Win.ADODB, Vcl.StdCtrls,
Vcl.ExtCtrls, Vcl.ComCtrls;
type
TAddVideoForm = class(TForm)
Query: TADOQuery;
List: TListBox;
... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, IPPeerClient,
Data.Cloud.CloudAPI, Data.Cloud.AmazonAPI, FMX.Objects,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Layouts, FMX.List... |
program MagazineList;
uses
Crt, Strings,
Buttons, Cursor, MagScrn, ScrnWrit;
const
NumArticles = 1000;
NumKeys = 10;
const
T = 'Article Title: '; Tl = 15;
E = 'Edition: '; El = 9;
M = 'Magazine: '; Ml = 10;
P = 'Page No: '; Pl = 9;
K = 'Keyword'; Kl = 12;
... |
{ *********************************************************************** }
{ }
{ Delphi Еncryption Library }
{ Еncryption / Decryption stream - RC6 }
{ ... |
unit fmColumna;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, fmBaseNuevo, StdCtrls, Buttons, ExtCtrls, BDConstants;
type
TfColumna = class(TfBaseNuevo)
cbTipo: TComboBox;
lTipo: TLabel;
procedure FormCreate(Sender: TObject);
procedure cbTipo... |
unit ORMDemo.RestMethods;
interface
uses
mORMot,
ORMDemo.Interf;
type
TServiceMethods = class(TInjectableObject,IServiceMethods)
public
function Sum(val1, val2 : Double) : Double;
function Mult(val1, val2 : Double) : Double;
function RandomNumber : Int64;
end;
implementation
function TServic... |
(*
FLAC (Free Lossless Audio Codec) library bindings
This file is a part of Audio Components Suite.
All rights reserved. See the license file for more details.
Copyright (c) 2002-2010, Andrei Borovsky, anb@symmetrica.net
Copyright (c) 2005-2006 Christian Ulrich, mail@z0m3ie.de
Copyright (c) 2014-2015 Sergey... |
unit LandpadEndpoint;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Landpad;
type
ILandpadEndpoint = interface(IInterface) ['{02BEB550-CE84-4ED7-A694-6DFB19F19907}']
function All: ILandpadList;
function One(const Id: string): ILandpad;
end;
function NewLandpadEndpoint: ILandpadEndpoint;
impl... |
unit fmBaseFormConfig;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, fmBase;
type
TFormConfig = set of (fcSize, fcPosition, fcWindowState);
TfBaseFormConfig = class(TfBase)
private
protected
FormConfig: TFormConfig;
procedure LoadFormConfig(co... |
unit uAddressSingleContactSheet;
// Datei : uAddressSingleContactSheet.pas
// Beschreibung : Ableitung für Einzelkontakte der aufgeteilten Adressmasken-SDK-Anbindung
// Datum : 2003-01-14
{$I twcomp.pas}
interface
uses
Classes, Forms, uAddressBaseSheet, StdCtrls, uGenesisDialogs, uEnterMa... |
unit LS.Config;
interface
type
TLocationConfig = class(TObject)
private
class function GetFileName: string;
class function GetJSON: string;
private
FIsPaused: Boolean;
public
class function GetConfig: TLocationConfig;
public
procedure Save;
property IsPaused: Boolean read FIsPaused w... |
unit oCtrlBars; { controllo: acquisizione e serializzazione
}
interface uses oOpcBars, oScrbBars, dOPCDA;
type
TCtrolBar = class
_ScrbBar: TScrbBar;
_OpcBar: TOpcBar;
procedure boot;
procedure step;
end;
TCtrolBars = class
aCtrolBars: array of TCtrolBar;
procedure boot(
dPosition... |
program openwindowtags;
{$IFNDEF HASAMIGA}
{$FATAL This source is compatible with Amiga, AROS and MorphOS only !}
{$ENDIF}
{
Project : openwindowtags
Topic : open a window using tags.
Source : RKRM
}
{*
** Here's an example showing how to open a new window using the
** OpenWindowTagList() functi... |
unit DlgTestDateRange;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DlgTest, Menus, cxLookAndFeelPainters, StdCtrls, cxButtons,
cxGraphics, cxDropDownEdit, mnDateRange, cxControls, cxContainer, cxEdit,
cxTextEdit, cxMaskEdit, cxCalendar;
type
TTestDateR... |
unit Form2;
interface
uses
System.Types, SmartCL.System, SmartCL.Graphics, SmartCL.Components, SmartCL.Forms,
SmartCL.Fonts, SmartCL.Borders, SmartCL.Application, SmartCL.Controls.Button,
SmartCL.Controls.Label, SmartCL.Controls.Header, SmartCL.Layout,
SmartCL.Controls.Memo;
type
TForm2 = class... |
unit srecyclerview;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, AndroidWidget, systryparent;
Const
ItemContentFormatArray: array [0..6] of string =
('TEXT','IMAGE', 'CHECK', 'RATING', 'SWITCH', 'PANEL', 'PROGRESS');
type
TItemContentFormat = (cfText, cfImage, cfCheck, cfRating, cfSwitch, ... |
(*++
Copyright (C) 2018 Automatic Component Toolkit Developers
All rights reserved.
Abstract: This is the class declaration of TLibPrimesFactorizationCalculator
*)
{$MODE DELPHI}
unit libprimes_impl_factorizationcalculator;
interface
uses
libprimes_types,
libprimes_interfaces,
libprimes_exception,
libprimes_... |
{
ToDo
Normalize whitespace in attribute values
Allow whitespace between parts of a tag: "/ >", "/ #13#10 >"
If not CDATE, trim both ends and replace any series of whitespace (even inside quotes) to single #20
Handle nested parameter replacements in ELEMENT definition
ELEMENT % barney "&fred;" would try to find ... |
unit DatabaseServerAuthentificationService;
interface
uses
SystemAuthentificationService,
ClientAccount,
ClientLogOnInfo,
AuthentificationData,
ServiceInfo,
QueryExecutor,
DataReader,
ConnectionInfo,
QueryExecutorFactory,
SysUtils,
Classes;
type
TUserAccountDbSchemaData = class
TableNa... |
unit UnitMigrations.Model;
interface
type
TMigrationsModel = class
private
Fid: integer;
FName: string;
public
property id: integer read Fid write Fid;
property Name: string read FName write FName;
end;
implementation
end.
|
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ComCtrls, ExtCtrls,BasicDataAccess_TLB,MSSQLAcs,DBAIntf,BDAImp;
type
TForm1 = class(TForm)
Panel1: TPanel;
Label1: TLabel;
edHost: TEdit;
Label2: TLabel;
edServer: TEdit;
Label... |
unit Jitsi;
interface
uses
ECMA.Promise, W3C.DOM, W3C.Html5;
type
JJitsiConfigHosts = class external
// XMPP domain.
domain: String;
// When using authentication, domain for guest users.
anonymousdomain: String;
// Domain for authenticated users. Defaults to <domain>.
authdomain: String... |
{-----------------------------------------------------------------------------
Unit Name: DUMessageBox
Author: Sebastian Hütter
Date: 2006-08-01
Purpose: Extended message boxes
History: 2006-08-01 initial release
-----------------------------------------------------------------------------}
unit DUMes... |
program LinkedListAssignment;
type
NodePtr = ^Node;
Node = record
data: Integer;
next: NodePtr;
end;
LinkedList = record
first: NodePtr;
last: NodePtr;
end;
procedure CreateList(var list: LinkedList);
begin
list.first := nil; // result.first (because we are talking about THIS one n... |
unit Lines;
interface
type
TLines = class
private
count_:Integer;
public
item:array of string;
constructor create();
function getCount():integer;
procedure push(str:string);
end;
implementation
{ TLines }
constructor TLines.create;
begin
count_:=0;
end;
function TLin... |
unit DrawPath.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.ExtCtrls, Direct2D, D2D1, System.Generics.Collections, HGM.Button,
Vcl.StdCtrls, Vcl.Menus, HGM.Controls.PanelExt;
type
T2DCanvasAdv ... |
unit ShipEndpoint;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Ship;
type
IShipEndpoint = interface(IInterface) ['{6B69CB38-0BD3-4828-B63D-2A2475367E24}']
function All: IShipList;
function One(const Id: string): IShip;
end;
function NewShipEndpoint: IShipEndpoint;
implementation
uses
En... |
{*------------------------------------------------------------------------------
ウィンドウ操作・情報取得ユニット
@Author $Author$
@Version $Id$
-------------------------------------------------------------------------------}
unit Window;
interface
{ 宣言部 }
uses
Windows;
procedure SetWindowTopMost(hWn... |
unit uPanelFavoritos;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uPanelNotificaciones, ActnList, ImgList, JvTabBar,
uPanel, Menus, ActnPopup, TB2Item, SpTBXItem, TB2Toolbar,
TB2Dock, dmDataComun, JvComponentBase, JvFormPlacement;
const
WM_SELECCIONAR_... |
unit DialogConsultaDonaciones;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DialogConsulta, cxGraphics, Menus, cxLookAndFeelPainters, cxStyles,
cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData,
cxGridCustomTableView, cxGridTableView, cxG... |
//***************************************************************************
//
// 名称:RTXS.API.pas
// 工具:RAD Studio XE6
// 日期:2014/11/9 15:12:01
// 作者:ying32
// QQ :396506155
// MSN :ying_32@live.cn
// E-mail:yuanfen3287@vip.qq.com
// Website:http://www.ying32.com
//
/... |
{==============================================================================
Iris Model Editor - Copyright by Alexander Oster, tensor@ultima-iris.de
The contents of this file are used with permission, subject to
the Mozilla Public License Version 1.1 (the "License"); you may
not use this file except in ... |
unit FailFixture;
interface
uses Fixture,
Parse ;
type
fitFailFixture = class(TFixture)
public
procedure doTable(tables: TParse); override;
end;
fitPassFixture = class( TFixture )
public
procedure doTable( tables : TParse ) ; override;
end;
fitErrorFixture = class( TFix... |
{ ============================================================================ }
{ DELPHI CONFERENCE 2012 - 23/10/2012 }
{ José Mário Silva Guedes - mario.guedes@arrayof.com.br }
{ ... |
unit dbObjectHistoryTest;
interface
uses TestFramework, Authentication, Db, XMLIntf, dsdDB, dbObjectTest;
type
TdbObjectHistoryTest = class (TTestCase)
protected
// Удаление объекта
procedure DeleteHistoryObject(Id: integer);
// получение поличества записей
function GetRecordCount(ObjectTest: TO... |
unit core_chunk;
{$mode objfpc}{$H+}
interface
uses
SysUtils,core_types,core_classes,
//{$IFNDEF SERVER}
renderable_object_types,
//{$ENDIF}
VectorTypes,VectorGeometry;
type
{ TChunk }
TChunk = class(TUpdateable)
private
// fblocks: pBlocksBuffer;//full map of all blocks making the chunk
f... |
unit zUnRar;
interface
uses Windows, UnRAR, SysUtils;
type
TUnrarArchive = class
protected
hArcData: THandle;
public
FFileName : string;
constructor Create(AFileName : string);
destructor Destroy; override;
// Открытие архива
function OpenArchive : boolean;
// Закрытие архива
functi... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://localhost:8888/wsdl/IRadarWS
// Encoding : utf-8
// Version : 1.0
// (3/30/2012 11:45:27 AM - 1.33.2.5)
// *... |
unit Dispensa;
interface
uses SysUtils, Contnrs;
type
TDispensa = class
private
Fcodigo :Integer;
Fdescricao_item :String;
FPreco_custo :Real;
public
property codigo :Integer read Fcodigo write Fcodigo;
property descricao_item :String read Fdescricao_... |
unit RPDBVCL;
interface
uses Classes, Contnrs, Db, RPDB, RPDefines;
type
TRPDBDataset = class;
TRPDBField = class (TRPDataField)
private
FField : TField;
procedure SetField(const Value: TField);
public
function GetPrintableText(TextFormatType : TRPTextFormatType=tfNone;
co... |
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence }
{ Team Coherence is Copyright 2002 by Quality Software Components }
{ }
{ For further ... |
{*!
* Fano Web Framework (https://fanoframework.github.io)
*
* @link https://github.com/fanoframework/fano
* @copyright Copyright (c) 2018 Zamrony P. Juhara
* @license https://github.com/fanoframework/fano/blob/master/LICENSE (MIT)
*}
unit HttpClientImpl;
interface
{$MODE OBJFPC}
{$H+}
uses
Inject... |
unit gUnits;
{$IfDef FPC}
{$mode objfpc}{$H+}
{$ModeSwitch advancedrecords}
{$EndIf}
interface
uses
Classes, SysUtils,
avRes,
gWorld, gTypes, gBullets,
UPhysics2D, UPhysics2DTypes,
B2Utils,
mutils,
SpineH,
intfUtils;
type
{ TUnit }
TUnit = class(TGameDynamicBody)
private
FMaxHP: Singl... |
unit Customer;
interface
uses
Classes,
DSharp.Collections,
DSharp.Core.DataTemplates,
Rtti;
type
TCustomer = class(TPersistent)
private
FCustomerId: string;
FCompanyName: string;
FContactName: string;
FContactTitle: string;
FAddress: string;
FCity: string;
published
property... |
unit View.AddEditCustomer;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
View.Frame.CustomerDetails, ViewModel.AddEditCustomer.Types, System.ImageList,
FMX.ImgList, ViewModel.Types;
type
... |
unit uGCAxGWOpportunitySDK;
{$I twcomp.pas}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,
pGCAxGWOpportunity_TLB, uGCAxGWOpportunity, CAS_TABLE, StdCtrls, CAS_CONTROLS, ComCtrls,
comServ, ActiveX, AxCtrls, ComObj, CAS_TABLE_CONTROLS, ExtCtrls, CAS_TOOLSCOM, M... |
unit frmTrafficLight_u;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls;
type
TForm1 = class(TForm)
btnRed: TButton;
btnYellow: TButton;
btnGreen: TButton;... |
unit AqDrop.DB.IB;
interface
uses
AqDrop.DB.Adapter,
AqDrop.DB.SQL.Intf;
type
TAqDBIBSQLSolver = class(TAqDBSQLSolver)
strict protected
function SolveLimit(pSelect: IAqDBSQLSelect): string; override;
function SolveBooleanConstant(pConstant: IAqDBSQLBooleanConstant): string; override;
p... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TfrmMain = class(TForm)
pnlTop: TPanel;
mmResult: TMemo;
btnGetResult: TButton;
procedure btnGetRe... |
unit BiomeGenBase_u;
interface
uses WorldGenTrees_u, WorldGenForest_u, WorldGenBigTree_u,
WorldGenSwamp_u, BiomeDecorator_u, WorldGenTaiga1_u, WorldGenTaiga2_u,
RandomMCT, WorldGenerator_u, generation_obsh;
type BiomeGenBase=class(TObject)
private
//enableSnow,enableRain:boolean;
fu... |
program remembertest;
{$IFNDEF HASAMIGA}
{$FATAL This source is compatible with Amiga, AROS and MorphOS only !}
{$ENDIF}
{
Project : remembertest
Title : Illustrates the use of AllocRemember() and FreeRemember().
Source : RKRM
}
{$MODE OBJFPC}{$H+}{$HINTS ON}
Uses
Exec, AmigaDOS, intuition;
//*... |
unit EpsDlg;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, Dialogs,
GrEps;
type
TEPSParDlg = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
Bevel1: TBevel;
GroupBox1: TGroupBox;
LbEdDX: TLabeledEdit;
LbEdDY: TLabeledEdit;
GroupB... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011-2013 Embarcadero Technologies, Inc. }
{ ... |
unit UPrefFAppPDF;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ This is the Frame that contains the Application PDF Preferences}
interface
uses
Windows,... |
unit Model.ProSu.InterfaceActions;
interface
type
TInterfaceAction = (actUpdateTotalSalesFigure, actInvoiceItemsChanges,
actPrintingStart, actPrintingFinish);
TInterfaceError = (errInvoiceItemEmpty, errInvoiceItemQuantityEmpty,
errInvoiceItemQuantityNonPositive,
... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit sPoNgEbObCaSe;
interface
type
TSpongeBobCaseHelper = record helper for string
function ToSpongeBobCase: string;
end;
implementation
{ TSpongeBobCaseHelper }
function LoCase(AChar: Char): Char;
begin
case AChar of
'A'..'Z':
begin
Result := Char(Ord(AChar) + Ord('a') - Ord('A'));
end... |
UNIT IO_Modul;
INTERFACE
(* separator for prettier terminal output *)
PROCEDURE SingleSeparators;
(* write header in terminal output *)
PROCEDURE WriteHeader(header: STRING);
IMPLEMENTATION
(* ======== separators for prettier terminal output ========= *)
PROCEDURE SingleSeparators;
BEGIN
WriteLn('... |
{*******************************************************}
{ }
{ FluentSQL }
{ }
{ Copyright (C) 2013 Allan Gomes }
{ ... |
(* ***** 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 at
* http://www.mozilla.org/MPL/
*
* Softwa... |
unit game_display;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,controls,ExtCtrls,sudokuGame,graphics,cell,
gameDisplayInterface;
type
{ TCellDisplay }
TCellDisplay = class(TCustomPanel,ICellDisplay)
private
fPaintBox:TPaintbox;
fCentreMarks: TIntArray;
fRow:integer;
fColumn:integer;
fB... |
{
Erweiterte CriticalSection Klasse
02/2016 XE10 x64 Test
xx/xxxx FPC Ubuntu
--------------------------------------------------------------------
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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.