text stringlengths 14 6.51M |
|---|
unit NumTree;
interface
uses
SysUtils, Classes, ShareSys, ShareWin;
type
TNumberNode=Integer;
TNumberTree=class;
TNumberGroup=class;
TCheckState=(csUnchecked,csChecked,csGrayed);
TNumNodeDealMethod=procedure (NumNode:TNumberNode;NumGroup,ChildGroup:TNumberGroup;Param:Integer) of object;
TN... |
unit SimMEPCSC;
{ ============================================================
WinWCP - SimmEPSC.pas
Miniature excitatory postsynaptic current simulation
(c) J. Dempster, University of Strathclyde 1999
============================================================
12/9/99 }
interface
uses
... |
unit DeleteFormMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, JvExControls, JvComponent, JvxCheckListBox, DB, adsdata,
adsfunc, adstable, adscnnct, CheckLst, JvExCheckLst, JvCheckListBox;
type
TDeleteType = (dtLayout, dtTab);
TInteger = c... |
unit ProcDeclaration;
interface
uses
Classes, Types, CodeElement, DataType, VarDeclaration, Generics.Collections, WriterIntf;
type
TArguments = array of TVarDeclaration;
TProcDeclaration = class(TCodeElement)
private
FResultType: TDataType;
FParameters: TObjectList<TCodeElement>;
F... |
{------------------------------------
功能说明:模块信息接口
创建日期:2010/05/12
作者:wzw
版权:wzw
-------------------------------------}
unit ModuleInfoIntf;
{$weakpackageunit on}
interface
type
TModuleInfo = record
PackageName: string;
Description: string;
end;
IModuleInfoGetter = interface
['{BA827AC8-B432-... |
unit uBWAddresses;
interface
type
TOffsets = packed record
InReplay: Cardinal; // Byte -- Need to use this with InGame to determine
InGame: Cardinal; // Byte
DebriefingRoom: Cardinal; // Byte, = 1 if they're currently viewing the 'scores room' after the game
MapFilePath: Cardinal; // string
Save... |
unit gmDBNavigator;
interface
uses cxDBNavigator, cxNavigator, DB, System.Classes;
type
TgmDBNavigatorEvent = procedure(ANavigator: TcxCustomDBNavigator; ADataLink: TDataLink) of object;
TgmDBNavigatorButtons = class(TcxDBNavigatorButtons)
protected
function GetButtonEnabled(ADefaultIndex: Integer): Bool... |
unit Marvin.Desktop.GUI.Cadastro.Base;
interface
uses
{ marvin }
Marvin.Desktop.Repositorio.AulaMulticamada,
{ embarcadero }
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
System.Actions,
{ firemonkey }
FMX.DialogService.Async,
FMX.Types,
FMX.Graphics,
FMX.... |
unit TitleButton;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type TChangedProperty=(cpdown,cpallowallup,cpgroupindex);
type
TTitleButton = class(Tcomponent)
private
fbuttonrect:trect;
fpressed,ffocused:boolean;
fbuttoncaption:string;
... |
object ProgressDialog: TProgressDialog
Left = 0
Top = 0
BorderIcons = []
BorderStyle = bsToolWindow
Caption = 'Progress...'
ClientHeight = 116
ClientWidth = 364
Color = clActiveBorder
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
F... |
unit PASVirtualDBScrollUtilities;
{
VirtualDBScroll Package
The MIT License (MIT)
Copyright (c) 2014 Jack D Linke
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 restriction,... |
unit Modelo.Bomba;
interface
type
TBomba = class
private
FCodigo : Integer;
FDescricao : string;
public
property Codigo : Integer read FCodigo write FCodigo;
property Descricao : string read FDescricao write FDescricao;
end;
implementation
end.
|
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [VIEW_SPED_NFE_DETALHE]
The MIT Licen... |
unit StratClientThemesForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, ExtCtrls, Theme, ToolWin;
type
TfrmThemes = class(TForm)
pnlButtons: TPanel;
btnOk: TButton;
btnCancel: TButton;
gbxTheme: TGroupBox;
lwTheme: T... |
unit TextEditor.CodeFolding.Colors;
interface
uses
System.Classes, Vcl.Graphics, TextEditor.Consts, TextEditor.Types;
type
TTextEditorCodeFoldingColors = class(TPersistent)
strict private
FActiveLineBackground: TColor;
FActiveLineBackgroundUnfocused: TColor;
FBackground: TColor;
FCollapsedLine:... |
program usingConstructorsAndDestructors;
{$mode objfpc}
{$m+}
type
Books = class
private
title: string;
price: real;
public
constructor Create(t: string; p: real); { default }
procedure setTitle(t: string); { setter }
function getTitle(): string; { getter }
procedure setPrice(p: rea... |
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Creation: Apr 27, 2003
Description:
Version: 1.00
EMail: francois.piette@overbyte.be francois.piette@rtfm.be
http://www.overbyte.be
Support: Unsupported code.
Legal ... |
unit ClientType;
interface
uses BaseObjects;
type
TClientType = class(TIDObject)
end;
TClientTypes = class(TIDObjects)
private
function GetItems(Index: integer): TClientType;
public
property Items[Index: integer]: TClientType read GetItems;
constructor Create; override;
end;
implementatio... |
(************************************* Ext2D Engine *************************************)
(* Модуль : E2DMain.pas *)
(* Автор : Есин Владимир *)
(* Создан : 21.10.06 ... |
Unit StrFun ;
interface
Uses
SysUtils, Windows, Math ;
type
PFuCurrency = ^TFuCurrency;
TFuCurrency = record
sDateSeparator : Char;
sTimeSeparator : Char;
sThousandSeparator : Char;
sDecimalSeparator :... |
unit UStack;
{$mode objfpc}{$H+}{$J-}
interface
uses
Classes, SysUtils;
type
PElement = ^TElement;
PPElement = ^PElement;
TElement = record
Next: PElement;
Data: Pointer;
end;
TPrintStackItem = procedure(Item: Pointer);
function CreateStack(Stack: PPElement): Boolean;
function DeleteStac... |
unit CodeWriter;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ComCtrls,CodeCache, GraphComponents;
function GetDeviceRandomCaption(AName: string): string;
function GetDeviceRandomName(AName: string): string;
function GetDeviceQty: Cardinal;
function InsertDevice(Device: TDevice; var Block: TBlock): Boole... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects,
FMX.Edit, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Layouts, FMX.TabControl,
FMX.ListBox, Data.Bind.Controls, Fmx.Bind.Navig... |
unit UPluginSample;
{
Sample Plugin for ApSIC Xbench. Version 1.00
(c) 2015 ApSIC, SL
As an example, we'll build a simple plugin to demonstrate how plugins
work in ApSIC Xbench.
Code is written for clarity even if not optimal (at all).
}
interface
uses
Winapi.Windows,
System.SysUtils;
type
TQASegmen... |
{******
单 元:uLunar.pas
作 者:刘景威
日 期:2008-11-29
说 明:农历日期转阳历日期;摘自lssCalendar控件
更 新:
******}
unit uLunar;
interface
uses
Controls, SysUtils, DateUtils;
function ToGreg(ADate: TDate): TDate;
implementation
const
lunarIn... |
unit fFornecedor;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, AdvEdit, AdvEdBtn, AdvCombo, Lucombo,
frEditPessoa, ComCtrls, ActnList,
uEditController,
Entidades.Cadastro
;
type
TfmFornecedor = class(TForm)
PageControl1: TPag... |
unit uMarkdown;
interface
uses Generics.Collections;
type
IMarkDownRule = interface
function Parse(input : string) : string;
end;
TParagraphMarkDown = class(TInterfacedObject,IMarkDownRule)
public
function Parse(input : string) : string;
end;
TItalicMarkDown = class(TInterfacedObject, IMarkDow... |
unit CreateFunction;
interface
uses
System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CreateObjectDialog, MemDS,
DBAccess, Ora, Vcl.Buttons, Vcl.DBCtrls, Vcl.StdCtrls, BCDialogs.Dlg, BCControls.ComboBox, BCControls.Edit,
Vcl.ImgList, SynEditHighlighter, SynHighlighterSQ... |
/// <summary>
/// 曲风编辑浏览窗体
/// </summary>
unit View.Genres;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.DBGrids,
Vcl.StdCtrls, Data.DB, Vcl.ExtCtrls, Vcl.DBCtrls,
Aurelius.Bind.Dataset, A... |
unit qplugins_formsvc;
interface
{$I 'qdac.inc'}
uses classes, sysutils, types, qstring, qplugins,qplugins_base,
qplugins_params{$IF RTLVERSION<23}, controls, forms{$ELSE}, uitypes{$IFEND};
{$HPPEMIT '#pragma link "qplugins_formsvc"'}
type
// 本单元只支持 Delphi/C++ Builder
IQFormService = interface;
/// <summar... |
{*******************************************************************************
Title: T2Ti ERP
Description: Controller do lado Cliente relacionado à tabela [NFE_CABECALHO]
The MIT License
Copyright: Copyright (C) 2014 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaini... |
unit UxlWindow;
interface
uses SysUtils, windows, messages, UxlWinControl, UxlClasses, UxlFunctions, UxlList, UxlStrUtils;
type
TWindowStruct = record
Caption: WideString;
Icon: cardinal;
x, y, clwidth, clheight: integer;
MinBox, MaxBox, Sizable: boolean;
end;
TxlWindo... |
unit ParseClass;
interface
uses OObjects, SysUtils;
const
MaxArg = 6;
const
Nan: Double = 0/0;
function isNan(const d:double):boolean;
type
TVarType = (vtDouble, vtBoolean, vtString, vtLeftBracket, vtRightBracket,
vtComma);
PDouble = ^Double;
EParserException = class(Exception);
PExpressionRec = ^TExp... |
{
IndySOAP: Namespace support for XML reading / writing
This is a workaround for missing namespace support in OpenXML
}
Unit IdSoapNamespaces;
{$I IdSoapDefines.inc}
Interface
Uses
Classes,
IdSoapDebug,
{$IFDEF UNICODE}
Xml.Xmldom,
{$ELSE}
IdSoapOpenXML,
{$ENDIF}
IdSoapXML;
Type
TNMToken = Strin... |
unit MensFun ;
interface
uses SysUtils, Forms, StdCtrls, Classes, Controls, ExtCtrls, Graphics,
rsFlyovr;
type
TscrErro = class(TForm)
PanMens: TPanel;
ImaFundo: TImage;
LabMens: TLabel;
Button1: TButton;
Button2: TButton;
Panel1: TPanel;
LabTipoMens: TLabel;
ImaTitulo: TImage;
... |
unit LogView;
interface
uses
System.Classes, Vcl.Controls, Vcl.Forms,
Vcl.ComCtrls, FormsControllerInterface, LoggerInterface;
type
TLogViewFrm = class(TForm,
IShowMdiForm,
IFormToFront,
IFormProps,
IFormOnDestroyEvent)
PageCon... |
unit dxServerModeAureliusDataSource;
interface
uses
SysUtils, Classes, DB, dxServerModeData, gmAureliusDataset,
Aurelius.Engine.ObjectManager,
dxServerModeClasses;
type
TAureliusConnection = class(TCustomConnection);
{ TdxServerModeDataSourceAureliusHelper }
TdxServerModeDataSourceAureliusHelper = cla... |
{*******************************************************}
{ }
{ HCView V1.1 作者:荆通 }
{ }
{ 本代码遵循BSD协议,你可以加入QQ群 649023932 }
{ 来获取更多的技术交流 2018-5-4 ... |
unit uRijndael;
// Helper functions for 256-bit Rijndael/AES encryption with DCPcrypt
interface
uses
StdCtrls;
function RijndaelEncryptHex(hexstrKey, hexstrIV, hexstrPlain: string;
MMo: TMemo = nil): string;
function RijndaelDecryptHex(hexstrKey, hexstrIV, hexstrCypher: string;
MMo: TMemo = nil): string;
// In... |
unit EushullyAGF;
interface
uses
Classes, SysUtils, Windows, EushullyFile, EushullyFS, lzss;
const
AGF_SIGN = 'ACGF';
ACIF_SIGN = 'ACIF';
AGF_TYPE_24BIT = 1;
AGF_TYPE_32BIT = 2;
type
TAGFHeader = record
sign: array [0 .. 3] of AnsiChar;
type_: UInt32;
unknown: UInt32;
end... |
unit NovusNumUtils;
interface
uses Windows, sysutils, Forms, NovusUtilities;
Type
TNovusNumUtils = class(TNovusUtilities)
protected
public
class function HexToInt64(HexStr: String): Int64;
class function Int64ToBin(IValue : Int64; NumBits : word = 64) : string;
class function BinTo... |
unit f2hDsgnt;
{*******************************************************}
{ }
{ Form to HTML converter "F2H" }
{ Interface to Delphi IDE }
{ }
{ ... |
{*******************************************************}
{ }
{ CodeGear Delphi Visual Component Library }
{ }
{ Copyright (c) 1995-2008 CodeGear }
{ ... |
unit LuaForm;
{$mode delphi}
interface
uses
Classes, lua, betterControls;
procedure initializeLuaForm;
procedure customForm_addMetaData(L: PLua_state; metatable: integer; userdata: integer );
implementation
uses
{$ifdef windows}
jwawindows, windows,
{$endif}
{$ifdef darwin}
mact... |
unit BOMParser;
{$mode objfpc}{$H+}
{ This is a very simple CSV parser. I know there is CSVDocument, but I just }
{ wanted a simple implementation that is more customized and easier to use in }
{ this project. }
interface
uses
Classes, SysUtils;
type
... |
unit Aurelius.Schema.AbstractImporter;
{$I Aurelius.inc}
interface
uses
Aurelius.Drivers.Interfaces,
Aurelius.Schema.Interfaces,
Aurelius.Sql.Metadata;
type
TRetrieveStepCallback<T: class> = reference to procedure(Item: T; ResultSet: IDBResultSet);
TSchemaRetriever = class(TInterfacedObject... |
unit uNucleotideCountTest;
interface
uses
DUnitX.TestFramework, System.Generics.Collections;
type
[TestFixture('count all nucleotides in a strand')]
NucleoTideCountTest = class(TObject)
public
[Test]
procedure Validate_CompareDictionaries;
[Test]
// [Ignore('Comment the "[Ignore]" statement to ... |
unit rcTracking;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, rcObject, rcArrayManager, rcIssueStatus, rcRedmineUser, rcUserRole;
type
{ TTracking }
TTracking = class(TObject)
private
Roles1: TRcArrayManager;
Statuses1: TRcArrayManager;
Users1: TRcArrayManager;
Active1: array of a... |
unit InfraMVPIntf;
interface
uses
Classes,
InfraCommonIntf,
InfraValueTypeIntf;
type
IPresenter = interface;
IRenderer = interface;
IView = interface;
// selection
ISelection = interface(IInfraList)
['{7AA23E2F-B768-4E6B-BC23-8A0E3AD1002C}']
function GetMultiSelect: boolea... |
unit Data.Repositories.UsersRepository;
interface
uses
Data.Repositories.Repository,
Data.Repositories.IUsersRepository,
Data.Entities.User;
type
TUsersRepository = class sealed (TRepository<TUser, Integer>, IUsersRepository)
public
function GetByLogin(loginName: string): TUser;
end;
... |
unit PluginAPI;
{$IF CompilerVersion >= 21.0}
{$WEAKLINKRTTI ON}
{$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])}
{$IFEND}
interface
uses
//{$IFDEF DELPHI7_LVL}
{$IFDEF DELPHIXE3_LVL}
Winapi.Windows,
Winapi.ActiveX;
{$ELSE}
Windows,
ActiveX;
{$ENDIF }
{$IFDEF VER150}
{$ELSE}
{$ENDIF } //... |
// Linked list operations demo
program List;
type
PPerson = ^TPerson;
TPerson = record
Next: PPerson;
Name, Surname: string;
Born: SmallInt;
end;
var
Head, Node, NewNode: PPerson;
ch: Char;
begin
WriteLn;
WriteLn('Linked list operations demo');
WriteLn;
New(Node);
Head := Node;
// Fi... |
// System library
const
pi = 3.1415927;
SEEKSTART = 0;
SEEKCUR = 1;
SEEKEND = 2;
type
LongInt = Integer;
Single = Real;
PChar = ^Char;
TStream = record
Data: PChar;
Index: Integer;
end;
PStream = ^TStream;
TRegisters = record
AX, BX, CX, DX, DS, Flags: ... |
unit stack_utils;
interface
uses
stdio,
global;
function CreateStack(Capacity: UInt32): TStackPtr;
procedure push(stack: TStackPtr; item: Integer);
function pop(stack: TStackPtr): Integer;
implementation
// Stack is full when top is equal to the last index
function isFull(stack: TStackPtr): Boolean;
begin
Res... |
unit Produto;
interface
type
TProduto = class
private
fCodigo : String; // Código do produto.
fDescricao : String; // Descrição do produto.
fFornecedor : String; // Nome do fornecedor do produto.
public
// Métodos SET.
procedure SetCodigo( pCodigo : String );
procedure SetDescricao(... |
unit Logger;
interface
uses IdTCPClient,IdComponent;
const
TCP_HOST_LOGGER = '127.0.0.1';
TCP_PORT_LOGGER = 9898;
type
TLogger = class
private
LogTCPClient: TIdTCPClient;
connected: boolean;
public
constructor Create(host: string; port: integer);
procedure Write(const AFormat: stri... |
(* @file UGameplayTypes.pas
* @author Willi Schinmeyer
* @date 2011-10-30
*
* Most types relevant to gameplay, except for TVector2i TTetrominoShape which have their own units to prevent cyclic dependencies.
*)
unit UGameplayTypes;
interface
uses UConstants, UVector2i, UTetrominoShape;
type
(* @brief A cell... |
unit serverwinshoefinger;
interface
////////////////////////////////////////////////////////////////////////////////
// Author: Ozz Nixon
// ..
// 5.13.99 Final Version
// 13-JAN-2000 MTL: Moved to new Palette Scheme (Winshoes Servers)
/////////////////////////////////////////////////////////////////////////... |
unit ImageEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PicFile, ExtCtrls, StdCtrls;
type
TImageEditForm = class(TForm)
LeftPanel: TPanel;
ClientPanel: TPanel;
XEdit: TEdit;
XLabel: TLabel;
YLabel: TLabel;
YEdit: TEdit;
OkBt... |
unit AsyncIO.Filesystem.Detail;
interface
uses
AsyncIO, AsyncIO.Detail, AsyncIO.Filesystem;
type
AsyncFileStreamImpl = class(AsyncHandleStreamImpl, AsyncFileStream)
private
FFilename: string;
public
constructor Create(const Service: IOService; const Filename: string;
const CreationDisposition: ... |
program uno;
const
corte = 'fin';
type
empleado = record
numero : integer;
nombre : String;
apellido : String;
edad : integer;
dni : String;
end;
archivoEmpleado = file of empleado;
procedure leerEmpleado (var unEmpleado : empleado);
begin
with unEmpleado do begin
writeln('Ingr... |
unit utSpltFm; {Utility code, introduction of splitter}
(*
Permission is hereby granted, on 11-May-2005, free of charge, to any person
obtaining a copy of this file (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribut... |
unit Model.TotalEntregas;
interface
type
TTotalEntregas = class
private
var
FAgente: Integer;
FEntregador: Integer;
FVolumes: Integer;
FEntregas: Integer;
FExtra: Double;
FAtraso: Integer;
FSLA: Double;
FTotalVerbaFranquia: Double;
FPFP: Integer;
... |
{ Routines that manipulate and use the command descriptor structure
* PICPRG_CMD_T.
}
module picprg_cmd;
define picprg_init_cmd;
define picprg_cmd_start;
define picprg_add_i8u;
define picprg_add_i16u;
define picprg_add_i24u;
define picprg_add_i32u;
define picprg_cmd_expect;
define picprg_send_cmd;
define picprg_wai... |
unit VisibleDSA.AlgoVisHelper;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
Graphics,
Forms,
DeepStar.Utils.UString,
BGRABitmap,
BGRABitmapTypes,
BGRACanvas2D;
const
CL_RED = $F4 or ($43 shl 8) or ($36 shl 16);
CL_PINK = $E9 or ($1E shl 8) or ($63 shl 16);
CL_PURPLE = $9C or (27 shl ... |
unit KAllObjectsListFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, CheckLst, BaseObjects, Buttons, ImgList,
ActnList, CoreDescription, Lithology, Registrator;
type
TfrmAllObjects = class(TFrame)
lstObjects: TCheckListBox;
... |
unit unitDBControls;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DBCtrls, Grids, DBGrids, DB, Mask, ADODB, ComCtrls,
ExtCtrls,ComObj, ActiveX, FlashPlayerControl;
type
TfrmDBControls = class(TForm)
Panel2: TPanel;
ALC_Con... |
{$include kode.inc}
unit kode_widget_graph;
//----------------------------------------------------------------------
interface
//----------------------------------------------------------------------
uses
kode_canvas,
kode_color,
kode_flags,
kode_list,
kode_module,
kode_rect,
kode_widget;
const
MODUL... |
unit UnitDesignBC;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, ADODB, StdCtrls, Grids, BaseGrid, AdvGrid, AdvCGrid, Buttons,
Spin, Mask, ExtCtrls, AdvSpin, AdvGroupBox, AdvPanel, AdvGlowButton,
AdvAppStyler, UnitMaster, clisted;
type
TfQuestionMat... |
unit CommonInstrumentsFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ToolWin, ComCtrls, StdCtrls, BaseObjects, BaseActions;
type
TInstrumentActions = class;
TExecutionState = (esPreExecute, esExecute);
TInstrumentAction = class(TBaseAction)
pri... |
unit PhotoGalleryPlugin;
interface
uses PluginManagerIntf, PluginIntf, DataModuleIntf,
ControlPanelElementIntf, Graphics;
type
TPhotoGalleryPlugin = class(TPlugin, IPlugin, IDataModule, IControlPanelElement)
private
FDataPath: String;
FDescription: String;
FDisplayName: string;
FBi... |
program PrintReversedLongInts;
type
LongItemPtr = ^LongItem;
LongItem = record
data: longint;
next: LongItemPtr;
end;
StackOfLongints = LongItemPtr;
procedure SOLInit(var stack : StackOfLongints);
begin
stack := nil
end;
procedure SOLPush(var stack: StackOfLongints; n: longint);
var
cur: LongItemPtr;
begin
... |
unit CustomLogWriter;
interface
uses
Classes,
CustomLogMessage;
type
TCustomLogWriter = class
public
procedure Write(const aMessage: TCustomLogMessage); virtual; abstract;
end;
implementation
end.
|
(*
* Copyright (c) 2009-2010, Ciobanu Alexandru
* 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 l... |
unit HotelsImageForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, cxLookAndFeelPainters, StdCtrls, cxButtons, ActnList,
cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit, cxMemo, TB2Dock,
TB2Toolbar, ExtDlgs;
type
TImageForm = ... |
Unit AdvStringHashes;
{
Copyright (c) 2001-2013, Kestral Computing Pty Ltd (http://www.kestral.com.au)
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... |
{
this file is part of Ares
Aresgalaxy ( http://aresgalaxy.sourceforge.net )
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later v... |
unit Visao.CadastroProduto;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Visao.FormPadrao, Vcl.StdCtrls, Vcl.ExtCtrls, Controle.CadastroProduto;
type
TFrmCadastroProduto = class(TFrmPadrao)
cbTipoComb... |
unit dbebr.connection.base;
interface
uses
DB,
Classes,
dbebr.factory.interfaces;
type
{$IF CompilerVersion > 23}
[ComponentPlatformsAttribute(pidWin32 or
pidWin64 or
pidOSX32 or
pidiOSSimulator or
... |
unit uNewEntryFrame;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, FMX.Objects, FMX.Layouts, FMX.Effects,
FMX.Filter.Effects, System.Actions, FMX.ActnList,... |
unit ImageToTilesEngine;
{$IFDEF FPC}
{$MODE Delphi}
{$POINTERMATH ON}
{$ENDIF}
interface
uses
{$IFNDEF FPC}
SysUtils, Classes, Graphics, ImageToTilesTypes;
{$ELSE}
SysUtils, Classes, GraphType, Graphics, ImageToTilesTypes;
{$ENDIF}
type
TImageToTilesProgress = class
procedure InitProgress(AMax: Integer); vi... |
unit frmCadCliente;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.StdCtrls, Vcl.DBCtrls,
Vcl.Mask, Vcl.Grids, Vcl.DBGrids, Vcl.ComCtrls, Vcl.Buttons, Vcl.ExtCtrls;
type
TForm1 = class(TForm)
... |
{$mode objfpc}
{$coperators on}
uses GSet,windows;
const
fi='TMH.INP';
fo='TMH.OUT';
nFood=21; //co 21 mon an
LimCost=24000; //suat com 24k, vi 1k mua com
MinCalo=500;
MaxCalo=600;
procedure fileio;
begin
assign(input,fi); reset(input);
ass... |
// ----------------------------------------------------------------------------
// Unit : PxSerialPort.pas - a part of PxLib
// Author : Matthias Hryniszak
// Date : 2005-05-05
// Version : 1.0
// Description : Object oriented serial port communication implementation.
// Changes log : 2005-... |
unit DebuggerInterfaceAPIWrapper;
{
This unit hold the DebuggerInterface currently used, and overrides the default windows debug api's so they make use of the DebuggerInterface's version
}
{$mode delphi}
interface
uses
Classes, SysUtils, {$ifdef windows}windows,{$endif} debuggerinterface, newkernelhandle... |
unit xe_system;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes,
System.Win.Registry, Vcl.Controls, Vcl.Dialogs, System.Math;
type
SystemInfoRecord = record
VolumeName, // 디스크 볼륨명
VolumeSerial, // 디스크 시리얼번호
FileSystemName, // 파일구조
Drives: shortstring; // 디스크명들
... |
unit Aurelius.Drivers.AbsoluteDB;
{$I Aurelius.Inc}
interface
uses
Classes, SysUtils, DB, Variants, Generics.Collections,
ABSMain,
Aurelius.Drivers.Base,
Aurelius.Drivers.Interfaces,
Aurelius.Global.Utils;
type
TAbsoluteSResultSetAdapter = class(TDriverResultSetAdapter<TABSQuery>)
end;
... |
Unit Windows;
INTERFACE
Const
MAX_PATH=260; { Tire du fichier d'entte ®WINDEF.H¯ }
Const
{ Transcription du fichier C/C++ ®WINNT.H¯ en Pascal
(seulement les lments requis pour les appels API }
{ A partir de la ligne 490 }
MINCHAR=$80;
MAXCHAR=127;
MINSHORT=$8000;
MAXSHORT=32767;
MINLONG=$80000000;
M... |
unit LicenseZoneReports;
interface
uses SDReport, Classes, RRManagerObjects, CommonReport, Version, Contnrs;
type
TLicenseZoneBlankReport = class(TSDSQLCollectionReport)
private
function GetOldLicenseZone: TOldLicenseZone;
protected
procedure InternalOpenTemplate; override;
procedure PreProcessQ... |
(*
@abstract(Prise en charge des Images au format "Portable pixmap")
Spécifications : @br
@unorderedList(
@item(Méthode de compression : Aucune)
@item(Nombre de couleurs : 1, 8 bits format RGB, 24 bits, RGBA 32 bits)
@item(Supporte plusieurs images : Non, une seule image dans un même fichie... |
unit Clipper;
(*******************************************************************************
* Author : Angus Johnson *
* Version : 10.0 (beta) *
* Date : 11 Noveber 2017 ... |
{*******************************************************************************
Title: T2Ti ERP Fenix
Description: Model relacionado à tabela [PRODUTO]
The MIT License ... |
unit config_lib;
{$IF ((FPC_VERSION >= 2) and (FPC_RELEASE >= 5) and (FPC_PATCH >= 1))}
{$DEFINE LSNEWFPC}
{$ENDIF}
{$DEFINE LSNEWFPC} // force bypass
{$mode objfpc}{$H+}
interface
uses
fpcgi, jsonConf, fpjson, jsonparser, variants,
{$IFDEF LSNEWFPC}
{$ELSE}
jsonscanner,
{$ENDIF}
Classes, SysUtils;
c... |
{
* Copyright 2008 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
unit render;
interface
uses
SDL;
const
SCREEN_WIDTH:Integer = 400;
SCREEN_HEIGHT:Integer = 400;
type
TDisplayObject = class
public
procedure Update(DeltaTime: Integer); virtual;
procedure Render(Surface: PSDL_SURFACE); virtual;
end;
TDisplayObjectContainer = class (TDisplayObject)
private
Childr... |
{
Style HTML
---------------
Delphi port by Mihail Slobodyanuk, <slobodyanukma@gmail.com>
Written by Nochum Sossonko, (nsossonko@hotmail.com)
Based on code initially developed by: Einar Lielmanis, <elfz@laacz.lv>
http://jsbeautifier.org
You are free to use this in any way you want, in case you find thi... |
unit TablePropertyFrm;
interface
uses
Forms, MSHTML, cxLookAndFeelPainters, Classes, Controls, StdCtrls, cxButtons,
ExtCtrls, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit,
cxSpinEdit, cxDropDownEdit, cxCheckBox;
type
{ TTablePropertyForm }
TTablePropertyForm = class(TForm)
OK: Tc... |
(* $Id: udf_float.pas 1928 2009-01-31 13:18:03Z Smike $
*
* MDS User Define Functions
*
* Copyright (c) 2006 Roman Yaroshenko (roma.yaroshenko@gmail.com)
* and all contributors signed below.
*
* All Rights Reserved.
* Contributor(s): Dmitriy Kovalenko (runningmaster@gmail.com)
*
*)
unit udf_float;
interface
uses
... |
unit Frames.CreateGame;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, FMX.Edit, FMX.ListBox, FMX.EditBox, FMX.SpinBox
, DataModel, System.Actions, FMX.ActnList... |
unit scoreboard;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, guiobject, gamepanel, controls, graphics, gl,glu,GLext,
guitextobject, types, dialogs, globals;
type
TScoreBoard=class(TGuiObject)
private
instances: integer; static;
ftexture: integer; static;
fscore: intege... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.