text stringlengths 14 6.51M |
|---|
unit UfmAttendanceIn;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
cxContainer, cxEdit, ComCtrls, dxCore, cxDateUtils, dxSkinsCore, dxSkinBlack,
dxSkinDevExpressDarkStyle, dxSkinDevExpr... |
unit UntRestClient;
interface
uses
Classes, SysUtils, uLkJSON,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP;
type
TRestClient = class
private
FUsername: string;
FPassword: string;
FToken: string;
FHttp: TIdHTTP;
FHost: string;
FSigInPath: string;
procedure Se... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, DDetours;
type
TMain = class(TForm)
BtnOpenDialog: TButton;
MemLog: TMemo;
BtnEnableHook: TButton;
BtnDisa... |
unit uEducationDataModule;
interface
uses
SysUtils, Classes, DB, FIBDataSet, pFIBDataSet, FIBDatabase, pFIBDatabase,
FIBQuery, pFIBQuery, Dialogs;
type
TdmEducation = class(TDataModule)
DB: TpFIBDatabase;
DefaultTransaction: TpFIBTransaction;
ReadTransaction: TpFIBTransaction;
EducationSelect: ... |
unit DPM.Core.Package.Icon;
interface
uses
System.Classes,
DPM.Core.Package.Interfaces;
function CreatePackageIcon(const iconKind : TPackageIconKind; const stream : TStream) : IPackageIcon;
implementation
type
TPackageIcon = class(TInterfacedObject, IPackageIcon)
private
FKind : TPackageIconKind;
... |
unit main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Menus, StdCtrls, Buttons, ScktComp, ExtCtrls, ComCtrls, jpeg;
CONST MSG_PADRAO = 'O primeiro parâmetro deve ser preenchido com o nome do arquivo!';
type
TForm1 = class(TForm)
ServerSocket: TServ... |
program Bubble;
const Max = 20;
var numbers : array[1..Max] of integer;
(* Randomize digits in the array *)
procedure Randomize;
var i : integer;
begin
for i := 1 to Max do
numbers[i] := Random(100);
end;
(* Swap two values in the array *)
procedure Swap(x, y : integer);
begin
numbers[x] := ... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit glLittleParent;
interface
uses
System.SysUtils, System.Classes, Vcl.Controls;
type
TglSQLQuery = class(TCollectionItem)
private
fSQL: TStringList;
protected
procedure SetSQL(value: TStringList);
public
constructor Create(Collection: TCollection); override;
destructor Destr... |
namespace UT3Bots.UTItems;
interface
uses
System.Collections.Generic,
System.Linq,
System.Text;
type
UTIdentifier = public class
private
_id: String;
public
constructor;
constructor (id: String);
method ToString: String; override;
method CompareTo(other: UTIdentifier): Integer;
... |
unit Unit83;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls;
type
TForm83 = class(TForm)
Panel1: TPanel;
BitBtn1: TBitBtn;
GroupBox1: TGroupBox;
Label2:... |
unit TestUContasPagarController;
{
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, UContasPagarVO,... |
unit Validador.Core.Impl.AnalisadorScript;
interface
implementation
uses
System.SysUtils, Data.DB, Vcl.Dialogs, FireDAC.Comp.Client, Validador.DI,
Validador.Core.LocalizadorScript, Validador.Core.AnalisadorScript;
type
TAnalisadorScript = class(TInterfacedObject, IAnalisadorScript)
private
FAnalise: TFD... |
unit SDULogger_U;
// Description: Sarah Dean's Logging Object
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
type
{$TYPEINFO ON} // Needed to allow "published"
// Forwa... |
// -------------------------------------------------------------
// Programa que caclula o índice de massa corporal.
//
// Desenvolvido pelo beta-tester Danilo Rafael Galetti :~
// -------------------------------------------------------------
Program Pzim ;
var peso,altura,imc,fim: Real;
Begin
// Solicita... |
unit ModelLoadCommand;
interface
// This command must be executed AFTER the model has been loaded.
// It should post-process the model to achieve the desired quality.
{$INCLUDE source/Global_Conditionals.inc}
{$ifdef VOXEL_SUPPORT}
uses ControllerDataTypes, ActorActionCommandBase, Actor;
type
TMo... |
unit fi_inf;
interface
implementation
uses
fi_common,
fi_info_reader,
line_reader,
classes,
sysutils;
const
NUM_FIELDS = 4;
MAX_LINES = 10;
procedure ReadINF(lineReader: TLineReader; var info: TFontInfo);
var
i,
numFound: LongInt;
s: String;
p: SizeInt;
key: String;
dst: PString;
begin
... |
////////////////////////////////////////////////////////////////////////////
// PaxCompiler
// Site: http://www.paxcompiler.com
// Author: Alexander Baranovsky (paxscript@gmail.com)
// ========================================================================
// Copyright (c) Alexander Baranovsky, 2006-2014. All rig... |
unit frm_Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, MPCommonObjects, EasyListview, EasyTaskPanelForm, ExtCtrls,
StdCtrls, ImgList, JvComponentBase, JvSearchFiles, Menus, JvMenus,
JvLabel, ComCtrls, JvExControls, JvSpeedButton, JvExComCtrls, JvListV... |
unit ClientAPI.Books;
interface
uses
System.JSON;
function ImportBooksFromWebService (const token:string): TJSONArray;
implementation
uses
System.SysUtils, System.IOUtils;
function GetBooksFromService (const token:string): TJSONValue;
var
JSONFileName: string;
fname: string;
FileContent: string;
begin
... |
unit frmChildDataForJournal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Mask, Vcl.ComCtrls, dbfunc, uKernel;
type
TfChildDataForJournal = class(TForm)
GroupBox1: TGro... |
unit StatesPoolUnit;
interface
type
TState = record
Name: String;
IsDeleted: Boolean;
case ValueType: (VFlag, VString, VNull) of
VFlag:
(Flag: Boolean);
VString:
(Data: ShortString);
VNull:
();
end;
const
NullState: TState = (Name: ''; IsDeleted: false; Val... |
unit uFrm_ImportXLS_CHECK;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBaseEditFrm, Menus, cxLookAndFeelPainters, ADODB, DB,
cxMaskEdit, cxSpinEdit, ExtCtrls, cxProgressBar, cxButtons, cxControls, DBClient,
ActnList, cxContainer, cxEdit, cxTextEd... |
unit uPiPrepareDocAdd;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, ActnList,
cxCurrencyEdit, cxButtonEdit, cxMemo, cxTextEdit, cxMaskEdit,
cxDropDownEdit, cxCalendar, cxControls, cxContainer, cxEdit, cxLabel, ib... |
{
Role
Store drawing datas.
}
unit ThItem;
interface
uses
System.SysUtils,
System.Generics.Collections,
GR32,
ThTypes, ThClasses, ThItemSelection;
type
TThItem = class(TThInterfacedObject, IThItem)
private
FBounds: TFloatRect;
FPolyPoly: TThPolyPoly;
function GetPolyPoly: TThPolyPoly;
... |
{...............................................................................}
{ Summary Copies the board outline as tracks and arcs onto specified layer. }
{ Layer and Width values to be specified by the user before proceeding. }
{ ... |
unit UV_SheetPrint_DM;
interface
uses
SysUtils, Classes, frxClass, frxDBSet, FIBDatabase, pFIBDatabase, DB,
FIBDataSet, pFIBDataSet, IBase, ZProc, ZMessages, IniFiles,
UV_SheetPrint_Dates_Form, UV_SheetPrint_Sort,
Forms, Dates, Controls, Variants, frxDesgn,
pFibStoredProc, Dialogs, frxExportXLS;
type
TPr... |
unit UnitDBCommonGraphics;
interface
uses
System.Types,
System.UITypes,
System.Classes,
System.SysUtils,
System.Math,
Winapi.Windows,
Vcl.Controls,
Vcl.StdCtrls,
Vcl.Graphics,
Dmitry.Controls.DmProgress,
Dmitry.Graphics.Types,
uBitmapUtils,
UnitDBDeclare,
uMemory,
... |
{**********************************************************************
Package pl_Shapes.pkg
This unit is part of CodeTyphon Studio (http://www.pilotlogic.com/)
***********************************************************************}
unit TplShapeObjects;
interface
uses
SysUtils, Classes, LMessages, Controls, G... |
unit o_nf;
interface
uses
SysUtils, Classes, o_func, o_system, o_RegIni, o_printer;
// In dieser Unit werden alle erweiterten Befehle der einzelnen Unit's zusammengefasst.
// Es soll dazu dienen den Befehlsaufruf der Bibliotheken zu vereinfachen.
// Diese Unit greiert sich beim Start von selbst und gibt sich bei... |
unit uFrmAddInvoiceOBS;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PAIDETODOS, StdCtrls, CheckLst, Buttons, siComp, siLangRT,
LblEffct, ExtCtrls, DB, ADODB, uFrmNewInvoiceOBS;
type
TFrmAddInvoiceOBS = class(TFrmParent)
pnlButons: TPanel;
pnlFilt... |
// Copyright (c) 2009, ConTEXT Project Ltd
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this list of condition... |
{
Double Commander
-------------------------------------------------------------------------
Thread for search files (called from frmSearchDlg)
Copyright (C) 2003-2004 Radek Cervinka (radek.cervinka@centrum.cz)
Copyright (C) 2006-2019 Alexander Koblov (alexx2000@mail.ru)
This program is free softwar... |
unit U_FormatConverterTester.View;
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.Effects, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo,
FMX.StdCtrls, U_XML.JSON, ... |
unit untFunctions;
interface
uses
Windows,
Winsock,
ShellAPI,
Registry,
UrlMon,
shfolder,
ShlObj,
SysUtils;
{$I Settings.ini}
type
TControlSetting = Record
ControlNick :String;
ControlChannel :String;
ControlIdent :String;
ControlHost :String;
End; ... |
unit ILPP_SimpleBitmap;
{$INCLUDE '.\ILPP_defs.inc'}
interface
uses
AuxTypes,
ILPP_Base;
{===============================================================================
--------------------------------------------------------------------------------
TSimpleBitmap ... |
unit uDBCustomThread;
interface
uses
Windows,
Classes,
SyncObjs,
Dmitry.Utils.System,
{$IFNDEF EXTERNAL}
uThemesUtils,
{$ENDIF}
uMemory;
type
TDBCustomThread = class(TThread)
private
FID: TGUID;
{$IFNDEF EXTERNAL}
function GetTheme: TDatabaseTheme;
{$ENDIF}
publ... |
unit HURegistration;
{$mode objfpc}{$H+}
//========================================================================================
//
// Unit : HURegistration.pas
//
// Description :
//
// Called By :
//
// Calls : HUConstants
// HUValidations : ValidNameCharacter
// ValidEmailChar... |
unit Compiler;
interface
uses
&Assembler.Global, System.SysUtils, Buffer;
type
TTarget = (tWin32, tWin64, tLinux);
TTargetHelper = record helper for TTarget
public
function ToString: string;
end;
TCompiler = object
strict private
function InstructionPtr: Pointer;
protected
FBuffer: TBuf... |
unit Yarxi;
{
Usage:
Yarxi := TYarxiDB.Create('yarxi.db');
Yarxi.KanaTran.LoadFromFile('yarxi.kcs');
}
interface
uses SysUtils, sqlite3, sqlite3ds, uDataSetHelper, UniStrUtils, KanaConv,
FastArray, YarxiStrings, YarxiKanji, YarxiTango;
type
TKanjiRecord = record
Nomer: integer;
Kanji: ... |
unit SDUNetMsg;
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
// *****************************************************************************
// ****************************************... |
unit Flow;
interface
uses
SysUtils, Types, Graphics,
Node, Box;
type
TBlockContext = class(TContextBase)
private
Box: TBox;
public
constructor Create(inBox: TBox; inNode: TNode);
procedure AddNodes(inNodes: TNodeList);
end;
//
TInlineContext = class(TContextBase)
private
Context: ... |
(*
Category: SWAG Title: DIRECTORY HANDLING ROUTINES
Original name: 0019.PAS
Description: Change File Attr
Author: HERBERT ZARB
Date: 11-02-93 06:08
*)
{ Updated FILES.SWG on November 2, 1993 }
{
Herbert Zarb <panther!jaguar!hzarb@relay.iunet.it>
This simple Program changes the attribute of the File or ... |
unit Asc3do;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, ExtCtrls, StdCtrls, Buttons, Gauges, _Strings,IniFiles,M_global;
type
TASCto3DO = class(TForm)
Edit1: TEdit;
Edit2: TEdit;
SBInputAsc: TSpeedButton;
SBSave3DO: TSpeedButton;
Open... |
{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) }
{ ... |
(*
Smart Pointer (with small memory consumption penalty)
Be Smart!
Copyright (c) 2018 Michel Podvin
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restri... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2011 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of Delphi, C++Builder or RAD Studio (Embarcadero Products).
// This software is considered a Redis... |
unit ShaderBank;
interface
uses BasicDataTypes, dglOpengl, ShaderBankItem, SysUtils, Dialogs, GLConstants;
type
TShaderBank = class
private
Items : array of TShaderBankItem;
ShaderDirectory : string;
ActivateShaders: boolean;
ShaderSupport: boolean;
... |
(*
Copyright (C) 2007 by Seth Grover. All rights reserved.
This file is part of the Spawner Data Generator.
The Spawner Data Generator is free software; you can
redistribute it and/or modify it under the terms of the GNU General
Public License (GPL) as published by the Free Software Foundation; either
ve... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit tvl_ucontrolbinder;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Controls, LMessages, LCLProc;
const
LM_BEHAVEBINDER = LM_USER + $100;
LM_DISCONECTWINDOWPROC = LM_BEHAVEBINDER + 01;
type
{ TControlBinder }
TControlBinder = class
private type
PMethod = ^TMethod;
... |
{*************************************************}
{ }
{ FIBPlus Script, version 1.4 }
{ }
{ Copyright by Nikolay Trifonov, 2003-2004 }
{ }
{ ... |
unit WideStrUtils;
{ FPC replacements for some of Delphi's WideStrUtils functions.
Please don't put anything else in here. }
interface
uses
SysUtils, Classes;
{ Wide string manipulation functions }
function WStrAlloc(Size: Cardinal): PWideChar;
function WStrBufSize(const Str: PWideChar): Cardinal;
fun... |
Var
FDoFlipH : Boolean;
FDoFlipV : Boolean;
FNegative : Boolean;
{......................................................................................................................}
Procedure SetState_DoFlipH(Value : Boolean);
Begin
FDoFlipH := Value;
End;
{.......................................... |
unit UTelaMenu;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus,DB;
type
TMenuClasse = class (TMenuItem)
private
public
caminhoDiretorio:string;//caso o clique for na imagem e passado o diretorio do album.
end;
type
TFTelaMen... |
unit MagentoHTTP_V1;
interface
uses
Magento.Interfaces, REST.Response.Adapter, Data.DB, Datasnap.DBClient, REST.Types, REST.Client,
Data.Bind.Components, Data.Bind.ObjectScope, System.JSON;
type
TMagentoAPI = class (TInterfacedObject, iMagentoHTTP_V1)
private
FBody : String;
FResult... |
unit API_HTTP;
interface
uses
IdCookieManager,
IdHTTP,
IdSSLOpenSSL,
System.Classes;
type
THTTPEvent = procedure(aIdCookieManager: TIdCookieManager) of object;
THTTP = class
private
FEnableCookies: Boolean;
FIdCookieManager: TIdCookieManager;
FIdHTTP: TIdHTTP;
FIdSSLIOHandlerSocketOpen... |
unit MeshGeometryList;
interface
uses BasicDataTypes, MeshGeometryBase;
type
CMeshGeometryList = class
private
Start,Last,Active : PMeshGeometryBase;
FCount: integer;
procedure Reset;
function GetActive: PMeshGeometryBase;
public
// Constructo... |
//
// GLXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
TVXAsmShader is a wrapper for all ARB shaders
This component is only a template and has to be replaced with a
proper version by someone who uses ARB shaders more then me.
The history is logged in a former GLS... |
uses crt;
var
a, b, x1, x2, x3, x4: real;
t: boolean;
function discriminant(a, b:real):real;
begin
discriminant := sqr(b)-a*4;
end;
procedure solX(b, d:real; var u1, u2:real);
begin
u1 := (-b+sqrt(d))/2;
u2 := (-b-sqrt(d))/2;
end;
begin
{Контрольные примеры:
1) Есть корни и удовлетворяют усло... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{
Defines vector types as advanced records.
History:
17/05/11 - PW - Creation.
The whole history is logged in previous version of the unit
}
unit VXS.Types;
interface
uses
System.Types,
System.SysUtils,
System.... |
{
Copyright 1999 2016 Intel Corporation All Rights Reserved.
The source code, information and material ("Material") contained herein is
owned by Intel Corporation or its suppliers or licensors, and title
to such Material remains with Intel Corporation or its suppliers or
licensors. The Material contains proprie... |
unit Odontologia.Vistas.Pedido;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids,
Vcl.Buttons, Vcl.StdCtrls, Odontologia.Controlador.Interfaces,
Odontologia.Controlador.Produc... |
unit DP.EventDepot;
//------------------------------------------------------------------------------
// модуль кэша таблицы event_depot
//------------------------------------------------------------------------------
// содержит:
//------------------------------------------------------------------------------
//-----... |
unit UDTabStops;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, UCrpe32, StdCtrls, ExtCtrls;
type
TCrpeTabStopsDlg = class(TForm)
pnlTabStops: TPanel;
lblNames: TLabel;
lblFieldName: TLabel;
lblCount: TLabel;
lbNumbers: TListBox;
editCount: TEdi... |
unit Model_Absorption;
//
// PHOLIAGE Model, (c) Roelof Oomen, 2006-2007
//
// Model data definitions and calculation methods
//
interface
// Use table lookup instead of calculating everything every time
// Speeds up program enormously
{$DEFINE TABLES}
// Use old (non-Kf based) absorption calculation
{... |
unit uScene;
interface
uses uLayer, uArrayListOfLayer;
const MIN_LAYERS = 1;
const MAX_LAYERS = 10;
{
For serialization
}
type SceneRecord = record
layers: LayerRecordList;
currentLayer: integer;
end;
{
Provides containers for containers of containers of points
}
type Scene = class(TObject)
l... |
unit TaskQueue;
interface
uses
DebugTools, RyuLibBase, SimpleThread, SuspensionQueue,
SysUtils, Classes;
type
TTaskEnvet<TTaskType, TDataType> = procedure (ASender:Tobject; ATaskType:TTaskType; AData:TDataType) of object;
TTimerEvent = procedure (ASender:Tobject; ATick:integer) of object;
TTaskItem<TTaskT... |
namespace proholz.xsdparser;
interface
type
NamespaceInfo = public class
private
var name: String;
var file: String;
public
constructor(aname: String);
method getName: String; virtual;
method getFile: String; virtual;
method setFile(afile: String); virtual;
end;
implementation
constructor NamespaceIn... |
unit Watermarks.Base;
//------------------------------------------------------------------------------
// класс watermark'ов
//
// базовый класс не является абстрактным;
// он полностью функционален, но работает только в памяти.
//
// + абстрактный класс с сохранением по таймеру
//-------------------------------------... |
unit AStar64.DynImport;
//------------------------------------------------------------------------------
// модуль импорта функций AStar.dll
//
// содержит описание прототипов функций AStar.dll, а также описание структур
//------------------------------------------------------------------------------
//---------------... |
//******************************************************************************
// Проект "ГорВодоКанал" (bs)
// Файл ????
// Перчак А.Л.
// создан 18/01/2010
// последние изменения Перчак А.Л. 18/01/2010
//******************************************************************************
unit uCommon_Tray_Baloon;
interf... |
{: Based on 'Particles' demo from glscene <p>
This demo will show snow effect;
Michail Sychev AKA Riz (riz@eternalmind.ru)
}
unit Unit1;
interface
uses
Forms, GLScene, GLObjects, GLParticles, StdCtrls, GLCadencer, ExtCtrls,
GLBehaviours, Classes, Controls, GLVectorGeometry, SysUtils, GLWin32Vi... |
{ expression: ((22 MOD (2 * 4)) * (21 DIV 3)) }
PROGRAM test_case_1_3;
VAR
number: REAL;
BEGIN
number := ((22 MOD (2 * 4)) * (21 DIV 3));
WRITELN(number);
END. |
unit BCEditor.Editor.CompletionProposal.Form;
interface
uses
Winapi.Messages, System.Classes, System.Types, Vcl.StdCtrls, Vcl.Forms, Vcl.Controls, Vcl.Graphics, BCEditor.Utils,
BCEditor.Types, BCEditor.Editor.CompletionProposal.Columns{$IFDEF USE_ALPHASKINS}, sScrollBar{$ENDIF};
const
TextHeightString... |
unit uTestOperacionSuma;
{
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, uOperacionSuma;
type
... |
unit tvl_uiconutils_common;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Graphics, tvl_iiconutils;
type
{ TIconUtilsCommon }
TIconUtilsCommon = class(TInterfacedObject)
protected
procedure PrepareBitmap(const ABitmap: TBitmap; AHeight: integer);
procedure RenderBitmap(const ABitmap: TBitm... |
{*******************************************************************************
Title: T2TiPDV
Description: Configurações do PAF-ECF
The MIT License
Copyright: Copyright (C) 2014 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files... |
Unit gsF_Disk;
{------------------------------------------------------------------------------
Disk File Handler
gsF_Disk Copyright (c) 1996 Griffin Solutions, Inc.
Date
4 Apr 1996
Programmer:
Richard F. Griffin tel... |
unit MoteurSound;
interface
uses
dialogs,SysUtils, fmod, fmodtypes;
var
music : PFSOUNDSTREAM ;
MouseDown: boolean;
implementation
begin
//initialisation de FMOD ( nb Hz / nb canaux dispos / flags? mais osef )
FSOUND_Init(44100, 42, 0);
//on charge la musique ( nom fichier / osef ^^ / debut de la ziq / jus... |
unit DD1322brd;
interface
{$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF}
uses windows,sysutils,classes,
util1,debug0,varconf1,
stmDef,
AcqInterfaces, AxDD132x2,AcqBrd1,DDopt1,
DataGeneFile,
acqCom1,
acqDef2,AcqInf2,stimInf2
;
{ La 1322 utilise la même horlog... |
unit Forms.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AdvMemo, Vcl.StdCtrls;
const
DEMO_TITLE = 'FNC Core Utils - Shell Operations';
DEMO_BUTTON = 'Execute';
type
TFrmMain = class(TForm)
btnEx... |
{*******************************************************}
{ }
{ EhLib v3.2 }
{ Register object that sort data in TOilQuery }
{ }
{ Copyright (c) 2002, 20... |
(*
Category: SWAG Title: DIRECTORY HANDLING ROUTINES
Original name: 0018.PAS
Description: Check for Directory
Author: MARTIN RICHARDSON
Date: 09-26-93 09:10
*)
uses dos;
{*****************************************************************************
* Function ...... IsDir()
* Purpose ....... To check for... |
unit EditMacro;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ipEdit, ipControls, ipButtons;
type
TfmEditMacro = class(TForm)
Label1: TLabel;
e1: TipEditTS;
Label2: TLabel;
e2: TipEditTS;
Label3: TLabel;
e3: TipEditTS;
L... |
{*******************************************************************************
* uCommonSp *
* *
* Общий интерфейс загрузки и использования справочников ... |
program HowToCreateTCPProgram;
uses
SwinGame, SysUtils;
const
HOST_PORT = 2000;
function SelectPeerType() : Boolean;
var
lInput : String = '';
begin
Write('Are You Hosting? [y/n]: ');
while (lInput <> 'y') and (lInput <> 'n') do
begin
ReadLn(lInput);
if (lInput = 'y') then
begin
CreateT... |
unit UnitNewConnection;
interface
uses
IdIOHandler,
Classes,
GlobalVars;
Type
TNewStream = Class(TMemoryStream);
procedure NewConnection(Host: ansistring;
Port: integer;
NewConnectionCommand: widestring;
Finalizar: boolean;
... |
unit uFrmSearchCustomer;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PAIDETODOS, siComp, siLangRT, StdCtrls, LblEffct, ExtCtrls,
Grids, DBGrids, SMDBGrid, Buttons, DB, ADODB, PowerADOQuery, cxStyles,
cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, cxD... |
unit Objekt.DHLDeletionStateList;
interface
uses
System.SysUtils, System.Classes, Objekt.DHLDeletionState, Objekt.DHLBaseList,
System.Contnrs;
type
TDHLDeletionStateList = class(TDHLBaseList)
private
function getDHLDeletionState(Index: Integer): TDHLDeletionState;
public
constructor Create; overrid... |
unit NexFile1;
interface
{$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF}
uses classes, sysutils, util1;
(*
1. NEX FILE STRUCTURE
------------------------
Nex data file has the following structure:
- file header (structure NexFileHeader)
- variable headers (structures NexVarHeader)
- ... |
unit EmpDatabase;
interface
uses
NSql;
type
/// <summary>
/// <para>Domain <b>FIRSTNAME</b></para>
/// <para>Definition: <b>VARCHAR(15) CHARACTER SET NONE COLLATE NONE</b></para>
/// </summary>
TFirstnameDomain = TSqlString;
/// <summary>
/// <para>Domain <b>LAST... |
unit UnaryOpTest;
{$mode objfpc}{$H+}
interface
uses
fpcunit,
testregistry,
uIntX;
type
{ TTestUnaryOp }
TTestUnaryOp = class(TTestCase)
published
procedure Plus();
procedure Minus();
procedure ZeroPositive();
procedure ZeroNegative();
procedure Increment();
procedure Dec... |
unit UPricesStep;
interface
uses Ibase, pFibDatabase, Forms, Dialogs;
type PRICE_INFO=packed record
{Идентификаторы}
ID_FACULTY : Int64;
ID_SPECIALITY : Int64;
ID_GRAGDAN : Int64;
ID_FORM_TEATCH: Int64;
ID_CATE_TEATCH: Int64;
ID_CURS : Int64;
{Данные}
C_FACULT... |
namespace org.me.torch;
interface
uses
java.util,
android.os,
android.app,
android.view,
android.widget,
android.hardware;
type
TorchActivity = public class(Activity)
private
const SWITCH_OFF_TORCH_ID = 1;
var mPowerManager: PowerManager;
var mWakeLock: PowerManager.Wa... |
unit uPessoa;
interface
uses uEndereco;
Type
TPessoa = class
private
Femail: string;
Fcpf: String;
Fidentidade: String;
Fnome: String;
FEndereco: TEndereco;
Ftelefone: string;
procedure Setcpf(const Value: String);
procedure Setemail(const Value: string);
procedure SetEndereco... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, VirtualTrees, VirtualExplorerTree, VirtualShellUtilities;
type
TForm1 = class(TForm)
VET: TVirtualExplorerTree;
Button1: TButton;
Edit1: TEdit;
Label1: TLabel;
Button... |
unit SynHighlighterMyGeneral;
{$I SynEdit.inc}
interface
uses
SysUtils, Windows, Messages, Classes, Controls, Graphics,
SynEditTypes, SynEditHighlighter, JclStrings;
type
TtkTokenKind = (tkComment, tkIdentifier, tkKey1, tkKey2, tkKey3, tkKey4, tkKey5, tkNull, tkNumber,
tkPreprocessor, tkSpace,... |
unit UCConsts;
interface
const
// new consts version 2 a 5 =========================================
// Form Select Controls (design-time)
Const_Contr_TitleLabel = 'Seleção de Componentes do Form. :';
Const_Contr_GroupLabel = 'Grupo :';
Const_Contr_CompDispLabel = 'Componentes Disponíveis ... |
Program ArrayLitrDemo;
Var
// Khởi tạo một mảng tĩnh
Numbers : array [ 1..3 ] Of Integer = ( 1, 23, 456 );
Procedure PrintArray( input : Array Of String );
Var
i : integer;
Begin
For i := 0 To ( length(input) - 1 ) Do
write( input[i],' ' );
writeln;
End;
Begin
writeln( Numbe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.