text stringlengths 14 6.51M |
|---|
unit uFuns;
interface
uses
Winapi.Windows, FMX.Forms, System.Classes, System.SysUtils, FMX.Dialogs, uFrmTabBase;
/// <summary>
/// 关闭类名为AClassName的窗口
/// </summary>
/// <param name="AClassName">窗口类名</param>
procedure ClosePage(AClassName: string = '');
/// <summary>
/// 关闭除类名为AClassName和主窗口之外的所有的窗口
/// </summary... |
{$I DFS.INC}
unit DFSStatusBarReg;
interface
uses
{$IFDEF DFS_NO_DSGNINTF}
DesignIntf,
DesignEditors;
{$ELSE}
DesgnIntf;
{$ENDIF}
type
TdfsStatusBarEditor = class(TDefaultEditor)
protected
{$IFDEF DFS_IPROPERTY}
procedure RunPropertyEditor(const Prop: IProperty);
{$ELSE}
procedure Ru... |
unit MoveDestinationToRouteResponseUnit;
interface
uses
REST.Json.Types,
GenericParametersUnit;
type
TMoveDestinationToRouteResponse = class(TGenericParameters)
private
[JSONName('success')]
FSuccess: boolean;
[JSONName('error')]
FError: String;
public
property Success: boolean read FS... |
unit BaseOptimizationParametersProviderUnit;
interface
uses
IOptimizationParametersProviderUnit, OptimizationParametersUnit,
AddressUnit, RouteParametersUnit;
type
TBaseOptimizationParametersProvider = class abstract (TInterfacedObject, IOptimizationParametersProvider)
protected
procedure AddAddress(Addr... |
{
Модуль компонента простого стрелочного индикатора c 3-мя зонами раскраски.
}
unit ICAnalogGauge;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs;
type
{ Стиль отображения }
TStyle = (LeftStyle, RightStyle, CenterStyle);
{ Опции отображения }
TFaceOpti... |
unit DynMap;
interface
uses SysUtils, DynArr, System.Generics.Defaults;
type EKeyNotFound = class(Exception);
EMapCreationError = class(Exception);
type TKeyValue<KeyType, ValueType> = record
key: KeyType;
value: ValueType;
constructor from(const k: KeyType; const v: ValueType);
property first: KeyType... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, StdCtrls, Spin;
type
TfrmPretDag = class(TForm)
edtNaam: TEdit;
sedOuderdom: TSpinEdit;
lblNaam: TLabel;
lblOuderdom: TLabel;
lblKinders: TLabel;
lblVolwasses: TLabel;... |
unit atBits;
// Модуль: "w:\quality\test\garant6x\AdapterTest\CoreObjects\atBits.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatBits" MUID: (502563E400D8)
interface
uses
l3IntfUses
;
type
TatBits = class(TObject)
private
f_Bits: Pointer;
f_Size: Integer;
private
function GetBufSize(aBitsCoun... |
unit HGM.Autorun;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Registry;
type
TAutorun = class
private
FAppName, FAppCommand:string;
function GetAutorunCurrentReg:Boolean;
procedure SetAutorunCurrentReg(const Value:Boolean);
function GetAut... |
PROGRAM HelloWorld(INPUT, OUTPUT);
BEGIN
WRITELN('Hello world')
END. |
unit tmvRecordOffsets;
interface
uses
l3CacheableBase,
tmvInterfaces
;
type
TtmvRecordOffsets = class(Tl3CacheableBase, ItmvRecordOffsets)
private
f_StartOffset: int64;
f_EndOffset: int64;
protected
//ItmvRecordOffsets
function pm_GetStartOffset: Int64;
{-}
function pm_GetEndOffset: Int64;
{... |
/// <summary>
/// This class contains a basic scene node, to which objects can be attached, and which serves as a node for the scene graph.
/// All
/// </summary>
unit aeSceneNode;
interface
uses windows, types, System.Generics.Collections, aeSceneObject, aeTransform, aeMaths;
type
TaeSceneNodeType = (AE_SCENENOD... |
unit csCommandsManager;
interface
{$Include l3XE.inc}
uses
csCommandsConst,
IdGlobal,
l3ObjectRefList, ActnList, Classes, CsDataPipe, ddAppConfigTypes, l3Base,
csCommandsTypes, l3SimpleObjectRefList
{$IfDef XE}
,
System.SyncObjs
{$EndIf}
;
type
TcsCommandsManager = class(Tl3Base)
private
f_Commands: ... |
namespace Sugar.Collections;
interface
type
HashSet<T> = public class mapped to {$IF COOPER}java.util.HashSet<T>{$ELSEIF ECHOES}System.Collections.Generic.HashSet<T>{$ELSEIF TOFFEE}Foundation.NSMutableSet{$ENDIF}
public
constructor; mapped to constructor();
constructor(&Set: HashSet<T>);
m... |
unit ProgramSettings;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, IOUtils,
printers,WinSpool, FFSUtils, FFSTypes;
type
TProgramSettings = class(Tcomponent)
private
FRegistryKey: string;
FServerIP: string;
FServerPort: string;
FApplPri... |
{@html(<hr>)
@abstract(Information provider class (known telemetry events, channels, etc.).)
@author(František Milt <fmilt@seznam.cz>)
@created(2013-10-07)
@lastmod(2014-05-04)
@bold(@NoAutoLink(TelemetryInfoProvider))
©František Milt, all rights reserved.
This unit contains TTelemetryInfoProvider class (see c... |
unit fileutilwin;
{ Version 0.1 Copyright (C) 2018 by James O. Dreher
License: https://opensource.org/licenses/MIT
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, in... |
unit fcShapeBtn;
{
//
// Components : TfcShapeBtn
//
// Copyright (c) 1999 by Woll2Woll Software
// Revision: History
// 5/10/99 - PYW - Fixed Flat Style painting bug in High Color mode.
//
}
interface
{$i fcIfDef.pas}
uses Windows, Messages, Classes, Controls, Forms, Graphics, StdCtrls,
CommCtrl, Buttons, Dialogs... |
////////////////////////////////////////////////////////////////////////////////
// Trakce.pas: Interface to Trakce (e.g. XpressNET, LocoNET, Simulator).
////////////////////////////////////////////////////////////////////////////////
{
LICENSE:
Copyright 2019-2020 Jan Horacek
Licensed under the Apache Lice... |
{$IfNDef DigitalSeparatorSupport_imp}
// Модуль: "w:\common\components\gui\Garant\Everest\DigitalSeparatorSupport.imp.pas"
// Стереотип: "Impurity"
// Элемент модели: "DigitalSeparatorSupport" MUID: (4E5E029D03AD)
// Имя типа: "_DigitalSeparatorSupport_"
{$Define DigitalSeparatorSupport_imp}
type
TevCheckPointSepar... |
unit afwTextControlPrim;
// Модуль: "w:\common\components\gui\Garant\AFW\implementation\Visual\afwTextControlPrim.pas"
// Стереотип: "GuiControl"
// Элемент модели: "TafwTextControlPrim" MUID: (48BBD30803C5)
{$Include w:\common\components\gui\Garant\AFW\afwDefine.inc}
interface
uses
l3IntfUses
, afwControl
, afw... |
unit RDOQueryServer;
interface
uses
RDOInterfaces, RDOObjectServer, Logs;
const
tidConnRequestName = 'RDOCnntId';
type
TRDOQueryServer =
class( TInterfacedObject, IRDOQueryServer, IRDOLog )
public
constructor Create( ObjectServer : TRDOObjectServer );
private
... |
unit fmuEJStatus;
interface
uses
// VCL
Windows, StdCtrls, Controls, Classes, Forms, Sysutils, ExtCtrls, Graphics,
// This
untPages, untUtil, untDriver;
type
{ TfmEJStatus }
TfmEJStatus = class(TPage)
Memo: TMemo;
btnGetEJCode1Status: TButton;
btnGetEJCode2Status: TButton;
btnEJVersion: ... |
{ *********************************************************** }
{ * TForge Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2016 * }
{ * ------------------------------------------------------- * }
{ * documentation: RFC2104 ... |
unit DAO.CadastroEmpresa;
interface
uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Control.Sistema, Model.CadastroEmpresa;
type
TCadastroEmpresaDAO = class
private
FConexao : TConexao;
public
constructor Create();
function GetID(): Integer;
function Insert(aCadastros: TCadastroEmpresa)... |
unit PE.Utils;
interface
// When writing padding use PADDINGX string instead of zeros.
{$DEFINE WRITE_PADDING_STRING}
uses
System.Classes,
System.SysUtils,
PE.Common;
function StreamRead(AStream: TStream; var Buf; Count: longint): boolean; inline;
function StreamPeek(AStream: TStream; var Buf... |
unit ShutDown;
interface
type
IShutDownTarget =
interface
function GetPriority : integer;
procedure OnSuspend;
procedure OnResume;
procedure OnShutDown;
end;
procedure AttachTarget(const which : IShutDownTarget);
procedure DetachTarget(const which : IShutDownTar... |
program OOStack;
const
MAX = 100;
type
IntArray = array [1..MAX] of integer;
Stack = ^StackObj;
StackObj = object
private
arr: ^IntArray;
top: integer;
cap: integer;
public
CONSTRUCTOR init(initCap : integer);
DESTRUCTOR done; virtual;
procedure push(e: integer); virtual;
... |
unit atSemaphoreOperation;
{* Обеспечивает выполнение вложенных операций одновременно не более чем заданному количеству клиентов }
// Модуль: "w:\quality\test\garant6x\AdapterTest\Operations\atSemaphoreOperation.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatSemaphoreOperation" MUID: (4A4DF86D0208)
interfac... |
unit OutputSearchHandlerViewer;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, PDTabControl, InfoBook, VisualControls, SHDocVw, CustomWebBrowser,
VoyagerInterfaces, VoyagerServerInterfaces, ObjectInspectorInterfaces,
StdCtrls, VisualClassesHandler, Internati... |
unit GetLocationHistoryFromTimeRangeUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TGetLocationHistoryFromTimeRange = class(TBaseExample)
public
procedure Execute(RouteId: String; StartDate, EndDate: TDateTime);
end;
implementation
uses
TrackingHistoryUnit, TrackingHistoryResponseUnit;
pro... |
PROGRAM ejercicio;
CONST
INI = 1;
FIN = 7;
TYPE
TLista = ARRAY [INI..FIN] OF integer;
VAR
lista: TLista;
aux: integer;
PROCEDURE Inicializar (VAR v: TLista);
VAR
i: integer;
BEGIN
FOR i:= INI TO FIN DO
v[i] := 0;
END;
PROCEDURE Mostrar (v: TLista);
VAR
i: integer;
BEGIN
FOR i:=... |
unit Entidade.Tesouraria;
interface
uses SimpleAttributes;
type
TTB_TESOURARIA = class
private
FNRO_DOCUMENTO: integer;
FVALOR: Double;
FUSUARIO_INCLUSAO: string;
FID_CENTRO_CUSTO: Integer;
FDTA_MOVIMENTO: TDateTime;
FDESCRICAO: string;
FTIPO:string;
FID_TIPO_LANCAMENTO: Integer;
... |
unit NurseAppMainForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Edit,
FMX.ListBox, FMX.Layouts, FMX.StdCtrls, FMX.Controls.Presentation,
FMX.TabControl, System.Bluetooth, System.Blu... |
unit ncsTrafficCounter;
// Модуль: "w:\common\components\rtl\Garant\cs\ncsTrafficCounter.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "ncsTrafficCounter" MUID: (57F3833101A7)
{$Include w:\common\components\rtl\Garant\cs\CsDefine.inc}
interface
{$If NOT Defined(Nemesis)}
uses
l3IntfUses
, l3StopWatch
, l3P... |
unit IdNTLMv2;
interface
{$i IdCompilerDefines.inc}
uses
IdGlobal,
IdStruct
{$IFNDEF DOTNET}, IdCTypes, IdSSLOpenSSLHeaders{$ENDIF}
;
type
ProtocolArray = array [ 1.. 8] of AnsiChar;
nonceArray = Array[ 1.. 8] of AnsiChar;
const
//These are from:
// http://svn.xmpp.ru/repos/tkabber/t... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.HttpServer.Response
Description : Http Server Response
Author : Kike Pérez
Version : 1.0
Created : 30/08/2019
Modified : 06/10/2019
This file is part of... |
{
@abstract(@name contains the main form of Help Generator
and a class for saving and restoring project settings.)
@author(Richard B. Winston <rbwinst@usgs.gov>)
@created(2004-11-28)
@lastmod(2005-5-16)
@name contains the main form of Help Generator. It also defines
@link(THelpGeneratorProjectOptions) w... |
PROGRAM SarahRevere(INPUT, OUTPUT);
{Печать сообщения о том как идут британцы, в зависимости
от ключа Look}
PROCEDURE WriteAnswer(VAR Look: CHAR);
BEGIN {WriteAnsw}
IF Look = 'N'
THEN
WRITELN('Sarah didn''t say')
ELSE
WRITE('British are coming by ');
IF Look = 'L'
THEN
WRITELN('land.');
IF L... |
unit Unbound.Main;
interface
uses
Pengine.GLForm,
Unbound.GameState;
type
TfrmMain = class(TGLForm)
private
FManager: TGameStateManager;
public
procedure Init; override;
procedure Finalize; override;
end;
var
frmMain: TfrmMain;
implementation
{$R *.dfm}
uses
Unbound.GameState.Load... |
unit clOcorrenciasJornal;
interface
uses clConexao, System.SysUtils, Vcl.Dialogs;
type
TOcorrenciasJornal = class(TObject)
private
FRoteiro: String;
FEntregador: Integer;
FAssinatura: String;
FNome: String;
FProduto: String;
FOcorrencia: Integer;
FReincidencia: String;
FDescricao:... |
unit ActorTypes;
interface
uses
StateEngine, DistributedStates, Classes;
type
TActorId = integer;
TActorKind = integer;
TViewerId = integer;
type
IActor = interface;
IViewer = interface;
IActor =
interface
function getId : TActorId;
function getKind : T... |
unit settings;
interface
uses
Classes, SysUtils, IniFiles, Forms, Windows;
const
csIniDBConnectionSection = 'DBConnection';
csIniGlobalSection = 'Global';
{Section: DBConnection}
csIniDBConnectionDBIP = 'DBIP';
csIniDBConnectionDBPath = 'DBPath';
csIniDBConnectionVendorLib = 'VendorLib';
{Section: ... |
program ejercicio12;
const
dimF = 22; //estasd son las versiones disponibles de android actualmente
type
dispositivo = record
versionAndroid : Integer;
tamPantalla : Real;
RAM : Real;
end;
lista = ^nodo;
nodo = record
datos : dispositivo;
sig : lista;
end;
vContado = array[1..dimF] of Integer;
pro... |
unit CleanArch_EmbrConf.Core.Entity.Impl.ParkingLot;
interface
uses
System.SysUtils,
CleanArch_EmbrConf.Core.Entity.Interfaces;
type
TParkingLot = class(TInterfacedObject, iParkingLot)
private
FCode : String;
FCapacity : Integer;
FOpenHour : Integer;
FCloseHour : Integer;
FOcc... |
unit uInstaller;
interface
uses
ShellAPI, Windows, SysUtils, uDelphiInstallationCheck, Registry;
type
TRetProcedure = procedure(Desc: string) of object;
TInstaller = class(TObject)
private
FCallBackProc: TRetProcedure;
const
BPL_FILENAME = 'RFindUnit.bpl';
DPK_FILENAME = 'RFindUnit.dpk';
... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Description: TSysLogClient class encapsulate the client side of the SysLog
protocol as described in RFC3164 and RFC5424 but UTF-8 encoding
is not supported.
Creation: Septem... |
unit f2FontLoad;
interface
uses
d2dInterfaces;
function f2LoadFont(const aFontName: string; aFromPack: Boolean = False): Id2dFont;
implementation
uses
Classes,
SysUtils,
Windows,
SHFolder,
SimpleXML,
d2dCore,
d2dTypes,
d2dFont,
f2Types,
f2FontGen;
const
c_DefaultSize = 19;
c_DefaultGamma = 0.6;
... |
unit _fmmain;
{$mode objfpc}{$H+}
interface
uses
Classes,
ExtCtrls,
Forms,
SysUtils,
report;
type
{ TfmMain }
TfmMain = class(TForm)
TmReport: TTimer;
procedure TmReportTimer(Sender: TObject);
private
public
end;
var
fmMain: TfmMain;
implementation
{$R *.frm}
function LoadConfigF... |
unit MMO.Types;
interface
type
TSessionId = UInt32;
TPacketHeader = packed record
Size: UInt32;
end;
const
SizeOfTPacketHeader = SizeOf(TPacketHeader);
implementation
end.
|
unit CsDataPipePrim;
// Модуль: "w:\common\components\rtl\Garant\cs\CsDataPipePrim.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TCsDataPipePrim" MUID: (538DC31F03A5)
{$Include w:\common\components\rtl\Garant\cs\CsDefine.inc}
interface
{$If NOT Defined(Nemesis)}
uses
l3IntfUses
, csIdIOHandlerAbstractAdapt... |
unit NOT_FINISHED_vtSaveDialog;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "VT$Core"
// Модуль: "w:/common/components/gui/Garant/VT/NOT_FINISHED_vtSaveDialog.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML mode... |
unit LCLLogger;
{
Copyright (C) 2006 Luiz Américo Pereira Câmara
pascalive@bol.com.br
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any... |
// SAX for Pascal, Simple API for XML Buffered Interfaces in Pascal.
// Ver 1.1 July 4, 2003
// http://xml.defined.net/SAX (this will change!)
// Based on http://www.saxproject.org/
// No warranty; no copyright -- use this as you will.
unit BSAX;
interface
uses Classes, SysUtils, SAX;
const
{$IFDEF S... |
{8. a. Realice un módulo que reciba un par de números (numA,numB) y retorne si numB es el doble de numA.
b. Utilizando el módulo realizado en el inciso a., realice un programa que lea secuencias de pares de números
hasta encontrar el par (0,0), e informe la cantidad total de pares de números leídos, y la cantidad de p... |
unit nsOpenOrSaveInternetFileDialog_Form;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, nsDownloaderInterfaces, eeButton, vtButton,
vtRadioButton, vtLabel, vcmEntityForm, vtCtrls;
type
TnsOpenOrSaveInternetFileDialog = class(TForm, InsD... |
unit MFichas.Model.Usuario.TipoDeUsuario.Factory;
interface
uses
MFichas.Model.Usuario.TipoDeUsuario.Interfaces,
MFichas.Model.Usuario.Interfaces,
MFichas.Model.Usuario.TipoDeUsuario.Caixa,
MFichas.Model.Usuario.TipoDeUsuario.Fiscal,
MFichas.Model.Usuario.TipoDeUsuario.Gerente;
type
TModelUsuarioTipoDeUs... |
unit kwVTControlsPack;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\kwVTControlsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "kwVTControlsPack" MUID: (4F6096D500C3)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts) AND NOT Defin... |
unit daScheme;
// Модуль: "w:\common\components\rtl\Garant\DA\daScheme.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TdaScheme" MUID: (552D07EB03CB)
{$Include w:\common\components\rtl\Garant\DA\daDefine.inc}
interface
uses
l3IntfUses
, l3ProtoObject
, daInterfaces
, daTypes
, daTableDescription
;
const... |
unit ncsProcessThread;
// Модуль: "w:\common\components\rtl\Garant\cs\ncsProcessThread.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TncsProcessThread" MUID: (546061CE03DA)
{$Include w:\common\components\rtl\Garant\cs\CsDefine.inc}
interface
{$If NOT Defined(Nemesis)}
uses
l3IntfUses
, ncsTransporterThread... |
// islip - IneQuation's Simple LOLCODE Interpreter in Pascal
// Written by Leszek "IneQuation" Godlewski <leszgod081@student.polsl.pl>
// Main interpreter executable
program islip;
// the console apptype is only supported on win32, gives warnings in Linux
// since any app is a console one by default
{$IFDEF WIN32}
... |
unit QRQRBarcode;
{$I QRDEFS.INC}
interface
uses Windows, quickrpt, DB, graphics, classes, controls, QRCtrls, qrDelphiZXingQRCode;
type
TQRQRBarcode = class(TQRPrintable)
private
FBCText : string;
FBCEncoding : TQRCodeEncoding;
FBCQuietzone : integer;
protected
procedure Paint; o... |
{@html(<hr>)
@abstract(Unit providing constans with precalculated IDs a others stuff around
IDs generally.)
@author(František Milt <fmilt@seznam.cz>)
@created(2014-04-15)
@lastmod(2014-04-27)
@bold(@NoAutoLink(TelemetryIDs))
©František Milt, all rights reserved.
This unit contains definitions of iden... |
unit RDOObjectProxy;
interface
uses
Windows,
Classes,
SyncObjs,
ComObj,
ActiveX,
{$IFDEF AutoServer}
RDOClient_TLB,
{$ENDIF}
RDOInterfaces;
type
TRDOObjectProxy =
{$IFDEF AutoServer}
class( TAutoObject, IRDOObjectProxy )
{$ELSE}
class( TInterfacedOb... |
{
$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... |
{
File: CFNetwork/CFNetworkErrors.h
Contains: CFNetwork error header
Version: CFNetwork-219~1
Copyright: © 2006 by Apple Computer, Inc., all rights reserved
}
{ Pascal Translation: Gale R Paeper, <gpaeper@empirenet.com>, 2008 }
{
Modified for use with Free Pascal
Vers... |
unit atFilterHelper;
// Модуль: "w:\quality\test\garant6x\AdapterTest\AdapterHelpers\atFilterHelper.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatFilterHelper" MUID: (503F84050182)
interface
uses
l3IntfUses
, DynamicTreeUnit
;
type
ContextFilterParams = record
ContextPlace: TContextPlace;
FindOrder... |
unit RESTRequest4D.Request;
interface
uses RESTRequest4D.Request.Intf, Data.DB, REST.Client, REST.Response.Adapter, RESTRequest4D.Request.Params.Intf, REST.Types,
RESTRequest4D.Request.Body.Intf, RESTRequest4D.Request.Authentication.Intf, System.SysUtils, RESTRequest4D.Request.Headers.Intf,
RESTRequest4D.Request.... |
unit u_DeforExpert;
{$I delphiversions.inc}
interface
uses
Windows,
Messages,
Controls,
SysUtils,
Classes,
ToolsApi;
procedure Register;
implementation
uses
Menus,
Dialogs,
Forms,
GX_CodeFormatterTypes,
u_DelforTypesEx,
u_DelforRegistry,
GX_CodeFormatterDone,
... |
unit uformlamwinosettingspaths;
{$mode objfpc}{$H+}
interface
uses
inifiles, Classes, SysUtils, FileUtil, LazFileUtils, Forms, Controls, Graphics, Dialogs,
StdCtrls, Buttons, ExtCtrls, ComCtrls, LazIDEIntf {$IFDEF WINDOWS}, Registry {$ENDIF} ;
type
{ TFormLamwinoSettingsPaths }
TFormLamwinoSettingsPaths ... |
unit GX_EditReader;
{$I GX_CondDefine.inc}
interface
uses
Classes, ToolsAPI;
type
TModuleMode = (mmModule, mmFile);
type
TEditReader = class(TObject)
private
FSourceInterfaceAllocated: Boolean;
FModuleNotifier: IOTAModuleNotifier;
FEditIntf: IOTASourceEditor;
FEditRead: IO... |
unit Station;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ObjectID;
type
TStation = object(TObjWithID)
Private
name:string;
SWayNum:integer;
x:integer;
y:integer;
isvisited:boolean;
Coefficient:integer;
Public
Procedure SetName(s:string);
Function Ge... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clMultiDC;
interface
{$I clVer.inc}
{$IFDEF DELPHIXE2}
{$WARN SYMBOL_PLATFORM OFF}
{$ENDIF}
uses
{$IFNDEF DELPHIXE2}
Classes, Windows,
{$ELSE}
System.Classes, Winapi.Windows, System.Types,... |
unit uLembreteDAO;
interface
uses
uBaseDAO, uLembrete, FireDAC.Comp.Client, System.Generics.Collections,
System.SysUtils;
type
TLembreteDAO = class(TBaseDAO)
private
FListaLembrete: TObjectList<TLembrete>;
procedure PreencherColecao(Ds: TFDQuery);
public
constructor Create;
... |
{
$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 reserv... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DropSource, StdCtrls, Menus;
type
TDummy = class (TControl)
public
property Caption;
property OnMouseDown; //TMouseEvent read FOnMouseDown write FOnMouseDown;
property OnMouseMove; //TMous... |
unit AddressesOrderInfoUnit;
interface
uses
REST.Json.Types, SysUtils,
JSONNullableAttributeUnit, HttpQueryMemberAttributeUnit,
GenericParametersUnit;
type
TAddressInfo = class(TGenericParameters)
private
[JSONName('route_destination_id')]
FDestinationId: integer;
[JSONName('sequence_no')]
... |
namespace Sugar.Test;
interface
uses
Sugar,
RemObjects.Elements.EUnit;
type
UserSettingsTest = public class (Test)
var
Data: UserSettings := UserSettings.Default;
public
method TearDown; override;
method ReadString;
method ReadInteger;
method ReadBoolean;
method ... |
// Save/load macro templates from an XML file
// Original Author: Piotr Likus
unit GX_MacroFile;
interface
uses
Classes;
type
TTemplateInsertPos = (tipCursorPos, tipUnitStart, tipLineStart, tipLineEnd);
const
DefaultInsertPos = tipCursorPos;
EmptyShortCut = 0;
type
TTemplateList = clas... |
unit atNamedMutex;
{* Обертка вокруг виндового мьютекса }
// Модуль: "w:\quality\test\garant6x\AdapterTest\CoreObjects\atNamedMutex.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatNamedMutex" MUID: (491D8DFA00BB)
interface
uses
l3IntfUses
, l3_Base
, Windows
;
type
TatNamedMutex = class(Tl3_Base)
{* ... |
{$MODE OBJFPC}
program Task;
const
InputFile = 'PAPERS.INP';
OutputFile = 'PAPERS.OUT';
modulo = Round(1E9 + 7);
var
fi, fo: TextFile;
n, k, a, i: Integer;
function Inverse(a: Integer): Integer;
var
m, r, q, xa, xm, xr: Integer;
begin
m := modulo;
xa := 1; xm := 0;
while m <> 0 do
begin
q ... |
unit uFBFormReplicacao;
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, FireDAC.Stan.Def,
FireDAC.Stan.Pool, Fir... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls;
type
{ TForm1 }
TForm1 = class(TForm)
ButtonFind: TButton;
ButtonDir: TButton;
EditDirs: TEdit;
EditMasks: TEdit;
Label1: TLabel;
Label2: TLabel;
ListBox1: TL... |
unit RegUtils;
// Copyright (c) 1998 Jorge Romero Gomez, Merchise
interface
uses
Windows, SysUtils, Classes;
// Use this for a centralizing access to your registry settings
// Whenever you need the registry path for your application, call AppRegistryPath
// You will need to include a string resource wi... |
{14. Realizar una solución modularizada para el ejercicio 5 de la práctica 2 que plantea lo siguiente: Realizar un
programa que lea información de 200 productos de un supermercado. De cada producto se lee código y precio
(cada código es un número entre 1 y 200). Informar en pantalla:
- Los códigos de los dos producto... |
object fmAutoTodoDone: TfmAutoTodoDone
Left = 341
Top = 244
BorderIcons = []
BorderStyle = bsDialog
Caption = 'Comment Empty Code Blocks'
ClientHeight = 80
ClientWidth = 359
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Taho... |
unit aeIndexBuffer;
interface
uses windows, classes, types, dglOpenGL, aeLoggingManager;
type
TaeIndexBuffer = class
private
// opengl buffer ID for this data
_gpuBufferID: Cardinal;
_data: Array of Word;
_index: Cardinal;
_critsect: TRTLCriticalSection;
public
constructor Create;
... |
unit Bird.Socket.Connection;
interface
uses IdContext, Bird.Socket.Consts, Bird.Socket.Helpers, System.JSON, System.Generics.Collections, System.SysUtils;
type
TBirdSocketConnection = class
private
FIdContext: TIdContext;
public
constructor Create(const AIdContext: TIdContext);
function WaitMessage... |
unit urlEncodeDecode;
{
URL Encoder/Decoder based on Rosetta Code challenge for encoding/decoding
https://rosettacode.org/wiki/URL_decoding
https://rosettacode.org/wiki/URL_encoding
Author - Marcus Fernstrom
License - Apache 2.0
Version - 0.1
}
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, D... |
unit dcNumEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, dcEdit;
type
TdcNumEdit = class(TdcEdit)
private
FEditMask: string;
procedure SetEditMask(const Value: string);
{ Private declarations }
protected
{ Protected de... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Math, Buttons;
type
TfrmDaagInkm = class(TForm)
lblInkomste: TLabel;
gbpAantekentyd: TGroupBox;
edtUurAan: TEdit;
edtMinAan: TEdit;
lblUurAan: TLabel;
lblMinAan: TLab... |
(*
* 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 at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS... |
unit K278136024;
{* [RequestLink:278136024] }
// Модуль: "w:\common\components\rtl\Garant\Daily\K278136024.pas"
// Стереотип: "TestCase"
// Элемент модели: "K278136024" MUID: (4E396B1F03D0)
// Имя типа: "TK278136024"
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas}
interface
{$If Defined(nsTest)... |
(*--------------------------------------------------------------------------------*)
(* Übung 4 ; Memory Addressing Function (MAF) for one and two-dimensional arrays *)
(* Entwickler: Neuhold Michael *)
(* Datum: 07.11.2018 ... |
{ Subroutine SST_R_SYN_INT (SYM_P)
*
* Create new integer variable in the current scope. SYM_P will be returned
* pointing to the symbol descriptor for the new variable.
}
module sst_r_syn_int;
define sst_r_syn_int;
%include 'sst_r_syn.ins.pas';
procedure sst_r_syn_int ( {make new interger variable... |
unit BaiduMapAPI.PoiSearchService.iOS;
//author:Xubzhlin
//Email:371889755@qq.com
//百度地图API Poi搜索服务 单元
//官方链接:http://lbsyun.baidu.com/
//TiOSBaiduMapPoiSearchService 百度地图 iOS Poi搜索服务
interface
uses
System.Classes, System.Types, Macapi.ObjectiveC, Macapi.Helpers, iOSapi.Foundation, iOSapi.BaiduMapAPI_Search,
iOSa... |
{ Subroutine SST_VAR_FUNCNAME (V)
*
* Modify the variable descriptor V to represent a function's main symbol
* instead of its return value. Nothing is done if the variable descriptor
* does not already represent a function's return value "variable".
}
module sst_VAR_FUNCNAME;
define sst_var_funcname;
%include ... |
unit utils_zs_login;
interface
uses
windows,
Graphics, Sysutils,
define_zsprocess;
function FindZSLoginWnd(AZsProcess: PZsProcess; AWndLogin: PZsWndLogin): Boolean;
procedure ClickLoginButton(AWndLogin: PZsWndLogin);
function CheckZSLoginWndUIElement(A... |
unit HotelUnit;
interface
//hotel record
type hotel = record
name : string;
id : integer;
distance : integer; //Distanz zum nächsten Hotel
end;
type HotelFileType = File of hotel;
type HotelArrayType = array of Hotel;
function loadHotelsFromeFile(path : string) : HotelArrayType;
procedure saveHotelsToFile(pa... |
unit vtGrids;
{$I vtDefine.inc }
interface
uses Messages, Windows, SysUtils, Classes, Graphics, Menus, Controls, Forms,
StdCtrls, Mask, Grids;
Type
TGetCellEvent = procedure (Sender: TObject; ACol, ARow: Longint; var Value: PChar) of object;
TSetCellEvent = procedure (Sender: TObject; ACol, ARow: Longin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.