text stringlengths 14 6.51M |
|---|
unit uModUser;
interface
uses
System.Generics.Collections,System.SysUtils, uModApp;
type
TModUserMenuItem = class;
TModUserApp = class(TModApp)
private
FUsr_Description: string;
FUsr_Password: string;
FUsr_RealName: string;
FUserMenuItems: TObjectList<TModUserMenuItem>;
FUsr_UserName: st... |
program prova01;
uses crt;
type
arr=array[1..4,1..12] of real; {variavel para as procedures}
procedure atribui(var x:arr); {procedure que atribui os lucros (usuario - input)}
var
i,j:integer;
begin
for i:=1 to 12 do
begin
Writeln(i,' mes:');
for j:=1 to 4 do
begin
Writeln('... |
unit SpFoto_FileStream;
interface
Uses
Windows, SysUtils, Classes;
Type
TEndian = (Little, Big);
TmdFileStream = class
Private
FName : String;
FStream : TFileStream;
FBufSize : Integer;
FBuf : PChar;
FBufStart : LongInt;
FBufUsed : LongInt;
FPos : LongInt;
... |
unit UMath;
interface
function addition(a, b: Extended):Extended;
function subtract(a, b: Extended):Extended;
function division(a, b: Extended):Extended;
function multiply(a, b: Extended):Extended;
function longMOD(a, b: Extended):Extended;
function longDIV(a, b: Extended):Extended;
function longSIN(a: Extended):Exte... |
{ Copyright (c) 1985, 87 by Borland International, Inc. }
unit MCPARSER;
interface
uses Crt, Dos, MCVars, MCUtil, MCDisply;
function CellValue(Col, Row : Word) : Real;
{ Finds the Value of a particular cell }
function Parse(S : String; var Att : Word) : Real;
{ Parses the string s - returns t... |
{*************************************************************
Author: Stéphane Vander Clock (SVanderClock@Arkadia.com)
fastcode project
www: http://www.arkadia.com
EMail: SVanderClock@Arkadia.com
product: ALCPUID
Version: 3.05
Description: A list of function to detect ... |
// 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... |
namespace Documents;
interface
uses
AppKit;
type
[IBObject]
FooDocument = public class(NSDocument)
method loadDocumentFromURL(url: NSURL): Boolean;
method saveDocumentToURL(url: NSURL): Boolean;
public
property data: FooDocumentData read private write ;
// NSDocument implementation
constructor withTy... |
unit uMainForm;
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.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, ... |
unit uPOSSalesExplorer;
interface
uses SysUtils, Forms, Variants, Classes, Windows, DBClient, DB, uFilePersistence;
const
IDX_NAME = 'IDX_Line';
type
TPOSSalesExplorer = class
private
FCashList: TStringlist;
FBeginDate: TDateTime;
FEndDate: TDateTime;
FBasePath: TStringList;
FC... |
unit DAW.View.Main;
interface
uses
DAW.Controller.New,
DAW.Model.Device.New,
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
System.Rtti,
FMX.Grid.Style,
FMX.Grid,
FMX.StdCtrls,
FMX.Layouts... |
unit InfoFile;
{$mode delphi}
interface
uses
Classes, SysUtils, RegExpr;
type
TNomeFile = class
const
//(Nome.Serie).s(XX)e(XX).[(Versione).]sub.itasa
Expression='(.*?)\.[sS](\d{2})[eE](\d{2}|(\d{2})\-(\d{2}))\.((DVDRip|720p|WEB-DL|BDRip|Bluray|1080i)\.|(.{0}))sub\.itasa$';
//(Nome.S... |
unit gr_PrintVedByMonth_DM;
interface
uses
SysUtils, Classes, ibase, gr_uCommonLoader, Forms, DB, FIBDataSet, pFIBDataSet,
FIBDatabase, pFIBDatabase, frxClass, frxDBSet, frxDesgn,
gr_uCommonConsts, gr_uCommonProc, gr_uMessage, Dialogs, gr_uWaitForm,
Variants, Dates, frxExportXLS;
type
TDM = class(TDataModu... |
unit BackupsForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, ExtCtrls, Menus,
InflatablesList_Manager;
type
TfBackupsForm = class(TForm)
lvBackups: TListView;
leBackupFolder: TLabeledEdit;
btnOpenBckFolder: TButton;
p... |
unit uClassDadosProfissionais;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, uClassEndereco;
type
{ TDadosProfissionais }
TDadosProfissionais = class
private
Fcargo: string;
Fendereco: TEndereco;
FidDadoProfissional: integer;
FnomeEmpresa: string;
FidTblPaciente: ... |
unit CrudExampleHorseServer.Controller.Constants;
interface
type
TProgressNotifyEvent = procedure(const aMaxProgressaProgress: integer; const aProgress: integer) of object;
TCheckCancelNotifyEvent = function: boolean of object;
TParamConnectionDB = record
Database : string;
UserName : string;
P... |
unit InflatablesList_Manager_IO_0000000A;
{$INCLUDE '.\InflatablesList_defs.inc'}
interface
uses
Classes,
AuxTypes,
InflatablesList_Types,
InflatablesList_Manager_IO_00000009;
{
fFNSaveTo(LoadFrom)Stream functions is a redirector, it saves(loads) data that
are considered to not to be part of the list an... |
unit Global; {Модуль, що містить у собі типи, константи та змінні, що потрібні у кожному модулі}
interface
const
n = 5;
m = 5;
p = 2;
count = 12; {Кількість вимірювань для зменшення похибки (без перших 2х)}
type
TArray = array [1..p, 1..m, 1..n] of byte; {Тип 3-вимірного масиву}
TVector = array [1.... |
unit Preview;
interface
uses
MMSystem,Classes, ExtCtrls, StdCtrls, Files, FileOperations, graph_files,
Windows,Graphics, SysUtils, Misc_utils, NWX;
type
TPreviewThread = class(TThread)
private
{ Private declarations }
Im:TImage;
MM:TMemo;
LB:TLabel;
Interrupted:boolean;
NewFile:Boolea... |
unit SDConsoleForm;
interface
uses
Windows, Forms, BaseForm, Classes, Controls, StdCtrls, Sysutils,
StockDataConsoleApp, ExtCtrls,
define_datasrc;
type
TFormSDConsoleData = record
Download163AllTask: PDownloadTask;
DownloadSinaAllTask: PDownloadTask;
DownloadQQAllTask: PDownloadTask;
Download... |
unit uFileIO;
interface
uses
Sysutils, FileCtrl, Dialogs, Controls;
const
UNIT_NAME = 'FileIO';
CRLF = #13#10;
type
TOnBeforeHandlerCall = procedure(ErrorNumber : Cardinal; ErrorDescription : String; ErrorSource : String; MiscMsg : String; Cancel : boolean ) of Object;
TErrorHandlerProc = funct... |
unit SysRegistryCls;
interface
type
TSysRegistry = class
private
FID: Integer;
FAttributeName: String;
FAttributeValue: String;
FAttributeType: String;
FConstraintValue: String;
FConstraintType: Byte;
protected
//
public
property ID: Integer read FID write FID;
... |
unit uMainClient;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ScktComp, IniFiles, StdCtrls, uCommon, ComCtrls, ShellAPI, ExtCtrls;
const
DELAY_TIME = 500;
SUPORTE = 'Contacte o suporte técnico.';
type
TReceiveMode = (rmIDLE,
rmRECEIVING_INFO, // nao eh usado!
r... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [VIEW_FIN_LANCAMENTO_PAGAR]
The MIT L... |
unit htDatabases;
interface
uses
Classes,
LrProject;
type
ThtDatabaseVendor = ( dvMySQL, dvFireBird, dvInterbase5, dvInterbase6,
dvAccess, dvODBC, dvCustom );
//
ThtDatabaseItem = class(TLrProjectItem)
private
FADODB: string;
FPassword: string;
FDatabaseFile: string;
FODBC: string;
... |
//=============================================================================
// sgTimers.pas
//=============================================================================
//
// The Timer unit contains the code used to control time based activity for
// games using SwinGame.
//
// Change History:
//
// Version 3:
/... |
unit WebBrowser;
interface
uses
Classes, SHDocVw, MSHTML;
type
TWBHelper = class helper for TWebBrowser
public
procedure CheckDocReady();
procedure LoadBlankDoc();
procedure LoadDocFromStream(Stream: TStream);
procedure LoadDocFromString(const HTMLString: string);
function G... |
unit Cliente;
interface
type
TCliente = class
private
FCodigo: string;
FNome: string;
FTelefone: string;
public
property Codigo: string read FCodigo write FCodigo;
property Nome: string read FNome write FNome;
property Telefone: string read FTelefone write FTelefone;
constructor Cre... |
unit uGoogleOAuth;
interface
uses
SysUtils,
Classes,
Character,
idHTTP,
IdSSLOpenSSL,
idUri,
uInternetUtils,
uTranslate,
uInternetProxy,
IdComponent;
resourcestring
rsRequestError = 'Request error: %d - %s';
rsUnknownError = 'Unknown error';
const
GoogleBaseProxyURL =... |
unit ThStyleSheet;
interface
uses
SysUtils, Classes, Controls,
ThCssStyle, ThStructuredHtml, ThHeaderComponent, ThMessages;
type
TThStyles = class;
//
TThStylesItem = class(TCollectionItem)
private
FName: string;
FStyle: TThCssStyle;
FStyles: TThStyles;
protected
function GetDisplayNa... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Fur shader that simulate Fur / Hair / Grass.
At this time only one light source is supported
}
unit VXS.GLSLFurShader;
interface
{$I VXScene.inc}
uses
System.Classes,
VXS.Scene, VXS.CrossPlatform, VXS... |
{?}unit input;
interface
procedure PostInputComPort;
procedure PostInputSocket(s: string);
function GetErrorMessage(bT: byte): string;
const
cbMaxRepeat = 20;
var
cwIncTotal,
cbIncRepeat,
cbCurRepeat: word;
implementation
uses SysUtils, Graphics, support, output, main, terminal, crc, box, timez, get_confi... |
{**************************************************************************************}
{ }
{ CCR Exif - Delphi class library for reading and writing image metadata }
{ Version 1.5.1 ... |
//
// Generated by JavaToPas v1.5 20180804 - 082423
////////////////////////////////////////////////////////////////////////////////
unit android.bluetooth.le.AdvertiseCallback;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
android.bluetooth.le.AdvertiseSettings;
type
JAdvertiseCallback = in... |
/// <summary> 稠密图 - 邻接矩阵 </summary>
unit DSA.Graph.DenseGraph;
interface
uses
Classes,
SysUtils,
DSA.Interfaces.DataStructure,
DSA.Utils;
type
TDenseGraph = class(TInterfacedObject, IGraph)
private
__vertex: integer; // 节点数
__edge: integer; // 边数
__directed: boolean; // 是否为有向图
__graphDat... |
unit osfuncmac;
// This code is part of the opsi.org project
// Copyright (c) uib gmbh (www.uib.de)
// This sourcecode is owned by the uib gmbh, D55118 Mainz, Germany
// and published under the Terms of the GNU Affero General Public License.
// Text of the AGPL: http://www.gnu.org/licenses/agpl-3.0-standalone.html
//... |
unit MainForm;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Classes,
System.Math,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.Imaging.jpeg,
Vcl.ComCtrls,
Vcl.StdCtrls,
Vcl.ExtCtrls,
Vcl.Menus,
Vcl.Samples.Gauges,
GLVectorG... |
unit St_sp_Category_Class_Form_Add;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxTextEdit, cxLabel, cxControls,
cxContainer, cxEdit, cxGroupBox, StdCtrls, cxButtons, st_ConstUnit;
type
TClassCategoryFormAdd = class(TForm)
OKBu... |
/// ////////////////////////////////////////////////////////////////////////////
// LameXP - Audio Encoder Front-End
// Copyright (C) 2004-2010 LoRd_MuldeR <MuldeR2@GMX.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as publishe... |
unit USquare;
interface
type
TSquare = class
private
name: string;
nextSquare: TSquare;
index: integer;
public
procedure setNextSquare(s: TSquare);
function getnextSquare: TSquare;
function getName: string;
function getIndex: integer;
published
constructor create(name: string; ... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit UDExportPDF;
interface
uses
Classes, Controls, Forms, StdCtrls, ExtCtrls, UCrpe32;
type
TCrpeAdobeAcrobatPDFDlg = class(TForm)
btnOk: TButton;
btnCancel: TButton;
pnlPDF: TPanel;
pnlPageRange: TPanel;
cbUsePageRange: TCheckBox;
lblFirstPage: TLabel;
editFirstPage: TEdit;
lblL... |
unit ClassProduto;
interface
uses ClassConexao, Data.DB;
type
TProduto = class
private
FCodigo : Integer;
FDescricao : String;
FPrecoVenda : Double;
Conexao : TConexao;
FMsgErro : String;
procedure SetCodigo(const Value: Integer);
procedure SetDescricao(... |
unit FFoundEmpty;
(*====================================================================
MDI window with found files
======================================================================*)
interface
uses
SysUtils,
{$ifdef mswindows}
WinTypes,WinProcs,
{$ELSE}
LCLIntf, LCLType, LMessages, Prin... |
unit NFSCustomEdit;
interface
uses
{$IF DEFINED(CLR)}
System.Collections, WinUtils,
{$IFEND}
{$IF DEFINED(LINUX)}
WinUtils,
{$IFEND}
Messages, Windows, SysUtils, Classes, vcl.Controls, vcl.Forms,
vcl.Menus, vcl.Graphics, CommCtrl, vcl.ImgList, vcl.StdCtrls;
type
TNFSCustomEdit = class(TWinControl)
privat... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmSpin
Purpose : Contains Multiple "Spin" edit controls.
Date : 09-03-1998
Author : Ryan J. Mills
Version : 1.92
========================================================... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [TRIBUT_ICMS_CUSTOM_CAB]
The MIT Lice... |
unit Pospolite.View.JS.AST.Basics;
{
+-------------------------+
| Package: Pospolite View |
| Author: Matek0611 |
| Email: matiowo@wp.pl |
| Version: 1.0p |
+-------------------------+
Comments:
...
}
{$mode objfpc}{$H+}
{$modeswitch advancedrecords}
interface
uses
Classes, Sy... |
unit Demo.PieChart.Removing_Slices;
interface
uses
System.Classes, Demo.BaseFrame, cfs.GCharts;
type
TDemo_PieChart_Removing_Slices = class(TDemoBaseFrame)
public
procedure GenerateChart; override;
end;
implementation
procedure TDemo_PieChart_Removing_Slices.GenerateChart;
var
Chart: IcfsGChartProduc... |
type
// Структуры для выполнения функции GetAdaptersInfo
time_t = Longint;
IP_ADDRESS_STRING = record
S : Array [0..15] of Char;
end;
IP_MASK_STRING = IP_ADDRESS_STRING;
PIP_MASK_STRING = ^IP_MASK_STRING;
PIP_ADDR_STRING = ^IP_ADDR_STRING;
IP_ADDR_STRING = record
Next : PIP_ADDR_STRING;
... |
unit URepositorioPessoa;
interface
uses
UEntidade
, URepositorioDB
, UPessoa
, SqlExpr
;
type
TRepositorioPessoa = class(TRepositorioDB<TPessoa >)
private
FRepositorioPessoa: TRepositorioPessoa;
public
constructor Create;
destructor Destroy; override;
procedure AtribuiDBParaEn... |
unit GLD3dsTcb;
interface
uses
Classes, GL, GLDTypes, GLDClasses, GLD3dsTypes, GLD3dsChunk, GLD3dsIo;
const
GLD3DS_USE_TENSION = $0001;
GLD3DS_USE_CONTINUITY = $0002;
GLD3DS_USE_BIAS = $0004;
GLD3DS_USE_EASE_TO = $0008;
GLD3DS_USE_EASE_FROM = $0010;
type
TGLD3dsTcb = class(... |
unit DSA.Tree.LinkedListMap;
interface
uses
System.SysUtils,
System.Rtti,
DSA.Interfaces.DataStructure,
DSA.Interfaces.Comparer,
DSA.Utils,
DSA.List_Stack_Queue.ArrayList;
type
TLinkedListMap<K, V> = class(TInterfacedObject, IMap<K, V>)
private type
TNode = class
public
Key: K;
V... |
unit fi_ttc_otc;
interface
implementation
uses
fi_common,
fi_info_reader,
fi_sfnt,
classes;
type
TCOllectionHeader = packed record
signature,
version,
numFonts,
firstFontOffset: LongWord;
end;
procedure ReadCollectionInfo(stream: TStream; var info: TFontInfo);
var
header: TCOllectio... |
{ functions that communicate with manager through pipes }
{ modifications}
{ 8.12.2008 - accessing undefined memory - marked ###F20081208 - Fontan}
unit pisqpipe;
interface
uses example; {change this to the name of your unit}
var
{ information about a game - you should use these variables }
width:integer=0;{... |
unit frameMt3dmsChemReactionPkgUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, framePackageUnit, RbwController, StdCtrls, JvExStdCtrls, JvCombobox,
JvListComb, ModflowPackageSelectionUnit;
type
TframeMt3dmsChemReactionPkg = class(TframePackage)
com... |
unit Designer;
interface
uses Classes, Graphics, Forms, Windows, Controls, Messages, Menus, SysUtils, IniFiles;
type
TOrderInfo = class
FControl: TControl;
FOrder: Integer;
end;
PDesignerInfo = ^TDesignerInfo;
TDesignerInfo = record
Form: TForm;
Active: Boolean;
end;
TDsCount = class
... |
////////////////////////////////////////////////////////////////////////////
// PaxCompiler
// Site: http://www.paxcompiler.com
// Author: Alexander Baranovsky (paxscript@gmail.com)
// ========================================================================
// Copyright (c) Alexander Baranovsky, 2006-2014. All rig... |
unit uNewUOM;
interface
uses
SysUtils, Classes, UTSbaseClass, uNewUnit;
type
TNewUOM = class(TSBaseClass)
private
FGroup: string;
FNama: string;
FUOM: string;
FUrutan: Integer;
function FLoadFromDB( aSQL : String ): Boolean;
public
constructor Create(aOwner : TComponent); override;
... |
unit LGGDevice;
interface
implementation
uses
system.Devices, system.Types, system.SysUtils;
const
ViewName = 'LGG'; // The name of the view.
{
Add this after MobileDevices in
%AppData%\Embarcadero\BDS\16.0\DevicePresets.xml
<MobileDevice>
<Displayname>LGGWatch</Displayname>
<Name>LGGWatch</Nam... |
{=======================================================================================================================
CommonControlsFrame Unit
Raize Components - Demo Program Source Unit
Copyright © 1995-2015 by Raize Software, Inc. All Rights Reserved.
================================================... |
namespace PictureViewer;
interface
uses
System.Windows,
System.Windows.Controls,
System.Windows.Data,
System.Windows.Documents,
System.Windows.Media,
System.Windows.Media.Imaging,
System.Windows.Media.Animation,
System.Windows.Navigation,
System.Windows.Input,
System.Collections,
System.Windows... |
unit IsProbablyPrimeOpTest;
{$mode objfpc}{$H+}
interface
uses
fpcunit,
testregistry,
uIntX;
type
{ TTestIsProbablyPrimeOp }
TTestIsProbablyPrimeOp = class(TTestCase)
published
procedure IsPrimeIntX();
procedure IsNotPrimeIntX();
procedure IsPrimeBigIntX();
end;
implementation
{ T... |
(* Single Linked List *)
Program SingleLinkList;
uses CRT;
Type
SLL=^data;
data=record
info:integer;
next:SLL;
end;
List=SLL;
Node=SLL;
var L : list;
choose : char;
sum,ElmIn : Integer;
avg : Real;
(* Create a List *)
Procedure CreateL... |
unit SDUClipbrd;
interface
uses
dialogs,
Classes, Types, Windows, Messages, ShlObj;
type
// Based on:
// http://delphi.about.com/od/windowsshellapi/a/clipboard_spy_2.htm
// and Delphi's TTimer
//
TSDUClipboardMonitor = class(TComponent)
private
FWindowHandle: HWND;
FNextInChai... |
unit TestUHistoricoVO;
{
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, SysUtils, Atributos, Gene... |
unit mrConfigDualList;
interface
uses
SysUtils, Classes, uSystemTypes, uNTUpdateControl;
type
TmrDualListButton = (tbbAdd, tbbAddAll,tbbRemove, tbbRemoveAll);
TmrDualListButtons = set of TmrDualListButton;
TmrConfigDualList = class(TComponent)
private
FConnectionListName : string;
FConnectionSourc... |
unit Win32.AMVideo;
//------------------------------------------------------------------------------
// File: AMVideo.h
// Desc: Video related definitions and interfaces for ActiveMovie.
// Copyright (c) 1992 - 2001, Microsoft Corporation. All rights reserved.
//------------------------------------------------------... |
unit Pospolite.View.Frame;
{
+-------------------------+
| Package: Pospolite View |
| Author: Matek0611 |
| Email: matiowo@wp.pl |
| Version: 1.0p |
+-------------------------+
Comments:
...
}
{$mode objfpc}{$H+}
{$modeswitch nestedprocvars}
interface
uses
Classes, SysUtils, C... |
unit uFrmMenu;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.MultiView, FMX.Objects, FMX.Layouts,
FMX.StdCtrls, FMX.Effects, FMX.Ani;
type
TForm1 = class(TForm)
... |
unit EmpresaEndereco;
interface
uses
System.Classes, System.Generics.Collections,
//
Aurelius.Mapping.Attributes, Aurelius.Types.Blob, Aurelius.Types.Nullable, Aurelius.Types.Proxy;
type
[Entity]
[Table('EMPRESA_ENDERECO')]
[Id('Id', TIdGenerator.IdentityOrSequence)]
TEmpresaEndereco = class
private
... |
unit URegraCRUDPais;
interface
uses
URegraCRUD
, URepositorioDB
, URepositorioPais
, UEntidade
, UPais
;
type
TRegraCRUDPais = class(TRegraCRUD)
protected
procedure ValidaInsercao(const coENTIDADE: TENTIDADE); override;
public
constructor Create; override;
end;
implementation
{ TRegra... |
program perfx;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes,
SysUtils, CustApp,
nii_perfx, define_types,nii_core;
type
Tperf = class(TCustomApplication)
protected
procedure DoRun; override;
procedure SetBool (const ParamName: string; var Param... |
unit uEditPreSale;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
PAIDETODOS, ExtCtrls, DB, DBTables, Grids, DBGrids, StdCtrls, LblEffct,
Buttons, uInvoice, uNewPreSales, ADODB, siComp, siLangRT, SMDBGrid, uFrmHistory,
cxStyles, cxCustomData, cxGraphics, cxFilter, cxD... |
unit ImageGreyData;
interface
uses Windows, Graphics, Abstract2DImageData, SingleDataSet, dglOpenGL;
type
T2DImageGreyData = class (TAbstract2DImageData)
private
// Gets
function GetData(_x, _y: integer):single;
// Sets
procedure SetData(_x, _y: integer; _value:... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: MeshUtils.<p>
General utilities for mesh manipulations.<p>
<b>History : </b><font size=-1><ul>
<li>30/03/07 - DaStr - Added $I GLScene.inc
<li>29/07/03 - PVD - Fixed bug in RemapReferences limiting lists to 32768 items
<... |
(* Timer: HDO, 2005-04-01
-----
Simple utility for run-time measurement.
===============================================================*)
UNIT Timer;
INTERFACE
PROCEDURE StartTimer;
PROCEDURE StopTimer;
FUNCTION TimerIsRunning: BOOLEAN;
FUNCTION Elapsed: STR... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit templateaction;
{$mode objfpc}{$H+}
interface
uses
BrookAction, JTemplate, RUtils, Classes, path;
type
{ TTemplateAction }
TTemplateAction = class(TBrookAction)
private
FTemplate: TJTemplate;
public
constructor Create; overload; override;
destructor Destroy; override;
procedure Load... |
unit uTUnZipDownload;
interface
uses
Classes, VCLUnZip, uFrmNewLoader;
type
TFiles = record
UnZipFile : String;
Path : String;
Description : String;
end;
type
TUnZipDownload = class(TThread)
private
{ Private declarations }
aFile : array[0..10] of TFiles;
Counted : intege... |
namespace OxygeneiOSUIAlertViewDemo;
interface
uses
UIKit;
type
[IBObject]
RootViewController = public class(UIViewController, IUIAlertViewDelegate)
private
method alertView(alertView : UIAlertView) clickedButtonAtIndex(buttonIndex: NSInteger);
public
method init: id; override;
... |
unit Test.NamingConvention;
interface
{$M+}
uses
DUnitX.TestFramework,
Nathan.ObjectMapping.NamingConvention;
type
[TestFixture]
TTestNamingConvention = class
private
FNamingConvention: TNamingConvention;
FCut: INamingConvention;
public
[Setup]
procedure Setup();
[TearDown]
proc... |
(* WPBuff.PAS - Copyright (c) 1995-1996, Eminent Domain Software *)
unit WPBuff;
{-WPTools buffer manager for EDSSpell component}
interface
uses
Classes, Controls, Graphics, SysUtils, Forms, StdCtrls,
WinProcs, WinTypes, WPWinCtr,
AbsBuff, MemoUtil, SpellGbl;
type
TWPBuf = class (TPCharBuffer) {WPTools Edi... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
DelphiWebScript symbol creation for base GLScene classes.
This unit is dependent on DwsClasses and DwsVectorGeometry.
These components must be associated with the same compiler
for the GLScene classes to inherit... |
unit Grijjy.FBSDK.iOS.API;
interface
uses
SysUtils,
Macapi.ObjectiveC,
iOSapi.CocoaTypes,
iOSapi.Foundation,
iOSapi.UIKit,
Grijjy.Accounts.iOS.API;
const
libFacebookSDKLoginKit = '/Library/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit';
libFacebookSDKCoreKit = '/Library/Frameworks/FBSDKCoreKit.fra... |
unit fxBrokerSearch;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.Buttons,
Vcl.ExtCtrls, ORNet, Winapi.RichEdit, fBase508Form, orfn;
type
TRpcRecord = record
RpcName... |
unit SDFilesystemCtrls_ColDetails;
interface
uses
CheckLst, Classes, Controls, Dialogs, ExtCtrls, Forms,
Graphics, Messages, SDFilesystemCtrls, SDUCheckLst, SDUForms,
Spin64, StdCtrls, SysUtils, Variants, Windows;
type
TSDFilesystemListView_ColDetails = class (TSDUForm)
pbMoveUp: TButton;... |
unit InflatablesList_Manager_IO_0000000B;
{$INCLUDE '.\InflatablesList_defs.inc'}
interface
uses
Classes,
AuxTypes,
InflatablesList_Manager_IO_0000000A;
type
TILManager_IO_0000000B = class(TILManager_IO_0000000A)
protected
procedure InitSaveFunctions(Struct: UInt32); override;
procedure InitLoadFu... |
unit UnitOpenGLShader;
{$ifdef fpc}
{$mode delphi}
{$ifdef cpui386}
{$define cpu386}
{$endif}
{$ifdef cpuamd64}
{$define cpux86_64}
{$endif}
{$ifdef cpu386}
{$define cpux86}
{$define cpu32}
{$asmmode intel}
{$endif}
{$ifdef cpux86_64}
{$define cpux64}
{$define cpu64}
{$asmmode i... |
unit UProprietarioUnidade;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UPessoa, UPessoasVO, UtelaCadastro,
Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.Mask, Vcl.Buttons, Vcl.Grids,
Vcl.DBGrids, UProprie... |
namespace proholz.xsdparser;
interface
type
ReferenceBase = public abstract class
private
class method getName(element: XsdAbstractElement): String;
// *
// * @param element The element that contains the attributes.
// * @param nodeName The attribute name that will be searched.
// * @retur... |
unit UDHiliteConditions;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons, UCrpe32, UCrpeClasses;
type
TCrpeHiliteConditionsDlg = class(TForm)
btnOk: TButton;
btnClear: TButton;
btnAdd: TButton;
btnDelete: TButton;
pnlSumma... |
(*
Category: SWAG Title: DATE & TIME ROUTINES
Original name: 0021.PAS
Description: Day of the Week
Author: CYRUS PATEL
Date: 06-22-93 09:13
Corrections by Nacho, 2017
*)
{
===========================================================================
BBS: The Beta Connection
Date: 06-07-93 (00:10) ... |
{
@abstract Implements @link(TNtShortcutItemsTranslator) translator extension class that translates TdxShortcusItems from DevExpress
To enable runtime language switch of shortcut list just add this unit into your project
or add unit into any uses block.
@longCode(#
implementation
uses
NtShortcutItemsTransl... |
unit uParentButtonFch;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParentCustomFch, DB, StdCtrls, ExtCtrls, uSystemTypes,
mrConfigFch, XiButton, ImgList, mrDBEdit, mrDBCurrencyEdit, mrSuperCombo,
mrDBMemo, mrDBDateEdit, mrDBCheckBox, mrDBImageComboBox;
... |
unit class_biseccion;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, math, ParseMath;
type
TBiseccion = class
a,
b,
Error,
x: real;
fx: string;
function Execute: Boolean;
private
Parse: TParseMath;
function f( xx: real): Real;
public
xn,
... |
unit uTrashFileSource;
{$mode ObjFPC}{$H+}
interface
uses
Classes, SysUtils, Menus, uGLib2, uGio2, uFile, uFileSource, uGioFileSource,
uFileSourceProperty, uFileProperty, uFileSourceOperationTypes, uFileSourceOperation;
type
ITrashFileSource = interface(IGioFileSource)
['{5EABE432-2310-460B-8A59-32C2D2C2... |
unit FornecedorOperacaoIncluir.Controller;
interface
uses Fornecedor.Controller.Interf, Fornecedor.Model.Interf, TPAGFORNECEDOR.Entidade.Model;
type
TFornecedorOperacaoIncluirController = class(TInterfacedObject,
IFornecedorOperacaoIncluirController)
private
FFornecedorModel: IFornecedorModel;
FNome... |
unit UnitBackUpTableInCMD;
interface
uses
System.Classes,
System.SysUtils,
Vcl.Forms,
Dmitry.Utils.Files,
UnitDBDeclare,
uMemory,
uDBThread,
uDBForm,
uDBContext,
uDBManager,
uRuntime,
uConstants,
uTranslate,
uSettings,
uConfiguration;
type
TBackUpTableThrea... |
unit NtPluralsData; //FI:ignore
// Generated from CLDR data. Do not edit.
interface
implementation
uses
NtPattern;
initialization
// Bamanankan
TMultiPattern.Register(
'bm',
[pfOther],
[pfOther],
'0');
// Tibetan
TMultiPattern.Register(
'bo',
[pfOther],
[pfOther],
'0');
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.