text stringlengths 14 6.51M |
|---|
unit DesignSurface;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Graphics, Forms, ExtCtrls,
Contnrs;
type
TDesignSurface = class;
//
TDesignMessage = function(inSender: TControl; var inMsg: TMessage;
const inPt: TPoint): Boolean of object;
//
TDesignCustomMessenger = c... |
unit SDUWinHttp;
interface
uses
Classes,
SDUWinHttp_API, Windows;
const
DEFAULT_HTTP_USERAGENT = 'SDeanComponents/1.0';
DEFAULT_HTTP_REQUESTVERSION = '1.1';
DEFAULT_HTTP_METHOD = 'GET';
type
SDUWinHTTPTimeouts = record
Name: Integer;
Connect: Integer;
Send: ... |
unit UMatrices;
{$mode objfpc}{$H+}
interface
uses Classes, SysUtils, Math, UVectorREAL;
const k_sumar = 0;
k_restar = 1;
k_multiplicar = 2;
k_potencia = 3;
k_determinante = 4;
k_inversa = 5;
type matriz = array of array of real;
CMatrices = class
private
... |
unit list;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TValue = integer;
PTlist = ^Tlist;
TIterator = ^TNode;
TNode = record
value: TValue;
prev, next: TIterator;
owner: PTlist;
end;
TList = record
head, tail: TIterator;
size: integer;
end;
// Создает пустой сп... |
unit ClassConexao;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.MySQL,
FireDAC.Phys.MySQLDef, FireDAC.VCLUI.Wait, Data.DB, Fire... |
{
@abstract Contains localization routines.
}
unit FMX.NtLocalization;
{$I NtVer.inc}
interface
uses
System.Classes,
NtBase;
type
TNtLocale = class
public
class function IsPreviousLocaleBidi: Boolean; static;
class function ExtensionToLocale(const value: String): Integer; static;
class functio... |
(*
Category: SWAG Title: FILE COPY/MOVE ROUTINES
Original name: 0011.PAS
Description: Move File #2
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:35
*)
{
> How would I move a File from within my Program.
if the File is to moved from & to the same partition,
all you have to do is:
Assign(F,Old... |
unit FreeOTFEDriverConsts;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
// From winioctl.h (part of the MS DDK)
const
FILE_DEVICE_CD_ROM = $00000... |
unit UApiTypes;
(*====================================================================
Definition of public types (public goes outside of API)
======================================================================*)
{$A-}
interface
uses
{$ifdef mswindows}
WinTypes
{$ELSE}
LCLIntf, LCLType, LMess... |
unit uThreadEx;
interface
uses
System.Types,
System.Classes,
System.SyncObjs,
System.SysUtils,
Winapi.Windows,
uMemory,
uDBThread,
uGOM,
{$IFNDEF EXTERNAL}
uRuntime,
{$ENDIF}
uThreadForm;
type
TThreadExNotify = procedure(Sender: TObject; StateID: TGUID) of object;
TT... |
unit AvgPayment_MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, DB, cxDBData, cxGridLevel, cxClasses, cxControls,
cxGridCustomView, cxGridCustomTableView, cxGridTableView,
... |
unit ULevelSelector;
interface
uses
w3system, UE, UPlat, UGameText, UPlayer, UAi, KeyCodeToKeyName, UGlobalsNoUserTypes;
type
TSelect = class(TObject)
screenwidth : integer; //The width of the selector
screenheight : integer; //The height of the selector
Doors : array of UE.TE; //An array of the poss... |
{
Clever Internet Suite Version 6.2
Copyright (C) 1999 - 2006 Clever Components
www.CleverComponents.com
}
unit clDownLoader;
interface
{$I clVer.inc}
uses
Classes, clDCUtils, clUtils, clSingleDC, clMultiDC, clMultiDownLoader;
type
TclOnSingleDataTextProceed = procedure (Sender: TObject; Text: TStrings) ... |
unit uHeightmapClasses;
//Mattias Landscaper...
interface
uses
Winapi.Windows,
System.Classes,
System.Math,
Vcl.Graphics,
Vcl.Dialogs,
System.SysUtils,
GR32,
GLVectorTypes,
GLVectorGeometry,
uGrid;
type
TRGBTripleArray = array [0..32767] of TRGBTriple;
THeightmap = class
... |
unit uFrmParameter;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
PAIDETODOS, StdCtrls, DBCtrls, DB, DBTables, Grids,
LblEffct, ExtCtrls, Buttons, ADODB, siComp, siLangRT, DBGrids, SMDBGrid,
cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, cxDBData,
cx... |
// -------------------------------------------------------------
// Programa que mostra a série de Fibonacci até o termo informado
// pelo usuário. Na série de Fibonacci cada elemento é dado pela
// soma dos 2 anteriores. :~
//
// Autor : Rodrigo Garé Pissarro - Beta Tester
// Contato : rodrigogare@uol.com.br... |
unit LrBarReg;
interface
procedure Register;
implementation
uses
Classes, LrBar, LrCollapsable;
procedure Register;
begin
RegisterComponents('LR', [ TLrBar, TLrGroup, TLrCollapsable ]);
end;
end.
|
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit deploy;
interface
uses Classes, System.WideStrUtils, SysUtils, DCPbase64, FireDAC.Comp.Client, IniFiles, appconfig;
type
TDeploy = class
private
FConfig: TAppConfig;
public
function Decode(const Source: string): string;
function Encode(const Source: string): string;
procedure ... |
unit ThHtmlPage;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls,
ThInterfaces, ThCssStyle, ThStyledCtrl, ThHtmlDocument, ThHeaderComponent,
ThPanel, ThStructuredHtml, ThStyleSheet, ThAnchorStyles, ThMessages,
ThJavaScript;
type
TThPageLay... |
program PerfectNumbers;
function isPerfect(number: longint): boolean;
var
i, sum: longint;
begin
sum := 1;
for i := 2 to round(sqrt(real(number))) do
if (number mod i = 0) then
sum := sum + i + (number div i);
isPerfect := (sum = number);
end;
var
candidate: longint;
begin
writeln('Perfect ... |
Unit Hashtables;
Interface
Uses
StringSupport,
AdvObjects, AdvExceptions;
Type
THashTable = Class;
THashTableEnumerator = Class;
THashKey = Int64;
THashValue = Int64;
THashEntry = Record
HashCode : Integer;
Next : Integer;
Key : THashKey;
Value : THashValue;
End;
TIntegerArray =... |
unit Guia.untClientmodule;
interface
uses
System.SysUtils, System.Classes, Datasnap.DSClientRest, Guia.Proxy;
type
Tcm = class(TDataModule)
DSRestConnection1: TDSRestConnection;
private
FInstanceOwner: Boolean;
FServerMethodsClient: TServerMethodsClient;
function GetServerMethodsC... |
{$I vp.inc}
unit VpSQLite3DS;
interface
uses
SysUtils, Classes, DB,
VpBaseDS, VpDBDS,
sqlite3conn, sqldb;
type
TVpSqlite3Datastore = class(TVpCustomDBDatastore)
private
FConnection: TSqlite3Connection;
FContactsTable: TSQLQuery;
FEventsTable: TSQLQuery;
FResourceTable: TSQLQuery;
FTask... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{
Base Verlet modelling/simulation classes.
This unit is generic, GLScene-specific sub-classes are in GLVerletClasses.
Note that currently, the SatisfyConstraintForEdge methods push the nodes in
the edge uniformly - it should push th... |
unit GLDSystem;
interface
uses
Classes, Controls, Forms, GL, GLDConst, GLDTypes, GLDClasses, GLDObjects, dialogs, sysutils,
GLDCamera, GLDGizmos, GLDModify, GLDViewer, GLDRepository, GLDXYZFrame;
type
TGLDSystemRenderOptions = class;
TGLDDrawer = class;
TGLDSystem = class;
TGLDSystem = clas... |
unit uFrmInputBox;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, uDefCom;
type
TfrmInputBox = class(TForm)
lblPrompt: TLabel;
edtInput: TEdit;
btnOK: TBitBtn;
btnCancel: TBitBtn;
procedure FormShow(Sender: TObject);
... |
// Heterogenous list operations and Map function demo
{$APPTYPE CONSOLE}
program Map;
uses
SysUtils;
// List definition
type
IData = interface
ToStr: function: string;
Swap: procedure;
end;
TProc = procedure (var D: IData);
PNode = ^TNode;
TNode = record
... |
unit u_Log;
interface
uses
Classes, Variants, Windows, SysUtils;
procedure log(a_Msg:string; color:integer = 7);
function logExp(a_Exp:boolean; a_Msg:string): boolean;
implementation
procedure log;
var
sTime: TSystemTime;
begin
if not isConsole then exit;
GetLocalTime(sTime... |
unit FornecedorOperacaoExcluir.Controller;
interface
uses Fornecedor.Controller.Interf, Fornecedor.Model.Interf,
TPAGFORNECEDOR.Entidade.Model;
type
TFornecedorOperacaoExcluirController = class(TInterfacedObject,
IFornecedorOperacaoExcluirController)
private
FFornecedorModel: IFornecedorModel;
FReg... |
{-----------------------------------------------------------------------------
Least-Resistance Designer Library
The Initial Developer of the Original Code is Scott J. Miles
<sjmiles (at) turbophp (dot) com>.
Portions created by Scott J. Miles are
Copyright (C) 2005 Least-Resistance Software.
All Rights... |
//
// Generated by JavaToPas v1.5 20160510 - 150254
////////////////////////////////////////////////////////////////////////////////
unit android.icu.util.ByteArrayWrapper;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
java.nio.ByteBuffer;
type
JByteArrayWrapper = interface;
JByteArrayWra... |
unit Pospolite.View.CSS.Animation;
{
+-------------------------+
| Package: Pospolite View |
| Author: Matek0611 |
| Email: matiowo@wp.pl |
| Version: 1.0p |
+-------------------------+
Comments:
...
}
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, math, dateutils, Pospo... |
unit MyStringUtils;
interface
uses
Classes, SysUtils, Windows;
type
{ TMyParser }
TMyParser = class(TObject)
private
FCurrentBlockIndex: Integer;
FCursor: Integer;
FData: WideString;
FDataLen: Integer;
FDelims: WideString;
protected
procedure ExtractCustomBlock(out AValue: PWideCh... |
unit SDUStringGrid;
// Description: StringGrid with extra functionality
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Grids;
type
TSDUStringGrid = class(TStrin... |
unit InflatablesList_ItemShopTemplate_IO;
{$INCLUDE '.\InflatablesList_defs.inc'}
interface
uses
Classes,
AuxTypes,
InflatablesList_ItemShopTemplate_Base;
const
IL_SHOPTEMPLATE_SIGNATURE = UInt32($4C504D54); // TMPL
IL_SHOPTEMPLATE_STREAMSTRUCTURE_00000000 = UInt32($00000000);
IL_SHOPTEMPLATE_STREAMST... |
unit ImgCtrlsReg;
interface
uses
BitmapContainers,
ScrollingImage,
ScrollingImageAddons,
TexturePanel;
procedure Register;
implementation
{$R *.res}
uses Windows, SysUtils, Consts, Classes, DesignIntf, DesignEditors, VCLEditors;
{ TImgCtrlsStretchModeProperty }
type
TImgCtrlsStret... |
/// <summary> 稠密图 - 邻接矩阵 </summary>
unit DSA.Graph.DenseWeightedGraph;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
Rtti,
DSA.Interfaces.DataStructure,
DSA.Graph.Edge;
type
generic TDenseWeightedGraph<T> = class(specialize TWeightGraph<T>)
private
type
//TEdge_T = specialize TEdge<T>... |
PROGRAM Sum_;
VAR sum, count, value: INTEGER;
BEGIN
sum := 0;
count := 1;
ReadLn(value); {* Step 0 *}
WHILE value > 0 DO BEGIN
sum := sum + value; {* Step 1 *}
IF (count mod 3) = 0 THEN
BEGIN
WriteLn('Sum: ', sum);
sum := 0 {* Step 3 *}
END;
count := count + 1;
ReadLn(value... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit Odontologia.Modelo.Entidades.Empresa;
interface
uses
simpleattributes;
type
[Tabela('DEMPRESA')]
TDEMPRESA = class
private
FEMP_FANTASIA: String;
FEMP_EMAIL: String;
FEMP_BARRIO: String;
FEMP_RAZSOCIAL: String;
FEMP_CODIGO: Integer;
FEMP_COD_TIP_EMPRESA: Integer;
FEMP_DIRECCI... |
unit CustomNS;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, ImgList, ShlObj,
ShellAPI, ActiveX, ComObj, VirtualPIDLTools, VirtualShellUtilities,
VirtualNamespace;
const
SID_IGerardsHookNamespace = '{F41C7411-8364-4DB7-B28A-6B1F0BFA84EC}';
SID_IGerardsNamespace = '{4A7... |
//------------------------------------------------------------------------------
//The contents of this file are subject to the Mozilla Public License
//Version 1.1 (the "License"); you may not use this file except in compliance
//with the License. You may obtain a copy of the License at
//http://www.mozilla.org/MP... |
unit SDUStdCtrls;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls,
StdCtrls;
// StdCtrls, Messages, Controls, Graphics, Classes;
type
TSDULabel = class(TLabel);
TSDUURLLabel = class(TSDULabel)
private
procedure CMMouseEnter(var Message: TMessage); message CM_MOUS... |
unit MO17MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Ibase, FIBDatabase, pFIBDatabase, cxStyles, cxCustomData,
cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData,
cxTextEdit, ComCtrls, ToolWin, ImgList, cxGridLevel,
cxGridCustom... |
unit RandomWallpaper;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Spin, Buttons, ShlObj, ComObj, Main, inifiles;
type
TRandomWallpaperForm = class(TForm)
MappeListBox: TListBox;
Label1: TLabel;
MappeLabel: TLabel;
GemIndstillinger... |
unit Validador.Core.Impl.LocalizadorScript;
interface
implementation
uses
System.IOUtils, System.Classes, System.SysUtils, System.Types, System.Threading, Data.DB,
Validador.DI, Validador.Core.LocalizadorScript;
type
TLocalizadorDeScript = class(TInterfacedObject, ILocalizadorDeScript)
private
FDataSet:... |
unit URegraCRUDDeposito;
interface
uses
URegraCRUD,
URepositorioDB,
URepositorioDeposito,
UEntidade,
UDeposito,
UUtilitarios,
UMensagens,
SysUtils
;
type
TregraCRUDDEPOSITO = class (TregraCRUD)
protected
procedure ValidaInsercao (const coENTIDADE: TENTIDADE); override;
public
c... |
unit main;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Classes, Vcl.Forms, Vcl.Controls,
GLScene, GLObjects, GLWin32Viewer, GLCadencer, GLKeyboard, GLCrossPlatform,
GLHUDObjects, GLCoordinates, GLBaseClasses, GLMaterial, GLTexture,
GLAsyncTimer, GLAvi;
type
TF... |
unit Demo.BubbleChart.CustomizingLabels;
interface
uses
System.Classes, Demo.BaseFrame, cfs.GCharts;
type
TDemo_BubbleChart_CustomizingLabels = class(TDemoBaseFrame)
public
procedure GenerateChart; override;
end;
implementation
procedure TDemo_BubbleChart_CustomizingLabels.GenerateChart;
var
Chart: I... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit SDUPartitionPropertiesDlg;
interface
uses
CheckLst, Classes, Controls, Dialogs, ExtCtrls, Forms,
Graphics, Messages, SDUCheckLst,
SDUForms, SDUGeneral, StdCtrls, SysUtils, Variants, Windows;
type
TSDUPartitionPropertiesDialog = class (TSDUForm)
Label1: TLabel;
edStart... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Collision-detection management
}
unit VXS.Collision;
interface
{$I VXScene.inc}
uses
System.Classes,
System.SysUtils,
VXS.Scene,
VXS.XCollection,
VXS.VectorGeometry,
VXS.VectorLists,
VXS.Vecto... |
unit FormulaManagerUnit;
interface
uses SysUtils, Classes, Contnrs, RbwParser, IntListUnit, Dialogs,
HashTableFacadeUnit;
type
TChangeSubscription = procedure (Sender: TObject;
Subject: TObject; const AName: string);
PChangeSubscription = ^TChangeSubscription;
TFormulaObject = class(TComponent)
privat... |
unit fMain;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
System.Math,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.ExtCtrls,
Vcl.StdCtrls,
Vcl.ComCtrls,
Vcl.Menus,
GLScene,
GLMaterial,
GLVectorF... |
{*******************************************************************************
* uWAccReport *
* *
* Отчет по начислениям - главный модуль ... |
// Reverse a given natural number.
uses Math, SysUtils;
function integerLength(x: Integer): Integer;
begin
Result := Length(IntToStr(x));
end;
var x, y, m, len: Integer;
begin
Writeln('Enter a natural number:');
Readln(x);
y := 0;
len := integerLength(x);
m := Trunc(IntPower(10, len-1));
while (x > 0) ... |
unit Demo.MaterialScatterChart.Sample;
interface
uses
System.Classes, Demo.BaseFrame, cfs.GCharts;
type
TDemo_MaterialScatterChart_Sample = class(TDemoBaseFrame)
public
procedure GenerateChart; override;
end;
implementation
procedure TDemo_MaterialScatterChart_Sample.GenerateChart;
var
Chart: IcfsGCh... |
{**************************************************************************************}
{ }
{ CCR.VirtualKeying - sending virtual keystrokes on OS X and Windows }
{ ... |
unit ListSourceProperty;
interface
uses
SysUtils, Classes, Controls,
dcedit, dcfdes, dcsystem, dcdsgnstuff;
type
TListSourceProperty = class(TComponentProperty)
function GetAttributes: TPropertyAttributes; override;
procedure GetValues(Proc: TGetStrProc); override;
end;
procedure RegisterListS... |
unit RecTest;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, pLuaRecord, lua, plua;
type
PMyRecord = ^TMyRecord;
TMyRecord = record
AString : AnsiString;
Int : Integer;
Num : Double;
end;
procedure RegisterMyRecordType( L : Plua_State );
procedure RegisterExistingMyRecord( L : Pl... |
unit SutraOptionsUnit;
interface
uses
GoPhastTypes, Classes, SysUtils;
type
TTransportChoice = (tcSolute, tcSoluteHead, tcEnergy);
TSaturationChoice = (scSaturated, scUnsaturated);
TSimulationType = (stSteadyFlowSteadyTransport,
stSteadyFlowTransientTransport, stTransientFlowTransientTransport);
TStart... |
unit RefinementTrianglesSupporter;
interface
uses BasicMathsTypes, BasicDataTypes, BasicConstants, GLConstants, VoxelMap, Voxel, Palette,
VolumeGreyIntData, VertexList, TriangleList, QuadList, Normals, Windows,
Dialogs, SysUtils, VolumeFaceVerifier;
{$INCLUDE source/Global_Conditionals.inc}
type
... |
unit uShtatReportNo1Form;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uFControl, uLabeledFControl, uDateControl, StdCtrls, Buttons,
uSpravControl, FIBDatabase, pFIBDatabase, DB, FIBDataSet, pFIBDataSet,
frxClass, frxDBSet, frxExportPDF, frxExportR... |
program cpeconsole;
{
(§LIC)
(c) Autor,Copyright
Dipl.Ing.- Helmut Hartl, Dipl.Ing.- Franz Schober, Dipl.Ing.- Christian Koch
FirmOS Business Solutions GmbH
www.openfirmos.org
New Style BSD Licence (OSI)
Copyright (c) 2001-2009, FirmOS Business Solutions GmbH
All rights reserved.
Redi... |
(*
Category: SWAG Title: STRING HANDLING ROUTINES
Original name: 0107.PAS
Description: String Arrays
Author: CHRISTOPHER CHANDRA
Date: 05-26-95 22:58
*)
{ Updated STRINGS.SWG on May 26, 1995 }
{
OK, this is the working version of the old one.
I tested it and it worked.
Insert_Arr2Strs procedure, and a... |
unit nsMasks;
interface
uses
SysUtils, Classes, Masks;
type
TMaskItem = class(TCollectionItem)
private
FMask: TMask;
FMaskValue: string;
procedure SetMaskValue(const Value: string);
public
constructor Create(Collection: TCollection); override;
destructor Destroy; override... |
unit ufrmDialogShift;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterDialog, ExtCtrls, uDMClient, uConstanta,
ComCtrls, StdCtrls, System.Actions, Vcl.ActnList, ufraFooterDialog3Button,
uModShift, uModSuplier, uInterface, uAppUtils, Datasnap.DBClien... |
unit Common.Entities.Bet;
interface
uses Neon.Core.Attributes,Generics.Collections,Common.Entities.Player;
type
TAddBetType=(abtNone,abtBet,abtContra,abtRe);
TAddBet=record
BetType:TAddBetType;
Team:TTeam;
end;
TAddBets=record
Minus10:TAddBet;
ContraGame:TAddBet;
AllKings:TAddBet;
King... |
unit feli_event;
{$mode objfpc}
interface
uses
feli_collection,
feli_document,
feli_event_participant,
feli_event_ticket,
fpjson;
type
FeliEventKeys = class
public
const
id = 'id';
organiser = 'organiser';
name = 'name';
... |
unit ApplicationVersionHelper;
// -----------------------------------------------------------------------------
// Project: VersionInfo
// Module: ApplicationVersionHelper
// Description: GetFileVersionInfo Win32 API wrapper.
// Version: 1.1
// Release: 1
// Date: 2-MAR-2008
// Target: Delphi 2007, Win32.
// Author(s):... |
//=============================================================================
// sgBackendTypes.pas
//=============================================================================
//
// This provides the type details for records pointed to by abstract types
// from sgTypes.
//
unit sgBackendTypes;
interface
uses sg... |
{-----------------------------------------------------------------------------
Unit Name: dlgCodeTemplates
Author: Kiriakos Vlahos
Date: 08-Aug-2006
Purpose: Customization dialog for Code Templates
History:
-----------------------------------------------------------------------------}
unit dlgFileTempla... |
unit ImageGreyIntData;
interface
uses Windows, Graphics, Abstract2DImageData, IntDataSet, dglOpenGL;
type
T2DImageGreyIntData = class (TAbstract2DImageData)
private
// Gets
function GetData(_x, _y: integer):integer;
// Sets
procedure SetData(_x, _y: integer; _... |
{..............................................................................}
{ Summary }
{ Demo the use of ChooseRectangleByCorners method and the spatial iterator. }
{ Selects free primitives only on the focussed PCB ... |
unit svm_threads;
{$mode objfpc}
{$H+}
interface
uses
Classes,
SysUtils,
syncobjs,
svm_common,
svm_stack,
svm_res,
svm_imports,
svm_mem,
svm_grabber,
svm_utils,
svm_core;
{***** Context ****************************************************************}
type
TSVMThreadCon... |
// glasm.ru
unit u_Flash;
interface
uses
ActiveX, Classes, SysUtils, Controls, ShockwaveFlashObjects_TLB, zlib;
type
c_Flash = class(TShockwaveFlash)
private
f_OleObj: IOleObject;
f_loaded: Boolean;
f_fw,f_fh,f_fc: cardinal;
f_fr,f_fps: single;
procedure _pa... |
program catdbo;
{
(§LIC)
(c) Autor,Copyright
Dipl.Ing.- Helmut Hartl, Dipl.Ing.- Franz Schober, Dipl.Ing.- Christian Koch
FirmOS Business Solutions GmbH
www.openfirmos.org
New Style BSD Licence (OSI)
Copyright (c) 2001-2009, FirmOS Business Solutions GmbH
All rights reserved.
Redistri... |
{ -$Id: AddHoliday.pas,v 1.3 2007/01/30 15:48:52 oleg Exp $}
{******************************************************************************}
{ Автоматизированная система управления персоналом }
{ (c) Донецкий национальный университет, 2002-2004 }
{*************... |
unit NLDSBForm;
interface
uses
Windows,
SysUtils,
Forms,
Controls,
NLDSBExplorerBar,
SHDocVw;
type
{
:$ Contains the necessary code to make a frame function as an
:$ Internet Explorer toolbar
}
TNLDSBForm = class(TForm, IBandClass)
private
FBrowser: IWebBrows... |
{$I eDefines.inc}
unit iec104defs;
interface
uses sysutils;
type EIEC104Exception = Exception;
const STARTDT_ACT = $07; // start data transfer activation
STARTDT_CON = $0b; // start data transfer confirmation
STOPDT_ACT = $13; ... |
function TPipeCommand_Split.Compile( args: TStrArray ): string;
begin
if length( args ) <> 2 then
exit( 'bad split command usage. please type "man split" in order to see help!' );
if not is_int( args[1] ) then
exit( 'the second argument of "split" command should be integer. type "man ... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, ComCtrls, SDUClipbrd, SDUForms;
type
TForm1 = class(TSDUForm)
reReport: TRichEdit;
SDUClipboardMonitor1: TSDUClipboardMonitor;
pbClose: TButton;
pbClea... |
{-----------------------------------------------------------------------------
Unit Name: uCommonFunctions
Author: Kiriakos Vlahos
Date: 23-Jun-2005
Purpose: Functions common to many units in PyScripter
History:
-----------------------------------------------------------------------------}
unit uCommonF... |
{=====================================================================================
Copyright (C) combit GmbH
--------------------------------------------------------------------------------------
D: Dieses Beispiel demonstriert die Erweiterung des Designers mit eigenen Objekten
US: This example demonstrates ho... |
unit UFrmCadastroDeposito;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UFrmCRUD, Menus, Buttons, StdCtrls, ExtCtrls,
UUtilitarios,
UDeposito,
URegraCRUDDeposito,
URegraCRUDEmpresaMatriz;
type
TFrmCadastroDeposito = class(TFrmCRUD)
gbInformacoes... |
unit UInquilinoUnidadeVO;
interface
uses Atributos, Classes, Constantes, Generics.Collections, SysUtils, UGenericVO, UCondominioVO, UPessoasVO;
type
[TEntity]
[TTable('InquilinoUnidade')]
TInquilinoUnidadeVO = class(TGenericVO)
private
FidInquilinounidade: Integer;
FidUnidade: Integer;
FidPessoa ... |
unit fmePKCS11_MgrKeyfile;
interface
uses
ActnList, Classes, Controls, Dialogs, Forms,
Graphics, Menus, Messages, fmePKCS11_MgrBase,
PKCS11Lib, pkcs11_session,
lcDialogs, StdCtrls,
SysUtils, Variants, Windows, SDUDialogs;
type
TfmePKCS11_MgrKeyfile = class (TfmePKCS11Mgr)
Label1: TLa... |
unit LogHelper;
interface
// Writes a log message to file
procedure WriteLogFile(logFilePath, logMessage: String);
// Writes a log message to file generating one file a day
procedure WriteLogFileByDay(directoryPath, logFilePrefix, logMessage : String);
implementation
uses FileSystemHelper, SysUtils;
procedure Wri... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit FormRepairAssistant;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, xmldom, XMLIntf, msxmldom, XMLDoc, ActiveX, ExtCtrls,
Internet, AutoUpdater;
type
TFrmRepairAssistant = class(TForm)
MmReport: TMemo;
Label1: TLabel;... |
{-------------------------------------------------------------------------------
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/.
--------------------------------------... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Frame combining a TrackBar and an Edit.
}
unit FRTrackBarEdit;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Graphics,
FMX.Control... |
unit ibSHSQLMonitor;
interface
uses
SysUtils, Classes, StrUtils,
SHDesignIntf,
ibSHDesignIntf, ibSHDriverIntf, ibSHTool;
type
TibSHSQLMonitor = class(TibBTTool, IibSHSQLMonitor)
private
FActive: Boolean;
FPrepare: Boolean;
FExecute: Boolean;
FFetch: Boolean;
FConnect: Bo... |
UNIT Automat;
{$STATIC ON}
INTERFACE
USES fgl;
TYPE
TZustand = CLASS
PRIVATE
name : String;
PUBLIC
CONSTRUCTOR Create(_name : String);
DESTRUCTOR Dispose();
FUNCTION GetName() : String;
END;
{TZustand = CLASS
PRIVATE
next: TFPGMap<char,TZustand>; {TFPGMap --> Dicitonary --> generisches Array}... |
namespace com.example.android.livecubes.cube2;
{*
* Copyright (C) 2007 The Android Open Source Project
*
* 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/... |
unit UUnidadeVO;
Interface
uses Atributos, Classes, Constantes, Generics.Collections, SysUtils, UGenericVO,UCnaeVO, UCondominioVO, UProprietarioUnidadeVO;
type
[TEntity]
[TTable('unidade')]
TUnidadeVO = class(TGenericVO)
private
Fidunidade: Integer;
Fvlgasinicial: currency;
Fvlareatotal: currency... |
unit main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Menus, StdCtrls, Buttons, ScktComp, ExtCtrls, ComCtrls, Shellapi;
type
TForm1 = class(TForm)
ServerSocket: TServerSocket;
ClientSocket: TClientSocket;
Memo2: TMemo;
StatusBar1: TStat... |
{..............................................................................}
{ Summary Demo the use of the library iterator. }
{ Displays the number of child objects for each footprint found in a }
{ PCB library ... |
unit Interfaces.Box.Goal;
interface
uses
System.Classes,
System.Types,
Vcl.ExtCtrls;
type
IBoxGoal = Interface(IInterface)
['{2D0FD04F-D399-40D1-ACF4-86B24EB2230A}']
function Position(const Value: TPoint): IBoxGoal; overload;
function Position: TPoint; overload;
function Owner(const Value: TGri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.