text stringlengths 14 6.51M |
|---|
{
참고 글 : http://blog.hjf.pe.kr/336
}
unit CachedUpdateForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, Fire... |
unit Unit27;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs;
type
TForm27 = class(TForm)
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
... |
//Exercicio 77: Modifique o problema anterior de modo que caso o usuário digite um número negativo o algoritmo peça
//novamente a quantidade de números e repita este procedimento até que o usuário forneça um número positivo.
{ Solução em Portugol
Algoritmo Exercicio 77;
Var
vet: vetor[1..10000] de real;
ma... |
{ ***************************************************************************
Copyright (c) 2016-2022 Kike Pérez
Unit : Quick.Threads
Description : Thread safe collections
Author : Kike Pérez
Version : 1.5
Created : 09/03/2018
Modified : 14/06/2022
This file is part of QuickLib... |
unit OEncoding;
{
Author:
Ondrej Pokorny, http://www.kluug.net
All Rights Reserved.
License:
CPAL 1.0 or commercial
Please see the /license.txt file for more information.
}
{
OEncoding.pas
Convert buffers to strings and back with encoding classes.
}
{$I OXml.inc}
{$IFDEF O_DELPHI_XE4_UP... |
unit Progress;
{ $Id: PROGRESS.PAS,v 1.5 2005/05/27 15:23:28 lulin Exp $ }
interface
uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons,
StdCtrls, ExtCtrls, W95Meter, VConst, OvcBase;
type
TProgressDlg = class(TForm)
CancelBtn : TBitBtn;
PercentMeter : TW95Meter;
MsgLabel : ... |
unit TwoSpaceForOneReplacerTest;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "TestFormsTest"
// Модуль: "w:/common/components/gui/Garant/Daily/TwoSpaceForOneReplacerTest.pas"
// Родные Delphi интерфейсы (.pas)
// Generated fr... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit GetAvoidanceZoneUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TGetAvoidanceZone = class(TBaseExample)
public
procedure Execute(TerritoryId: String);
end;
implementation
uses AvoidanceZoneUnit;
procedure TGetAvoidanceZone.Execute(TerritoryId: String);
var
ErrorString: String;
Avoida... |
unit vtNavigatorUtils;
(*-----------------------------------------------------------------------------
Название: npUtils
Автор: М. Морозов
Назначение:
История:
$Id: vtNavigatorUtils.pas,v 1.23 2015/09/04 13:51:07 kostitsin Exp $
$Log: vtNavigatorUtils.pas,v $
Revision 1.23 2015/09/04 13:51:07 kostits... |
{
$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 UDataSources;
{$mode delphi}
{$modeswitch nestedprocvars}
interface
uses
Classes, SysUtils, UAccounts, UNode, UBlockchain, UCoreObjects,
UCommon, UMemory, UConst, UCommon.Data,
UCommon.Collections, Generics.Collections, Generics.Defaults, syncobjs;
type
{ TAccountsDataSourceBase }
TAccountsDataSour... |
unit l3IterateComponentParents;
// Модуль: "w:\common\components\rtl\Garant\L3\l3IterateComponentParents.pas"
// Стереотип: "Service"
// Элемент модели: "Tl3IterateComponentParents" MUID: (551AA9BD01EE)
{$Include w:\common\components\rtl\Garant\L3\l3Define.inc}
interface
{$If NOT Defined(NoVCL)}
uses
l3IntfUses
,... |
unit UAAPIviacep;
interface
uses
System.SysUtils, System.Classes, System.json, VCL.Forms, IdTCPConnection, IdTCPClient,
IdHTTP, IdSSLOpenSSL, IdSSLOpenSSLHeaders;
type
TAPIViacep = class
RespCode: Integer;
Logradouro, Complemento, Bairro, Localidade, UF, IBGE, Gia, Unidade : String;
procedure ... |
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie
All rights reserved.
For more info see: Copyright.txt
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
(*
Sorting Array of TIA using... |
unit nmzIrfanXnView;
// -----------------------------------------------------------------------------
// Class Name: TIrfanXnView
// Module: nmzIrfanXnView
// Description: Implements support for IrfanView and XnView.
// Usage: IrfanXnView := TIrfanXnView.Create('C:\Program Files\IrfanView\i... |
unit PageControlWordsPack;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\PageControlWordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "PageControlWordsPack" MUID: (552E49070307)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts) A... |
unit delphi_rounded_corners;
interface
uses
Winapi.Windows;
type TRoundedWindowCornerType = (RoundedCornerDefault, RoundedCornerOff, RoundedCornerOn, RoundedCornerSmall);
////////////////////////////////////////////////////////////////////////////
//
// Originally written by Ian Barker
// https://github... |
unit commands_http;
interface
uses
commandprocessor, httpclient, sysutils, tickcount, https;
type
Tcmd_HTTPDownload = class(TCommand)
private
FURL: string;
FClient: THTTPSCLient;
FTimeout: ticker;
function GetTimeout: ticker;
procedure SetTimeout(const Value: ticker);
public
construc... |
unit FET;
interface
uses complex2,stringe,math;
type
sparm = array[1..4] of Tc;
Tdata = record
parm : Sparm;
freq : real;
end;
Tnoise = record
freq,Fmin,Rn : real;
Topt : tc;
Gn : real;
Ycor : tc;
n1,n2 : double;
nC : tc;
V0,V2,V3 : tc;
end;
transistor = object
Re,Rc,... |
unit PasswordOptions;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, ComCtrls, StdCtrls, Mask, TTSPasswordOptionsTable, sButton,
sComboBox, sGroupBox, sMaskEdit, sCheckBox, sLabel, sPageControl;
type
TfrmPasswordOptions = class(TForm)
PageCon... |
unit SavedQuery;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "DT"
// Модуль: "w:/common/components/rtl/Garant/DT/NOT_FINISHED_SavedQuery.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root element: <<Sim... |
unit m0DTFLib;
(*
//
// module: m0dtflib.pas
// author: Mickael P. Golovin
//
// Copyright (c) 1997-2000 by Archivarius Team, free for non commercial use.
//
// $Id: m0dtflib.pas,v 1.1 2014/08/20 16:31:25 lulin Exp $
//
*)
{$I m0Define.inc}
interface
uses
Windows,
Messages,
SysUtils,
Consts,
Classes,... |
unit helpers.indy;
interface
uses
idglobal, types, classes, sysutils, typex, idiohandlersocket;
function TBytesToIDBytes(b: TBytes): TIDBytes;
function AnsiStringToIDBytes(a: ansistring): TIDBytes;
function idsocket_GuaranteeRead(idsocket: TIdIOHandlerSocket; iCount: ni): TidBytes;
implementation
function TBy... |
unit linked_list_btree_compatible;
interface
uses
typex, debug, sysutils, betterobject, unittest;
type
TLinkage<T> = class(TObject)
public
next: TLinkage<T>;
prev: TLinkage<T>;
obj: T;
end;
TLinkable = class(TObject)
public
NExt: TObject;
Prev: TObject;
Tree: TObject;
list: T... |
unit LanderTypes;
interface
uses
Graphics, GameTypes;
const
idNone = -1;
type
TLandOption = (loGrated, loGlassed, loShaded, loRedShaded, loBlackShaded, loUpProjected);
TLandOptions = set of TLandOption;
TLandState = (lsFocusable, lsGrounded, lsOverlayedGround, lsOverlayed);
TLandStates = set of TLan... |
unit MFichas.Controller.Venda.Interfaces;
interface
uses MFichas.Controller.Types;
type
iControllerVenda = interface;
iControllerVendaMetodos = interface;
iControllerVendaMetodosPagar = interface;
iControllerVendaMetodosVenderItem = interface;
iControllerVendaMetodos... |
{ Subroutine SST_OPCODE_POS_PUSH (OPC_P)
*
* Push the current opcode chain position onto the stack, and set a new
* position. OPC_P will be the new start of chain pointer. The new chain
* will be initialized to empty. Subsequent calls to SST_OPCODE_NEW will
* automatically cause new opcodes to be appended ... |
unit Controller.Sistema;
interface
uses
System.SysUtils, VCL.Forms, System.Classes, DAO.Conexao, Common.Utils, Global.Parametros;
type
TSistemaControl = class
private
FConexao: TConexao;
FStart: Boolean;
class var FInstante : TSistemaControl;
public
constructor Create;
... |
program pl0 ; { version 1.0 oct.1989 }
{ PL/0 compiler with code generation }
{ comment by Song Lu
Department of Computer Science&Engineering BUAA,Nov.2016
}
{常量定义}
const norw = 13; { no. of reserved words } {保留字的数目}
txmax = 100; { length of identifier table } {符号表长度}
nmax = 14; ... |
unit fmuMasterPayK;
interface
uses
// VCL
Windows, Forms, ComCtrls, StdCtrls, Controls, Classes, SysUtils, Messages,
Buttons, Dialogs,
// This
untPages, untUtil, untDriver;
type
{ TfmMasterPayK }
TfmMasterPayK = class(TPage)
Memo: TMemo;
btnReadLastReceipt: TButton;
btnReadLastReceiptLine:... |
unit CircTstWindow;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Circuits,
ExtCtrls, StdCtrls, Collection;
type
TTstWin = class(TForm)
Image: TImage;
Panel1: TPanel;
Label1: TLabel;
CircCount: TLabel;
x1: TEdit;
Label2: TLabel;
Label3: TLa... |
unit HopfieldNetwork;
interface
uses
GBMatrixOperations;
type
HopfieldNet = class(TObject)
private
weights : Matrix2DRec;
public
function GetMatrix():Matrix2DRec;
procedure TrainMatrix(pattern:T2DBoolean);
function MatchMatrix(pattern:T2DBoolean):T2DBoolean;
procedure Erase... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit uDMPlanoBackup;
interface
uses
System.SysUtils, System.Classes, uDM, Data.DB, Datasnap.DBClient;
type
TdmPlanoBackup = class(TDataModule)
CDSCadastro: TClientDataSet;
CDSItens: TClientDataSet;
CDSItensPlbIte_Id: TAutoIncField;
CDSItensPlbIte_Hora: TTimeField;
CDSItensPlbIte_PlanoBackup: ... |
unit vCardBase64;
interface
function Decode64(const S: ANSIString): ANSIString;
function Encode64(const Input: string): string;
implementation
const
Codes64:ANSIString = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
function Decode64(const S: ANSIString): ANSIString;
var
i: Integer;
a:... |
unit uBaseConhDetalhe;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, uBaseConhController;
const
COR_ABERTURA: Integer = clRed;
COR_OCORR_GERAL: Integer = clPurple;
COR_STATUS:... |
{*******************************************************************************
Animation Splash Form (ASF)
Автор: Andy BitOff, asf@bitoff.ru, http://bitoff.ru/asf-main ICQ:95044580,
Санкт-Петербург, Россия
Copyright: Andy BitOff
Дата: 27.08.2009
Версия: 2.3.0
Зависимо... |
unit MFichas.View.Configuracoes;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
System.Actions,
System.Messaging,
System.Generics.Collections,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
FMX.ListView.Types,
FMX.ListView.... |
{!DOCTOPIC}{
Type » TExtArray
}
{!DOCREF} {
@method: function TExtArray.Len(): Int32;
@desc: Returns the length of the array. Same as 'Length(arr)'
}
function TExtArray.Len(): Int32;
begin
Result := Length(Self);
end;
{!DOCREF} {
@method: function TExtArray.IsEmpty(): Boolean;
@desc: Returns True if th... |
unit dmDataAccess;
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, FireDAC.Stan.StorageBin, Data.DB, FireDAC.Comp.DataSet,
FireDAC.Comp.Client, IPPeerClient, Datasnap.DSClientRes... |
{
Clever Internet Suite
Copyright (C) 2014 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clCryptMac;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils, Windows,
{$ELSE}
System.Classes, System.SysUtils, Winapi.Windows,
{$ENDIF}
clCryptAPI, clUtils, clWUtils, cl... |
{ Subroutine SST_ROUTINES_MATCH (PROC1, PROC2, STAT)
*
* Check whether two routine definitions are compatible. PROC1 must be the
* descriptor for a routine template. If PROC2 also describes a routine, then
* both must match exactly (argument names, data types, and any flags).
*
* If PROC2 describes a call t... |
unit kwEmitString;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwEmitString.pas"
// Начат: 22.04.2011 19:32
// Родные Delphi интерфе... |
unit FindUnit.OTAUtils;
interface
uses
ToolsAPI, FindUnit.Header, Classes;
function GetVolumeLabel(const DriveChar: string): string;
function BrowseURL(const URL: string): boolean;
function GetEditView(var ASourceEditor: IOTASourceEditor; var AEditView: IOTAEditView): boolean;
function EditorAsString(Sou... |
unit MaleFemale;
interface
uses
System.SysUtils, System.Classes, Vcl.Controls, Vcl.StdCtrls;
type
TMaleFemale = class(TGroupBox)
private
FFeminino: TRadioButton;
FMasculino: TRadioButton;
{ Private declarations }
protected
{ Protected declarations }
procedure CreateWnd; ov... |
{ Mark Sattolo 428500
CSI-1100A DGD-1 TA: Chris Lankester
Assignment 7, Question 3 }
program LookForIt_recursive (input,output);
{ Recursive program to find if a certain number occurs in an array. }
{ Data Dictionary
Givens: X, N - X is an array of N numbers.
Num - a number to search for in X.... |
unit wayland_shared_buffer;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, BaseUnix, ctypes, wayland_protocol;
type
TFPWL_display = class
Display: Pwl_display;
Registry: Pwl_registry;
Compositor: Pwl_compositor;
Shell: Pwl_shell;
Shm: Pwl_shm;
end;
function Create_shm_pool(shm: T... |
// ****************************************************************************
// * An Outlook style sidebar component for Delphi.
// ****************************************************************************
// * Copyright 2001-2005, Bitvadász Kft. All Rights Reserved.
// ***************************************... |
{
File: PEFBinaryFormat.p
Contains: PEF Types and Macros
Version: Technology: Master Interfaces
Release: Universal Interfaces 3.4.2
Copyright: © 1993-2002 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following pag... |
unit ConfigValueRequestUnit;
interface
uses
REST.Json.Types,
GenericParametersUnit, NullableBasicTypesUnit, JSONNullableAttributeUnit;
type
TConfigValueRequest = class(TGenericParameters)
private
[JSONName('config_key')]
FKey: String;
[JSONName('config_value')]
[Nullable]
FValue: Nullabl... |
// 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 udmItensPedido;
interface
uses
System.SysUtils, System.Classes, udmPadrao, Data.DB, DBAccess, IBC, MemDS,
udmPrincipal, LibGeral;
type
TdmItensPedido = class(TdmPadrao)
qryManutencaoFIL_PEDIDO: TStringField;
qryManutencaoNRO_PEDIDO: TIntegerField;
qryManutencaoTIPO: TStringField;
qryManute... |
unit uEstoque;
interface
uses System.SysUtils, FireDAC.Comp.Client;
type
tMovimentoEstoque = (tMovimentoEstoqueENTRADA, tMovimentoEstoqueSAIDA);
procedure adicionarMovimentacaoEstoque(movimentacao: tMovimentoEstoque;
codProduto: string; quantidade: integer; codComanda: string = '');
function verificarProdutoEmE... |
unit vos_win32_hw_monitor;
interface
uses
Windows, MultiMon;
type
TDefaultMonitor = (
dmDesktop,
dmPrimary,
dmMainForm,
dmActiveForm);
TMonitorDefaultTo = (mdNearest, mdNull, mdPrimary);
PVOS_Win32_HW_Monitor_Rec = ^TVOS_Win32_HW_Monitor_R... |
unit MFichas.Model.GrupoProduto.Metodos.Cadastrar;
interface
uses
System.SysUtils,
MFichas.Model.GrupoProduto.Interfaces,
MFichas.Controller.Types;
type
TModelGrupoProdutoMetodosCadastrar = class(TInterfacedObject, iModelGrupoProdutoMetodosCadastrar)
private
[weak]
FParent : iModelGrupoProduto;... |
unit uPrincipal;
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
TForm1 = class(TForm)
nbPrincipal: TNotebook;
edNumero: TEdit;
btnIniciar: TButton;
lbTitulo: T... |
unit Project1_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 library) ... |
unit LinkHistoWin;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,
daTypes,
DT_Types, Dt_Const, dt_AttrSchema,
DT_Dict, DT_LinkServ,
l3DatLst, l3Tree_TLB, l3Nodes,
vtForm, OvcBase, vtlister, Menus, AdvMenus, ComCtrls,
vtStatusBar,
afwControl, afwIn... |
{*********************************************************}
{* VPCLOCK.PAS 1.03 *}
{*********************************************************}
{* ***** BEGIN LICENSE BLOCK ***** *}
{* Version: MPL 1.1 ... |
unit Atsargos;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,
FireDAC.DApt.Intf, FireDAC.Stan.A... |
{$include lem_directives.inc}
unit LemMetaAnimation;
interface
uses
Classes, UTools,
LemCore;
const
lat_Loop = 0; // always animate
lat_Once = 1; // state change if finished
type
TMetaAnimationClass = class of TMetaAnimation;
TMetaAnimation = class(TCollectionItem)
private
protected... |
unit ssCalcEdit;
interface
uses
Windows, SysUtils, Classes, Controls, cxControls, cxContainer, cxEdit, cxTextEdit,
cxMaskEdit, cxDropDownEdit, cxCalc, Graphics, Variants;
var
ShowCalcOnKeyPress: Boolean = False;
type
TssCalculator = class(TcxPopupCalculator)
published
property Color;
... |
unit MoabConst;
interface
uses
Standards;
const
tidClusterName_Moab = 'Moab';
const
tidInventionKind_Rulership = 'MoabRulership';
tidInventionKind_Industrial = 'MoabIndustrial';
tidInventionKind_Market = 'MoabMarket';
tidInventionKind_Residential = 'MoabResi... |
{
\file DGLE_Base.pas
\author Korotkov Andrey aka DRON
\version 2:0.3.1
\date 17.11.2014 (c)Korotkov Andrey
This header is a part of DGLE_SDK.
}
unit DGLE_Base;
interface
{$I include.inc}
{$IFNDEF DGLE_CRENDERER}
{$DEFINE DGLE_CRENDERER}
{$ENDIF}
uses
DGLE_types;
type
E_ENG... |
unit Model.CadastroHistorico;
interface
uses Common.ENum, FireDAC.Comp.Client, DAO.Conexao, Control.Sistema, System.SysUtils;
type
TCadastroHistorico = class
private
FAcao: Tacao;
FHistorico: String;
FSequencia: Integer;
FID: Integer;
FUsuario: Integer;
FData: TDateTime;
FConexao: TCo... |
unit tfwFile;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/tfwFile.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root element: <<Si... |
(*
* iocp 服务端 SQL 管理器(可选)
*)
unit iocp_sqlMgr;
interface
uses
Classes, SysUtils,
iocp_lists;
type
// 一条 SQL 命令对象
TSQLObject = class(TObject)
private
FSQL: TStrings; // SQL 命令
FSQLText: String; // SQL 命令(运行时)
FSQLName: String; // 名称
procedure ToStringEx;
public
constructor... |
unit uProtoBufParserAbstractClasses;
interface
uses
System.Classes,
System.Generics.Collections;
type
TAbstractProtoBufParserItem = class(TObject)
protected
FName: string;
FRoot: TAbstractProtoBufParserItem;
FComments: TStringList;
public
constructor Create(ARoot: TAbstractProtoBufParserIte... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
unit dcDataPanel;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, DataController, Db, menus;
type
TdcDataPanel = class(tpanel)
private
Fclearing: boolean;
procedure Setclearing(const Value: boolean);
private
{ Private declarations... |
program Morpion (input, output);
uses crt;
type
TCase=record //Enregistrement du type TCase pour la structure des cases
CoordX:integer;//Coordonnee en x de la case
CoordY:integer;//Coordonnee en y de la case
Numero:integer;//Numero de la case
Rem... |
{!DOCTOPIC}{
Matrix » TExtMatrix
}
{!DOCREF} {
@method: Extended percision floating point matrix
@desc: [hr]
}
{!DOCREF} {
@method: procedure TExtMatrix.SetSize(Height,Width:Int32);
@desc:
Sets the size (width and height) of the matrix.
Same as SetLength(Matrix, H,W);
}
procedure TExtMatrix.SetSi... |
{$MODE OBJFPC}
unit camera;
interface
uses
gl,glu,glut;
type
TCamera=class
private
x,y,z:extended;
rd,ud:extended;
public
constructor Create;
procedure Move(t:extended);
procedure MoveY(t:extended);
procedure Turn(drd,dud:extended);
procedure Modify;
end;
implementation
constructor TCa... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ScktComp, IdBaseComponent, IdComponent, IdGlobal,
IdUDPBase, IdUDPClient;
type
TByteArr = array of byte;
TForm1 = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
Edit... |
unit MMO.ClientReadThread;
interface
uses
Classes, IdTCPClient, MMO.PacketReader, IdIOHandler, IdGlobal, MMO.Types;
type
TClientReadThread = class;
TSyncClientReadThreadReadEvent = procedure(const sender: TObject; const packetReader: TPacketReader) of object;
TClientReadThread = class(TThread)
private... |
unit Privacy;
interface
type
IPrivacyHandler =
interface
procedure IgnoreUser( username : string );
procedure ClearIgnoredUser( username : string );
function UserIsIgnored( username : string ) : boolean;
procedure GetDefaultChannelData( out name, password : string );
... |
unit FDAMSupp;
{MPArith support routines for D/AMath test programs}
interface
{$i STD.INC}
{$ifdef BIT16}
{$N+}
{$endif}
uses
BTypes, mp_types, mp_real;
{$i mp_conf.inc}
(*************************************************************************
DESCRIPTION : MPArith support routines for D/AMath test p... |
program xpatch(them);
{This program is supplied as a simple example of interrupt handling.
Actually I think it may have a slight timing problem, but it will give
the idea. It crosspatches your terminal to another one, or to a PTY:.
I.e. anything you type it gets and visa versa. E.g. if you dial out
from your ... |
program ejercicio1;
const
dimF = 5;
type
rangoGenreo = 1..5;
str40 = String[40];
persona = record
dni : Integer;
apellido : str40;
nombre : str40;
edad : Integer;
codGenero : rangoGenreo;
end;
lista = ^nodo;
nodo = record
datos : persona;
sig : lista;
end;
vContador = array[rangoGenreo] of I... |
unit uFiltroChamado;
interface
uses uRevendaVO, uModuloVO, System.SysUtils, uFiltroCliente;
type
TFiltroChamado = class
private
FIdStatus: string;
FIdTipo: string;
FIdCliente: string;
FIdUsuarioAbertura: string;
FDataFinal: string;
FDataInicial: string;
FRevenda: TRevendaVO;
FModu... |
Unit TERRA_ResourceLoader;
{$I terra.inc}
Interface
Uses TERRA_Utils, TERRA_Application, TERRA_Resource;
Type
ResourceLoader = Class(ApplicationComponent)
Protected
_Resources:Array Of Resource;
_ResourceCount:Integer;
_Index:Integer;
_FistTime:Boolean;
_LastProgress... |
unit MdiChilds.LatinCheck;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MdiChilds.CustomDialog, JvComponentBase, JvDragDrop, Vcl.StdCtrls, Vcl.ExtCtrls,
MdiChilds.ProgressForm, GsDocument, ComObj, ActionHandler... |
unit btree;
interface
const
MAXESIZE = 1024;
ESIZE = 512;
type
btarraytype = array[0..MAXESIZE - 1] of byte;
bptrtype = ^node;
node = record
data:btarraytype;
size:integer;
next:bptrtype;
prev:bptrtype
end;
btreetype = record
size:... |
{ Date Created: 5/25/00 5:01:01 PM }
unit InfoDIRYCODETable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoDIRYCODERecord = record
PCode: String[6];
PDescription: String[30];
PLeadTime: String[4];
End;
TInfoDIRYCODEBuffer = class(TDataBuf)
... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clTranslator;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils,
{$ELSE}
System.Classes, System.SysUtils, System.Types,
{$ENDIF}
clUtils, clWUtils;
type
TclXLATTable = ... |
unit pengo_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,namco_snd,controls_engine,gfx_engine,rom_engine,
pal_engine,sound_engine,sega_decrypt;
function iniciar_pengo:boolean;
implementation
const
pengo_rom:array[0..7] of tipo_roms=(
(n:'ep1689c.8';l:$1000;p:0;crc:$f3... |
unit Core;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Math, StrUtils, DateUtils;
const
SECONDS_PER_POMODORO = 1500;
type
{ TPomodoro }
TPomodoro = class
private
FCurrentPomodoro: integer;
FStartTime: TDateTime;
function PrepareDigits(Digits: integer): string;
public
construc... |
unit lopes.TestHelper.Utils;
interface
uses
Winapi.Windows,
Vcl.Menus,
ToolsAPI,
Vcl.Graphics,
System.Classes,
System.Contnrs,
System.SysUtils,
Vcl.ComCtrls,
System.Generics.Collections,
Vcl.ActnList;
type
TProcInfoType = (pitEXE, pitParam, pitDir);
TCustoMessage = class(TNotifierObject, IOT... |
unit Model.Cadastro;
interface
uses
Common.ENum, FireDAC.Comp.Client, DAO.Conexao;
type
TCadastro = class
private
FCadastro: Integer;
FFuncionario: String;
FEntregador: Integer;
FDoc: String;
FNome: String;
FFantasia: String;
FCPFCNPJ: String;
FIERG: S... |
unit uData;
(*
1 - Caso o servidor de banco de dados for Linux buscar a data de lá
2 - Caso não tenha internet buscar da tabela que armazena a ultima data
3 - Caso o servidor nao for linux tentar buscar da internet
*)
interface
uses System.SysUtils, FireDAC.Comp.Client, IdSNTP, Vcl.Dialogs, Vcl.Forms;
functio... |
unit RasterImageTools;
interface
uses types,classes,controls,command_class_lib,image_on_demand,RasterImageCommands;
type
TRasterImageTool = class (TAbstractToolAction)
protected
function doc: TRasterImageDocument;
end;
TBrushTool = class (TRasterImageTool)
private
fBrushing: Boolean;
fShowBrush: Bo... |
{ Subroutine SST_W_C_EXP2 (TERM_FIRST1, N_TERMS1, TERM_FIRST2, N_TERMS2, OP,
* ENCLOSE)
*
* Write two expressions with an operator in between. TERM_FIRST1 is the
* descriptor for the first term in the expression before the operator.
* N_TERMS1 is the number of terms in the chain star... |
unit UBingMapsGPS;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Math, JPEG, ExtCtrls, XPMan, IdBaseComponent,
IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, GPS, ComCtrls,
CPortCtl, Buttons;
type
TFBingMapsGPS = class(TForm)
... |
unit fmuCustomerInternet;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, AtrPages, ToolCtrlsEh, ComCtrls, ToolWin,
DBCtrlsEh, StdCtrls, Mask, ExtCtrls, GridsEh, DBGridEh, DB, FIBDataSet,
pFIBDataSet, ActnList, ibase, DBGridEhToolCtrls, DBAxisGridsEh,
Syst... |
unit MapSprites;
interface
uses
Windows, Classes, GameTypes, ShutDown, TimerTypes, LanderTypes, MapTypes;
type
TSpriteImages = array [TAngle] of TGameImage;
type
IMapSprite =
interface
function GetId : integer;
function GetFrame : integer;
function GetAngle : TAngl... |
unit googleAPI;
interface
uses sysUtils, classes;
{$I Delphi.inc}
type
TGoogleMapDistance = class;
TGoogleDirecoesItem = class(TCollectionItem)
public
route: integer;
endereco: string;
distancia: integer; // em km
distancia_text: string;
duracao: integer;
duracao_text: string;
fu... |
unit SpeedImage;
// Copyright (c) 1997 Jorge Romero Gomez, Merchise.
interface
uses
Windows, Messages, Graphics, Controls, Forms, Classes,
BufferColors, CanvasBmp, SpeedBmp;
type
TSpeedImage =
class( TGraphicControl )
private
fPicture : TSpeedBitmap;
fOnP... |
unit BackupAgentRegistry;
interface
procedure RegisterBackupAgent(aClass, anAgent : TClass);
procedure GetClassAgent(const ClassName : string; var TheAgent, TheClass : TClass);
implementation
uses
Classes, DataRegistry;
// Aux class
type
TBackupRegistryEntry =
class
public
... |
unit AddRectangularTerritoryUnit;
interface
uses SysUtils, BaseExampleUnit, NullableBasicTypesUnit;
type
TAddRectangularTerritory = class(TBaseExample)
public
function Execute: NullableString;
end;
implementation
uses TerritoryContourUnit, TerritoryUnit;
function TAddRectangularTerritory.Execute: N... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.