text stringlengths 14 6.51M |
|---|
unit UCL.Utils;
interface
uses
SysUtils,
Types,
Windows,
Controls,
Graphics,
GraphUtil,
Themes,
UCL.Classes,
UCL.Types;
// Form
function BlurAvailable: Boolean;
function EnableBlur(FormHandle: HWND): Integer;
// Glass support
function CreatePreMultipliedRGBQuad(Color: TColor; A... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [NFE_CABECALHO]
The MIT License ... |
unit Model.ProSu.InterfaceActions;
interface
type
TInterfaceAction = (actUpdateDatabaseRim,
actWaitStart,
actWaitFinish,
actCheckBoxMeters
);
TInterfaceActions = set of TInterfaceAction;
TInterfaceError = (errRangeDate,
... |
unit matcarre;
{---------------------------------------------------------------}
{ Unité de gestion de matrices carrées }
{ Turbo Pascal 6.0 }
{ (c) Copyright 12-1991 René Devichi }
{---------------------------------------... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.5.4-7, FILE=ERR48P... |
unit FFTLen;
interface
Type
TFFTLen = Record
Index: Integer;
Count: Integer;
Hidden: Boolean;
end;
var FFTLens: Array[0..303] of TFFTLen = (
(Index: 2; Count: 20; Hidden: False),
(Index: 4; Count: 17; Hidden: False),
(Index: 5; Count: 17; Hidden: True),
(Index: 6; Count: 1... |
unit rTaskContentRel;
interface
uses
XSuperObject,
uTaskContentRel,
uRessource;
type
TRessource_TaskContentRel = class(TRessource, IRessource)
private
public
function GetRessourceName: string;
function GET(const id: string; jsonResponse: ISuperObject): Boolean;
function POST(const id: strin... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.2.4-5, FILE=DEV062, C... |
unit uColorConv;
interface
uses Graphics, Windows, umodel3d;
function ColorToRGB(PColor: TColor): TRGBTriple;
function RGBToColor(PR, PG, PB: Integer): TColor;
function RGBToCol(PRGB: TRGBTriple): TColor;
function RGBToHLS(PRGB: TRGBTriple): THLS;
function HLSToRGB(PHLS: THLS): TRGBTriple;
function int2ra... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.2-2, FILE=CONF052, CLAS... |
unit eeVoiceLogic;
interface
uses
Classes;
type
IVoiceStateInfo = Interface(IInterface)
function GetObject:TObject;
procedure Release;
procedure QuickRelease;
procedure Kill;
procedure GetVoiceState(out aIsActive, aHasBeenReleased, aHasBeenQuickReleased: boolean; out aAmpLevel: ... |
unit eeFilters.DcBlocker;
interface
uses
VamLib.MoreTypes;
type
// This DC Blocking filter is described in
// "Streamlining Digital Signal Processing" page 297.
TDcBlocker = class
private
OldL : double;
OldR : double;
a1 : double;
public
constructor Create;
destru... |
// Displays the list of the given table schema
unit TableListFrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DBGridBaseFrm, Vcl.Grids, Vcl.DBGrids,
Vcl.StdCtrls, MySQLAccessor, Data.DB;
type
TProcStr = ... |
unit unitCodeSoft;
interface
uses classes,sysutils,windows,dialogs,forms,unitThreadSample,
unitLog,unitCodeSoft6,unitCodeSoftSample;
type
TCSType=(CS6);
TCodeSoft=class(TThreadSample)
private
m_CSData: TRTLCriticalSection; //用來防止同一時間處理資料,造成錯誤
m_CSComponent : TRTLCriticalSec... |
unit FarScape.SupportFunctions;
interface
uses
FarScape.CustomControl;
function StrToAlign(const Value : string):TControlAlignment;
function StrToHitTest(const Value : string):THitTest;
type
TBitAccess = record
private
Data : integer;
public
function GetBit(const Index : integer):boolean;
pro... |
unit uVisualMASM;
interface
uses
SysUtils, Classes, uDomainObject, uSharedGlobals, uVisualMASMFile, uML;
type
PVisualMASMOptions = ^TVisualMASMOptions;
TVisualMASMOptions = class(TDomainObject)
private
FVersion: integer;
FShowWelcomePage: boolean;
FLasFilesUsedMax: integer;
//FLastF... |
unit frmPayrollRule;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,
// Auto Create
frmUniMasterEx, Menus, cxLookAndFeelPainters, dxSkinsCore,
dxSkinsdxDockControlPainter, dxSkinsDefaultPainters, dxPSGlbl, dxPSUtl,
dxPSEngn, dxPrnPg, dxBkgnd, ... |
unit SimpleQueryUnidac;
interface
uses
System.Classes,
Data.DB,
Uni,
SimpleInterface;
type
TSimpleQueryUniDac = class(TInterfacedObject, iSimpleQuery)
private
FConnection : TUniConnection;
FQuery : TUniQuery;
FParams : TParams;
public
constructor Create(aConnection : TUniConnection);
... |
unit CodeGenC;
{$i Compiler.inc}
interface
uses SysUtils,Code,Symbols,Tree,IntegerList,PointerList,StringList,Error,Globals,BeRoStream,BeRoUtils,
BeRoDoubleToString,HugeString;
const spacesNONE=0;
spacesLEFT=1 shl 0;
spacesRIGHT=1 shl 1;
spacesBOTH=spacesLEFT or spacesRIGHT;
type... |
unit Base;
interface
type
BaseState = class;
IContext = interface;
BaseState = class(TObject)
public
procedure doClock(context: IContext; hour: integer); virtual; abstract;
procedure doUse(context: IContext); virtual; abstract;
procedure doAlarm(context : ICont... |
unit MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons, MConnect, ObjBrkr, DB, DBClient,
SConnect,IniFiles;
type
TuMainForm = class(TForm)
SimpleObjectBroker1: TSimpleObjectBroker;
QryData: TClientDataSet;
QryT... |
unit AggConvStroke;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Christian@saviou... |
uses System;
type Circle = record
radius: Integer;
end;
let x := Circle(radius: 3);
let radius: Integer := x.radius;
if radius > 3 then WriteLn('too big');
WriteLn(IntToStr(radius)); |
Program Calculus;
{Erick Nave
DS&A II 1:00
Start: 2-18-94
Last Update: 3-4-94
Calculus reads a stream of characters (prefix expression) from input
and builds a tree. It then takes the derivative of the expression
and cleans it up. The prefix and infix notation of the original
expression and the infix not... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.4.3.3-13, FILE=ERR05... |
unit Item.Attributes;
interface
uses
Venda.Interfaces,
System.SysUtils;
type
TItemAttributes<T : IInterface> = class(TInterfacedObject, iItemAttributes<T>)
private
[weak]
FParent : T;
FCodigo : Integer;
FQnt : Currency;
FPrecoUnitario : Currency;
FDisplay : TProc<String>... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.3-6, FILE=ERR32T, C... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.1-12, FILE=DEV240, CL... |
unit EventBusTestObject;
interface
uses
DUnitX.TestFramework,
BaseTest;
type
[TestFixture]
TEventBusTest = class(TBaseTest)
public
[Test]
procedure TestAsyncPost;
[Test]
procedure TestAsyncPostAutomaticMM;
[Test]
procedure TestAsyncPostChannel;
[Test]
procedure TestBackgroun... |
unit BasicObjects;
interface
uses
System.Generics.Collections,
System.SyncObjs,
EventBus;
type
TPerson = class(TObject)
private
FChild: TPerson;
FFirstname: string;
FLastname: string;
procedure set_Child(const Value: TPerson);
procedure set_Firstname(const Value: string);
procedure ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.3-14, FILE=IMDEFB13... |
unit ufrmBeaconServer;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Beacon,
System.Bluetooth, System.Beacon.Components, FMX.Controls.Presentation,
FMX.StdCtrls, System.Actions, FMX.ActnList,... |
unit searching;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,calculation;
type
//Folgensuchklasse
{ TSequenceSearcher }
TSequenceSearcher=class
private
seqCount,seqLen: longint;//Anzahl und Länge der Folgen
database: TFileStream; //Folgenlexikon
fileValueStart: lo... |
unit AggSpanInterpolatorLinear;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Chri... |
unit frmEnrollmentFingerPrint;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, DB,
Dialogs,
//Auto Create
StdCtrls, OleCtrls, Menus, cxLookAndFeelPainters, cxButtons, DPFPCtlXLib_TLB;
type
TfmEnrollmentFingerPrint = class(TForm)
DPFPEnrollmentCont... |
unit uModelList;
interface
uses
System.Generics.Collections;
type
TModelList<T: class> = class
private
FItemsList: TObjectList<T>;
function GetItemsList: TObjectList<T>;
procedure SetItemsList(const Value: TObjectList<T>);
public
constructor Create;
destructor Destroy; override;
proc... |
{******************************************************}
{ }
{ XML Data Binding }
{ }
{ Generated on: 03/05/2015 02:15:49 }
{ Generated from: D:\User\De... |
unit uAQL;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, DB, DBClient, BmpRgn, Buttons, jpeg, Grids,
DBGrids;
type
TfAQL = class(TForm)
Image1: TImage;
LabType2: TLabel;
Label6: TLabel;
editQCLot: TEdit;
... |
uses System;
let some: Option of String := Option.Some('thing');
if some is Option.Some val then
WriteLn('some is ' + val);
let none: Option of String := Option.None();
if none is Option.Some val then
WriteLn('oops, none had a value: ' + val)
else if none is Option.None then
WriteLn('none is empty'); |
unit TM_LINK;
Interface
Type
POneLink = ^TOneLink;
TOneLink = Object
Obj : pointer;
Next: pointer;
Prev: Pointer;
size: longint;
constructor init( o : pointer; s : longint);
end;
end
TLinkObj = Object
Size : longint;... |
unit VamLib.Win.Links;
interface
function GetLinkTarget(const LinkFileName : string) : string;
function ResolveLinkTarget(const LinkFileName : string) : string;
implementation
uses
VamLib.Types,
System.Win.ComObj,
SysUtils, Windows, ShlObj, ActiveX;
// function GetLinkTarget()
// Source: http://delphi.about.... |
unit ActiveQueueSettings;
interface
type
/// <summary>Immutable class for storing the back end server url and port.</summary>
TActiveQueueSettings = class(TObject)
strict private
FUrl: String;
FPort: Integer;
/// <summary> String version of this instance. Since this class is
/// immutable, let's... |
unit DetailInfoView;
interface
uses
System.Classes, Vcl.Controls, Vcl.StdCtrls, Vcl.ExtCtrls, System.SysUtils, Vcl.Forms,
Generics.Collections, Vcl.Menus, Winapi.Windows, System.Win.ScktComp,
DetailBPModel;
type
TBPInfoStatus = (BPInfoStatusInit, BPInfoStatusConnecting, BPInfoStatusConnected, BPInfoStatusErr... |
unit StringList;
{$I Compiler.inc}
interface
uses BeRoStream;
const MaxListSize=2147483647 div sizeof(pointer);
EmptyStr:ansistring='';
type TPOINTER=pointer;
TStringListClass=class
public
Str:ansistring;
Obj:TPOINTER;
constructor Create;
destructor D... |
unit DX7.Config;
interface
type
TConfig=record
sampleRate : Integer;
lfoRate : Integer;
lfoSamplePeriod : Integer;
period : Double;
periodHalf : Double;
periodRecip : Double;
polyphony : Integer;
msPerSecond : double;
end;
const
OPERATOR_C... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.9-7, FILE=EXTEND2, CL... |
{
EventList holds a list of TNotifyEvent methods. It can be used to trigger
multiple events.
References:
- Simulating multicast events in Win32 Delphi
http://delphi.about.com/library/weekly/aa051005a.htm
by:
Shannon Faulkner (27 June 2009)
}
unit uEventList;
interface
uses
... |
{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) }
{ ... |
program calculadora;
var
n1,n2: integer;
procedure soma(n1,n2: integer);
var
resultado:integer
begin
resultado:= n1 + n2;
writeln("Soma: ",resultado);
end;
procedure subtracao(n1,n2: integer);
var
resultado: integer;
begin
resultado:= n1 - n2;
writeln("Subitração: ",resultado);
end;
procedure di... |
unit Logging4D.Driver.Standard;
interface
uses
{$IFDEF VER210}
SysUtils,
TypInfo,
{$ELSE}
System.SysUtils,
System.TypInfo,
{$ENDIF}
Logging4D,
Logging4D.Driver.Base;
type
TStandardLogging = class(TDriverLogging, ILogging)
private
fAppender: TLoggerAppender;
protected
procedure DoLog... |
unit unitTreeView;
interface
uses ComCtrls,sysutils,classes,dialogs;
procedure G_addTreeData(f_target:TTreeView;f_tsData:tstrings;f_iCol :integer); overload;
procedure G_addTreeData(f_targetData,f_targetIndex:TTreeView;f_tsData,f_tsIndex:tstrings;f_iCol :integer); overload;
procedure G_moveTreeData(f_tvSource,... |
library AmpView;
{$MODE Delphi}
uses Windows, SysUtils;
const
PARSE_FUNCTION = 'MULTIMEDIA | EXT="MP3" | EXT="WAV" | EXT="WMA" |'+
'EXT="OGG" | EXT="CDA" | EXT="MO3" | EXT="IT" |'+
'EXT="XM" | EXT="S3M" | EXT="MOD" | EXT="M3U" |'+
'EXT="PLS" | EXT="MID"| EXT=... |
unit MovimentacaoCaixaU;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids, ExtCtrls, Mask, JvExMask, JvToolEdit, JvBaseEdits,
UtilsU;
type
TMovimentacaoCaixaFrm = class(TForm)
pnlPrincipal: TPanel;
grdFormasDePagto: TString... |
unit Funcoes;
interface
uses System.SysUtils, ACBrUtil, classes;
function removeCaracter(texto: string; const caracter : Char = '%') : string;
function RoundNum(Valor:Extended;Decimais:Integer):Extended;
function DescontoEmReal(valor : Extended; percentual: Extended) : Extended;
function retornaCampoString(Texto... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.2-2, FILE=CONF134, CLAS... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.1-10, FILE=ERR82T, CL... |
unit VamLib.MoreTypes;
interface
const
// http://stackoverflow.com/q/15993428/395461
kMaxArrayOfSingleLength = MaxInt div SizeOf(single);
type
PObject = ^TObject;
TComplex = record
Real:single;
Imag:single;
end;
TArrayOfComplex = array of TComplex;
PSinglePoint = ^TSinglePo... |
unit Rdx.CudaRand;
interface
type
TCurandGenerator_st = packed record
end;
// TCurandGenerator_st = record
// end;
PCurandGenerator_st = ^TCurandGenerator_st;
PPCurandGenerator_st = ^PCurandGenerator_st;
{$MinEnumSize 4} // Збільште розмір для сумісності C++.
TCurandRngType = (
CURAND_RNG_TEST = 0,
CU... |
{$X+}
unit introunit;
(******************************************************************************
unit: introunit
Contents: This unit contains modules that are responsible for the introduction
when the program is first executed and a getchar routine which
allows the program to get a charac... |
{*
* Copyright 2013 Artur Mkrtchyan
*
* 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 applicable law or agree... |
Program TreeBinFind;
type
TreeNodePtr = ^TreeNode;
TreeNode = record
data:longint;
left,right:TreeNodePtr;
end;
TreeNodePos = ^TreeNodePtr;
function SumTree(p:TreeNodePtr):longint;
begin
if p = nil then
SumTree:=0
else
SumTree:=SumTree(p^.left) + p^.data + SumTree(p^.right);
end;
function AddToTree(var ... |
unit MainFormU;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,
FireDAC.DApt.Intf, Data... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.2-3, FILE=CONF119, CLAS... |
unit VetveComputer;
{
Tato unit implementuje algoritmus pro vypocet vetvi useku.
}
interface
uses symbolHelper, Types, Generics.Collections, ReliefObjects, vetev, SysUtils;
type
TBranchReturner = record
symbols: TList<TReliefSym>;
next: TPoint;
end;
TBranchData = array of array of Integer;
procedu... |
unit PrcDBInfo;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
unit Vam.SmartInspect;
interface
uses
Windows,
SmartInspect,
VamLib.Logging.AbstractLog;
type
IAutoFreeObjectWrapper = interface
['{31A791D3-A8CC-43F5-83A5-46CF870D9170}']
function GetObject : TObject;
end;
TAutoFreeObjectWrapper = class(TInterfacedObject, IAutoFreeObjectWrapper)
private
F... |
{
Embedded OpenType
}
{$MODE OBJFPC}
{$H+}
{$INLINE ON}
unit fi_eot;
interface
uses
fi_common,
fi_info_reader,
fi_sfnt_common,
classes,
streamex;
implementation
const
EOT_MAGIC = $504c;
// EOT flags
TTEMBED_TTCOMPRESSED = $00000004;
TTEMBED_XORENCRYPTDATA = $10000000;
type
TEOTHeader = p... |
{------------------------------------------------------------------------------}
{ }
{ TSimpleGraph Demonstration Program }
{ by Kambiz R. Khojasteh ... |
unit ShellHelper;
{$i Compiler.inc}
interface
function GetDosOutput(const CommandLine: ansistring): ansistring;
implementation
{$ifdef windows}
uses
Windows,
SysUtils;
function GetDosOutput(const CommandLine: ansistring): ansistring;
var
SA: TSecurityAttributes;
SI: TStartupInfo;
PI: TP... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.6-5, FILE=DEV015, CLA... |
unit uToolTipRegisters;
interface
uses
Windows, Classes, Menus, ActnList, SysUtils, ShellApi, Forms, Registry,
WinTypes, GraphUtil, Graphics, uHTML, uToolTipItem, uToolTip;
type
TRegisters = class(TToolTip)
private
procedure Initialize;
procedure CreateToolTips;
public
constructor Cre... |
unit uDBUpdate;
interface
uses
System.SysUtils, System.Classes;
type
TdmDBUpdate = class(TDataModule)
private
{ Private declarations }
public
{ Public declarations }
Function UpdateTB_ADMIN_Field_StringValue(aAdminID,aFieldName,aValue:string):Boolean;
Function UpdateTB_BUILDINGAREACODE_Name(a... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.2.3-3, FILE=CONF045, CLAS... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.2-1, FILE=CONF133, CLAS... |
{$CODEPAGE UTF-8}
{$MODE FPC}
{$MODESWITCH DEFAULTPARAMETERS}
{$MODESWITCH OUT}
{$MODESWITCH RESULT}
uses
strings,
dunicode,
dutf8,
dutf16;
// Test compilation of examples
function Assert(B: Boolean; Msg: PAnsiChar): Boolean;
begin
Result := B;
if not B then
Writeln(Msg);
end;
function DumpLineToStr(... |
program sequences;
{$mode objfpc}{$H+}
uses
Classes, sysutils,
calculation, sequenceStoring;
type
{ TNode }
TFunction=(base1,baseAlternate,unarySum,binaryAdd,binarySub,binaryMul);
TNode=class
typ: TFunction;
seq: TSequence;
a,b: TNode;
procedure calculate;
end;
{... |
unit CheckIndexsFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ADODB, DB, StdCtrls, Grids, DBGrids, DBClient, ComCtrls;
type
TFrmCheckIndexs = class(TForm)
qSQL: TADOQuery;
oCn: TADOConnection;
Button1: TButton;
cdsView: TClientDataSet;
... |
unit Cayan.Genius.LineItems;
interface
uses
System.Classes, System.SysUtils, System.Generics.Collections,
Cayan,
Cayan.Genius,
Cayan.Genius.Intf,
Cayan.Genius.Impl,
Cayan.Genius.Transactions;
type
TCayanGeniusLineItem = class;
TCayanGeniusLineItems = class;
TCayanGeniusLineItemsEvent = procedure(S... |
unit astutils;
{$ifdef FPC}
{$mode delphi}
{$endif}
interface
uses
Classes, SysUtils
, expression;
type
{ TASTPrinter }
TASTPrinter = class(IExpressionVisitor)
private
FRPN: boolean;
public
function VisitLit(expr: TLiteralExpression): TObject;
function VisitUn(expr: TUnaryExpression): TObje... |
{
* 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/
*
* Copyright (C) 1999-2014, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
*
* DelphiDabbler Windo... |
{*************************************************}
{ }
{ XML Data Binding }
{ }
{ Generated on: 03/05/2015 02:01:28 }
{ Generated from: D:\User\Desktop\XML.xml }
{ ... |
unit CadNatOp;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
unit SampleMapFrame.Extra;
interface
uses
eePlugin,
Lucidity.Interfaces,
Lucidity.Types;
type
TAdjustRegions = record
class procedure IncLowNote(const Plugin : TeePlugin; const RegionList : TGuidList); static;
class procedure DecLowNote(const Plugin : TeePlugin; const RegionList : TGuidList); static;... |
unit Lucidity.SampleImageRenderer;
interface
uses
Lucidity.Interfaces,
Types,
RedFoxColor,
RedFoxBitmapWrapper,
VamSamplePeakBuffer,
Lucidity.SampleMap,
VamLib.Graphics;
type
TSampleRenderParameters = record
LineColor : TRedFoxColor;
BackgroundColor : TRedFoxColor;
... |
unit uTask;
interface
uses
Uni,
UTableBase,
System.Generics.Collections;
type
TTask = class(TEntityBase)
private // Felder private, durch property veröffentlichen
fId: Integer;
fTaskName: string;
fTaskInfo: string;
fErledigt: integer;
public
property id: integer read fID write fID;
... |
{==============================================================================|
| Project : Delphree - Synapse | 001.000.000 |
|==============================================================================|
| Content: Coding and decoding support ... |
{******************************************************************
* 项目名称:
* 单元名称:舍生取义
* 单元作者:
* 摘 要:
* 备 注:
*******************************************************************}
program Mir2;
{$I common.pas}
//本任务的任务编号,每个任务对应不同的任务编号,这个不可以重复
const CurrentTaskID = 105;
//TASK_TYPE_MAIN 任务类型为主线
//TAS... |
unit uSPService;
interface
uses
SysUtils, Classes, uGlobal, uCommon, IdCustomHTTPServer, uSMS, EncdDecd,
uImportVio, uRmService, qjson, uSurveilVio, uHikDSJ, uHikHumanFace,
Generics.Collections, StrUtils, uTokenManager, ActiveX, uExamService,
uHuiZhouKaoHe, uHumanFace;
type
TSPService = Class
private
... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, StdCtrls, ShellAPI, ExtCtrls, Buttons, ToolWin, Psapi;
const
WM_TASKICON = WM_USER + 300;
type
TFormMain = class(TForm)
ListViewMain: TListView;
Panel1: TPanel;
ButtonShow... |
unit ICO_DF;
interface
uses Classes, SysUtils, Compression;
Type
TCreateError = Procedure(S: String);
TShowProgress = Procedure(Cur,Max: Integer; CurFile: String);
Function DFDATAS_Extract(inFile, OutDir, ListFile: String; Progress: TShowProgress = nil;
CreateError: TCreateError = nil; Cancel: PBoolean = nil):... |
unit SCUTUM.Connection.Firebird.FireDac;
interface
uses
SCUTUM.Connection.Generic.FireDac,
SCUTUM.Connection.Abstract;
type
TSCUTUMConnectionFirebirdFireDac = class(TSCUTUMConnectionGenericFireDac ,ISCUTUMConnection)
public
procedure Open;override;
end;
TSCUTUMDatabaseFactoryFirebirdFireDac = class(T... |
unit PlugLib.AirControl.DelayedTaskList;
interface
uses
Classes,
VamLib.Types,
VamLib.UniqueID,
VamLib.Collection.List;
type
PDelayedTaskData = ^TDelayedTaskData;
TDelayedTaskData = record
ID : TUniqueID;
Task, OnAudioSync, OnGuiSync : TThreadProcedure;
StartTimeRef : cardinal;
ExecuteDel... |
unit guiHUB;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, dOPCDA, Vcl.Buttons, siComp;
type
TFormHUB = class(TForm)
PanelHUB: TPanel;
btnAccumulation1: TButton;
btnCh... |
{**************************************************************************************************}
{ 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 h... |
{==============================================================================|
| Project : Delphree - Synapse | 001.001.000 |
|==============================================================================|
| Content: SysLog client ... |
unit BugReportUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ComCtrls, JvSimpleXml, StrUtils;
type
TBugReportForm = class(TForm)
BugReportMemo: TMemo;
BugInfoRichEdit: TRichEdit;
SendBugReportBitBtn: TBitBtn;
... |
uses System;
let x := 4;
case x of
4: WriteLn('It''s four');
5: WriteLn('It''s five')
else begin
WriteLn('It''s not five!');
raise 'bad value'
end;
end; |
unit TestRegistryU;
interface
implementation
uses DRegistry;
var i : integer;
begin
// Корневые каталоги реестра
assert( RegKeyExists('HKEY_CLASSES_ROOT') );
assert( not RegKeyExists('HKEY_CLASSES_ROOT!') );
assert( RegKeyExists('HKEY_CURRENT_USER') );
assert( RegKeyExists('HKEY_LOCAL_MACHIN... |
{******************************************************************
* 项目名称:
* 单元名称:成长之路
* 单元作者:
* 摘 要:
* 备 注:
*******************************************************************}
program Mir2;
{$I common.pas}
//本任务的任务编号,每个任务对应不同的任务编号,这个不可以重复
const CurrentTaskID = 1051;
//TASK_TYPE_MAIN 任务类型为主线
//TASK... |
unit K08Utils;
interface
uses
Generics.Collections, IdHTTP, Classes, SysUtils, uTypes, uLogger, uGlobal;
type
TImageInfo = Record
GCXH: String;
KDBH: String;
CDBH: String;
Url: String;
PassTime: String;
End;
TK08 = Class
private
class function HttPPost(AUrl: String; AParams: TStri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.