text stringlengths 14 6.51M |
|---|
{*******************************************************************************
* *
* Author: Reonid *
* Categoty: vector graphic ... |
unit uBlur;
interface
uses uTypes;
type
// TFlo = F4;
TFlo = F8;
// TFlo = FA;
PPointDS = ^TPointDS;
TPointDS = record
X, Y: TFlo;
Selected: BG;
end;
PVector = ^TVector;
TVector = record
S: TPointDS;
// M: TPointDS;
E: TPointDS;
end;
PBlur = ^TBlur;
TBlur = record
... |
unit graph;
interface
uses windows, ExtCtrls, sysutils, parser, graphics, dialogs;
type TGraph = class
public
Ursprung:TPoint;
Bild:TImage;
ZeichenAbstandX:integer;
ZeichenAbstandY:integer;
ZeichenSchrittX:integer;
ZeichenSchrittY:integer;
procedure drawAchsis... |
unit JEN_Input;
interface
uses
Windows,
JEN_Header,
JEN_Math;
type
IInput = interface(JEN_Header.IInput)
procedure SetKeyState(InputKey: TInputKey; Value: Boolean);
procedure SetWheelDelta(Value: Integer);
procedure Init;
procedure Reset;
end;
TInput = class(TInterfacedO... |
unit BCEditor.Editor.LeftMargin.Bookmarks.Panel;
interface
uses
System.Classes, Vcl.Graphics, BCEditor.Types;
type
TBCEditorLeftMarginBookMarkPanel = class(TPersistent)
strict private
FLeftMargin: Integer;
FOnChange: TNotifyEvent;
FOptions: TBCEditorLeftMarginBookMarkPanelOptions;
... |
unit uEmpresa;
interface
uses System.SysUtils;
type TEmpresa = class
private
FdddCel: string;
FidEmpresa: Integer;
Fbairro: string;
FdddFone: string;
Fcep: String;
Fnumero: Integer;
FrazaoSocial: string;
Fcomplemento: string;
Fnome: string;
Fcidade: string;
FvalorTranspo... |
unit PXL.Sysfs.ADC;
{
This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL).
Copyright (c) 2000 - 2015 Yuriy Kotsarenko
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free Softwa... |
{
Ultibo Mouse interface unit.
Copyright (C) 2015 - SoftOz Pty Ltd.
// -----------------------------------------------------------------------------------------
// This version is heavily cropped and patched for use in the Retromachine environment only.
// Do not use this in standard Ultibo programs, use the original... |
unit DropURLTarget;
// -----------------------------------------------------------------------------
// Project: Drag and Drop Component Suite
// Component Names: TDropURLTarget
// Module: DropURLTarget
// Description: Implements Dragging & Dropping of URLs
// TO your appli... |
unit QT_Nearest;
interface
uses sysutils, Classes, Dialogs, Forms, AnePIE, QuadtreeClass, ZLib;
type
TQT_NearestData = Class(TObject)
FileName: string;
YMultiplier : double;
QuadTree : TRbwQuadTree;
Values : array of double;
LastTime: TDateTime;
procedure Clear;
Constructor Create(x_min... |
unit uJSONSerializationTestObjects;
interface
uses
Soap.InvokeRegistry, System.Classes;
{$M+}
type
TMyRemotableTestObj = class(TRemotable)
private
FBirthDate: TDateTime;
FName: String;
FChildren: Integer;
procedure SetBirthDate(const Value: TDateTime);
procedure SetChildren(c... |
unit DW.MuteCheck.Android;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
unit uFImportacao;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uFormBase, Vcl.StdCtrls, Vcl.ComCtrls;
type
TfImportacao = class(TfFormBase)
ProgressBar: TProgressBar;
lblTitulo: TLabel;
... |
unit ServiceHelper;
interface
uses Windows, WinSvc, Registry;
const //New service types from winnt.h
SERVICE_USER_SERVICE = $00000040; //set for user service prototypes AND instances
SERVICE_USERSERVICE_INSTANCE = $00000080; //set only for instances
... |
unit DelaunayUnit;
{
References:
de Berg, Mark; van Kreveld, Mark; Overmars, Mark; Schwarzkopf, Otfried.
2000. Computational Geometry, Algorithms and Applications. Second Edition.
Springer, Berlin. 367 p.
Edelsbrunner, Herbert. 2001. Geometry and Topology for Mesh Generation.
Cambridge University Press, Cambri... |
{$O+,F+}
Unit Files;
Interface
Uses Objects;
function MakeDirectory : Word;
Function CopyFiles(Data : PCollection;Focused : Word; Where : string):Boolean;
Function MoveFiles(Data : PCollection;Focused : Word; Where : string):Boolean;
Procedure DeleteFiles(Data : PCollection;Focused : Word);
Function... |
////////////////////////////////////////////////////////////////////////////////
// ACLUTILS UNIT //
// Win32 API implementation of TStream etc. //
// (for working with ACL.PAS) ... |
unit SimpleNamedPipe;
//Contains the NamedPipe Simple connection class: TSimpleNamedPipeConnection.
interface
uses scktComp, DtNetConst, Classes, SimpleAbstractConnection, tickcount;
const
PIPE_TIMEOUT = 120000; //Length of timeout for pipe connection.
CMAX_PIPE_READ = 32000; //Maximum pipe read length in a singl... |
unit lplclspin;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, lpCompiler, lpTypes, ulpClassHelper;
procedure RegisterLCLSpinCtrls(Compiler: TLapeCompiler);
implementation
uses MufasaTypes, lplclsystem, lplclstdctrls, Spin;
type
PCustomFloatSpinEdit = ^TCustomFloatSpinEdit;
PFloatSpinEdit = ^TFloat... |
// Copyright (c) 2021 Arsanias
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
unit
Core.Material;
interface
uses
System.Types, System.Variants, System.SysUtils, System.classes, System.StrUtils,
Graphics, JPEG... |
unit CRepHighlight;
interface
uses
Entity, EntityFieldNamesToken, TypesConsts;
type
TCRepHighlight = class(TEntity)
private
FPageId: TId;
public
class var
Tok_Id: TEntityFieldNamesToken;
Tok_PageId: TEntityFieldNamesToken;
class function EntityToken_Id: TEntityFieldName... |
program InverseMatrix(input, output);
const
GROESSE = 5;
type
tIndex = 1..GROESSE;
tMatrix = array [tIndex,tIndex] of integer;
var
A : tMatrix;
hilf,
i,
j : integer;
begin
{ Lesen der Matrixwerte in A: }
for i := 1 to GROESSE do
for j := 1 to GROESSE do
readln (A[i,j]);
{Ausgabe der ... |
unit TUsrIntfIf;
interface
function ExecuteManagerPasswDlg(ManagerId: Integer): Boolean;
implementation
uses Windows, Forms, LIfConsts, TourCmnlIf;
type
TAssignAppProc = procedure(AppHandle: Cardinal);
TExecuteManagerPasswFunc =
function (AppHandle: Cardinal; ManId: Integer): Boolean;
var
AppHandle: Car... |
unit TestOtlCommon1;
{
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, GpStuff, Windows, TypInfo, ... |
UNIT ParseGenSyn;
INTERFACE
USES ParseGenLex;
VAR
success : BOOLEAN;
PROCEDURE S(outFile: STRING);
IMPLEMENTATION
VAR
tabLev: INTEGER;
t: TEXT;
PROCEDURE Grammar; FORWARD;
PROCEDURE Rule; FORWARD;
PROCEDURE Expr; FORWARD;
PROCEDURE Term; FORWARD;
PROCEDURE Fact; FORWARD;
PROCEDU... |
unit ExtractCommonExpressionMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TfrmCommonExpression = class(TForm)
Button1: TButton;
ListBox1: TListBox;
Button2: TButton;
... |
{***********UNITE*************************************************
Auteur ...... : N. ACHINO
Créé le ...... : 29/12/2000
Modifié le ... : 23/07/2001
Description .. : Source TOF de la FICHE : FOCLIMUL_MODE
Suite ........ : Recherce des clients "Mode" pour le Front Office
Mots clefs ... : TOF;UTOFFOCLIMUL_MODE;FO
******... |
unit JEN_Helpers;
interface
uses
windows,
sysutils,
JEN_Header,
JEN_Math,
JEN_Camera2D,
JEN_Camera3D,
JEN_SystemInfo;
const
LIST_DELTA = 32;
type
TCharSet = set of AnsiChar;
PByteArray = ^TByteArray;
TByteArray = array [0..1] of byte;
TItemArray = array of Pointer;
T... |
unit uEnemy;
interface
uses uTypes;
type
TEnemyList = array of TPoint;
TEnemy = class(TObject)
private
FCount: Integer;
public
EnemyList: TEnemyList;
constructor Create;
destructor Destroy; override;
procedure Move(ID, FromX, FromY, ToX, ToY: Integer);
procedure Proc... |
unit ClientDataSetSupportingWhereOrderByUnit;
interface
uses
ClientDataSetSupportingCalculatedAndLookupFieldsUnit, SqlWhereCriterionsUnit,
Generics.Collections, NullablesUnit, StringListWrapperUnit;
type
TOrderByDirection = (obdDefault, obdAscending, obdDescending);
TStringOrderByDirectionPair = TP... |
unit XLSFile;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Grids, Forms, Dialogs,db,dbctrls,comctrls;
const
{BOF}
CBOF = $0009;
BIT_BIFF5 = $0800;
BOF_BIFF5 = CBOF or BIT_BIFF5;
{EOF}
BIFF_EOF = $000a;
{Document types}
DOCTYPE_XLS = $0010;
{Dimensions}
DIMENSIONS = $000... |
unit dog_said_meow.uAnimalsForm;
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.Memo, FMX.StdCtrls, FMX.Objects;
type
TAnimalsForm = class(TForm)
mmoLog: TMemo;
pnlClient:... |
{
Program: Genotyp Projekt WAT.
File: ConnectionModule
Description: Podłaczenie do bazy danych MySQL Projekt
Notes:
2018-03-10 Piotr Murawski Rozpoczęcie projektu
}
unit ConnectionModule;
interface
uses
Aurelius.Drivers.Interfaces,
Aurelius.SQL.MySql,
Aurelius.Schema.MySql,
Aurelius.Drivers... |
{$I CompMode.INI}
{$IFDEF Debug}
unit strlist;
{$ELSE}
UNIT A12;
{$ENDIF}
interface
type
TStrList = Class(TObject)
private
vList: Array of String;
ListLn: Integer;
public
constructor Create;
procedure Add(Text: String);
function Strings(Index: ... |
{
*************************************
Created by Danilo Lucas
Github - https://github.com/dliocode
*************************************
}
unit Validator.IsDateBetween;
interface
uses
DataValidator.ItemBase,
System.SysUtils, System.DateUtils;
type
TValidatorIsDateBetween = class(TDataValidatorItemBa... |
unit UserAttentionMgrImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º UserAttentionMgr Implementation
// Author£º lksoulman
// Date£º 2018-1-11
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interf... |
//Verificado automaticamente em 16/06/2020 09:28
unit cad_vacina;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxLookAndFeels,
cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore, dxSkinOffice2013White... |
unit mParams;
interface
type
TParams = class
private class var
class function GetItems(Index: Integer): String; static;
class function GetCount: Integer; static;
public
class function ExePath: String;
class function ExeName: String;
class function FullPath: String;
class property Items[... |
program lab_2_2;
const
n = 3;
type
arr_bool = array [1..n] of boolean;
matr_bool = array [1..n] of arr_bool;
var
dm: matr_bool;
d: arr_bool;
procedure print_bool;
var
i: integer;
begin
write('( ');
for i := 1 to n do
if d[i] then write(i, ' ');
writeln(')');
end;
procedure input_set;
var
... |
unit CustomBoardProcess;
interface
uses WinApi.Windows, Winapi.Messages, System.Classes, System.SysUtils, System.Threading,
ExtentionsList, BoardProcessInterface, AbstractBoard, AbstractProtocol, AbstractExtention, ExtentionsLibrary,
EventBusInterface, Vodopad.EventList, Vodopad.ObjectList, CustomChildProcess,
... |
unit Controller.Camera;
interface
uses
System.SysUtils,
MVCFramework,
MVCFramework.Commons,
MVCFramework.Serializer.Commons,
MVCFramework.ActiveRecord,
FireDAC.Comp.Client,
FireDAC.Phys.SQLite,
MVCFramework.SQLGenerators.Sqlite,
System.Generics.Collections,
Model.Camera,
System.JSON,
MVCFramew... |
object TriggerDataItemEditor: TTriggerDataItemEditor
Left = 0
Top = 0
BorderStyle = bsDialog
Caption = 'Edit data item'
ClientHeight = 123
ClientWidth = 344
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = ... |
{***********UNITE*************************************************
Auteur ...... : N. ACHINO
Créé le ...... : 10/04/2003
Modifié le ... : 10/04/2003
Description .. : Source TOM des TABLES :
Suite ........ : PARFIDELITE (Paramètrage de la fidélité client)
Suite ........ : PARREGLEFID (Paramétrage des règles de fidé... |
unit CnsFTecSemInfTec;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, CnsBsCxGrid, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter, cxData,
cxDataStorage, cxEdit, cxNavigator, DB, cxDBData, dxPSGlbl, dxPSUtl,
... |
unit CRC32;
interface
uses
Windows,
Forms,
SysUtils,
Classes;
var
Table:Array[0..255] of DWORD;
procedure GetCRC32File(FileName:string;var CRC32:DWORD);
function GetCrc32Str(s: string; Seed: LongInt):string;
procedure MakeTable();
implementation
procedure MakeTable();
var
... |
//////////////////////////////////////////////////////////////////////////////
//
// Unit: zlib_inflaterregister
//
// Description: This file is a part of the zlib data
// compression library for delphi
// (re-implementation of zlib-1.2.3 in pure Delphi)
... |
(* This is file is part of PasLibVlcPlayerDemo program
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This... |
unit AsfMemPlugInMgrImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º AsfMemPlugInMgr Implementation
// Author£º lksoulman
// Date£º 2017-11-14
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interfa... |
unit BaseConnection;
interface
uses
Entity, EntityMapping, TypesConsts, DBSQLQuery, Uni, BaseQuery;
type
TCascadeOption = (coDelete, coUpdate);
TCascadeOptions = set of TCascadeOption;
TTransactionIsolationLevel =(
tilUnknown,
tilSerializable,
tilRepeatableRead,
tilReadCommitted... |
(* ***** 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/
*
* Software distr... |
unit TypeTreeClass;
interface
uses
classes, sysutils;
type
TTypeId = String;
TTypeSet = TStringList;
TTypeTreeNode = class;
TErrorObject = class(Exception);
TTypeTree = class
private
fremoveall: boolean;
findex: integer;
fRootnode: TTypeTreeNode;
fn... |
unit uFLatCounter;
interface
uses
System.Classes, //
//
uFlat, //
uHouseNumber, //
uCounter, //
uStreet //
;
type
TFLatCounter = class(TComponent)
private
FFlat: TFlat;
FCounter: TCounter;
FStreet: TStreet;
FHouseNumber: THouseNumber;
FIsFlatCounterAssociated: boolean;
procedu... |
unit uInputQuery;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TFmInputQuery = class(TForm)
Btn_OK: TButton;
Btn_Cancel: TButton;
Edt_Value: TEdit;
Lbl_Prompt: TLabel;
private
{ Private declarations }
public
{ Publ... |
program getpoly (input, output);
{ uses wincrt; }
{ Exercise 6-2 for Engineering Computing 121 tutorial }
const
maxdegree = 100;
type
coeff = array[0..maxdegree] of integer;
var
poly : coeff; {the polynomial array}
c : integer; {the value of each coefficient}
... |
unit UnitController.QuadroScrum;
interface
uses
Horse,
Classes,
SysUtils,
System.Json,
DB,
UnitConnection.Model.Interfaces,
UnitOcorrencia.Model,
UnitQuadroScrum.Model,
UnitFuncoesComuns, UnitConstantes;
type
TPrioridade = (Baixa = 1, Media, Alta);
THelperPrioridade = record helper for TPriori... |
unit TerrainDAta;
interface
uses
graphics;
const
TER_FLAG_DEEP = $10;
TER_UNDEFINED= 0;
TER_WATER = 1;
TER_GRASS = 2;
TER_ROAD_MOTORWAY = 3;
TER_ROAD_TRUNK = 4;
TER_ROAD_PRIMARY = 5;
TER_ROAD_SECONDARY = 6;
TER_ROAD_TERTIARY = 7;
TER_URBAN = 8;
TER_RIVER = 9;
type
TTileData = packed record... |
unit UtofBTTYPERES_MUL;
interface
uses
Classes,
{$IFDEF EAGLCLIENT}
eMul,
MaineAgl,
{$Else}
mul,
fe_Main,
DB,
DBGrids,
{$ENDIF}
sysUtils,
HCtrls,
UTOF,
UTOM,
HDB,
Htb97;
Type
TOF_BTTYPERES_MUL = Class (TOF)
public
procedure OnArgument (Argument : String ) ; override ;
proc... |
unit SingletonPatternSecondary;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TfrmSecondary = class(TForm)
btnGlobalVar: TButton;
btnHiddenCreate: TButton;
btnClassVar: TButton... |
//----------------------------------------
//
// Copyright © ying32. All Rights Reserved.
//
// Licensed under Apache License 2.0
//
//----------------------------------------
{*******************************************************}
{ }
{ govcl windows WebB... |
{******************************************************************************}
{ }
{ SE Network Development Framework }
{ ... |
{
TDesktopInfo Component Version 3.0 - Suite GLibWMI
Copyright (©) 2020, by Germán Estévez (Neftalí)
La clase Win32_Desktop representa las características comunes del escritorio de un usuario. El usuario
puede modificar las propiedades de esta clase para personalizar el escritorio.
Utilización/Usage:
(ES) Basta co... |
{
Copyright (C) 2013-2023 Tim Sinaeve tim.sinaeve@gmail.com
Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
Unless required by a... |
unit CPENVOYERMAIL;
interface
uses
Sysutils, Classes, HEnt1, UTOB;
type
TEnvoyerMail = class
Dossier : string;
private
function SendMails : string;
public
class function EnvoyerMails(T : TOB) : string;
constructor Create (Param : TOB);
destructor Destroy; override;
end;
implement... |
{ Unité : Source TOT de la TABLETTE : TRPORTEFEUILLE
--------------------------------------------------------------------------------------
Version | Date | Qui | Commentaires
--------------------------------------------------------------------------------------
6.30.001.004 15/03/05 JP Création d... |
{
* PROGRAM: UDR samples.
* MODULE: SumArgsFunc.pas
* DESCRIPTION: A sample external function using IRoutineMetadata.
*
* The contents of this file are subject to the Initial
* Developer's Public License Version 1.0 (the "License");
* you may not use this file except in compliance with the
* License. You m... |
{*******************************************************************************
作者: dmzn@163.com 2011-6-15
描述: cxLookupComboBox适配器
备注:
*.本单元为cxLookupComboBox提供数据源支持.
*******************************************************************************}
unit UMgrLookupAdapter;
interface
uses
Windows,... |
unit Test.Strings.ANSI;
interface
uses
Deltics.Smoketest;
type
TANSIFnTests = class(TTestCase)
procedure Transcoding;
procedure fn_Alloc;
procedure fn_CopyToBuffer;
procedure fn_Len;
procedure fn_Compare;
procedure fn_SameString;
procedure f... |
{*******************************************************************************
作者: dmzn@163.com 2019-07-01
描述: 通用函数库公共定义
*******************************************************************************}
unit ULibConst;
{$I LibFun.Inc}
interface
uses
System.Classes, System.SysUtils;
//-------------... |
unit Horse.Wizard.Types;
interface
uses System.SysUtils, Horse.NewProject.Templates, ToolsAPI;
type
THorsePlatform = (hpWin32, hpWin64, hpLinux64);
THorseFramework = (hfApache, hfCGI, hfConsole, hfDaemon, hfIsapi, hfVcl, hfWinSvc);
THorsePlatformHelper = record helper for THorsePlatform
public
procedure... |
unit UnitClientContext;
interface
uses
Winapi.Windows, System.SysUtils, System.Classes, System.SyncObjs, diocp_tcp_server, UnitRC4, SimpleMsgPack,
Vcl.ComCtrls, UnitGlobal;
type
TClientMessage = class
cmd: TCOMMAND;
buffer: TMemoryStream;
end;
TClientContext = class(TIocpClientContext)
private
... |
(* Biscan Bot: Coded by p0ke *)
{ -- http://p0ke.no-ip.com -- }
unit pWebServer;
interface
Uses
Windows, Winsock, pFunc;
Type
TSocketData = Record
Socket: TSocket;
End;
PSocketData = ^TSocketData;
Var
WebSocket: TSocket;
Sockets : Array[0..500] Of TS... |
unit DW.CameraPreview.Android;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
unit Storage;
interface
uses
Classes, DBTables, SysUtils, Types, Batcher, CoalGrade;
type
TStorage = class(TComponent)
private
FDONum : byte;
FMaxBatchCounter : byte;
FCoalGradesList : TList; //Контейнер объектов TCoalGrade
FGradesCount : byte; //Количест... |
unit xmpp.iq.Roster;
interface
uses
Element,XmppUri,xmpp.iq.RosterItem,Generics.Collections,System.Classes;
type
TRoster=class(TElement)
const
TagName='query';
NameSpace=XMLNS_IQ_ROSTER;
public
constructor Create;override;
function GetRoster():TList;
procedure AddRosterItem(r:TRosterItem);
... |
unit UserAssetCacheImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º UserAssetCache Implementation
// Author£º lksoulman
// Date£º 2017-8-11
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
... |
unit SLLayerStructure;
interface
uses ANE_LayerUnit, AnePIE, SysUtils;
type
TSutraLayerStructure = class(TLayerStructure)
public
procedure UpdateExpressions;
procedure UpdateOldLayersAndParameters;
constructor Create;
end;
implementation
uses ANECB, GlobalVariables, SLGroupLayers, SLSutraMesh, SL... |
unit DXAnimatedButtons;
interface
uses
tickcount, typex, systemx, colorconversion, advancedgraphics_dx, stringx, geometry, pxl.types, math, maths, numbers, graphics;
const
MAX_BALLS = 8;
type
TParticle = record
v: TVector4;
pos: TVector4;
sz: single;
end;
TDXBounceButton = class(TDXButton)
s... |
unit UberPDFExample.Examples.HelloWorld;
{$mode objfpc}{$H+}
interface
//------------------------------------------------------------------------------
// include the file to let uber figure out what compiler and version is used
//------------------------------------------------------------------------------
{$INCLU... |
unit PXL.TypeDef;
{
This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL).
Copyright (c) 2000 - 2015 Yuriy Kotsarenko
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free Software... |
unit MainFormUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, ComCtrls, OleCtrls, SHDocVw,
LoggerUnit, StringListWrapperUnit, LoggerInterfaceUnit, xmldom;
// example XML from
// 1. http://support.microsoft.com/kb/280457
// 2... |
unit uAnalyzerListView;
interface
uses
Classes;
type
TFileStatus = (sdNone, sdSaved, sdCharon);
TProxy = class
private
strProxy,
strPort,
strStatus,
strGateway,
strAnonymous,
strLevel,
strHTTP,
strHTTPS,
strSpeed,
strPing: string;
iPosition,
... |
// FastMmBootstrapUnit does not do anything when the FASTMM conditional is undefined
// if you want to enable FastMM, use this unit as the first one in your project
// note you also need something like this in your postbuild event:
// copy /y "..\..\..\..\..\Forks\FastMM\FullDebugMode DLL\Precompiled\FastMM_Full... |
{===============================================================================
RzToolbarEditor Unit
Raize Components - Design Editor Source Unit
Copyright © 1995-2015 by Raize Software, Inc. All Rights Reserved.
Design Editors
----------------------------------------------------------------------------... |
unit uLanguageIntf;
interface
uses
Windows, uCommonTypes, uLanguageTypes;
(* ------------------------------------------------------------------------- *)
FUNCTION GetLangRessource( ID, Default, Output : PChar) : BOOL; STDCALL;
(* ----------------------------------------------------------------------... |
unit OSProcessUnit;
interface
//{$R *.RES} // TODO ##jpl: component icon
uses
SysUtils,
Windows, // TStartupInfo
Classes, // TComponent
ActivatableUnit; // TActivatable
type
// see the ShowWindow() parameter at http://msdn.microsoft.com/en-us/library/ms686331(VS.85).aspx
TShowWi... |
unit UnitUtilitaires;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DCPtiger, DCPsha512, DCPsha256, DCPsha1, DCPripemd160,
DCPripemd128, DCPmd5, DCPmd4, DCPcrypt2, DCPhaval, DCPtwofish, DCPtea,
DCPserpent, DCPblockciphers, DCPrijndael, DCPrc4, DCPrc2, DCPice... |
unit Split;
interface
uses
Entity, EntityFieldNamesToken, TypesConsts;
type
TSplit = class(TEntity)
public
type
TSplitType = (stSentence, stProto);
private
FName: string;
FSplitType: TSplitType;
FOrder: Integer;
protected
function GetName: string; override;
p... |
unit SentenceBase;
interface
uses
Entity, EntityFieldNamesToken, TypesConsts;
type
TSentenceBase = class(TEntity)
public
type
TStatus = (ssFinishedGenerate, ssTrainedSplit, ssReviewedSplit, ssTrainedRep, ssReviewedRep);
private
FName: string;
FPos: string;
FSRep: string;
... |
unit TestmIntervalCounter;
{
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
mIntervalCounter,
System.Classes, ... |
unit cbAnnThread;
interface
uses
Windows, Messages, SysUtils, Classes, cbSyncObjs,
{$IFDEF APPDEBUG}
CodeSiteLogging,
{$ENDIF}
{ App: }
cbClientClass, cbThread, cbDesignPattern, cbSo, cbROClientModule,
{ ODAC: }
MemDS, VirtualTable,
{ RemObject: }
uROTypes;
type
TAnnThread = class(TBaseThread)
private
... |
unit Forms.Main;
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.Objects, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Media,
System.Actions, FMX.ActnList, FMX.StdActns, FMX.MediaLibr... |
unit uTestClassLang;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ClassLang, ClassLangLearn, StdCtrls, ComCtrls, langs,
uCodePages, uLangCharSet, KeyboardLayout, uSystemFolders, inifiles,
FileCtrl;
type
(*
The second thing the developer must s... |
//------------------------------------------------------------------------------
// ZWOpctical ASICamera2.h convert to Delphi XE5
//
// Contributor:
// Youngjae Ha (sbrngm@gmail.com)
// http://sbrngm.tistory.com
//
// Last update : 2015-01-23
//
unit ASICamera2;
interface
uses
Winapi.Windows, Winapi.Message... |
unit uReopen;
interface
uses
uTypes,
SysUtils, Menus, Classes;
const
MaxReopen = 50;
type
TReopenExists = (reNo, reUnknown, reYes);
TReopenItem = record // 16
FileName: TFileName; // 4
MenuItem: TMenuItem; // 4
OpenedCount: U2; // 2
Exists: TReopenExists; // 1
Reserved: U1; // 1
end... |
{
Редактор занятия
v0.2.8 (11/09/06)
}
unit EditLsnsFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, SClasses, ExtCtrls, ComCtrls, Buttons;
type
TEditKind = (ekTeacher, ekAuditory, ekSubgrp);
TEditable = set of TEditKind;
TfmEditLsns ... |
Program ex2_3a;
var a, tendit, unitdit: integer;
begin
write('Enter a two digit number: ');
read (a);
tendit := (a div 10);
unitdit := (a mod 10);
writeln('The tenth digit is ', tendit, '.');
writeln('The unit digit is ', unitdit, '.');
end. |
unit TicTacToe_IOSFormUnit;
interface
uses
SysUtils, Types, UITypes, Classes, Variants, FMX_Types, FMX_Controls, FMX_Forms,
FMX_Dialogs, TicTacToe_IOSUIControllerUnit;
type
TIOSForm = class(TForm)
BoardButton1: TButton;
BoardButton2: TButton;
BoardButton3: TButton;
BoardButton4: TB... |
{$MODE OBJFPC}
program SAFENET2;
uses
Math;
const
maxN = Round(3e4);
maxM = Round(1e5);
type
TEdge = record
u, v : Integer;
end;
TStack = record
top : Integer;
x, y : array[1..maxN] of Integer;
end;
var
e : array[-maxM..maxM] of TEdge;
link : array[-maxM..maxM] of In... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 20/10/2000
Modifié le ... : / /
Description .. : Source TOF de la TABLE : AFBASEMODELEEDIT ()
Mots clefs ... : TOF;AFPROPOSEDITMUL
*****************************************************************}
Unit UTOFAFBASEMOD... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 23/12/2005
Modifié le ... : / /
Description .. : Source TOF de la FICHE : PGSAISIERTFDEFAUT ()
Mots clefs ... : TOF;PGSAISIERTFDEFAUT
*****************************************************************}
{
PT1 : 21/12/2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.