text stringlengths 14 6.51M |
|---|
unit RoutineMapping;
interface
uses
Classes, Types, SysUtils, Generics.Collections, VarMapping;
type
TParameter = class
private
FName: string;
FTypeName: string;
FAccess: string;
public
property Name: string read FName write FName;
property TypeName: string read FTypeName w... |
unit DAO.ExtraviosMultas;
interface
uses DAO.Base, Model.ExtraviosMultas, Generics.Collections, System.Classes;
type
TExtraviosMultasDAO = class(TDAO)
public
function Insert(aExtravios: TExtraviosMultas): Boolean;
function Update(aExtravios: TExtraviosMultas): Boolean;
function Delete(iID:... |
unit Notepad_ws;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, Tabs, StdCtrls, Menus;
type
TNotepad = class(TForm)
ts1: TTabSet;
nb1: TNotebook;
lblHeight: TLabel;
lblWidth: TLabel;
lblHeightValue: TLabel;
lblWidthValue: TLa... |
unit _CRC32;
/////////////////////////////////////////////////////////////////////
//
// Hi-Files Version 2
// Copyright (c) 1997-2004 Dmitry Liman [2:461/79]
//
// http://hi-files.narod.ru
//
/////////////////////////////////////////////////////////////////////
{$IFDEF Win32}
{$DEFINE USE_FILE_MAPPING}... |
(*
Copyright (c) 2016 Darian Miller
All rights reserved.
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, including without limitation the rights to use, copy, modify, merge, p... |
unit uRTTIDemo;
interface
procedure GatherAndDisplayRTTI;
implementation
uses
RTTI
, uRTTIDemoClass
, System.TypInfo
;
procedure GatherAndDisplayRTTI;
var
Context: TRTTIContext;
TempType: TRttiType;
TempField: TRttiField;
TempMethod: TRttiMethod;
TempParam: TRttiParameter;
TempPropert... |
unit Tar;
interface
type
HCkTask = Pointer;
HCkByteData = Pointer;
HCkTar = Pointer;
HCkString = Pointer;
function CkTar_Create: HCkTar; stdcall;
procedure CkTar_Dispose(handle: HCkTar); stdcall;
function CkTar_getCaptureXmlListing(objHandle: HCkTar): wordbool; stdcall;
procedure CkTar_putCaptureXmlListing(objHan... |
{A+,B-,E+,F-,G-,I-,N-,O-,R-,S+,V-,X+}
Unit ASYNC;
INTERFACE
Uses opcrt,DOS,Timer;
{-----------------------------------------------------------------------------}
{Note: A complete description of all variables and constants can be found in}
{the documentation accompanying ASYNC.}
Const
C_Version = ... |
unit RTF_PrintPreview;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, RXSpin,
RT_Print, Mask;
type
TFrmPrintPreview = class(TForm)
ScbPreview: TScrollBox;
PnlControls: TPanel;
EdtPageNumber: TRxSpinEdit;
GbxMargins: T... |
{
MainForm Capturing and Processing Application
Author: Bogdan Razvan Adrian
The application itself can be used under Lazarus modified LGPL or MPL
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A... |
unit ReCaptcha;
interface
uses
BaseCaptcha, System.SysUtils, IdMultipartFormData;
type
TReCaptcha = class(TBaseCaptcha)
private
FVersion: string;
FGoogleKey: string;
FPageURL: string;
FInvisible: Boolean;
FAction: string;
FMinScore: Double;
public
constructor Create(const AGoogleK... |
Unit unit_Evaluator;
Interface
Uses
SysUtils;
{$MODE DELPHI}
Type
{..............................................................................}
TExpressionEvaluationException = Class(Exception);
TExpressionEvaluator = Class
private
FLook: Char;
FBuffer: String;
FErrorMsg: Stri... |
unit TeraWMSAggregationManagerConfig;
interface
uses xmldom, XMLDoc, XMLIntf;
type
{ Forward Decls }
IXMLXmlType = interface;
IXMLServersType = interface;
IXMLWMSCascadeType = interface;
IXMLREPViewerType = interface;
IXMLTemplatesType = interface;
{ IXMLXmlType }
IXMLXmlType = interface(IXMLNode)
... |
unit RRManagerAddStructureWellForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
CommonComplexList, ExtCtrls, StdCtrls, ComCtrls,
RRManagerBaseGUI, RRManagerBaseObjects, RRManagerObjects, RRManagerDataPosters,
RRManagerPersistentObjects, RRManagerLoaderCommands;
ty... |
unit GRRImportingDataInterpreter;
interface
uses BaseObjects, SysUtils;
type
TDataInterpreter = class
public
function ReadInteger(const AIn: string; out AOut: integer): Boolean;
function ReadFloat(const AIn: string; out AOut: Single): Boolean;
function ReadDate(const AIn: string; out AOut: TDateTime... |
/// <summary>
/// Provides interfaces for working with the projects and logentries tables
/// of our database. NOTE:!! The IProjectData and ILogData interfaces and
/// their respective implementations are sufficiently similar that it may
/// make sense to use Generics instead of individual interfaces /
/// implementati... |
unit VisibleDSA.AlgoVisualizer;
interface
uses
System.Classes,
System.SysUtils,
System.Types,
System.Math,
FMX.Graphics,
FMX.Forms,
VisibleDSA.AlgoVisHelper,
VisibleDSA.FractalData;
type
TAlgoVisualizer = class(TObject)
private
_data: TFractalData;
_times: integer;
_isForward: boolea... |
{******************************************************************************}
{ }
{ Neon: Serialization Library for Delphi }
{ Copyright (c) 2018-2019 Paolo Rossi ... |
unit CBSDBFilters;
interface
uses Classes, Windows, Controls, SysUtils, DBGrids, adsdata, adsfunc, adstable, DB, DBCtrls;
type
TCustomCBSDBGrid = class(TDBGrid)
private
FFilterStatement: TStringList;
// /// <summary>Contains original datasource and key field </summary>
FLinkedDataLink: TFieldDataLink;
/// <su... |
unit RRManagerBasketFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, RRManagerBaseGUI, RRManagerObjects, RRManagerBaseObjects, Contnrs,
StdCtrls, ComCtrls, ExtCtrls, ToolWin, ImgList, RRManagerReport, BaseObjects;
{$DEFINE LIC}
//{$DEFINE STRUCT}
typ... |
{*******************************************************************************
作者: dmzn@163.com 2009-10-31
描述: 通信协议
*******************************************************************************}
unit UProtocol;
interface
const
cHead_DataSend = $4842; //数据发送
cHead_DataRecv ... |
unit fmGrids;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles,
dxSkinsCore, dxSkinBlack, dxSkinscxPCPainter,... |
unit UFormBackupItemApply;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls, siComp, UMainForm;
type
TfrmBackupItemsApply = class(TForm)
LvBackupItem: TListView;
Panel1: TPanel;
Panel2: TPanel;
btnSelectAll: TButton;... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
unit UParametros;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UBasePesquisaSimples, Vcl.ExtCtrls,
Vcl.StdCtrls, Vcl.Buttons, Vcl.ComCtrls, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Para... |
program Exercicio_5;
const numero_notas = 2;
var
nota : array[1..numero_notas] of integer;
i : integer;
valor_media : real;
function Media(const n_notas : integer) : real;
var media_corrente : integer = 0;
begin
for i := 1 to n_notas do
begin
media_corrente += nota[i];
end;
Media :... |
unit UFormView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, UClassView, Menus, ActnList,
PlatformDefaultStyleActnCtrls, ActnMan, ExtCtrls, Buttons;
const
C_FILE = 'E:\Delphi7\LogMonitor\data\access1.log';
type
TfrmView = class(TForm)
Me... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, Math, StdCtrls, Buttons, Registry, ComCtrls;
type
TForm1 = class(TForm)
PanelBas: TPanel;
Shape: TShape;
lTime: TStaticText;
Timer: TTimer;
TimerGagne: TTimer;
b... |
uses Classes;
type
TDirName = Pstring;
PStringList = ^TStringList;
PDirTree = ^TDirTree;
TDirTree = record
name: TDirName;
filelist: TStringList;
nextdir: PDirTree;
firstsubdir: PDirTree;
end;
var
stop : boolean;
infile: Text;
FUNCTION NewStr (Const S... |
unit UConstantes;
interface
Type
TTipoCliente = (tcPessoaFisica, tcPessoaJuridica);
TTipoOperacaoDao = (toBrowser, toIncluir, toEditar, toExcluir, toIncluido, toEditado, toExcluido);
TTipoLoja = TTipoCliente;
TTipoPedido = (tpOrcamento, tpPedido);
TDataHoraServer = record
Data : String;
... |
unit bullet;
{$mode objfpc}{$H+}
interface
uses
windows, Classes, SysUtils, gameobject, graphics, gl, glext, math, globals;
type
TBullet=class(TGameObject)
private
instances2: integer; static;
ftexture2: integer; static;
fowner: TGameObject;
fmegabomb: boolean;
protected
... |
unit Unit1;
{ ------------------------------------------------------------------------------
Record/Buffer Exchange Server Demo Indy 10.5.5
It just shows how to send/receive Record/Buffer.
No error handling. You need to adjust the function
ByteArrayToMyRecord to your record typ... |
unit bgragame;
{$mode objfpc}{$H+}
interface
uses
Classes, Graphics, LCLType, BGRABitmap, BGRABitmapTypes,
SysUtils, Forms, Controls;
const
L1 = VK_LEFT;
R1 = VK_RIGHT;
U1 = VK_UP;
D1 = VK_DOWN;
L2 = VK_A;
R2 = VK_D;
U2 = VK_W;
D2 = VK_S;
type
TGameKey = (gkLeft, gkUp, gk... |
{ Subroutine STRING_T_INT_MAX (S,VAL,STAT)
*
* Convert the string S to the integer VAL. VAL is the largest integer that we
* can represent with this machine/compiler. STAT is the completion status code.
}
module string_t_int_max;
define string_t_int_max;
%include 'string2.ins.pas';
procedure string_t_int_max (... |
unit LoggerImpl;
{#Author fmarakasov@ugtu.net}
interface
uses
Forms, Windows, CoreInterfaces, Classes, DateTimeCore, SysUtils, StdCtrls;
type
///
/// Класс журналирования без журналирования
///
TNullLogger = class (TInterfacedObject, ILogger)
protected
procedure LogMessage(const Message : String)... |
unit TextEditor.Consts;
interface
uses
Vcl.Graphics;
type
TTextEditorCharSet = set of AnsiChar;
const
TEXT_EDITOR_BOOKMARK_IMAGE_COUNT = 10;
TEXT_EDITOR_CLIPBOARD_MAX_RETRIES = 5;
TEXT_EDITOR_CLIPBOARD_DELAY_STEP_MS = 200;
TEXT_EDITOR_WHEEL_DIVISOR = 120;
TEXT_EDITOR_TOKEN_MAX_LENGTH = 128;
TEXT_EDI... |
unit Minerva.Treinamento.Principal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
System.Rtti,
Minerva.Treinamento.Etiqueta,
Minerva.Treinamento.Proxy.NotaFiscal,
Minerva.Treinamento.Impr... |
unit TNT_ParticleSystem;
interface
uses
TNT_Entity, TNT_Timer, TNT_Vector;
type
TParticleSystem = class;
TParticle = class
protected
System: TParticleSystem;
procedure Die;
public
Alive: Boolean;
constructor Create(Owner: TParticleSystem); virtual;
procedure Spawn; vir... |
{$include kode.inc}
unit kode_filter_hiir;
{
polyphase halfband
from muon dave ()
'specialized KFilter_halfBand, 12-order, steep
see _backup/kode_filter_halfband.pas
TODO: order 2-12, steep/soft slopes
optimizations:
12 allpass filters..
each with state and coefficients in a different class
lots of... |
///<summary>SQL query builder.</summary>
///<author>Primoz Gabrijelcic</author>
///<remarks><para>
///Copyright (c) 2016, Primoz Gabrijelcic
///All rights reserved.
///
///Redistribution and use in source and binary forms, with or without
///modification, are permitted provided that the following conditions are met:
//... |
unit PessoaContato;
interface
uses
MVCFramework.Serializer.Commons, ModelBase;
type
[MVCNameCase(ncLowerCase)]
TPessoaContato = class(TModelBase)
private
FID: Integer;
FID_PESSOA: Integer;
FNOME: String;
FEMAIL: String;
FOBSERVACAO: string;
public
procedure ValidarInsercao; overrid... |
{$i deltics.IO.text.inc}
unit Deltics.IO.Text.Utf8;
interface
uses
Deltics.StringTypes,
Deltics.IO.Text.TextReader,
Deltics.IO.Text.Interfaces,
Deltics.IO.Text.Types;
type
TUtf8Reader = class(TTextReader, IUtf8Reader)
// ITextReader
protected
function get_EOF: Boolean; ove... |
unit LblEdtTm;
interface
Uses SysUtils,StdCtrls,Classes,Buttons,Controls,ExtCtrls,Menus,
Messages,EditTime;
Type TLabelEditTime=class(TWinControl)
protected
BackUp:String;
procedure WriteCaption(s:string);
Function ReadCaption:String;
procedure EditOnKeyUp(Sender: TObject; v... |
unit Expedicao.Services.uRomaneioMock;
interface
uses
Generics.Collections,
Expedicao.Interfaces.uRomaneioPersistencia,
Expedicao.Models.uRomaneio;
type
TRomaneioMock = class (TInterfacedObject, IRomaneioPersistencia)
private
FListaRomaneio: TObjectList<TRomaneio>;
public
constructor Crea... |
unit HorseRaceMainForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls,
HorseRaceTrack,
HorsePlayerForm;
type
{ THorseRaceMainForm }
THorseRaceMainForm = class(TForm)
MemoPayoffs: TMemo;
ShowPayoffs: TButton;
MemoHorseOd... |
unit LuaBrush;
{$mode delphi}
interface
uses
Classes, SysUtils, Graphics,lua, lualib, lauxlib, LuaHandler;
procedure initializeLuaBrush;
implementation
uses LuaClass, LuaObject;
function Brush_getColor(L: PLua_State): integer; cdecl;
var
Brush: TBrush;
begin
Brush:=luaclass_getClassObjec... |
program prova;
uses minhaEstante;
{Objetivo permitir que o usuário insira arquivos para consultas posteriores ou apague-os
Data 6/12/2016
Nome:Felipe Schreiber Fernandes
DRE:116 206 990}
type
registro=record
title:string;{título}
autors:string;{autores}
plot:string;{descrição do conteúdo do arquivo}
... |
unit xe_ImportFile;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, cxLookAndFeelPainters, StdCtrls, cxButtons,
cxCheckBox, cxControls, cxContainer, cxEdit, cxTextEdit, ImgList, Grids,
BaseGrid, AdvGrid, AdvCGrid, cxGraphics, cxLookAndFeels, Vcl.ExtCtr... |
unit VisibleDSA.AlgoForm;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Platform.Win,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
VisibleDSA.AlgoVisHelper;
type
TAlgoForm = class(TForm)
procedure FormCreate(Sender:... |
unit frInformasi;
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.Layouts, System.Threading, FMX.Effects,
FMX.Objects, System.Actions, FMX.ActnList, FMX.St... |
unit Data.Repositories.IRepository;
interface
uses
Generics.Collections,
AOP.Aspects.Attributes;
type
IRepository<TEntity: class; TKey> = interface (IInvokable)
['{5A5BC4A3-BE45-453F-9B90-13FFD7CFCBDB}']
[Cursorize]
function GetAll(): TList<TEntity>;
function Get(Id: TKey): TEntity;
... |
{ *******************************************************************************
Title: T2TiPDV
Description: Formulário Base
The MIT License
Copyright: Copyright (C) 2015 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "S... |
unit QSimplePool;
interface
uses classes, types, sysutils, syncobjs;
{
更新日志
2015.8.7
=========
* 修改重置的默认行为,只有当做内存池使用时才默认清零(根据阿木反馈修改)
2015.7.23
=========
* 修正了匿名函数版本赋值错误访问无效指针的问题(勇哥报告)
}
type
{$HPPEMIT '#pragma link "qsimplepool"'}
TQSimplePool = class;
TQSimplePoolItemNotify = procedure(ASender: TQ... |
unit ULayoutControlHelper;
interface
uses
System.Generics.Collections, System.Classes,
dxLayoutContainer, dxLayoutControl, Vcl.StdCtrls;
type
TLayouControlBuilder = class(TComponent)
private
FConfigs: TList<TClass>;
public
constructor Create(AOwner: TdxLayoutControl); reintroduce; virtual;
prop... |
unit InfoWellsFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, Well, Slotting, ImgList, CommonObjectSelectFilter,
ToolWin, ActnList, ExtCtrls, CoreDescription,
Menus;
type
TfrmInfoWells = class(TFrame)
tvwWells: TTreeView;
imglst: T... |
unit ufTarefa1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf,... |
unit ArchForm;
interface
uses Vcl.StdCtrls, Vcl.Buttons, System.Classes, Vcl.Controls, Vcl.ComCtrls,
Winapi.Messages, Vcl.Forms, System.SysUtils;
const
START_PROCESS = WM_USER+ 451;
SET_TOTAL = START_PROCESS + 1;
WND_PRG_UPDATE = SET_TOTAL + 1;
WND_CLOSE = WND_PRG_UPDATE + 1;
type
TFrmMode = (... |
{ Arquivo criado automaticamente Gerador Multicamadas
(Multitiers Generator VERSÃO 0.01)
Data e Hora: 11/10/2016 - 23:04:17
}
unit Marvin.AulaMulticamada.Fachada;
interface
uses
uMRVClasses,
{ ambiente }
Marvin.System.Facade.Ambiente,
{ interface }
Marvin.AulaMulticamada.Controlador.Intf,
{controla... |
{
wzsTools components
(c) Protasov Serg
wzonnet.blogspot.com
wzff.livejournal.com
wzonnet@kemcity.ru
}
unit u_wzsComponentsEditors;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs {$ifdef ver150}, DesignEditors, DesignIntf {$else}, DsgnIntf {$endif}, StdCtr... |
unit GenesisClass;
interface
uses
Classes, Types, SysUtils, Generics.Collections,
GenSourceObject, SiAuto, SmartInspect;
type
TGenesisClass = class(TGenSourceObject)
private
FOverridenMethods: TStringList;
function GetBodyLiteCSource(AOverridingParentIdentifier: string = ''): string;
p... |
// Copyright (c) 2016, Jordi Corbilla
// 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 conditions ... |
unit umainform;
{$mode objfpc}{$H+}
{$CODEALIGN LOCALMIN=16}
{$CODEALIGN CONSTMIN=16}
{$CODEALIGN RECORDMIN=16}
{$CODEALIGN VARMIN=16}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
BZColors, BZGraphic, BZBitmap, BZVectorMath, BZCadencer, BZStopWatch;
type
{ TMainFor... |
unit FarCry2MFL_InstallSearch;
interface
type
TInstallSearch = record
RKey: string;
RValue: string;
Path: string;
end;
TInstallSearchs = array[0..4] of TInstallSearch;
const
InstallSearchs: TInstallSearchs = ((
RKey: '\Ubisoft\Far Cry 2';
RValue: 'InstallDir';
Path: 'bin';
), (
... |
program TRI-HEAP;
const N = 10;
var TABLE: array[1..N] of INTEGER;
TEMP: INTEGER;
procedure AJUSTE(var I,N: INTEGER);
var TEMP,J: INTEGER;
TERMINE: BOOLEAN;
begin
TEMP := TABLE[I];
J := 2*I;
TERMINE := FALSE;
while (J<=N) and not TERMINE do
... |
unit Marvin.VCL.StyleManager;
interface
uses
Vcl.Menus;
type
{ interface para VCL Style Manager }
IVclStyleManager = interface(IInterface)
['{2B441724-C0C1-47D2-80E6-B0D5A7DD69DF}']
end;
{ Fábrica }
coVCLStyleManager = class
public
class function Create(AMenuItem: TMenuItem): IVclStyleManager;... |
unit uTcpHandler;
interface
uses
Forms, Classes, SysUtils;
type
TTcpLocalFile = class;
TTcpLocalFileList = class;
TTcpSndNotify = procedure (index: Integer; localFile: TTcpLocalFile; success: Boolean) of object;
TTcpSndStreamNotify = procedure (totalCount: Integer; workCount: Integer) of object;
ITcpHan... |
object ManIBITJoy: TManIBITJoy
Left = 0
Top = 0
Caption = 'Manual IBIT Joystick Test'
ClientHeight = 325
ClientWidth = 597
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96... |
unit USettings;
interface
uses
Windows,
classes,
SysUtils,
Forms,
IniFiles,
UTypes;
type
TSettings = class(TInterfacedObject, ISettings)
private
FIniFile: TIniFile;
public
constructor Create;
destructor Destroy; override;
procedure Load(view: IView);
procedur... |
unit Aurelius.Sql.NexusDB;
{$I Aurelius.inc}
interface
uses
DB,
Aurelius.Sql.AnsiSqlGenerator,
Aurelius.Sql.BaseTypes,
Aurelius.Sql.Commands,
Aurelius.Sql.Interfaces,
Aurelius.Sql.Metadata,
Aurelius.Sql.Register;
type
TNexusDBSQLGenerator = class(TAnsiSQLGenerator)
protected
... |
unit uTypes;
interface
uses SysUtils, Classes;
type eReturnStatus = (rsUnknown,
rsOK,
rsOK_noSave,
rsError,
rsStop,
rsNotFound,
rsAlready,
... |
unit TBGInterbaseExpressDriver.Model.Conexao;
interface
uses
System.Classes,
Data.DB, IBX.IBDatabase,
TBGConnection.Model.Interfaces,
TBGConnection.Model.DataSet.Interfaces;
Type
TInterbaseExpressDriverModelConexao = class(TInterfacedObject, iConexao)
private
FConnection : TIBDatabase;
... |
unit uReportSettings;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
EditBtn, uCustomTypes, dateutils;
type
{ TfReportSettings }
TfReportSettings = class(TForm)
bCancel: TButton;
bOK: TButton;
bSelectPath: TButton;... |
unit PLAT_DocumentLink;
interface
uses sysutils, classes, PLAT_QuickLink, PLAT_Utils;
type
TDocumentLink = class(TQuickLink)
private
FDocumentName: string;
procedure SetDocumentName(const Value: string);
public
constructor Create(FileName: string);
procedure Execute; override;
pro... |
unit ChoiceObligation;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DrillingFact, ComCtrls, NirPlanFrame, SeismPlanFrame,
DrillingPlanFrame, LicenseZone;
type
TfrmObligationChoice = class(TFrame)
pgctlObligations: TPageControl;
tshDrilli... |
unit DeadlockErkennung;
interface
uses
Contnrs;
type
{ Ein Array von Bits. Für die bei der Deadlock-Erkennung eingesetzten Bitarrays
gilt: Die Länge entspricht der Anzahl Züge in der Simulation -> jedem Zug ist
ein Bit zugeordnet.
Implementiert als ein Array von unsigned integers, die Anzahl Bits ist ... |
program Procedure_Basics;
var
a, b, c, min : integer;
procedure findMin(x, y, z: integer; var m: integer);
(* Finds the minimum of the 3 values *)
begin
if x < y then
m := x
else
m := y;
if x < m then
m := z;
end; { end of procedure findMin }
begin
writeln(' Enter ... |
unit Basico;
interface
Uses SysUtils;
Type
TBasica = class
Private
Public
Published
Function IsEmpty(pValue:string):Boolean;
end;
implementation
{ TBasica }
function TBasica.IsEmpty(pValue: string): Boolean;
begin
Result := (Trim(pValue) = '');
end;
end.
|
{*
* TV Tool Box Version 2.0
* Copyright 1992,93 by Richard W. Hansen, All Rights Reserved.
*
*
* Demo.pas
* A demo of TV TOOL BOX for Turbo Pascal 7.0.
*
*}
Program TV_TOOL_BOX_DEMO;
{$F-}
{$X+}
{$B+}
{$V-}
{$S+}
{$R+}
{$N+}
{$I TVDEFS.INC}
USES
Crt, Dos,
Objects, Drivers, Views... |
// ------------------------------------------------------------------------------
//
// HSL - RGB colour model conversions
//
// These four functions can be used to convert between the RGB and HSL colour
// models. RGB values are represented using the 0-255 Windows convention and
// always encapsulated in a TColor 32 ... |
unit PwrSave;
//==============================================================================
// PwrSave: Delphi Component for Delphi 4,5,6,7
// Version 1.2
// Date 03 February 2003
// Copyright Jan Mitrovics 2002, 2003
//
// Send comments to: Mitrovics@web.de
//
// This is a freeware component! Use at own ri... |
{*******************************************************************************
作者: dmzn 2009-2-8
描述: 带渐变色的标题栏
*******************************************************************************}
unit UTitleBar;
interface
uses
Windows, Classes, Controls, Graphics;
type
TTitleStyle = (tsHorz, tsVert)... |
unit Biblioteka;
interface
uses Dane, Crt;
type
PKsiazka = ^TKsiazka;
PStudent = ^TStudent;
TKsiazka = record
autor, tytul: NazwaDluga;
id: integer;
Next: PKsiazka;
end;
TStudent = record
imie, nazwisko: Nazwa;
pesel: int64;
Next: PStudent;
ksiazki: PKsiazka;
end;
//Dodajem... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2015 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable ... |
unit modBlobRegister;
interface
uses PObjConst, KernelIntf, XVariant, PClasses, SysUtils, Classes,
PClassIntf;
type
(* PCLASS: BLOBREGISTRATION *)
TP_blobregistration = class(TPObjImpl, IP_blobregistration, IPObjImpl, IUnknown)
protected
function GetPClassImpl: IPClassImpl; override;
... |
unit TestCalc;
{
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, Calc;
type
// Test methods for... |
unit TwilioClient;
{
Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.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 ... |
unit FHIRXhtml;
{
Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.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... |
unit Server.Models.Cadastros.ConfigMail;
interface
uses
System.Classes,
DB,
System.SysUtils,
Generics.Collections,
/// orm
dbcbr.mapping.attributes,
dbcbr.types.mapping,
ormbr.types.lazy,
ormbr.types.nullable,
dbcbr.mapping.register, Server.Models.Base.TabelaBase;
type
TAnexo = class
private
... |
unit TestGnGeneral;
interface
uses
Forms, SysUtils, TestFramework, uGnGeneral, Types;
type
Test_GnGeneral = class(TTestCase)
published
procedure IsEmptyStr1;
procedure SameTextOne1;
procedure StrArrayToStr1;
procedure Application_ExePathDir;
procedure Split1;
proced... |
unit USourceBook;
interface
uses
System.Generics.Collections, USourceInfo, UUtilsStrings;
type
TCachedBook = class
private
FBookName: string;
FChaptersAndVerses: TStringTree;
public
property BookName: string read FBookName write FBookName;
property ChaptersAndVerses: TStringTree read FChapter... |
{ Subroutine STRING_F_INT_MAX_BASE (S, I, BASE, FW, FLAGS, STAT)
*
* Create the string representation of the integer I in string S. BASE is the
* number base to use for string conversion. The output string is truncated on
* the right to the maximum size of S. FW is the field width to use. FW = 0
* indicat... |
unit StructuresAddElementfrm;
{$MODE Delphi}
interface
uses
LCLIntf, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, LResources, betterControls;
resourcestring
rsSAE4Bytes = '4 Bytes';
rsSAE2Bytes = '2 Bytes';
type
{ TfrmStructuresAddElement }
TfrmStructur... |
unit cufft;
(* CUFFT API *)
(* created 2012-04-01
author: Mariusz mariusz.maximus@gmail.com
*)
interface
uses WIndows, sysutils;
type
// CUFFT API function return values
cufftResult = (
CUFFT_SUCCESS = $0,
CUFFT_INVALID_PLAN = $1,
CUFFT_ALLOC_FAILED = $2,
CUFFT_INVALID_TYPE... |
{ Target driver routines that are specific to the 12 bit core.
}
module picprg_12;
define picprg_erase_12;
%include 'picprg2.ins.pas';
{
*******************************************************************************
*
* Subroutine PICPRG_ERASE_12 (PR, STAT)
*
* Erase all non-volatile memory in the target chip.
*... |
unit MappedPortUDPWinshoe;
interface
{
13-JAN-2000 MTL: Moved to new Palette Scheme (Winshoes Servers)
2000-Jan-05:
-Modified by Kudzu to be a general UDP mapped port component
-Unit renamed
-OnRequest change to TNotifyEvent
----
-Original DNS mapped port by Gregor Ibic
}
uses
Classes,
UD... |
unit Filatel;
interface
uses
Classes, SysUtils;
const
tLosowosc = 10;
type
tZnaczek = record
rokpr: integer;
nazwa: string[30];
nominal: real;
//istnieje : Boolean;
end;
tKlaser = array [0..9] of Tznaczek;
//function FileExist(nazwa: string): boolean;
//function DodajZnaczek():tZnaczek;... |
// ---------------------------------------------------------------------------//
//
// dgCommands
//
// Copyright © 2005-2009 DunconGames. All rights reserved. BSD License. Authors: simsmen
// ---------------------------------------------------------------------------//
(*
//классическое написание паттерна Comma... |
unit UnitLogin;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, jpeg, ExtCtrls;
type
TFrmLogin = class(TForm)
edtLogin: TEdit;
edtSenha: TEdit;
lblLogin: TLabel;
lblSenha: TLabel;
Label1: TLabel;
btnOK: TBitBtn;
b... |
unit serverwinshoe;
{
2000-Jan-13 MTL
-Moved to new Palette Scheme (Winshoes Servers)
2000-Jan-05 - Kudzu
-Merged Gregor's SSL into core
-Created SSLOptions property
1999-Dec-12 Gregor Ibic, Intelicom d.o.o.
-Added SSL capability
07 Aug 1999 Mod. Peter Mee
-Added PeerPort property as a Word value.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.