text stringlengths 14 6.51M |
|---|
namespace Sugar;
interface
type
{$IF ECHOES}
Color = public static class
public
class method colorWithRGBAPercentage(aRed, aGreen, aBlue, aAlpha: Single): {$IF WINDOWS_PHONE}System.Windows.Media.Color{$ELSEIF NETFX_CORE}Windows.UI.Color{$ELSE}System.Drawing.Color{$ENDIF};
class method colorWit... |
unit renegade_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
m6502,m6809,main_engine,controls_engine,gfx_engine,m6805,ym_3812,
rom_engine,pal_engine,sound_engine,msm5205;
function iniciar_renegade:boolean;
implementation
const
renegade_rom:array[0..1] of tipo_roms=(
(n:'na-5.ic52';l:$8... |
unit tmsXlsMessages;
{$INCLUDE ..\FLXCOMPILER.INC}
{$INCLUDE ..\FLXCONFIG.INC}
interface
uses SysUtils,
{$IFDEF FLX_NEEDSVARIANTS} variants,{$ENDIF}
tmsUFlxMessages;
resourcestring
{$IFDEF SPANISH}
{$INCLUDE XlsSpanish.inc}
{$ELSE}
{$IFDEF FRENCH}
{$INCLUDE XlsFrench.inc}
{$ELSE}
{$IFDEF ITALIAN}
{$IN... |
unit GameBoardU;
interface
uses
System.Classes, System.SysUtils, System.Math, System.Generics.Collections, TileU;
type
TDirection = (dLeft, dRight, dUp, dDown);
TGameState = (gsPlaying, gsLost, gsWon, gsHiScore);
TGameStateChanged = procedure(const aOldState, aNewState: TGameState) of object;
... |
unit Concrete;
interface
uses
GameTypes, MapTypes;
const
cCenter = 0;
cUp = -1;
cDown = 1;
cLeft = -1;
cRight = 1;
type
ConcreteAround = (caUp, caDown, caLeft, caRight);
type
TConcreteConfig = array [cUp..cDown, cLeft..cRight] of boolean;
TConcreteCfg = array... |
unit QuickExport;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
ComObj, ActiveX, FB2_to_LIT_TLB, StdVcl,fb2lit_engine;
type
TFB2AnyQuickExport = class(TAutoObject, IFB2AnyQuickExport)
procedure AfterConstruction; Override;
procedure BeforeDestruction; override;
protected
Converter:TFB2LitConverter;
... |
unit TraceToolCom_TLB;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type libra... |
unit uFormSelectSource_VCL;
{$I DelphiTwain.inc}
{$IFDEF FPC}
{$MODE DELPHI}
{$ENDIF}
interface
uses
SysUtils, Types, Variants, Classes, Graphics,
Controls, Forms, Dialogs, ExtCtrls, StdCtrls;
type
TFormSelectSource = class(TForm)
protected
procedure DoCreate; override;
public
LBSources: TListB... |
unit ATxNextFile;
interface
uses
Windows, TntClasses;
type
TATNextFile = (nfNext, nfPrev, nfCurrent);
TATFileSort = (fsName, fsNameDesc, fsExt, fsExtDesc);
type
TATFileList = class
private
FList: TTntStringList;
FListCountLimit: integer;
FDirectory: WideString;
FSortOrder: TATFileSort;
... |
unit VoiceRx;
interface
uses
Classes,
DirectSound,
DSoundOut,
CompressIntf;
type
TVoiceRx =
class
public
constructor Create;
destructor Destroy; override;
public
procedure Start;
pr... |
unit HCAdapter; {$Z4}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Модуль: "w:/garant6x/implementation/Garant/HCAdapter/HCAdapter.pas"
// Delphi интерфейсы для адаптера (.pas)
// Generated from UML model, root element: <<AdapterTarget::C... |
unit First;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, RTTI, IniFiles, TypInfo,
Vcl.ExtCtrls, Vcl.Grids, Vcl.ValEdit, Generics.Collections, System.Generics.Collections;
type
TForm1 = clas... |
unit ULicenca;
interface
uses
System.SysUtils, System.Classes,
Data.DB,
FireDAC.Comp.Client,
FireDAC.Comp.DataSet, ULicencaVO, uLicencaItensVO, System.Generics.Collections,
uDM, uFireDAC, uGenericDAO;
const CConsulta: string =
'SELECT CLILICID, CLILICCNPJCPF,CLILICEMPRESA,CLILICQUANTESTACAO,CLILICQUA... |
unit FolderTreeView;
{
Inno Setup
Copyright (C) 1997-2008 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
TFolderTreeView component
$jrsoftware: issrc/Components/FolderTreeView.pas,v 1.42 2009/03/25 11:47:32 mlaan Exp $
}
interface
{$IFDEF VER200}
{$DE... |
unit Script.WordsInterfaces;
interface
uses
Core.Obj,
Script.Interfaces
;
type
TscriptContext = class(TCoreObject)
private
f_Log : IscriptLog;
protected
procedure Cleanup; override;
public
constructor Create(const aLog: IscriptLog);
procedure Log(const aString: String);
{* - Выводит сообщен... |
{ behavior3delphi - a Behavior3 client library (Behavior Trees) for Delphi
by Dennis D. Spreen <dennis@spreendigital.de>
see Behavior3.pas header for full license information }
unit Behavior3.Decorators.RepeatUntilSuccess;
interface
uses
System.JSON,
Behavior3, Behavior3.Core.Decorator, Behavior3.Core.BaseNod... |
unit DBErrFo;
interface
uses
Windows, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Grids, DBGrids, DB, DBTables, StdCtrls, AppEvnts, DBClient;
type
TForm1 = class(TForm)
Memo1: TMemo;
Label1: TLabel;
DataSource1: TDataSource;
DBGrid1: TDBGrid;
Button1: TButton;
Button2: TButto... |
program decline;
(* calculates and prints depreciation schedule for an asset *)
var
cost,salvage,book,loss,totaldep,rate,ysum,diff : real;
life,year : 0 .. 9999;
mode: 1 .. 3; (* number of method chosen *)
begin
(* user input *)
write('cost of asset? ');
read(cost);
write('salvage value? ');
read(salvage);
... |
{ Subroutine SST_EXP_EVAL (EXP,NVAL_ERR)
*
* Evaluate a compiled expression. This means determining its data type, and
* value if known at compile time. EXP is the expression to evaluate. If
* NVAL_ERR is TRUE, then it will be considered an error if the expression can
* not be evaluated to a constant value... |
unit SmSActivate;
interface
uses
System.SysUtils, System.Classes, HTTPSend, ssl_openssl;
const
URL = 'http://sms-activate.ru/stubs/handler_api.php?';
RUS = '0';
UKR = '1';
type
TLogEvent = procedure(txt: string) of object;
TSMSActivate = class
private
FOnLog: TLogEvent;
FId,... |
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.Ani, FMX.Objects, System.Math, duck,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.ListBox, FMX.Layouts;
type
TForm1 = class(TForm)
... |
unit fmuPrintBuffer;
interface
uses
// VCL
Windows, Forms, ComCtrls, StdCtrls, Controls, Classes, SysUtils, Messages,
Buttons, ExtCtrls,
// This
untPages, untUtil, untDriver, Spin;
type
{ TfmPrintBuffer }
TfmPrintBuffer = class(TPage)
Memo: TMemo;
btnReadPrintBufferLineNumber: TButton;
btn... |
unit uLayoutMyExpress;
interface
uses
Contnrs, ACBrTXTClass, ACBrUtil, Controls;
type
TTipoItem = (
tiMercadoriaRevenda, { *** } // 00 – Mercadoria para Revenda
tiMateriaPrima, { ******** } // 01 – Matéria-Prima;
tiEmbalagem, { *********** } // 02 – Embalagem;
tiProdutoProcesso, { ***** } // 03 –... |
// Upgraded to Delphi 2009: Sebastian Zierer
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* 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 a... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit UDemo;
interface
uses
SysUtils, Types, UITypes, Classes, Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TMSBaseControl,
FMX.TMSGridOptions, FMX.TMSGridData, FMX.TMSGrid, FMX.Edit, FMX.TMSGridCell,
FMX.TMSCustomGrid, FMX.StdCtrls;
type
TForm719 = class(TForm)
TMSFMXGrid1: TTMSFMXGri... |
unit DW.OSDevice.Posix;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library }... |
unit uServicos;
interface
uses
System.SysUtils, Vcl.Dialogs;
type
TServicos = class
strict private
FValor1: Double;
FValor2: Double;
procedure SetValor1(const Value: Double);
procedure SetValor2(const Value: Double);
{ private declarations }
protected
{ protected declarat... |
unit ddTableRow;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "dd"
// Модуль: "w:/common/components/rtl/Garant/dd/ddTableRow.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root element: <<SimpleClass::Cla... |
unit TasksPanelKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы TasksPanel }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Common\TasksPanelKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "TasksPanelKeywordsPack" MUID: (7508C2F22B0F)
{$Include w:\g... |
Program MTYPE;
// ====================================================================
// Mystic BBS Software Copyright 1997-2013 By James Coyle
// ====================================================================
//
// This file is part of Mystic BBS.
//
// Mystic BBS is free software: you ca... |
{$I tdl_dire.inc}
unit tdl_audi;
{
Auditing routines for tracking user activity
}
interface
uses
DOS,
objects,
tdl_glob,
tdl_conf;
type
PAuditRec=^TAuditRec;
TAuditRec=record
titleID:word;
titleHash:MD5hash;
startTime,
endTime:DateTime;
minsActive:word;
end;
PAuditLog=^TAuditLog;... |
program parcial;
const
dimF = 16;
dimC = 7300;
type
rangoCod = 1..16;
str40 = String[40];
plan = record
codigoPlan : rangoCod;
costoTotal : Real;
cantSesiones : Integer;
end;
cliente = record // se dispone
nombre : str40;
dni : Integer;
ciudadOrigen : str40;
codigoPlan : rangoCod;
fina... |
unit StyleEditorNavigatorKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы StyleEditorNavigator }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Settings\Forms\StyleEditorNavigatorKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "StyleEditorNavigatorKe... |
unit untTestParams;
interface
uses
// VCL
Sysutils, Classes, Forms, Dialogs;
type
TTestParams = class(TComponent)
private
FParamsLoaded: Boolean;
FSlipDiscountCharge: TStringList;
FSlipClose: TStringList;
FSlipConfigure: TStringList;
FSlipOpen: TStringList;
FSlipRegistration: TStringLi... |
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: Franšois Piette
Description: TTrackDataSet keep track of TDataSet insert, delete and update.
See Quick Referece below.
Creation: April 1, 1999
Version: 1.04
EMail: francois.piette@overbyte.b... |
unit evNSRCWriterTypes;
// Модуль: "w:\common\components\gui\Garant\Everest\evNSRCWriterTypes.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "evNSRCWriterTypes" MUID: (4BAC9A2A03A8)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
uses
l3IntfUses
, evdTypes
;
type
TevNSRCParaStyle ... |
unit FFSLOGTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TFFSLOGRecord = record
PLogID: Integer;
PDateStamp: String[20];
PUserID: String[10];
PRecordType: String[10];
PLogMessage: String[100];
End;
TFFSLOGBuffer = class(TDataBuf)
... |
unit View.PesquisarPessoas;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinBlack,
dxSkinBlue, dxSkinBlueprint, dxSkinCaramel, d... |
unit cCadDepartamento;
interface
uses System.Classes, Vcl.Controls,
Vcl.ExtCtrls, Vcl.Dialogs, FireDAC.Comp.Client, System.SysUtils;
// LISTA DE UNITS
type
TDepartamento = class
private
// VARIAVEIS PRIVADA SOMENTE DENTRO DA CLASSE
ConexaoDB: TFDConnection;
F_cod_departamento: Integer;
F_nome_d... |
{* Given the side a of a square, find the perimeter *
* P of the square *
* P = 4 * a *}
unit Unit1;
interface
type
TSquare = class
function Square(a: Integer): Integer;
end;
implementation
{ TSquare }
function TSquare.Square(a: ... |
unit HGM.Controls.EditPanel;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.StdCtrls, Vcl.ExtCtrls, HGM.Common;
type
TOnPressEnter = procedure(Sender:TObject; var AllowNext:Boolean) of object;
TEditPanel = class(TP... |
Program Graphics;
{$apptype GUI}
Uses WinCrt, Graph;
Var GrDriver, GrMode: Integer;
{These vars are needed to initialize the graphics}
ch : char;
Begin
// ClrScr;
GrDriver := 0;
GrMode := 0;
//ShowWindow(GetActiveWindow,0);
InitGraph (GrDriver, GrMode, '');
{InitGraph is... |
unit KM_HandAI_Ext;
interface
uses
Windows, System.SysUtils,
KM_Consts, KM_Terrain,
ExtAIInfo, ExtAINetServer, ExtAIMsgActions, ExtAIMsgEvents, ExtAIMsgStates;
type
// Main AI class in the hands
TKMHandAI = class
protected
fHandIndex: TKMHandIndex;
public
constructor Create(aHandIndex: TKMHandInd... |
// Upgraded to Delphi 2009: Sebastian Zierer
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* 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 a... |
unit SoundLib;
interface
uses
Windows, DirectSound, SysUtils;
const
skClass = -1;
skUser = 5;
type
ESoundError = class(Exception);
function InitSoundLibrary(focus : hWnd) : boolean;
procedure DoneSoundLibrary;
function GetDSoundInstance : IDirectSound;
// function GetLibStatus : in... |
(******************************************************************)
(* SFX for DelZip v1.8 *)
(* Copyright 2002-2004, 2008 *)
(* *)
(* written by Markus Stephany ... |
Program FuncionDelete;
//tiene la misma funcion que el delete en pascal
Var
s,saux:string;
inicio,cantidad,salida,i:integer;
Begin
Repeat
Write('Introduzca string a borrar => '); Readln(s);
Write('Introduzca posicion de inicio => '); Readln(inicio);
Write('Introduzca cantidad de caracteres a el... |
unit RxSystemServices;
{$mode objfpc}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs;
type
TRxServiceType = (sstAll, sstService, sstDrivers);
TRxServiceStatus = (sssAll, sssActive, sssInactive);
TRxServiceState = (srsStoped, //SERVICE_STOPPED : S := 'Серви... |
unit Fields;
interface
uses
// VCL
Classes, SysUtils;
type
TField = class;
TFields = class(TComponent)
private
function GetCount: Integer;
function GetField(Index: Integer): TField;
public
procedure Clear;
procedure SetDefaults;
function Add: TField;
procedure SaveToStream(Dst: T... |
unit UpgradeFacTask;
interface
uses
Tasks, Kernel, Accounts, CacheAgent, BackupInterfaces, Inventions, FacIds;
type
TMetaUpgradeFacTask =
class(TMetaTask)
private
fFacId : TFacId;
public
property FacId : integer read fFacId write fFacId;
end;
TUpgradeF... |
unit account;
interface
type
IAccountModel = interface
['{3ADB0592-AC32-44C0-B276-46184083B3C2}']
function id: String; overload;
function id(const AValue: String): IAccountModel; overload;
function name: String; overload;
function name(const AValue: String): IAccountModel; overload;
funct... |
unit nsPrimAdapterNode;
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Data\Tree\nsPrimAdapterNode.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnsPrimAdapterNode" MUID: (4ADDF4110392)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses
, nsPrimNode
, BaseTreeSup... |
unit controlPosition;
interface
uses Forms,IniFiles, Classes, Controls, SysUtils;
procedure ReadControlPlacement(const form : TForm);
procedure WriteControlPlacement(const form : TForm);
implementation
procedure ReadControlPlacement(const form : TForm);
var
iniFile : TIniFile;
idx : intege... |
unit DT_DbInfo;
// TDbInfo работает с INI-файлами.
// С основном только читает, менять может только номера версий.
// Номера версий читает либо из файла ARCHI.VERSION (если он имеется),
// либо из файлов BASE.INI в папках семейств и папке MAIN (если отсутствует файл ARCHI.VERSION).
// Таким образом наличие-отсутствие ... |
namespace Sugar.Echoes.WP8.Test;
interface
uses
Sugar.Echoes.WP8.Test.Resources;
type
/// <summary>
/// Provides access to string resources.
/// </summary>
LocalizedStrings = public class
private
class var _localizedResources: AppResources := new AppResources();
public
propert... |
unit BufferProviders;
interface
uses
Buffer;
type
CBufferProvider = class of TBufferProvider;
TBufferProvider =
class
function CreateBitmap : TBuffer; virtual; abstract;
end;
function GetProvider( id : integer ) : TBufferProvider;
procedure RegisterProvider( id : intege... |
{
Clever Internet Suite
Copyright (C) 2014 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clSshSocket;
interface
{$I ..\common\clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils, Windows,
{$ELSE}
System.Classes, System.SysUtils, Winapi.Windows,
{$ENDIF}
clSocket, clUtils, clS... |
unit ufrmPenjualan;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmDefault, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxCheckBox, cxStyles, cxCustomData,
cxFilter, cxData, cxDataStor... |
unit GX_CompRename;
(* Things left to consider:
* - Search a new component's ancestors to get an alternate rename rule
* - Remove timer hack somehow?
* - Allow explicit %d rename rules to apply before the rename dialog shows
*)
{$I GX_CondDefine.inc}
interface
uses
Classes, Controls, Forms, St... |
unit eeprom;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
main_engine,dialogs,file_engine;
const
SERIAL_BUFFER_LENGTH=40;
type
eeprom_class=class
constructor create(address_bits,data_bits:byte;cmd_read,cmd_write,cmd_erase:string;cmd_lock:string='';cmd_unlock:string='';enable_multi_read:boolea... |
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.Effects,
FMX.Objects, FMX.Layouts, FMX.ListBox, FMX.StdCtrls,
FMX.Controls.Presentation, FMX.Edit, Controller.Interfaces,
Controller.O... |
{Realizar un programa que lea información de los candidatos ganadores de las últimas elecciones a
intendente de la provincia de Buenos Aires. Para cada candidato se lee: localidad, apellido del
candidato, cantidad de votos obtenidos, y cantidad de votantes de la localidad. La lectura finaliza al
leer la localidad ‘Zára... |
unit vtImageForm;
{ $Id: vtImageForm.pas,v 1.4 2007/12/12 11:52:08 voba Exp $ }
// $Log: vtImageForm.pas,v $
// Revision 1.4 2007/12/12 11:52:08 voba
// - cc
//
// Revision 1.3 2007/12/12 11:02:03 voba
// - убрал EraseBackground
//
// Revision 1.2 2007/12/12 07:45:54 voba
// - bug fix
//
// Revision 1.1 2007/1... |
unit Model.EntregadoresExpressas;
interface
uses
Common.ENum, FireDAC.Comp.Client, DAO.Conexao, System.SysUtils;
type
TEntregadoresExpressas = class
private
FCadastro: Integer;
FEntregador: Integer;
FFantasia: String;
FAgente: Integer;
FData: TDateTime;
FChave: String;
FGrupo: I... |
unit modShapes;
interface
const
MAX = 10;
type
pointRec = record
x : integer;
y : integer;
end;
shape = class
visible : boolean;
procedure move(mx, my : integer); virtual; abstract; (* abstract methods have no definition *)
procedure write; virtual;
end;
shapes = array[1..MAX] of shap... |
unit gradcustomcontrol;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Controls, Graphics;
type
{ TGradCustomControl }
TGradCustomControl = class(TCustomControl)
protected
FBuffer: TBitmap;
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clImapUtils;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils;
{$ELSE}
System.Classes, System.SysUtils;
{$ENDIF}
type
TclImap4ConnectionState = (csNonAuthenticated, csAu... |
unit ssClientDataSet;
interface
uses
Windows, Messages, SysUtils, Classes, DB,
{$IFNDEF NODESIGN}DesignEditors, DSDesign,{$ENDIF}
DBClient;
type
TssClientDataSet = class(TClientDataSet)
private
FMacros: TParams;
procedure SetMacros(const Value: TParams);
protected
procedure O... |
Unit l3MinMax;
interface
{ Библиотека "L3 (Low Level Library)" }
{ Автор: Люлин А.В. © }
{ Модуль: l3MinMax - }
{ Начат: 01.12.95 16:28 }
{ $Id: l3MinMax.pas,v 1.9 2016/03/23 14:36:16 lulin Exp $ }
// $Log: l3MinMax.pas,v $
// Revision 1.9 2016/03/23 14:36:16 lulin
// - вычищаем.
//
// Revision 1.8 2014/05/20 16:... |
unit uSelfDialogBox;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
type
{ TfDialogBox }
TfDialogBox = class(TForm)
btnYes: TButton;
btnNo: TButton;
Label1: TLabel;
procedure btnYesClick(Sender: TObject);
private
{ private ... |
unit define_stock_info;
interface
type
TStockInfoType = (inf_Undefine,
inf_EPS, // earnings per share
inf_PE_LYR, // price earning ratio
inf_PE_TTM, // price earning ratio
inf_GeneralCapital,
inf_NAPS, // 每股净资产 net asset per share
inf_PB, // 市净率
inf_Flow,
i... |
unit frmInIOCPWebQueryScores;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, iocp_sockets, iocp_managers, iocp_server,
http_base, http_objects, fmIOCPSvrInfo;
type
TFormInIOCPWebQueryScores = class(TForm)
InIOCPServer1: TInIOCPServer;
InHt... |
unit define_dealstore_header;
interface
uses
define_price;
type
// ================================================================
// header define
// ================================================================
TStore_Signature = packed record // 6
Signature ... |
{ *********************************************************** }
{ * TForge Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2016 * }
{ *********************************************************** }
unit tfMD5;
{$I TFL.inc}
{$IFDEF TFL_CPUX86_WIN32}
... |
{******************************************************************************}
{ }
{ Library: Fundamentals 5.00 }
{ File name: flcTCPTests.pas ... |
unit akEMail;
interface
uses Windows;
resourcestring
exMailClientErr = 'Unable to open mail client (%d).'#$0A'Message to "%s" was not created.';
// Показывает диаложик отправки сообщения
function DlgSendEmail(const RecipName, RecipAddress, Subject, Text: string; ShortText: string = ''; showErr: Boolean = false): ... |
unit ExtAIBaseDelphi;
interface
uses
Windows, Classes, Generics.Collections,
System.SysUtils,
ExtAILog, ExtAINetClient, ExtAIActions, ExtAIEvents, ExtAIStates;
type
// The main thread of ExtAI, communication interface and parent of every ExtAI
TExtAIBaseDelphi = class(TThread)
private
// Thread variabl... |
// AKTools akCustomProject unit.
// Базовый модуль для VCL-проектов.
//=============================================================================
////////////////////////////////////////////////////////////////////////////////
// Модуль проектов // by Dmitry Kudinov //... |
unit AddRectangularAvoidanceZoneUnit;
interface
uses SysUtils, BaseExampleUnit, NullableBasicTypesUnit;
type
TAddRectangularAvoidanceZone = class(TBaseExample)
public
function Execute: NullableString;
end;
implementation
uses TerritoryContourUnit, AvoidanceZoneUnit;
function TAddRectangularAvoidanc... |
unit DictionInterfaces;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Diction"
// Автор: Люлин А.В.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/Diction/DictionInterfaces.pas"
// Начат: 14.11.2008 13:50
// Родные D... |
// Current identifier location editor expert
// Contributed to GExperts by Max Vlasov <maksee@mail.ru>
// Additional edits by Erik Berry
unit GX_ePrevNextIdentifier;
interface
uses
Classes, StdCtrls, Controls, Forms, GX_BaseForm, GX_EditorExpert, GX_ConfigurationInfo;
type
TViewChangeType = (vctScro... |
(*---------------------------------------------------------*)
(* Different Array implementations *)
(* Neuhold Michael *)
(* 28.11.2018 *)
(* 1. static array with fixed size *)
(* 2. arra... |
unit vtOutlinerWithDragDropRes;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "VT"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/gui/Garant/VT/vtOutlinerWithDragDropRes.pas"
// Начат: 10.03.2010 21:43
// Родные Delphi и... |
unit evActionInterfaces;
{ Библиотека "Эверест" }
{ Автор: Люлин А.В. © }
{ Модуль: evActionInterfaces - }
{ Начат: 04.10.2001 10:57 }
{ $Id: evActionInterfaces.pas,v 1.4 2001/12/28 12:31:07 law Exp $ }
// $Log: evActionInterfaces.pas,v $
// Revision 1.4 2001/12/28 12:31:07 law
// - new prop: в описание опер... |
{*
* Copyright © 2008 Kristian Høgsberg
*
* 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, pub... |
{
DBAExplorer - Oracle Admin Management Tool
Copyright (C) 2008 Alpaslan KILICKAYA
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 3 of the License, or
(at... |
unit CacheServerRDO;
interface
uses
SyncObjs, RDOInterfaces;
const
MaxWorlds = 20;
ConnectionTime = 5*1000;
ProxyTimeOut = 1*60*1000;
type
IWorldProxy =
interface
procedure Lock;
procedure Unlock;
function GetName : string;
function IsConnecte... |
unit DW.Firebase.InstanceId.iOS;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library ... |
unit uThread;
interface
uses
Classes, Windows, SysUtils, Registry;
type
TRunThread = class(TThread)
private
FFileName: String;
procedure SetFileName(const Value: String);
{ Private declarations }
protected
procedure Execute; override;
public
property FileName: String read FFileName writ... |
unit Validacoes;
interface
uses
System.Classes, System.Generics.Collections, RTTIUtils, System.SysUtils;
type
TValidacoes = class(TObject)
private
FList : TList<String>;
FResult : TProc<String>;
public
constructor Create;
destructor Destroy; override;
functi... |
unit TableToolsTestPrim;
// Модуль: "w:\common\components\gui\Garant\Daily\TableToolsTestPrim.pas"
// Стереотип: "TestCase"
// Элемент модели: "TTableToolsTestPrim" MUID: (4CE38AD60265)
{$Include w:\common\components\gui\sdotDefine.inc}
interface
{$If Defined(nsTest) AND NOT Defined(NoVCM)}
uses
l3IntfUses
, Text... |
unit CleanArch_EmbrConf.test;
interface
uses
CleanArch_EmbrConf.Controller.ParkinLot,
DUnitX.TestFramework,
System.SysUtils, CleanArch_EmbrConf.Core.Entity.Interfaces;
type
[TestFixture]
TMyTestObject = class
private
FController : iController;
public
[Setup]
procedure Setup;
[TearDown]... |
// Reports of memory leaks for old versions of Delphi
// Must be the FIRST module in dpr-file uses list
unit uLostMemory;
interface
implementation
uses SysUtils, uLog;
var
HPs : THeapStatus;
HPe : THeapStatus;
Lost: Integer;
initialization
HPs := getHeapStatus;
finalization
HPe :=... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit vcmFormHandler;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "VCM$Visual"
// Модуль: "w:/common/components/gui/Garant/VCM/implementation/Visual/vcmFormHandler.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML ... |
{*******************************************************************************
作者: dmzn@163.com 2011-11-21
描述: 商品退换代理
*******************************************************************************}
unit UFrameReportProductRetun;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics... |
program QueueV3;
(*
procedures:
1. init
2. enqueue
3. dequeue
*)
uses crt;
const size = 10;
type
queueType = record
front, rear : Integer;
data : array[1..size] of Integer;
isFull, isEmpty : boolean;
end;
var q : queueType... |
unit FlagFile;
interface
uses
betterobject, systemx, classes, ExceptionsX, sysutils, typex;
type
ILockFile = IHolder<TFileStream>;
TFlagFileHandler = class(TSharedObject)
public
class function TryHoldFlag(sFile: string): ILockFile;
class function AssertFlagHold(sFile: string): ILockFile;
end;
... |
unit TTSCAPTIONTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSCAPTIONRecord = record
PLenderNum: String[4];
PLoan: String[20];
PCIF: String[20];
PLender: String[20];
PBorrower: String[20];
PBoldLoan: String[20];
PBranch: String... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.