text stringlengths 14 6.51M |
|---|
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, IPPeerClient, REST.Client,
Data.Bind.Components, Data.Bind.ObjectScope;
type
TForm1 = class(TForm)
Memo1: TMemo;
btnOk: TButt... |
unit ColisionCheck;
interface
uses ColisionCheckBase, BasicMathsTypes, BasicDataTypes;
{$INCLUDE source/Global_Conditionals.inc}
type
PColisionCheck = ^CColisionCheck;
CColisionCheck = class (CColisionCheckBase)
private
function IsVertexInsideOrOutside2DNone(const _VL1, _VL2, _V: TV... |
(*
Category: SWAG Title: NOVELL/LANTASTIC NETWORK ROUTINES
Original name: 0054.PAS
Description: AS/400 to ASCII converter
Author: TOBIAS SCHROEDEL
Date: 08-30-97 10:09
*)
{
This code if herewith given to the public domain and may be used for and in
any situation needed. It may help you to convert AS/400 dat... |
(*==========================================================================;
*
* Copyright (C) 1995-1997 Microsoft Corporation. All Rights Reserved.
*
* File: d3dcaps.h
* Content: Direct3D capabilities include file
*
* DirectX 5 Delphi adaptation by Erik Unger
* (based on Blake Stone's DirectX 3 adaptati... |
unit OTFEUnified_frmSelectOTFESystem;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Di... |
unit appgui;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ExtCtrls, sorter;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
Button2: TButton;
CheckBox1: TCheckBox;
Label1: TLabel;
OpenDialog1: TOpenDialog;
Rad... |
unit ScriptEdit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, SynEdit, SynHighlighterPas, Forms, Controls, StdCtrls,
Graphics, Dialogs, Menus, lazUTF8,
msgstr, scriptsfunc, usbhid;
type
{ TScriptEditForm }
TScriptEditForm = class(TForm)
MainMenu: TMainMenu;
MenuItemScetionName... |
//******************************************************************************
// Проект "Контракты"
// Справочник лог
// Чернявский А.Э. 2006г.
//******************************************************************************
unit cn_Log_Unit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphi... |
unit uMediaRepository;
interface
uses
Generics.Collections,
System.SysUtils,
Dmitry.CRC32,
Dmitry.Utils.System,
UnitDBDeclare,
uConstants,
uMemory,
uDBClasses,
uDBConnection,
uDBContext,
uDBEntities,
uCollectionEvents;
type
TMediaRepository = class(TInterfacedObject... |
unit gr_uMessage;
interface
uses Classes, SysUtils,Dialogs,Graphics,Forms,StdCtrls, gr_uCommonProc, Controls;
function grShowMessage(Title:String;Msg:String;DlgType:TMsgDlgType;Buttons:TMsgDlgButtons):Integer;
implementation
const OkBtnCaption :array [1..2] of string = ('Гаразд','Хорошо');
const CancelBtnCap... |
unit CryptocurrencyDM;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,
FireDAC.DApt.Intf, REST.Types, REST.Client, REST.Response.Adapter,
Data.Bind.Components, Data.Bind.ObjectScope, Data.D... |
{$B-,I-,Q-,R-,S-}
{$M 16384,0,655360}
{þ Kola.
En un cuarto hay M botellas rellenas con una bebida sumamente
popular y de buen gusto, llamada Kola. Cada una de las botellas est
marcada por uno de los n£meros 1, 2, 3, ... M, y no hay ning£n par de
botellas marcadas con el mismo n£mero.
Una cola (muy ... |
unit URunner;
interface
uses ULogger, Windows, SysUtils;
procedure Run(const Feedback: TLogger; const LogChannel: TLogChannel;
const FileName, CurrDir: string; const Parameters: string;
const ExpectedExit: integer = 0);
implementation
uses ShellAPI;
procedure Run(const Feedback: TLogger; const Log... |
unit unContaCorrenteController;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, unControllerBase, unModelBase, SQLDB;
type
{ TLoadBanco }
TLoadBanco = class(TInterfacedObject, IObserverCurrent, IObserverList)
private
FConnection: TSqlConnection;
FCurrent: string;
FList: TStringList;
... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit uDateUtils;
interface
uses
System.SysUtils,
System.DateUtils,
uTranslate;
function DateTimeStrEval(const DateTimeFormat: string; const DateTimeStr: string): TDateTime;
function FormatDateTimeShortDate(Date: TDateTime): string;
function MonthToString(Date: TDate; Scope: string): string; overload... |
unit ListRes;
{$MODE Delphi}
interface
uses Values, Classes;
type
TCOGFile=class
Vals:TCOgValues;
Constructor Create;
Destructor Destroy;override;
Procedure Load(const fname:string);
Procedure LoadNoLocals(const fname:string);
Function GetCount:integer;
Function GetItem(i:integer):TCOGValue;
Property Count:... |
unit SpPeople_Types;
interface
uses Controls;
type
TEditMode = (emNew, emModify, emView);
// Уже есть в SP_Lib.SpCommon
type
TItemInfo = record
IdMan: integer;
FIO: string;
Familia: string;
Imya: string;
Otchestvo: string;
Rus_familia: string;
Rus_I... |
unit uCharFunctions;
interface
function IsDigit(ch: char): boolean;
function IsUpper(ch: char): boolean;
function IsLower(ch: char): boolean;
function ToUpper(ch: char): char;
function ToLower(ch: char): char;
function ValidateQty(cKey:Char):Char;
function ValidateCurrency(cKey:Char):Char;
function ValidatePositiveCu... |
unit uModAgreement;
interface
uses
uModApp, uModRefPajak, uModTipePembayaran, uModCustomer, uModProdukJasa,
uModBank, uModOrganization, uModUnit;
type
TModAgreement = class(TModApp)
private
FAGR_DATE_END: TDatetime;
FAGR_DATE_INV: TDateTime;
FAGR_DATE_START: TDatetime;
FAGR_DESCRIPTION: strin... |
unit GLDRepositoryForm;
interface
uses
Windows, SysUtils, Classes, Controls, Forms,
ComCtrls, StdCtrls, ExtCtrls, Menus, Buttons,
GL, GLDTypes, GLDConst, GLDClasses, GLDObjects,
GLDCamera, GLDMaterial, GLDRepository;
type
TGLDRepositoryForm = class(TForm)
P_ToolBar: TPanel;
P_Buttons: ... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Implements projected textures through a GLScene object.
}
unit VXS.ProjectedTextures;
interface
{$I VXScene.inc}
uses
System.Classes,
VXS.OpenGL,
VXS.XOpenGL,
VXS.VectorTypes,
VXS.Scene,
VX... |
unit InfoPagina;
{$mode delphi}
interface
uses
Classes, SysUtils;
type
//Estrazione informazioni dal topic
TInfoTopic = class
private
ttopic, tsubject, tnum_replies, tsc : String;
tvalido : Boolean;
public
constructor Create(NomeFile:String);
function Topic : String;
... |
unit UHistory;
interface
type
THistoryCell = packed record
code: Integer;
date: TDateTime;
score: Integer;
snakeLength: Integer;
end;
THistoryArray = array of THistoryCell;
procedure addHistoryItem(cell: THistoryCell); overload;
procedure clearHistory();
function returnHistory():THistoryArray... |
unit Chapter05._06_Solution1;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
AI.ListNode;
// 19. Remove Nth Node From End of List
// https://leetcode.com/problems/remove-nth-node-from-end-of-list/description/
//
// 使用双指针, 对链表只遍历了一遍
// 时间复杂度: O(n)
// 空间复杂度: O(1)
type
TSolution = class(TObject)
publ... |
unit FProgress;
(*====================================================================
Universal progress window - used when resorting window with found items
======================================================================*)
interface
uses
SysUtils,
{$ifdef mswindows}
WinTypes,WinProcs,
{$EL... |
unit define_datasrc;
interface
uses
define_dealitem;
type
TDealDataSource = (
src_unknown,
src_all,
src_ctp,
src_offical,
src_tongdaxin,
src_tonghuasun,
src_dazhihui,
src_sina,
src_163,
src_qq,
src_xq
);
const
DataSrc_All = 1;
DataSrc... |
program HowToMoveASprite;
uses
SwinGame, sgTypes;
procedure Main();
var
ball: Sprite;
begin
OpenGraphicsWindow('Move a Sprite', 150, 150);
LoadBitmapNamed('ball', 'ball_small.png');
ball := CreateSprite(BitmapNamed('ball'));
SpriteSetX(ball, 60);
SpriteSetY(ball, 0);
SpriteSetDx(bal... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
program FiveCollCatalog(input, output);
const
MaxBooksInCatalog = 25;
choiceListBooks = 1;
choiceAddBook = 2;
choiceEndOfWork = 3;
charBook = 'B';
charJournal = 'J';
charAvailable = 'A';
charLoan = 'L';
charReserved = 'R';
C... |
//**************************************************************
// *
// SecurityManager * *
// For Delphi 5, 6, 7, 2005, 2006 *
/... |
unit uSpDismissionView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, DB, cxDBData, cxGridLevel, cxGridCustomTableView,
cxGridTableView, cxGridDBTableView, cxControls, cxGridCustom... |
unit TurboDocumentHost;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls,
dxDockControl, dxDockPanel,
TurboPhpDocument, Design;
type
TTurboDocumentHostForm = class(TForm)
dxDockingManager1: TdxDockingManager;
DesignDock: TdxDockPanel;
... |
//
// Generated by JavaToPas v1.5 20160510 - 150223
////////////////////////////////////////////////////////////////////////////////
unit android.drm.DrmStore_ConstraintsColumns;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes;
type
JDrmStore_ConstraintsColumns = interface;
JDrmStore_Constrain... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Nurbs surfaces vector file loading.
}
unit VXS.FileNurbs;
interface
uses
System.Classes,
System.SysUtils,
VXS.VectorFileObjects,
VXS.VectorGeometry,
VXS.VectorLists,
VXS.ApplicationFileIO,
VXS.Parame... |
unit IconsLib;
{$I NoRTTI.inc}
interface
uses
Windows, System.SysUtils, System.Classes, Graphics, System.ImageList, Vcl.ImgList,
Vcl.BaseImageCollection, Vcl.ImageCollection, Controls, CommCtrl,
{$IFDEF HFS_GIF_IMAGES}
Vcl.Imaging.gifimg,
{$ELSE ~HFS_GIF_IMAGES}
Vcl.Imaging.gifimg,
Vcl.Imagi... |
unit sgDriverGraphics;
//=============================================================================
// sgDriverGraphics.pas
//=============================================================================
//
// The Graphics driver is responsible for acting as the interface between driver
// code and swingame code. Sw... |
unit addInterlocutorForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Ani, FMX.Layouts, FMX.Gestures,
FMX.StdCtrls, FMX.Controls.Presentation, FMX.Graphics, FMX.Media,
Data.Bind.Components, Data.Bind.... |
unit EST0002P.View;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, PesquisaBase.View, cxGraphics, cxLookAndFeels,
cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore, dxSkinDevExpressDarkStyle, dxSkinDevExpressStyle... |
{-----------------------------------------------------------------------------
Unit Name: SVGInterfaces
Author: PyScripter
Purpose: Inteface-based access to Svg parsing and drawing
History:
-----------------------------------------------------------------------------}
unit SVGInterfaces;
interface
Uses
Wi... |
unit MainFrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TMainForm = class(TForm)
btnHash: TButton;
edtHash: TEdit;
memSrc: TMemo;
pnlBottom: TPanel;
r... |
unit uSelfDeleteAction;
interface
uses
System.SysUtils,
System.Classes,
Winapi.Windows,
uMemory,
uActions,
uShellUtils,
uInstallUtils;
const
InstallRemoveSelfPoints = 512 * 1024;
type
TSelfDeleteActions = class(TInstallAction)
public
function CalculateTotalPoints: Int64; o... |
unit Level_1_1.Entities;
interface
type
TSpawnFlag = (sfCopyPosition);
TSpawnFlags = set of TSpawnFlag;
TBehaviorFlag = (bfIgnoreCollision, bfCameraFollows, bfCameraCenters, bfAlwaysUpdate);
TBehaviorFlags = set of TBehaviorFlag;
TEntity = record
Active: Integer;
X: Single;
Y: Single;
Input... |
unit trl_ilog;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
ILog = interface
['{5F619DCC-AC09-4617-B9F5-7789E36FA39C}']
procedure DebugLn(const s: string = ''); overload;
procedure DebugLn(const S: String; Args: array of const); overload;
procedure DebugLnEnter(const s: string = '')... |
PROGRAM wildcard;
uses Crt, Timer;
VAR
comps : LONGINT;
(* Compares two char
Returns true if chars equal *)
FUNCTION EQ(c1,c2 : CHAR) : BOOLEAN;
BEGIN
comps := comps + 1;
IF c1 = '?' THEN EQ := TRUE
ELSE EQ := c1 = c2;
END;
(* Check for a char in a string
recursive
Returns true if c... |
program hvl2wav;
(*
Project : HVL2WAV v1.2
Detail : FPC Port based on HVL2WAV v1.2 for Win32 and AmigaOS4
URL : http://www.petergordon.org.uk/files/hvl2wav12.zip
*)
{$H+}
Uses
sysutils,
replay; // unit replay, based on hvl replayer library 1.8
Var
max_frames : uint32 = 10 * 6... |
unit ClassPedido;
interface
uses System.Generics.Collections, ClassConexao, Data.DB;
type
TPedido = Class
public type
TItensPedido = Class
private
FVlrTotal : Double;
FNumPedido : Integer;
FItem : Integer;
FQuantidade : Double;
FVlrUni... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmNotebook
Purpose : A replacement for Borlands Notebook component.
Date : 11-20-02
Author : Ryan J. Mills
Version : 1.92
Notes :
===================================... |
unit uFrmQuickBooks;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParent, siComp, StdCtrls, ExtCtrls, cxStyles, cxCustomData,
cxGraphics, cxFilter, cxData, cxEdit, DB, cxDBData, cxGridLevel,
cxClasses, cxControls, cxGridCustomView, cxGridCustomTableView,
... |
unit uMainForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Edit, FMX.Controls.Presentation, IPPeerClient, IPPeerServer,
System.Tether.Manager, System.Tether.AppProfil... |
unit unBanco;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, unModelBase;
type
{ TBanco }
TBanco = class(TModelBase)
private
FCodigoBanco: integer;
FNomeBanco: string;
procedure SetCodigoBanco(AValue: integer);
procedure SetNomeBanco(AValue: string);
public
p... |
unit DSA.Sorts.SelectionSort;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
DSA.Interfaces.Comparer,
DSA.Utils;
type
{ TSelectionSort }
generic TSelectionSort<T> = class
private
type
TArr_T = specialize TArray<T>;
ICmp_T = specialize IDSA_Comparer<T>;
public
class procedu... |
unit uDlgSelectObjectsForDocs;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBASE_SelectForm, Menus, cxLookAndFeelPainters, StdCtrls,
cxButtons, ExtCtrls, cxClasses, dxRibbon, cxControls, uFrameBaseGrid,
uFrameObjectsByProps, cxSplitter, uFrameObje... |
unit Unit_Filters_Consts;
interface
resourcestring
YesBtn_Caption = 'Прийняти';
CancelBtn_Caption = 'Відмінити';
PeriodLabel_Caption = 'Період відбору даних:';
FilterKodSetup_Caption = 'Фільтр по періо... |
unit ZPeoplePrivControl;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, ExtCtrls, cxMaskEdit, cxDropDownEdit,
cxCalendar, cxTextEdit, cxButtonEdit, cxContainer, cxEdit, cxLabel,
cxControls, cxGroupBox, StdCtrls, cxButtons,
PackageLoa... |
{ ***************************************************************************
Copyright (c) 2016-2020 Kike Pérez
Unit : Quick.Logger.Provider.Console
Description : Log Console Provider
Author : Kike Pérez
Version : 1.22
Created : 12/10/2017
Modified : 24/04/2020
This file is pa... |
unit OrcamentoOperacaoDuplicar.Controller;
interface
uses Orcamento.Controller.interf, Orcamento.Model.interf,
OrcamentoItens.Model.interf, TESTORCAMENTOITENS.Entidade.Model,
Generics.Collections, TESTORCAMENTO.Entidade.Model,
OrcamentoFornecedores.Model.interf, TESTORCAMENTOFORNECEDORES.Entidade.Model;
type
... |
unit uGOM;
interface
uses
System.Types,
System.Classes,
System.SysUtils,
uRWLock,
uMemory;
type
TManagerObjects = class(TObject)
private
FObjects: TList;
FSync: IReadWriteSync;
public
constructor Create;
destructor Destroy; override;
procedure AddObj(Obj: TObjec... |
{
$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 rights reser... |
{$I-,Q-,R-,S-}
{Problema 7: Tiempo Lechero [Jeffrey Wang, 2007]
Bessie es una vaca muy trabajadora. De hecho, ella est tan enfocada
en maximizar su productividad que ella decide planificar sus
siguientes N (1 <= N <= 1,000,000) horas (convenientemente rotuladas
0..N-1) de tal manera que ella produzca tanta leche co... |
{..............................................................................}
{ Summary Layers information based on the current PCB layer stack }
{ of the pcb document. }
{ Copyright (c) 2004 by Altium Limited ... |
unit dbfunc;
interface
uses
Classes, SysUtils, IBX.IBDatabase, IBX.IBQuery, Variants;
type
{ TValueItem - вспомогательный класс, является буфером для значения
одной ячеки из таблицы, хранит значение одного элемента}
TValueItem = class(TCollectionItem) // элемент коллекции
private
fValue: variant;
p... |
unit ShiftOpTest;
interface
uses
DUnitX.TestFramework,
uIntXLibTypes,
uIntX;
type
[TestFixture]
TShiftOpTest = class(TObject)
public
[Test]
procedure Zero();
[Test]
procedure SimpleAndNeg();
[Test]
procedure Complex();
[Test]
procedure BigShift();
[Test]
procedure... |
unit uIntralot_extrator_de_resultados;
{
Autor : Fábio Moura de Oliveira
Data : 06/12/2015.
Esta unit, extrai os resultados do site da intralot, que ficam na url abaixo:
www.intralot/newsite/resultados
Há dois tipos de consulta, por data de jogo e por númer... |
{algo triangle_entier
// BUT avoir un triangle d'entier
// ENTRE un triangle de 1 a 9
// SORTIE le triangle affiché de 1 a 9
CONST
intmax=9
tabint = tableau [1..intmax,1..intmax] d'entier
procedure inint (Var tab1:tabint;Var cpt:entier)
Var
i,j:Entier
debut
cpt:=0
pour i de intmax a 1 pas de -1 faire
pou... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
unit FInfo;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
FMX.StdCtrls,
FMX.Ta... |
unit Utils.Collector;
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
interface
uses
SysUtils, DateUtils, IniFiles,
Js... |
(*
* FPG EDIT : Edit FPG file from DIV2, FENIX and CDIV
*
*
* 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... |
//**********************************************************
// Developed by TheUnkownOnes.net
//
// for more information look at www.TheUnknownOnes.net
//**********************************************************
unit uConsoleTools;
interface
uses
Classes,
Controls,
Windows,
WideStrings,
WideStrUtils,
SysUtils... |
unit SysMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, ComCtrls, StdCtrls, cxButtons, ExtCtrls,
Ibase, FIBDatabase, pFIBDatabase, DB, FIBDataSet, pFIBDataSet,
cxRadioGroup, cxDBEdit, cxControls, cxContainer, cxEdit, cxTextEdit,
... |
unit CCJSO_BlackListControl;
{*****************************************************
* © PgkSoft 10.03.2016
* Журнал интернет заказов
* Реализация действий по управлению черным списком
*****************************************************}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,... |
//---------------------------------------------------------------------------
// 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 as ... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
(*
Category: SWAG Title: OOP/TURBO VISION ROUTINES
Original name: 0026.PAS
Description: Efficient Turbo Vision
Author: BRIAN RICHARDSON
Date: 11-02-93 16:45
*)
{
From: BRIAN RICHARDSON
Subj: Efficient Tv2
---------------------------------------------------------------------------
On 10-08-93 FRANK DERKS wr... |
unit CargoDAO;
interface
uses
DBXCommon, SqlExpr, BaseDAO, Cargo;
type
TCargoDAO = class(TBaseDAO)
public
function List: TDBXReader;
function Insert(Cargo: TCargo): Boolean;
function Update(Cargo: TCargo): Boolean;
function Delete(Cargo: TCargo): Boolean;
function FindById(Id: Integer): TCa... |
//******************************************************************************
// Проект "Контракты"
// Справочник специальностей
// Чернявский А.Э. 2006г.
// последние изменения Перчак А.Л. 29/10/2008
//******************************************************************************
unit cn_sp_SpecUnit;
interface
u... |
unit houghTransform;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,math,unit_localizationAux;
const
HoughRho=125;
HoughTheta=90;
rsRho=0.04;
rsTheta=1;
type
TXY = record
x,y:double;
rho,theta:double;
idTheta,idRho:integer;
val:integer;
end;
{ THough }
THough = class
private
procedure ... |
// -------------------------------------------------------------
// Este programa mostra a definição de um tipo de dados bem
// complexo. Esse tipo de dados é utilizado para definição e uso
// de uma variável de exemplo. :~
// -------------------------------------------------------------
Program ExemploPzim ;
... |
unit uPacktAndroidServiceDM;
interface
uses
System.SysUtils,
System.Classes,
System.Android.Service,
AndroidApi.JNI.GraphicsContentViewText,
Androidapi.JNI.Os, System.Notification, System.Threading,
System.DateUtils;
type
TDM = class(TAndroidService)
NotificationCenter1: TNotificationCenter;
fu... |
{
Copyright (c) 2016, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
unit ooConfig.Intf;
interface
uses
ooEntity.Intf;
type
IConfigSection = interface(IEntity)
['{37CB5072-49D6-4EC1-AACF-70AA572C03A2}']
function Name: St... |
PROGRAM assignment1 (input, output, client_file, command_file) ;
CONST
Name_length = 20 ;
Phone_num_length = 8 ;
Number_of_interests = 10 ;
Max_interest_degree = 9 ;
Max_clients = 50 ;
Command_size = 20 ;
TYPE
Interest_range = 0..Max_interest_degree ;
Sex_type = ... |
unit OrcamentoFornecedores.Model.Interf;
interface
uses ormbr.container.objectset.interfaces,
TESTORCAMENTOFORNECEDORES.Entidade.Model;
type
IOrcamentoFornecedoresModel = interface
['{7A41E40E-E3EE-4097-9DF9-F82F7BC7470A}']
function Entidade(AValue: TTESTORCAMENTOFORNECEDORES)
: IOrcamentoFornecedo... |
unit uFIBCommonDBErrors;
interface
resourcestring
E_FIBCommonDB_DBIsNil = 'FIBDatabase is nil!';
E_FIBCommonDB_AlreadyStarted = 'TFIBDBTransaction.Start: already started!';
E_FIBCommonDB_CommitNotInTran = 'TFIBDBTransaction.Commit: not in transaction!';
E_FIBCommonDB_RollbackNotInTran = 'TFIBDBTransac... |
unit ZipIni;
interface
uses
SysUtils,ZipForge,IniFiles,Registry,Windows,Classes;
var
GlobZip:TZipForge;
GlobIni:TIniFile;
Procedure ZipIniCreateBase (BaseName:string);
Function ZipIniReadString (BaseName,FileName,Section,Ident,Default:string):string;
Function ZipIniReadInteger (BaseName,FileName,Sectio... |
namespace RemObjects.Elements.EUnit;
interface
uses
Sugar;
type
Assert = public partial static class {$IF NOUGAT}mapped to Object{$ENDIF}
public
method AreEqual(Actual, Expected : Double; Message: String := nil);
method AreEqual(Actual, Expected, Precision : Double; Message: String := nil);... |
unit BasicFunctions;
interface
uses BasicMathsTypes,SysUtils, Classes, Math, Windows, Graphics, ShellAPI;
// String related
function WriteStringToStream(const _String: string; var _Stream : TStream): boolean;
function ReadStringFromStream(var _Stream: TStream): string;
function CopyString(const _String : st... |
unit DelphiDevDataSetTools;
interface
uses Classes, DB, IdGlobal;
{procedure CopyDataSet:
Copies data from dataset ASourceDataSet to dataset ADestDataSet.
Excludes fields defined in string AExcludeFields. The field names should be
comma seperated}
procedure CopyDataSet(ASourceDataSet, ADestDataSet: TDataSet;
AE... |
{===============================================================================
Projeto Sintegra
****************
Biblioteca de Componente para geração do arquivo Sintegra
Site: http://www.sultan.welter.pro.br
Direitos Autorais Reservados (c) 2004 Régys Borges da Silveira
Esta biblioteca é software livre; você pode... |
unit J_level;
{$MODE Delphi}
{This unit defines the classes for JK
level}
interface
uses Classes, Files, Tools, SysUtils, misc_utils,
GlobalVars, Geometry, FileOperations, Values, U_3dos;
Const
SF_Floor=1;
FF_Transluent=2;
SF_3DO=1 shl 31;
SFF_IMPASSABLE=4;
SFF_SKY=512;
SFF_SKY1=1024;... |
unit pacifistTree;
interface
uses types, core, Crt, sysutils, TerminalUserInput;
///
/// This is the pacifist tree
///
/// Here is how the naming procedure works, for example pThreeTen (p3-4)
/// means that this is the pacifist tree, layer 3 (after 3 decisions)
/// and the fourth possible outcome in this 3rd layer
//... |
unit Unit_cn_fr_paymentAnalysis;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, FIBDatabase, pFIBDatabase, cxLookAndFeelPainters, StdCtrls,
cxButtons, cxRadioGroup, iBase, cn_common_types, cxControls, cxContainer,
cxEdit, cn_Common_Loader, PackageLoad, ZType... |
{$i deltics.io.shellapi.inc}
unit Deltics.IO.ShellApi;
interface
type
ShellApi = class
public
class procedure CopyFile(const aFilename: String; const aDestPath: String);
end;
implementation
uses
ShellApi,
SysUtils,
Deltics.IO.Path;
class procedure ShellApi.CopyFile(const ... |
unit uI2XOCR;
interface
uses
Windows,
Classes,
uStrUtil,
Graphics,
SysUtils,
OmniXML,
uOmniXML,
uDWImage,
uI2XConstants,
uI2XPlugin,
Contnrs,
JclStrings,
MapStream,
uHashTable,
Typinfo;
const
UNIT_NAME = 'uI2XOCR';
type
TCountArray = array[0..100000000] of I... |
unit CatHashes;
{
Catarinka - Hash functions
Copyright (c) 2003-2020 Felipe Daragon
License: 3-clause BSD
See https://github.com/felipedaragon/catarinka/ for details
If you have D10 Seattle or up, use System.Hash's MD5, otherwise use the
MD5 function by Stijn Sanders (MIT license, included at the end of t... |
//***********************************************************************
//* Проект "Студгородок" *
//* Модуль данных (контейнер для компонентов) *
//* Выполнил: Чернявский А.Э. 2004-2005 г. *
//**********************... |
//
// Generated by JavaToPas v1.5 20180804 - 083042
////////////////////////////////////////////////////////////////////////////////
unit android.media.audiofx.DynamicsProcessing_EqBand;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes;
type
JDynamicsProcessing_EqBand = interface;
JDynamicsProc... |
Program NQUEENS (input, output);
{this program finds one solution to the problem of placing N queens}
{on an NxN chessboard so they are mutually non-attacking}
{written by Ron Danielson based on an algorithm by Niklaus Wirth}
{last modified January 15, 2000}
co... |
unit Unit17;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.Win.ScktComp,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, vcl.printers,
IdExplicitTLSClientServerBase, IdFTP, ... |
unit uTypes;
{*******************************************************************************
* *
* Название модуля : *
* ... |
unit CFPageControl;
interface
uses
Windows, Classes, Controls, Messages, Graphics, ImgList, Menus;
type
TCFButtonState = (cbsDown, cbsMouseIn);
TCFButtonStates = set of TCFButtonState;
TCFPageButton = class(TObject)
strict private
FRect: TRect;
FImageIndex, FHotImageIndex, FDownImage... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.