text stringlengths 14 6.51M |
|---|
////////////////////////////////////////////
// Кодировка и расчет CRC для приборов типа Vacon
////////////////////////////////////////////
unit Devices.Vacon;
interface
uses Windows, GMGlobals, Classes, SysUtils, Devices.ReqCreatorBase, GMConst, Devices.Modbus.ReqCreatorBase;
type
TVaconNXLReqCreator = class(TMod... |
unit ncaFrmEditObs;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, cxControls,
cxContainer, cxEdit, cxTextEdit, cxMemo, StdCtrls, cxButtons, LMDControl,
LMDCustomControl, LMDCustomPanel, LMDCustomBeve... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
// GLBumpMapping
{: Some useful methods for setting up bump maps.<p>
<b>History : </b><font size=-1><ul>
<li>17/11/14 - PW - Removed function RGB that is included in GLCrossPlatform.pas
<li>10/11/12 - PW - Added CPP compatibil... |
unit PNotes_New_Subform;
{$H+}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Db, DBTables, Wwtable, wwdblook, Buttons, ToolWin, ComCtrls,
Mask, ExtCtrls, StdCtrls;
type
TNotesEntryDialogForm = class(TForm)
UserTable: TwwTable;
MainToolBar: TToolBar;
Sav... |
unit Form.AuditLogViewer;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Form.BaseForm, dxSkinsCore,
dxSkinMetropolis, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxContainer, cxEdit, Vcl.... |
unit UFrmVisorPdf;
interface
uses
Windows,Messages, SysUtils, Variants, Classes,Graphics,
Controls, Forms, Dialogs, ExtCtrls,StdCtrls, AdvGroupBox,
cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, dxSkinsCore,
dxSkinBlack, dxSkinBlue, dxSkinBlueprint, dxSkinCaramel, dxSkinCoffee,
dxSkinDarkRoom, dx... |
unit GrievanceAddDialogUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, wwdblook, Db, DBTables, ExtCtrls;
type
TGrievanceAddDialog = class(TForm)
OKButton: TBitBtn;
CancelButton: TBitBtn;
LawyerCodeTable: TTable;
RepresentativeGro... |
unit uMulticastStreamAnalyzer;
interface
uses
System.Classes, IdBaseComponent, IdComponent, IdIPMCastBase, IdIPMCastClient,
System.SysUtils, System.IniFiles, System.Contnrs, Windows, System.SyncObjs,
IdGlobal, IdSocketHandle, USLogger;
const
MPEGTS_NULLPID = $1FFF;
type
TPacketInfo = record
... |
Unit WebPanel;
{$MODE objfpc}{$H+}
Interface
Uses
Classes, SysUtils, Controls, ComCtrls, FileUtil, Forms, LCLProc, Graphics, strutils, LazFileUtils,
cef3types, cef3lib, cef3intf, cef3own, cef3lcl,
FaviconGetter;
Type
TWebPanel = class(TTabSheet)
private
fChromium: TChromium;
fUrl: String;
fIc... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit Unit1;
interface
use... |
unit PBATCH;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, StdCtrls, Grids, OnFocusButton, ExtCtrls, OnShapeLabel, Comobj, Db,
Func,
OnScheme;
type
TFM_Batch = class(TForm)
SF_Main: TOnSchemeForm;
OnSchemeForm1: TOnSchemeForm;
... |
unit Module.DataSet.VigilanteBase;
interface
uses
System.Classes, System.Generics.Collections, Data.DB, FireDac.Comp.Client,
Vigilante.Aplicacao.SituacaoBuild, Vigilante.Aplicacao.ModelBase;
type
TVigilanteDataSetBase<T: IVigilanteModelBase> = class abstract(TFDMemTable)
private
FBuilding: TField;
FN... |
unit IWCompEdit;
{PUBDIST}
interface
uses
{$IFDEF Linux}QGraphics,{$ELSE}Graphics,{$ENDIF}
Classes,
IWControl, IWTypes, IWScriptEvents, IWHTMLTag;
type
TIWCustomEdit = class(TIWControl)
protected
FBGColor: TIWColor;
FMaxLength: Integer;
FOnSubmit: TNotifyEvent;
FPasswordPrompt: Boolean;
... |
unit SectionDrill;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids, ExtCtrls, Buttons;
type
TSectionDrillForm = class(TForm)
Panel1: TPanel;
Label2: TLabel;
sgSection: TStringGrid;
Panel2: TPanel;
lblAllDrills: TLabel;
L... |
program GenericFunc(input,output);
const
hex = ['a'..'f', 'A'..'F'];
decimal= ['0'..'9'];
var
a, b, c, d:integer;
fresult:integer;
func: integer;
(* Here is a second version of the Pascal generic function that uses *)
(* the features of Turbo Pascal to simplify the program. ... |
unit uCfgStorage;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, IniFiles, Unix;
type
TCfgStorage = class
private
ini : TIniFile;
crit : TRTLCriticalSection;
public
constructor Create(IniFile : String);
destructor Destroy; override;
function ReadString(Section, I... |
{**********************************************}
{ TTeeGalleryForm - Alternate Gallery }
{ Copyright (c) 1996-2004 by David Berneda }
{**********************************************}
unit TeeGalleryAlternate;
{$I TeeDefs.inc}
interface
{ This unit implements a Form to display the TeeChart Gallery
in an... |
{ 25/05/2007 11:17:33 (GMT+1:00) > [Akadamia] checked in }
{ 25/05/2007 11:04:22 (GMT+1:00) > [Akadamia] checked out /}
{ 14/02/2007 08:40:09 (GMT+0:00) > [Akadamia] checked in }
{ 14/02/2007 08:39:53 (GMT+0:00) > [Akadamia] checked out /}
{ 12/02/2007 10:15:00 (GMT+0:00) > [Akadamia] checked in }
{--------------... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
SynHighlighterGeneral, SynHighlighterJScript, SynEditHighlighter,
SynHighlighterVBScript, SynEdit, ExtCtrls, SMScript, ComCtrls, Buttons,
StdCtrls, SynCompletionProposal, AngleLbl, TreeNT,
SMPanel, M... |
unit fDXClusterList;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, DBGrids,
ExtCtrls, Buttons, StdCtrls, inifiles, lcltype, db;
type
{ TfrmDXClusterList }
TfrmDXClusterList = class(TForm)
btnNew: TButton;
btnEdit: TButton;
btnDelete: TBut... |
unit PZO20106;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, OnFocusButton, ComCtrls, OnEditBaseCtrl,
OnEditStdCtrl, OnEditBtnCtrl, OnShapeLabel, Db, MemDS, DBAccess, Ora, Datelib,
Grids, Comobj, OnScheme, Tmax_DataSetText, func;
type
... |
unit Employer;
interface
uses
SysUtils, Group;
type
TEmployer = class(TObject)
protected
FId: string;
FName: string;
FGroup: TGroup;
FAddress: string;
public
property Id: string read FId write FId;
property Name: string read FName write FName;
property Group: TGroup read FGroup wr... |
unit xClientType;
interface
uses System.Classes, System.SysUtils;
type
/// <summary>
/// 考生状态
/// </summary>
TClientState = (esDisconn, // 未连接
esConned, // 已经连接
esLogin, // 已登录
esWorkReady, // 准备好考试
esW... |
unit SIP_QueueManager;
interface
uses SyncObjs, Classes, SIP_RingList, Contnrs, SIP_Env, SIP_Event;
type
TProcessingKind =(pkSIP,pkSMS,pkMail);
TSIPQueueManager=class(TCriticalSection)
private
FList:TObjectList;
FCurrent:Integer;
FEvent:TEvent;
FQuitEvent:TEvent;
Handles:array [1..2] of THan... |
unit classe.Period;
interface
uses System.SysUtils;
type
TPeriod = class
private
{ private declarations }
FMonth : String;
FYear : String;
procedure SetMonth(const Value: String);
procedure SetYear(const Value: String);
public
{ public declarations }
property Month : String read FM... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2019 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
{***************************************************************
*
* Project : SSLTunnel
* Unit Name: main
* Purpose : Demonstrates setting up an SSL tunnell
* Version : 1.0
* Date : Wed 25 Apr 2001 - 01:33:51
* Author : <unknown>
* History :
* Tested : Wed 25 Apr 2001 // Allen O'Neill <allen_oneill@... |
unit FC.StockChart.UnitTask.MBB.CalculateProfitDialog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Contnrs,
Dialogs, BaseUtils,SystemService, ufmDialogClose_B, ufmDialog_B, ActnList, StdCtrls, ExtendControls, ExtCtrls, Spin,
StockChart.Definitions,StockChart.Definit... |
unit frm_ZonasGeograficas;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids, frm_connection, global, ComCtrls, ToolWin,
StdCtrls, ExtCtrls, DBCtrls, Mask, frm_barra, adodb, db, Menus, OleCtrls,
frxClass, frxDBSet, ZAbstractRODataset, ZAbstractDa... |
unit GameDevDialog;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, KbdMacro;
type
TGameForm = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
Label1: TLabel;
GameComboBox: TComboBox;
GroupBox1: TGroupBox;
ScrollBox1: TScrollBox;
pro... |
{******************************************}
{ TeeChart VCL Library }
{ Copyright (c) 1995-2004 by David Berneda }
{ All Rights Reserved }
{******************************************}
unit TeeChartGrid;
{$I TeeDefs.inc}
interface
Uses {$IFNDEF LINUX}
Windows, Messages,
... |
unit fyDBGrid;
{******************************************************************************}
{ }
{ Enhanced Database Grid V0.5 }
{ ... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ }
{ File: oledlg.h }
{ Copyright (c) Micro... |
unit Model.DMConnZeos;
interface
uses
SysUtils,
Classes,
DB,
// zeos
ZConnection,
ZAbstractConnection,
ZDataset,
ZAbstractDataset,
ZAbstractRODataset,
ZSqlMonitor,
// myclasse
Model.Interf;
type
TDMConnZeos = class(TDataModule, iModelConn)
ZConnection1: TZConnection;... |
unit Form.ConnectionDialog;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Form.BaseEditForm, cxGraphics,
cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore,
dxSkinMetropolis, System.ImageList, Vc... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ SOAP client-side invoker }
{ }
{ Copyright (c) 2000 In... |
unit SmallDownsizeBenchmark;
interface
uses
BenchmarkClassUnit, Math;
const
{The number of pointers}
NumPointers = 2000000;
{The maximum block size}
MaxBlockSize = 64;
type
TSmallDownsizeBench = class(TFastcodeMMBenchmark)
protected
FPointers: array[0..NumPointers - 1] of PChar;
public
cons... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit mCoverSheetDisplayPanel_CPRS_WH;
{
================================================================================
*
* Application: CPRS - CoverSheet
* Developer: doma.user@domain.ext
* Site: Salt Lake City ISC
* Date: 2015-12-04
*
* Description: ... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit Support.NVMe.Intel;
interface
uses
SysUtils, Math,
Support, Device.SMART.List;
type
TIntelNVMeSupport = class sealed(TNSTSupport)
private
InterpretingSMARTValueList: TSMARTValueList;
function GetSemiSupport: TSupportStatus;
function GetTotalWrite: TTotalWrite;
function IsProductOfIntel: ... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLSLDiffuseSpecularShader<p>
This is a collection of GLSL diffuse-specular shaders.<p>
<b>History : </b><font size=-1><ul>
<li>09/03/13 - Yar - Added point, parallel, spot and parallel spot light's style support to TGLSLMLDiff... |
{ @exclude }
unit rtcActiveX;
interface
uses
Classes, ActiveX, rtcThrPool;
type
TRtcActiveX=class(TRtcThreadCallback)
procedure AfterThreadStart; override;
{ Called from inside each Thread, before it will be stopped/destroyed }
procedure BeforeThreadStop; override;
{ Callled after all threads hav... |
{
Create Armor Variants
darkconsole http://darkconsole.tumblr.com
Given an ARMO record (or list of) create any variants (cloth, light, heavy)
of that item properly editing the EditorID, Title, and swapping out the
various keywords that make an armor Cloth, Light, or Heavy.
Personally I suggest you creat... |
unit uHik;
interface
uses
System.Classes, Generics.Collections, IdHTTP, SysUtils, uGlobal, uCommon,
uDecodeHikResult, DateUtils, ActiveX, uEntity;
type
TImageInfo = Record
GCXH: String;
KDBH: String;
CDBH: String;
Url: String;
PassTime: String;
End;
THik = class
private
class fu... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ Web server application components }
{ }
{ Copyright (c) 1997,99... |
unit uRelatorioAlunoProfessor;
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.Int... |
unit ProductsViewForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, RootForm, ProductsView;
type
TfrmProducts = class(TfrmRoot)
procedure FormActivate(Sender: TObject);
procedure FormClose(Sender: T... |
{******************************************}
{ }
{ vtk GridReport library }
{ }
{ Copyright (c) 2004 by vtkTools }
{ }
{******************************************}
{Con... |
unit amqp.framing;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
{$INCLUDE config.inc}
interface
uses {$IFNDEF FPC}
{$IFDEF _WIN32}
Net.Winsock2,
{$ELSE}
Net.SocketAPI,
{$ENDIF}
{$ELSE}
winsock2,
{$ENDIF}
AMQP.Types;
function amqp_enco... |
{===============================================================================
Copyright(c) 2012, 北京北研兴电力仪表有限责任公司
All rights reserved.
错误接线,公式绘制单元
+ TWE_VECTOR_EQUATION 画公式
===============================================================================}
unit U_WE_VECTOR_EQUATION;
interface
... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ Copyright(c) 2012-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
{----------------------------------------------------------------------------}
{ Written by Nguyen Le Quang Duy }
{ Nguyen Quang Dieu High School, An Giang }
{----------------------------------------------------------------------------}
... |
unit AMostraBoleto;
{ Autor: Douglas Thomas Jacobsen
Data Criação: 28/02/2000;
Função: TELA BÁSICA
Data Alteração:
Alterado por:
Motivo alteração:
}
interface
uses
Windows, SysUtils, Classes,Controls, Forms, Componentes1, ExtCtrls,
PainelGradiente, Formularios, StdCtrls... |
unit stacks;
interface
const
maxBoardSize = 8;
type
TCell = (cQueen, cUnderAttack, cFree);
TBoard = array[1..maxBoardSize, 1..maxBoardSize] of TCell;
PStack= ^TStack;
TStack = record
x: byte;
CurrAbsBoardPos: integer; //текущее положение ферзя в строке применительно к отрисовке
board: T... |
{ Copyright (C) 1998-2006, written by Mike Shkolnik, Scalabium Software
E-Mail: mshkolnik@scalabium
WEB: http://www.scalabium.com
Const strings for localization
freeware SMComponent library
}
unit SMCnst;
interface
{English strings}
const
strMessage = 'Drukuj...';
strSaveChanges = 'Napewno ... |
unit BenchmarkClassUnit;
interface
uses Windows;
type
{Benchmark categories}
TBenchmarkCategory = (
bmSingleThreadRealloc, bmMultiThreadRealloc, bmSingleThreadAllocAndFree,
bmMultiThreadAllocAndFree, bmSingleThreadReplay, bmMultiThreadReplay,
bmMemoryAccessSpeed);
TBenchmarkCategorySet = set of TB... |
unit BillContentQry;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ProductsBaseQuery0, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, Fire... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC wait time user interface }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit pVDLogger;
interface
uses
System.SysUtils, System.IOUtils, System.Classes, {fgMemoDisplay,} WinAPI.Windows,
pVDEtc;
type
TLogSource = (lsUtility, lsDiscovery, lsAuthenticate, lsTokenExchange, lsTokenRefresh);
TLogSources = set of TLogSource;
SLogSource = String;
ELogFileError = class(Exception);
... |
unit keccak_n;
{Basic Keccak functions using NIST API}
interface
{$i STD.INC}
(*************************************************************************
DESCRIPTION : Basic Keccak functions using NIST API
REQUIREMENTS : TP5-7, D1-D7/D9-D12, FPC, VP, WDOSX
EXTERNAL DATA : ---
MEMO... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: cgPostTransformationShader<p>
A shader that uses a texture to distort the view by adjusting texture
coordinates.
Does not have any practical use, but is fun to play around with.<p>
<b>History : </b><font size=-1><ul>
<l... |
unit GridViewForm2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CustomGridViewForm, GridFrame,
GridView, GridViewEx, Vcl.ExtCtrls, cxGraphics, cxLookAndFeels,
cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore... |
unit frame_Location;
interface
uses
{$WARNINGS OFF} // Useless warning about platform - don't care about it
FileCtrl,
{$WARNINGS ON}
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, SDUFrames, SDUFilenameEdit_U;
type
Tfme_Location = class(TFrame)
... |
namespace RemObjects.SDK.CodeGen4;
{$IF ECHOES}
interface
uses
System.CodeDom,
System.CodeDom.Compiler;
type
EchoesCodeDomRodlCodeGen = public class(RodlCodeGen)
private
method GenerateCodeFromCompileUnit(aUnit: CodeCompileUnit): not nullable String;
method ConvertRodlLibrary(library: RodlLibrary)... |
unit SimpleTCPUnit;
interface
uses
Classes, winsock, windows, dialogs, DateUtils, SysUtils;
type
SimpleTCPClientThread = class(TThread)
private
{ Private declarations }
protected
procedure Execute; override;
public
Sock: TSOCKET;
UseUsDGRProt: Boolean;
ClientID: Integer... |
UNIT Utilidades;
INTERFACE
USES
DT_Especie, DT_TipoElemental;
CONST
MAX_NUMERO_ESPECIES= 1000;
MAX_NUMERO_TIPOS_ELEMENTALES= 20;
TYPE
(***************************************************
* Tipo para manejar el listado de especies pokémon.*
***************************************************)
... |
{
@abstract(Interfaces, base classes and support classes for GMLib.)
@author(Xavier Martinez (cadetill) <cadetill@gmail.com>)
@created(Septembre 30, 2015)
@lastmod(Octobre 1, 2015)
The GMClasses unit provides access to interfaces and base classes used into GMLib.
}
unit GMClasses;
{$I ..\gmlib.inc}
interfa... |
unit ColumnsBarButtonsHelper;
interface
uses
System.Classes, Vcl.ActnList, dxBar, cxGridDBBandedTableView,
cxGridBandedTableView, System.Generics.Collections, cxVGridViewInfo, cxGrid,
cxDBTL, cxTL;
type
TGroupGVAction = class;
TGVAction = class;
TTLAction = class;
TTLBandAction = class;
TTLColumnActi... |
{*********************************************}
{ TeeChart Delphi Component Library }
{ Keyboard Scrolling Demo }
{ Copyright (c) 1996 by David Berneda }
{ All rights reserved }
{*********************************************}
unit Ukeyboa;
interface
uses
... |
unit uTesteRemovePrinter;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, LMDCustomComponent, LMDSysInfo, Printers, winspool;
type
TForm33 = class(TForm)
SI: TLMDSysInfo;
Button1: TButton;
Memo1: TMemo;
procedure FormShow(Sender: TObj... |
unit WinampApi;
{
WinAmp API Wrapper for Delphi
Author: C.Small
Date: May 2001
www.sloppycode.net
Winamp API docs:
http://www.winamp.com/nsdn/winamp2x/dev/sdk/api.jhtml
}
interface
uses Windows,Messages,Classes,SysUtils;
type
TWinampApi = class
private
WinampHn... |
unit VCLSFTPClientComponentMainForm;
interface
{$POINTERMATH ON}
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.FileCtrl, Vcl.Grids, Vcl.ComCtrls,
DateUtils, IOUtils, Registry,
tgputtylib, tgputtysf... |
unit MainFrm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Variants, System.Classes,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FGX.FlipView, FMX.Ani, FMX.Effects,
FMX.Filter.Effects, FMX.ListView.Types, FMX.ListView, FMX.Edit, FMX.ListBox, FMX.NumberBox... |
unit Unit1;
interface
uses
System.SysUtils, System.Classes,
Vcl.Graphics, Vcl.Imaging.Jpeg, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
//GLS
GLWin32Viewer, GLScene, GLObjects, GLTexture, GLHudObjects, GLCompositeImage,
GLFileJPEG, GLCadencer, GLBlur, GLCrossPlatform, GLM... |
// WebAssembly C API -> Delphi
unit Wasm;
interface
uses
System.SysUtils, Ownership;
type
// vector utility
TWasmVec<T> = record
public type
PT = ^T;
private
size : NativeInt; // ** offset+0:size : Same wasm_xxx_vec_t
data : PT; // ** offset+8:bodies : Same wasm_xxx_vec_t
private
... |
unit LTConst;
interface
const
AUTH_STUDENT_BEGIN = 2; // 학생 ?
AUTH_STUDENT_END = 3; // 학생 ?
AUTH_TEACHER = 4; // 강사
AUTH_ACADEMY = 5; // 학원장
AUTH_BRANCH = 6; // 지사장
implementation
end.
|
unit caStats;
{$INCLUDE ca.inc}
interface
uses
// Standard Delphi units
Classes,
Sysutils,
Math,
Contnrs,
// ca units
caClasses,
caTypes,
caUtils,
caLog,
caStatsBase;
type
{$IFDEF D5}
IInvokable = IUnknown;
{$ENDIF}
//--------------------------------------------------------------... |
{
System of Linear Equations
Deletion Method O(N3)
Input:
M: Number of Equations
N: Number of Xs
Dij: 1<=i<=M 1<=j<=N Coefficient of Xj in Equation i
Di(n+1): Equation i's constant value
Output:
NoAnswer: System does not have unique answer
XFound[i]: Xi is unique
X[i]: Xi (has mean iff XFoun... |
unit Test_FIToolkit.Logger.Utils;
{
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,
FIToolkit.L... |
unit basefrm;
interface
uses Windows,SysUtils,Messages,Classes,Controls,Forms;
const
APP_MESSAGE = WM_USER+1;
msgWaitView = '∆дите! »дет загрузка данных ...';
//application event types
appCancel=0;
appLoading=1;
appRefresh=2;
appStatus=3;
appClear=4;
appChange=5;
appConfig=6;
appUser=7;
type
... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{**********************************************}
{ TeeChart Database Cross-Tab Source }
{ Copyright (c) 1996-2004 by David Berneda }
{**********************************************}
unit TeeDBCrossTab;
{$I TeeDefs.inc}
interface
{ The procedure below creates an array of Chart Series
and fills them usi... |
unit HKLogFile;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, syncobjs, LResources, Forms, Controls, Graphics, Dialogs,
HKCompPacksTypes;
type
{ THKLogFile }
THKLogFile = class(TComponent)
private
FAbsPath: String;
FDirPath: String;
FLogExtension: String;
FLogFormat: String;
... |
unit ncFrmWebPopup;
{
ResourceString: Dario 12/03/13
}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, OleCtrls, Automation, ncClassesBase, mshtml,
ExtCtrls, ncBaseWebApi, SHDocVw, uMyBrowser;
type
TFrmWebPopup = class(TForm)
TimerErro: TTimer;
W... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2019 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit uRescanThread;
interface
uses
Classes, Windows, SysUtils, SyncObjs, Dialogs, uGetHandlesThread, Messages;
type
TRescanThread = class(TThread)
private
{ Private declarations }
mEvent: TEvent;
FDeleteJob: Boolean;
FhWindow: THandle;
FhEdit: THandle;
protect... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC GUIx layer base classes }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit UVenda;
interface
uses UCliente, UUsuario, UCondicaoPagamento, UProdutoVenda,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
UParcelas, Dialogs, UCalcProduto;
type Venda = class
private
protected
numNota : Integer;
serieNota : strin... |
unit bool_or_not_4;
interface
implementation
interface
implementation
function GetBool(Cond: Boolean): Boolean;
begin
Result := Cond;
end;
procedure Test1;
begin
var r := GetBool(false) or not GetBool(false);
Assert(r);
end;
procedure Test2;
begin
var r := GetBool(True) or not GetBool(false);
Assert(... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2016-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit WasmSample_Multi;
interface
uses
System.SysUtils
, Wasm
{$ifndef USE_WASMER}
, Wasmtime
{$else}
, Wasmer
{$ifend}
;
function MultiSample() : Boolean;
implementation
// A function to be called from Wasm code.
function callback(const args : PWasmValVec; results : PWasmValVec) : PWasmTrap; cdecl;
beg... |
unit ejb_currencyconverter_s;
{This file was generated on 28 Feb 2001 10:06:55 GMT by version 03.03.03.C1.06}
{of the Inprise VisiBroker idl2pas CORBA IDL compiler. }
{Please do not edit the contents of this file. You should instead edit and }
{recompile the original IDL which was located in... |
unit IdEchoUDP;
interface
uses classes, IdAssignedNumbers, IdUDPBase, IdUDPClient;
type
TIdEchoUDP = class(TIdUDPClient)
protected
FEchoTime: Cardinal;
public
constructor Create(AOwner: TComponent); override;
{This sends Text to the peer and returns the reply from the peer}
Function Echo(AText: S... |
UNIT KaffeeautomatMod;
INTERFACE
TYPE Coins = RECORD
OneEuro: integer;
FiftyCent: integer;
TenCent: integer;
END;
VAR errNotEnoughChange: integer;
coinsInput: Coins;
coinsOutput: Coins;
PROCEDURE ResetMachine;
PROCEDURE CoffeeButtonPressed(input... |
unit U_Param_Con_Mod;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, U_Param_Mod, StdCtrls, Buttons, U_MyFunction, DateUtils;
type
TF_Param_Con_Mod = class(TF_Param_Mod)
procedure btn_stop_plcClick(Sender: TObject);
procedure btn_resume_plcClick(Sende... |
unit vr_variant;
{$IFDEF fpc}{$mode objfpc}{$ENDIF} {$H+}
{$I vrode.inc}
interface
uses
SysUtils, Classes, vr_types, vr_intfs;
type
IVariant = interface;
TIVariantProc = procedure(const AVar: IVariant);
TIVariantMethod = procedure(const AVar: IVariant) of object;
TIVariantKind = (ivkEmpty,
... |
unit array_open_1;
interface
implementation
var
GL, G0, G1, G2, G3: Int32;
procedure P1(Values: openarray of Int32);
begin
GL := Length(Values);
G0 := Values[0];
G1 := Values[1];
G2 := Values[2];
G3 := Values[3];
end;
procedure Test;
begin
P1([11, 22, 33, 44]);
end;
initialization
Test();
... |
(* ShapeUnit: MM, 2020-06-03 *)
(* ------ *)
(* Unit for simple geometric shapes *)
(* ========================================================================= *)
... |
unit PascalCoin.Utility.Interfaces;
interface
type
IPascalCoinList<T> = Interface
['{18B01A91-8F0E-440E-A6C2-B4B7D4ABA473}']
function GetItem(const Index: Integer): T;
function Count: Integer;
function Add(Item: T): Integer;
property Item[const Index: Integer]: T read GetItem; default;
End;
implementation
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.