text stringlengths 14 6.51M |
|---|
unit GX_PasteAs;
interface
uses
Classes, GX_ConfigurationInfo, GX_EditorExpert;
type
TPasteAsType = (paStringArray, paAdd, paSLineBreak,
paChar10, paChar13, paChars1310, paCRLF, paCR_LF);
TPasteAsHandler = class
private
FCreateQuotedString: Boolean;
FPasteAsType: TPasteAsType;
... |
unit FileManager;
interface
uses SysUtils, GlobalVariables, Dos;
Procedure getMainPath();
Function WriteFile(fileToWrite, input : String) : boolean;
Function WriteNewFile(fileToWrite, input : String) : boolean;
Function ReadFile(fileToRead : String) : String;
Function ExistFile(fileToCheck : ... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit Providers.Mascara.Celular;
interface
uses
Providers.Mascaras.Intf, System.MaskUtils, System.SysUtils;
type
TMascaraCelular = class(TInterfacedObject, IMascaras)
private
procedure RemoveParenteses(var Value: string);
public
function ExecMask(Value: string): string;
end;
implementation
{ TMasc... |
unit htDataProviderParams;
// Модуль: "w:\common\components\rtl\Garant\HT\htDataProviderParams.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "ThtDataProviderParams" MUID: (54F9AF6B00DD)
{$Include w:\common\components\rtl\Garant\HT\htDefineDA.inc}
interface
uses
l3IntfUses
, daDataProviderParams
, dt_Types
... |
unit IsppDebug;
interface
implementation
uses Windows, SysUtils, JclHookExcept, JclDebug, TypInfo, IsppTranslate,
IsppExceptWindow, Forms, IsppIdentMan;
procedure NotifyException(ExceptObj: TObject; ExceptAddr: Pointer;
OSException: Boolean);
var
TmpS: string;
ModInfo: TJclLocationInfo;
I: Integer;
Exce... |
{*
* Judging program for "Street Directions"
*
* Copyright Chen Mingrei (ZSUCPC 2001)
* Date: May 10, 2001
*
* Comment: This program displays and checks the output of a program to see
* if it correct. The following are checked:
*
* 1. out of range vertex numbers
* 2. dupl... |
unit UTwitterDemo;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.TMSCloudBase, FMX.TMSCloudTwitter, FMX.Layouts,
FMX.ListBox, FMX.Edit, IOUtils, FMX.TMSCloudBaseFMX, FMX.TMSCloudCustomTwitter;
... |
unit UStreamOp;
interface
uses
Classes, UAccountKey, URawBytes;
type
{ TStreamOp }
TStreamOp = Class
public
class Function WriteAnsiString(Stream: TStream; const value: AnsiString): Integer; overload;
class Function ReadAnsiString(Stream: TStream; var value: AnsiString): Integer; overload;
class ... |
unit BCEditor.Language;
interface {********************************************************************}
resourcestring
{ Messages }
SBCEditorMessageConfirmation = 'Confirmation';
SBCEditorMessageError = 'Error';
SBCEditorMessageInformation = 'Information';
SBCEditorMessageQuestion = 'Question';
... |
{
Author: William Yang
Website: http://www.pockhero.com
}
unit Graphix.Helpers;
interface
uses System.UITypes, System.Classes, System.Types, System.UIConsts, FMX.Types;
type
TColorHelper = record helper for TAlphaColor
public
function Brighten(AValue: Single): TAlphaColor;
function ... |
unit EnviarMailDlg;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, IniFiles, Dialogs, ComCtrls, OleCtrls,
IdTCPConnection,
IdSMTP, IdMessage;
type
TEnviarMail = class(TForm)
Bevel1: TBevel;
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
Label1: TLabel... |
Unit H2TrackBar;
Interface
Uses
Messages,Windows, Classes,Controls, ExtCtrls, SysUtils,GR32_Image,GR32,
gr32_layers,Graphics;
Type
TH2TrackBar = Class(TControl)
Private
fx,
fy,
fwidth,
fheight:Integer;
fvisible:Boolean;
fpos:Integer;
fvolume:Boolean;
fbitma... |
unit Contents_Form;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "View"
// Автор: Люлин А.В.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/Document/Forms/Contents_Form.pas"
// Начат: 2003/06/20 06:51:14
// Родн... |
unit Recorder;
// the module contains Recorder class, contains Recorder logic.
// implements IInputLineChangedCallback to react to input line changes,
// IRecorderControlCallback to react to gui events.
interface
uses RecorderControl, Controls, Classes, DeviceWrapper, inputLine, SelectChannelForm;
type TRec... |
unit nemesis_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,m68000,main_engine,controls_engine,gfx_engine,rom_engine,pal_engine,
sound_engine,ay_8910,vlm_5030,k005289,ym_2151,k007232;
function iniciar_nemesis:boolean;
implementation
type
tipo_sprite=record
width,height,char_typ... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit IRCUtils;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
{ TIRCUtils }
TIRCUtils = class
class function RemoveOPVoicePrefix(const Username: string): string;
class function IsOpVoice(const NickName: string): Boolean;
class function IsOp(const NickName: string): Bo... |
program TesteSortiereListe(input, output);
type
tNatZahl = 0..maxint;
tRefListe = ^tListe;
tListe = record
info : tNatZahl;
next : tRefListe;
end;
var
RefListe : tRefListe;
procedure SortiereListe (var ioRefListe : tRefListe);
{ sortiert eine lineare Liste aufsteige... |
unit CleanArch_EmbrConf.Core.Entity.Impl.ParkedCar;
interface
uses
CleanArch_EmbrConf.Core.Entity.Interfaces,
System.RegularExpressions,
System.SysUtils;
type
TParkedCar = class(TInterfacedObject, iParkedCar)
private
FCode: string;
FPlate: String;
Fdata: string;
public
constructor Create;... |
Unit TERRA_Localization;
{$I terra.inc}
Interface
Uses TERRA_String, TERRA_Application, TERRA_Utils, TERRA_Stream, TERRA_FileUtils,
TERRA_Collections, TERRA_Hashmap;
Const
language_English = 'EN';
language_German = 'DE';
language_French = 'FR';
language_Portuguese= 'PT';
language_Spanish = 'ES';... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: Maurizio Lotauro <Lotauro.Maurizio@dnet.it>
Code donated to the ICS project
Creation: July 2005
Version: 6.00
Description: This unit contains the class used by THttpCli to handle the
Accept-... |
unit uMukafaah;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics,
Controls, Forms, Dialogs, uModel,uPengurus,
System.Generics.Collections;
type
TMukafaahItem = class;
TMukafaah = class(TAppObject)
private
FBulan: Integer;
FMukafaahItems: TObjectList<TMukafaahItem>;
FNoBukti: stri... |
Unit TERRA_VertexFormat;
{$I terra.inc}
Interface
Uses TERRA_String, TERRA_Utils, TERRA_Collections, TERRA_Stream,
TERRA_Vector2D, TERRA_Vector3D, TERRA_Vector4D, TERRA_Color;
Const
vertexPosition = 0;
vertexNormal = 1;
vertexTangent = 2;
vertexBone = 3;
vertexColor = 4;
ve... |
unit ObjdsSampleClass;
interface
uses
SysUtils, Classes;
type
TDemo = class (TPersistent)
private
FAmount: Double;
FAge: Integer;
FName: string;
FValue: INteger;
procedure SetAge(const Value: Integer);
procedure SetName(const Value: string);
procedure SetAmount(const Value: Double);... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.CloudStorage.Provider.Amazon
Description : CloudStorage Amazon provider
Author : Kike Pérez
Version : 1.8
Created : 14/10/2018
Modified : 07/10/2019
Thi... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: Francois Piette
Original code by Arno Garrels, used with his permission.
Contact address <arno.garrels@gmx.de>
Description: WinSock2 API subset for Delphi.
Creation: October 2006
Version: ... |
unit TipTypes;
interface
uses
Graphics;
const
clUpBest = TColor($B0DCB0);
clUpGood = TColor($D0DCD0);
clDownBad = TColor($DCD0F0);
clDownWorst = TColor($DCA0F0);
type
TLeagueType = (ltIceHockey, ltFootball);
TMatchStatus = (msWillPlay, msPlayed);
TTableInfo = record
Team: integer;
Matchs: i... |
unit K493324121;
{* [Requestlink:493324121] }
// Модуль: "w:\common\components\rtl\Garant\Daily\K493324121.pas"
// Стереотип: "TestCase"
// Элемент модели: "K493324121" MUID: (5260E08F0378)
// Имя типа: "TK493324121"
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas}
interface
{$If Defined(nsTest)... |
{ **************************************************************
Package: XWB - Kernel RPCBroker
Date Created: Sept 18, 1997 (Version 1.1)
Site Name: Oakland, OI Field Office, Dept of Veteran Affairs
Developers: Danila Manapsal, Don Craven, Joel Ivey
Description: Functions that emulate MUMPS functions.
Current Re... |
unit MazeWork;
interface
uses
MazeMain, MazeGen, MazeSolve, MazePrint;
Procedure CreateMaze(var MazetoCreate: TMaze; var StatToWrite: TMazeStat; MazeSize: TMazeSize; MazeGenAlg: TMazeGenAlg);
Procedure SetMazeDefIOCells(const MazeToFind: TMaze; var StatToWrite: TMazeStat);
Procedure SolveMaze(const Ma... |
unit SettingsUnit;
// Модуль: "w:\garant6x\implementation\Garant\tie\Garant\GblAdapterLib\SettingsUnit.pas"
// Стереотип: "Interfaces"
// Элемент модели: "Settings" MUID: (45EEAA69036E)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses
, IOUnit
, BaseTypesUnit
;
type
TProperty... |
unit GX_BackupOptions;
{$I GX_CondDefine.inc}
interface
uses
Classes, Controls, Forms, StdCtrls, ExtCtrls, GX_BaseForm;
type
TfmBackupOptions = class(TfmBaseForm)
gbBackupOptions: TGroupBox;
btnOK: TButton;
btnCancel: TButton;
cbPassword: TCheckBox;
lPassword: TLabel;
edP... |
unit TTSCOLLTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSCOLLRecord = record
PLenderNum: String[4];
PCollCode: String[8];
PAutoApplyItems: Boolean;
PDescription: String[30];
PRate: Currency;
End;
TTTSCOLLBuffer = class(TDataBuf... |
unit TTSLogin;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, TicklerTypes, sBitBtn, sEdit, sGroupBox,
sCheckBox ;
type
TfrmTTSLogin = class(TForm)
GroupBox1: TsGroupBox;
edtLoginName: TsEdit;
GroupBox2: TsGroup... |
{-----------------------------------------------------------------------------
hpp_events (historypp project)
Version: 1.0
Created: 05.08.2004
Author: Oxygen
[ Description ]
Some refactoring we have here, so now all event reading
routines are here. By event reading I mean getting usefull
in... |
unit table_func_with_units;
interface
uses table_func_lib,new_phys_unit_lib;
type
TVariantTableFunc = class (table_func)
private
fXUnitConv,fYUnitConv: TPhysUnit;
function GetVariantValue(xi: Variant): Variant;
function GetInverseVariantValue(yi: Variant): Variant;
procedure SetXUnit(value: string... |
unit k2DocumentBuffer;
{ Библиотека "Эверест" }
{ Автор: Люлин А.В. © }
{ Модуль: k2DocumentBuffer - }
{ Начат: 16.03.2004 17:53 }
{ $Id: k2DocumentBuffer.pas,v 1.9 2014/04/29 13:38:56 lulin Exp $ }
// $Log: k2DocumentBuffer.pas,v $
// Revision 1.9 2014/04/29 13:38:56 lulin
// - вычищаем ненужные зависимости... |
unit evDataObject;
{* Реализация интерфейса IDataObject для выделения текста редактора }
// Модуль: "w:\common\components\gui\Garant\Everest\evDataObject.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevDataObject" MUID: (48EF3978008D)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface... |
unit konversi;
interface
uses tipe_data;
function isKabisat (t : integer) : boolean;
(*Mengembalikan nilai true bila tahun kabisat*)
function toHari (t : ttanggal) : integer;
(*Mengonversi dd/mm/yyyy menjadi jumlah hari*)
function selisihHari (t2,t1: ttanggal) : integer;
(*Menghitung se... |
unit Unit_Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, TeePeg, ComCtrls;
type
TForm1 = class(TForm)
Memo2: TMemo;
Button1: TButton;
Memo3: TMemo;
PageControl1: TPageControl;
TabPEG: TTabSheet;
TabMath: TTabSheet;
... |
unit xcodeproj;
{--------------------------------------------------------------------------------
* by Dmitry Boyarintsev - Oct 2014 *
* *
* license: free for use, but please leave a note to the or... |
unit CreateLocationUnit;
interface
uses SysUtils, BaseExampleUnit, AddressBookContactUnit;
type
TCreateLocation = class(TBaseExample)
public
function Execute(FirstName, Address: String): TAddressBookContact;
end;
implementation
function TCreateLocation.Execute(FirstName, Address: String): TAddressBook... |
unit mnSynHighlighterXHTML;
{$mode objfpc}{$H+}
{**
*
* This file is part of the "Mini Library"
*
* @url http://www.sourceforge.net/projects/minilib
* @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html)
* See the file COPYING.MLGPL, included in this distribution,
... |
unit Model.PlanilhaEntradaEntregas;
interface
uses Generics.Collections;
type
TPlanilhaEntradaEntregas = class
private
var
FCodigoDestino : String;
FNomeDestiono : String;
FNossoNumero: String;
FCodigoCliente: String;
FNumeroNF: String;
FNomeConsumidor: String;
... |
unit KernelBackup;
interface
uses
BackupObjects;
type
TFacilityBackupAgent =
class(TBackupAgent)
protected
class procedure Write(Stream : TBackupWriter; Obj : TObject); override;
class procedure Read (Stream : TBackupReader; Obj : TObject); override;
end;
TBlo... |
{ *************************************************************************** }
{ }
{ }
{ Copyright (C) Amarildo Lacerda }
{ }
{ https://github.com/amarildolacerda }
{ }
{ }
{ *************************************************************************** }
{ }
{ Licensed under the Apache License, Version 2.0 (the "License... |
{ behavior3delphi v1.0 - a Behavior3 client library (Behavior Trees)
based on behavior3js <https://github.com/behavior3/behavior3js/>
for Delphi 10.1 Berlin+ by Dennis D. Spreen
http://blog.spreendigital.de/2016/07/01/behavior3delphi/
(c) Copyrights 2016 Dennis D. Spreen <dennis@spreendigital.de>
The MIT Li... |
unit Model.VerbasExpressas;
interface
uses Common.ENum, FireDAC.Comp.Client, DAO.Conexao, System.SysUtils, Control.Sistema,
System.Variants;
type
TVerbasExpressas = class
private
FID: Integer;
FTipo: Integer;
FGrupo: Integer;
FVigencia: TDateTime;
FVerba: Double;
FPerformance: Double;
... |
unit clFTPSimples;
interface
uses
IdFTP, IdFTPCommon,System.Classes, Vcl.Dialogs, Vcl.Forms, System.SysUtils;
type
TFTPSimples = Class(TObject)
private
function getFileFrom: String;
function getFileTo: String;
function getHost: String;
function getPassword: String;
function getUsername: Str... |
{$MODE OBJFPC}
Uses Math;
Const ginp='cwater.inp';
gout='cwater.out';
Var st:longint;
a,b,c,x,p:int64;
Procedure Enter;
Var tmp:int64;
Begin
readln(a,b,c);
if a>b then
begin
tmp:=a; a:=b; b:=tmp;
end;
End;
Function Diophante(a,b,c:int64; ... |
{
Inno Setup Preprocessor
Copyright (C) 2001-2002 Alex Yackimoff
}
unit IsppSessions;
interface
uses IsppTranslate;
procedure PushPreproc(APreproc: TPreprocessor);
function PopPreproc: TPreprocessor;
function PeekPreproc: TPreprocessor;
procedure Warning(const Msg: string; const Args: array of const);
procedure... |
unit uInscricaoEstadual;
interface
uses
System.SysUtils, Winapi.Windows;
type
TConsisteInscricaoEstadual = function (const Insc, UF: AnsiString): Integer; stdcall;
type
TValidaIE = class
public
class function InscEstadual(Inscricao,Estado: string): Boolean;
end;
implementation
{ TValidaIE }
class ... |
(*
* Copyright (c) 2010-2020, Alexandru Ciobanu (alex+git@ciobanu.org)
* 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
* ... |
unit Vittee.RecordArray;
interface
uses
TypInfo, RTTI, SysUtils, Classes;
type
IRecordArray<T> = interface
['{8B71B837-E9F6-40B0-AFFB-882F436F287B}']
procedure SetLength(const Value: Integer);
function GetElement(Index: Integer): T;
function GetData: T;
function GetLength: Integer;
functi... |
unit ADLSConnector.Presenter;
interface
uses
ADLSConnector.Interfaces, REST.Client, REST.Authenticator.OAuth;
type
TADLSConnectorPresenter = class(TInterfacedObject, IADLSConnectorPresenter)
private
FRESTClient: TRESTClient;
FRESTRequest: TRESTRequest;
FRESTResponse: TRESTResponse;
FOAuth2_Azur... |
unit U_Organizer;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.UITypes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Grids, Vcl.StdCtrls,
Vcl.Buttons, Vcl.DBGrids, Data.DB, Data.SqlExpr, Data.DbxSqlite, Vcl.Menus;
type
TF_Or... |
unit FRegistration;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
uniGUITypes, uniGUIAbstractClasses, uniGUIClasses, uniGUIForm, uniEdit,
uniGUIBaseClasses, uniLabel, uniButton, FireDAC.Stan.Intf, uniBasicGrid,
uniDBGrid, uniCheckBox, uniPanel, uniDBNavigator, FireD... |
unit MFichas.Model.Item.Interfaces;
interface
uses
MFichas.Model.Entidade.VENDAITENS;
type
iModelItem = interface;
iModelItemMetodos = interface;
iModelItemMetodosVender = interface;
iModelItemMetodosCancelar = interface;
iModelItemMetodosDevolver = interface;
iModelItemGravarN... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
(*
* icop 对象池、哈希表等
*)
unit iocp_objPools;
interface
{$I in_iocp.inc}
uses
{$IFDEF DELPHI_XE7UP}
Winapi.Windows, System.Classes, System.SysUtils, {$ELSE}
Windows, Classes, SysUtils, {$ENDIF}
iocp_api, iocp_base, iocp_lists, iocp_utils, iocp_baseObjs;
type
// ===================== 对象管理池 类 ===============... |
unit MobileForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Media,
IPPeerClient, IPPeerServer, System.Tether.Manager, System.Tether.AppProfile,
FMX.ListBox, FMX.StdCtrls, FMX.Layouts, FMX.Edi... |
unit evStyles_SH;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Everest"
// Модуль: "w:/common/components/gui/Garant/Everest/evStyles_SH.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root element: <<Sett... |
unit TERRA_CustomPropertyEditor;
interface
uses SysUtils, Classes, Messages, ExtCtrls, Controls, StdCtrls,
Dialogs, Graphics, Buttons,
TERRA_String, TERRA_Object, TERRA_Utils, TERRA_OS, TERRA_Color, TERRA_VCLApplication;
Const
MarginTop = 10;
MarginSide = 10;
ExpandSize = 15;
CellHeight = 25;
MarginCol... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Description: Classes to handle session for THttpAppSrv and MidWare.
Creation: Dec 20, 2003
Version: 1.01
EMail: http://www.overbyte.be francois.piette@overbyte.be
Support: Use ... |
// ***************************************************************************
//
// Delphi MVC Framework
//
// Copyright (c) 2010-2018 Daniele Teti and the DMVCFramework Team
//
// https://github.com/danieleteti/delphimvcframework
//
// Collaborators with this file: Ezequiel Juliano Müller (ezequieljuliano@gmail.com)... |
unit CounterImpl;
interface
uses orb_int, orbtypes, CosTransactions, CosTransactions_int, Counter, Counter_int,
osthread, poa_int;
type
TCounterImpl = class;
// The counter resource implementation. Note that this resource does
// not implement the semantics of a recoverable resource. Most
// notably:
//... |
unit Aircraft;
interface
uses
Windows, Classes, GameTypes, MapSprites, LanderTypes, MapTypes, SoundTypes;
const
cPlaneFramesPerSec = 16;
cPlaneFrameDelay = 1000 div cPlaneFramesPerSec;
type
IAircraft =
interface(IMapSprite)
function GetSoundTarget : ISoundTarget;
proce... |
unit xibfile;
{$mode objfpc}
interface
uses
Classes, SysUtils, XMLRead, DOM;
type
{ TXibObject }
TXibObject = class(TObject)
private
fXibNode : TDOMNode;
fNextObject : TXibObject;
fChildObject : TXibObject;
protected
function GetBoolProp(const PropName: String):Boolean;
functi... |
namespace Nancy.Bootstrappers.Autofac;
uses
Autofac,
Autofac.Core.Lifetime,
Nancy,
Nancy.Bootstrapper,
Nancy.Configuration,
Nancy.Diagnostics, System.Collections.Generic;
type
AutofacNancyBootstrapper = public abstract class(NancyBootstrapperWithRequestContainerBase<ILifetimeScope>)
pro... |
unit SpriteToSurface;
interface
uses
Windows, DDraw, SpriteImages, ColorTables;
procedure RenderSpriteToSurface(Sprite : TFrameImage; x, y : integer; aFrame, Alpha : cardinal; const ClipArea : TRect; const surfacedesc : TDDSurfaceDesc2; aPaletteInfo : TPaletteInfo);
implementation
uses
SysUtils, Rect... |
unit InfoPULLTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoPULLRecord = record
PLender: String[4];
PSIStatus: String[2];
PRunDate: String[8];
PLoanNumber: String[18];
PModCount: SmallInt;
PName: String[30];
POfficer: String[6... |
//
// Created by the DataSnap proxy generator.
// 25/11/2019 10:50:57
//
unit UDaoCliente;
interface
uses Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy,
System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBXDBReaders, Data.DBXJSONReflect,
UConstante;
type
Tda... |
unit GeocodingUnit;
interface
uses
REST.Json.Types, System.Generics.Collections, SysUtils,
Generics.Defaults,
JSONNullableAttributeUnit,
NullableBasicTypesUnit, EnumsUnit;
type
/// <summary>
/// Geocoding
/// </summary>
TGeocoding = class
private
[JSONName('destination')]
[Nullable]
FD... |
unit evCellsIterator;
// ћодуль: "w:\common\components\gui\Garant\Everest\evCellsIterator.pas"
// —тереотип: "SimpleClass"
// Ёлемент модели: "TevCellsIterator" MUID: (4FC48D1B02AC)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
{$If Defined(k2ForEditor) AND Defined(evNeedEditableCursors)... |
unit DragData;
// Модуль: "w:\common\components\gui\Garant\VT\DragData.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "DragData" MUID: (4F0C0B6801C7)
{$Include w:\common\components\gui\Garant\VT\vtDefine.inc}
interface
uses
l3IntfUses
, Messages
, vtDragDataTypes
, Windows
, l3Except
, l3Base
, l3Interf... |
unit InfoWORKMAILTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoWORKMAILRecord = record
PLender: String[4];
PImageID: String[9];
PStatus: String[10];
End;
TInfoWORKMAILBuffer = class(TDataBuf)
protected
function PtrIndex(Index:int... |
unit HGM.Tools.Hint;
interface
uses
Vcl.Controls, System.Classes, Winapi.Messages, Winapi.Windows,
System.SysUtils, Vcl.Graphics, Vcl.ExtCtrls, Vcl.Themes, Vcl.Forms,
Vcl.ImgList, Vcl.ActnList, System.SyncObjs, System.Types, System.UITypes,
HGM.Controls.PanelExt, HGM.Common;
type
TlkHint = class(TCompone... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Description: Registration unit for TWSocket. If you build a runtime
package, you shouldn't include this unit.
Creation: Feb 24, 2002
Version: 5.00
EMail: http://www.overbyte.be ... |
unit afwCaretPair;
{* Пара кареток (для вставки и замены). }
// Модуль: "w:\common\components\gui\Garant\AFW\implementation\Visual\afwCaretPair.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TafwCaretPair" MUID: (480DD9F600F6)
{$Include w:\common\components\gui\Garant\AFW\afwDefine.inc}
interface
uses
l3Int... |
unit ReqWorkForma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, OkCancel_frame, StdCtrls, FIBDatabase, pFIBDatabase, DB,
FIBDataSet, pFIBDataSet, Mask, DBCtrls, DBCtrlsEh, DBLookupEh,
FIBQuery, pFIBQuery, DBGridEh;
type
TReqWorkForm = class(TForm)
... |
unit BinarySearch;
(*
* org. Author : Michael Puff - http://www.michael-puff.de
* Redesign by : sx2008
* Date : 2008-06-03
* License : PUBLIC DOMAIN
*)
interface
uses Classes;
type
TBSFound = (bsFound {gefunden},
bsNotFound {nicht gefunden},
bsLower,
... |
program Ch1;
{$mode objfpc}
uses
SysUtils;
var
A1:array[0..3] of Char = ('e','m','u','g');
A2:array[0..3] of Char = ('d','c','e','f');
A3:array[0..2] of Char = ('j','a','r');
A4:array[0..3] of Char = ('d','c','a','f');
A5:array[0..3] of Char = ('t','g','a','l');
procedure QuickSort(var A:array of Char;Le... |
unit Log;
interface
uses
SysUtils;
type
TLog = class
class procedure Append(const aLine: string);
end;
implementation
{$IFDEF DEBUG}
var vLog: text;
{$ENDIF}
class procedure TLog.Append(const aLine: string);
begin
{$IFDEF DEBUG}
WriteLn(vLog, DateTimeToStr(Now()) + ' ' + aLine);... |
program alumnosUNLP;
const
dimF = 400;
type
alumno = record
inscripcion :integer;
dni :integer;
apellido :string;
nombre :string;
anio :integer;
end;
maximos = record
primero :alumno;
segundo :alumno;
end;
alumnos = array [1..dimF... |
(*
* Project: lab6
* User: alexander_sumaneev
* Date: 05.04.2017
*)
unit cmdline;
interface
type cmd_line = object
private
cmdstr: string; //строка на экране
cmd:string; //команда после разбиения строки
cmd_number:string; //аргумент команды
symbols: set Of char; //доступные символы... |
unit uHighlighterReg;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
SynHighlighterADSP21xx, SynHighlighterFortran, SynHighlighterFoxpro, SynHighlighterGalaxy, SynHighlighterBaan,
SynHighlighterHaskell, SynHighlighterCache, SynHighlighterCS, SynHighlighterDml, SynHighlighterCAC,
SynHighli... |
(*
JCore WebServices, JSON Streaming Classes
Copyright (C) 2015 Joao Morais
See the file LICENSE.txt, included in this distribution,
for details about the copyright.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABI... |
unit LS.Config;
interface
type
TLocationConfig = class(TObject)
private
class function GetFileName: string;
class function GetJSON: string;
private
FIsPaused: Boolean;
public
class function GetConfig: TLocationConfig;
public
procedure Save;
property IsPaused: Boolean r... |
unit Should;
interface
uses
// Variants,
SysUtils, System.Rtti, System.TypInfo;
type
TActualValue = class;
TActualCall = class;
IConstraint<T> = interface;
TValueConstraintOp = record
private
FConstraint: IConstraint<TActualValue>;
public
class operator LogicalNot(c: TValueCons... |
(*
* http 服务各种对象类
*)
unit http_objects;
interface
{$I in_iocp.inc}
uses
{$IFDEF DELPHI_XE7UP}
Winapi.Windows, System.Classes,
System.SysUtils, System.StrUtils, Data.DB, {$ELSE}
Windows, Classes, SysUtils, StrUtils, DB, {$ENDIF}
iocp_Winsock2, iocp_base, iocp_senders, iocp_lists,
iocp_objPools, iocp_msg... |
unit GetTerritoriesUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TGetTerritories = class(TBaseExample)
public
procedure Execute;
end;
implementation
uses TerritoryUnit;
procedure TGetTerritories.Execute;
var
ErrorString: String;
Territories: TTerritoryList;
begin
Territories := Route4... |
unit NppMacro;
//{$I Notpad_Plugin.inc}
interface
uses
Windows, NppPluginInc, Scintilla, System.SysUtils;
function Npp_AddToolBarIcon(hWd: HWND; CmdID: UINT; icon: TToolbarIcons): Integer;
function Npp_MsgToPlugin(hWd: HWND; destModuleName: PTCHAR; var info: TCommunicationInfo): Boolean;
function Npp_GetPlu... |
///<summary>
/// This unit is based on the AutoTodoInserter wizard written by Peter Laman
/// and published on CodeCentral at
/// http://cc.embarcadero.com/codecentral/ccweb.exe/listing?id=22336
/// (Article on http://edn.embarcadero.com/article/32709)
///
/// The licence states "Commercial use requires permissio... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Data.Win.ADODB,
System.StrUtils, Vcl.StdCtrls,
uDm, Vcl.ExtCtrls;
type
TForm1 = class(TForm)
GroupBox1: TGroupBox;
Label3: TLabe... |
unit PrimPageSetup_Form;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "View$For F1 and Monitorings"
// Автор: Люлин А.В.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/Search/Forms/PrimPageSetup_Form.pas"
// Нач... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit RequestWorksForma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, FIBDataSet, pFIBDataSet, Grids, DBGridEh, ExtCtrls,
OkCancel_frame, GridsEh, StdCtrls, PropFilerEh,
PropStorageEh, ToolCtrlsEh, DBGridEhToolCtrls, DBAxisGridsEh,
DBGridEhGrouping, ... |
unit uAsynchLoad;
interface
uses
System.Classes, System.SysUtils, System.SyncObjs,
REST.Client, REST.Types,
FMX.TMSBitmapContainer, FMX.Graphics;
type
TUpdateProc = procedure (bitmap : TBitmap; url : string) of object;
AsynchLoad = class(TThread)
protected
procedure Execute; override;
... |
unit GX_XmlUtils;
interface
uses
OmniXML;
function CreateOrLoadFileToDom(const FileName, FileDescription: string;
const RootName: string = ''): IXMLDocument;
procedure AddXMLHeader(Doc: IXMLDocument);
function GetChildNodeOfType(Node: IXMLNode; NodeType: TNodeType): IXMLNode;
function GetCDataSectionT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.