text stringlengths 14 6.51M |
|---|
{ Invokable implementation File for TAZMotorWS which implements IAZMotorWS }
unit AZMotorWSImpl;
interface
uses InvokeRegistry, Types, XSBuiltIns, AZMotorWSIntf, CommunicationObj;
type
{ TAZMotorWS }
TAZMotorWS = class(TCommObj, IAZMotorWS)
public
//Status
function Get_Posicion: Integer;... |
unit UntSrvMetodos;
interface
uses
System.SysUtils,
System.Classes,
System.Json,
System.Json.Writers,
System.Json.Types,
Data.DBXPlatform,
Data.DB,
Data.FireDACJSONReflect,
Datasnap.DSProviderDataModuleAdapter,
FireDAC.Stan.Intf,
FireDAC.Stan.Option,
FireDAC.Stan.Error,
... |
unit UClassGlobal;
interface
uses System.IniFiles, System.IOUtils, SysUtils;
Type
TGlobal = class
private
Ftoken: string;
Fpass: string;
Flogin: string;
Ferror: string;
FidUser: string;
FDataExpira: TDate;
FEmail: string;
FDataAtual: TDate;
FLongitude: string;... |
unit Measure;
interface
type
TCode = byte;
const
MinCode = 0;
MaxCode = 250;
NoData = 255;
type
float = double;
type // un :- unit
TMeasure = (unNone, unDB, unDBZ, unMMH, unMS, unMM, unM, unKM, unKGM,
unZDR, unPDP, unRho, unKDP, unGCP, unTID);
type
TMeasureSet =... |
program matrices;
const orden = 5;
type matriz = array [1..orden, 1..orden] of integer;
var a, b : matriz;
{ devuelve la matriz nula }
function matrizNula() : matriz;
var i,j : integer;
m : matriz;
begin
for i:=1 to orden do
begin
for j:=1 to orden do
m[i,j] := 0;
end;
matrizNula := m;
... |
{-----------------------------------------------------------------------------
Author: Alexander Roth
Date: 04-Nov-2006
Dieses Programm ist freie Software. Sie können es unter den Bedingungen
der GNU General Public License, wie von der Free Software Foundation
veröffentlicht, weitergeben und/oder ... |
unit uTaskMan;
{
Sandcat Task Manager
Copyright (c) 2011-2014, Syhunt Informatica
License: 3-clause BSD license
See https://github.com/felipedaragon/sandcat/ for details.
}
interface
uses
Windows, Classes, Messages, Controls, SysUtils, Dialogs, ExtCtrls,
Forms, TypInfo, Lua, LuaObject, uUIComponents, uRe... |
unit Ct03;
{
ULCT03.DPR***************************************************************
File: CT03.PAS
Library Call Demonstrated: 9513 Counter Functions
cbC9513Config()
cbCStoreOnInt()
Purpose: ... |
unit ScheduledServiceModule;
interface
uses
System.SysUtils, System.Classes, System.Android.Service,
Androidapi.JNI.App, AndroidApi.JNI.GraphicsContentViewText, Androidapi.JNI.Os;
type
TServiceModule = class(TAndroidService)
function AndroidServiceStartCommand(const Sender: TObject; const Intent: JIntent; ... |
unit Helsi;
interface
uses
Windows, System.SysUtils, System.Variants, System.Classes, System.JSON,
Vcl.Dialogs, REST.Types, REST.Client, REST.Response.Adapter,
Vcl.Forms, ShellApi, IdHTTP, IdSSLOpenSSL;
type
THelsiApi = class(TObject)
private
FRESTResponse: TRESTResponse;
FRESTRequest: TRESTReques... |
{$MODESWITCH RESULT+}
{$GOTO ON}
(*************************************************************************
Copyright (c) 1992-2007 The University of Tennessee. All rights reserved.
Contributors:
* Sergey Bochkanov (ALGLIB project). Translation from FORTRAN to
pseudocode.
See subroutines comments ... |
unit DirFindWorker;
interface
uses Classes;
type
TDirFinderCountMatches=(ncFiles,ncMatches,ncSubMatches);
TDirFinderNotifyMessage=(nmError,nmDone,nmFolderFound,nmProgress,nmFolderDone,nmMatchFound);
TDirFinderNotifyEvent=procedure(nm:TDirFinderNotifyMessage;
const msg:string;const vals:array of integer) ... |
{$MODESWITCH RESULT+}
{$GOTO ON}
(*************************************************************************
Copyright (c) 1992-2007 The University of Tennessee. All rights reserved.
Contributors:
* Sergey Bochkanov (ALGLIB project). Translation from FORTRAN to
pseudocode.
See subroutines comments ... |
unit Flyouts;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Menus, FMX.Layouts,
FMX.Objects, FMX.Grid, FMX.Gestures, FMX.Ani, FMX.Edit, FMX.ListBox,
FMX.ExtCtrls;
type
TFlyoutDemoForm = class(TF... |
unit DataUsers;
// TUsersTableData - trida starajici se o vyplneni tabulky uzivatelu
interface
uses ComCtrls, SysUtils;
type
TUsersTableData=class
private
LV:TListView;
public
procedure LoadToTable();
procedure UpdateTable();
procedure UpdateLine(line:Integer);
procedure ... |
{####################################################################################}
{ }
{ DATA AUTOR Descrição }
{----------- ------------------ -----------------------... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit GridHelperLib;
{- Unit Info -------------------------------------------------------------------
Unit Name : GridHelperLib
Created By: Barış Atalay, 03/04/2015,14:00
Changed By:
-------------------------------------------------------------------------------}
interface
Uses
System.Classes, System.Rtti, Sys... |
unit uiwin.screen;
interface
uses
Windows, MultiMon;
type
PWinMonitor = ^TWinMonitor;
TWinMonitor = packed record
MonitorHandle : MultiMon.HMONITOR;
end;
PWinScreen = ^TWinScreen;
TWinScreen = packed record
PixelsPerInch : Integer;
DefaultKbLayout : HKL... |
unit UMLS_Globals;
{ MLS Mapping Module }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2012 by Bradford Technologies, Inc. }
{ This unit holds the column ids of each virtual grid }
interface
const
{Filter Grid}
Filter_No = 1;
... |
unit Perfil;
interface
type
TPerfil = class
private
FCodigo :Integer;
FAcesso :String;
FNome :String;
public
property Codigo :Integer read FCodigo write FCodigo;
property Nome :String read FNome write FNome;
property Acesso :String read FAcesso write FAcesso;
end;
implementa... |
unit Results;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TResults = record
BestTW: double;
BestSW: double;
BestAW: double;
BestFTB: double;
BestRTB: double;
BestTL: double;
BestSL: double;
OrigTW: double;
OrigSW: double;
Or... |
{$MODESWITCH RESULT+}
{$GOTO ON}
(*************************************************************************
Copyright (c) 2007, Sergey Bochkanov (ALGLIB project).
>>> SOURCE LICENSE >>>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as p... |
unit MUIClass.Dialog;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fgl, Math,
Exec, Utility, AmigaDOS, Intuition, asl, icon, mui, muihelper,
tagsparamshelper, MUIClass.Base, MUIClass.Window;
{$M+}
type
TBaseDialog = class
private
FTitleText: string;
public
function Execute: Boolean; virtu... |
unit ServicoAtualizadorBD;
interface
uses
uModulo,
ZDataset,
BuscadorDeAtualizacoesBD,
Versao,
ManutencaoSistema,
Classes;
type
TServicoAtualizadorBD = class
private
FManutencao :TManutencaoSistema;
FBuscadorDeAtualizacoes :IBuscadorDeAtualizacoesBD;
FDM ... |
unit uTestLibraryCls;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, uLibraryCls, uLibrary, fpcunit, testutils,
testregistry;
type
{ TTestLibraryCls }
TTestLibraryCls= class(TTestCase)
private
fModuleDefine: IModuleDefine;
protected
procedure SetUp; override;
published
procedure T... |
unit Restourant.Consts.Filenames;
interface
const
FolderStore = 'DaVinci';
FolderImages = 'images';
FolderImagesTMC = 'tmc';
FileNameImageTMCPacked = 'imagestmc.zip';
FileNameImageTMCPackedTemp = 'imagestmctemp.zip';
FileNameImag... |
unit UFileImportUtils;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2008 by Bradford Technologies, Inc. }
{ This is the untility unit of the import capability in ClickForms}
interface
uses
Cl... |
unit RemessaBanco;
interface
uses
SysUtils, Dialogs;
type
TRemessa = record
//************************************************************************//
// REGISTROS UTILIZADOS NA GERAÇÃO DO HEADER DO ARQUIVO, PODENDO SER USADO//
// POSTERIOMENTE POR OUTRAS ROTINAS ... |
unit AqDrop.Core.DataCursor.Intf;
interface
uses
System.Generics.Collections,
AqDrop.Core.Collections.Intf;
type
IAqBaseDataCursor<T> = interface
['{072E587A-B3FF-40DE-BBB6-9FC810EAB7DA}']
function GetCurrentIndex: Int32;
procedure SetCurrentIndex(const pNewIndex: Int32);
functio... |
unit QEngine.Font;
interface
uses
QuadEngine,
QCore.Types,
QEngine.Types,
Strope.Math;
type
TQuadFont = class sealed (TBaseObject, IQuadFont)
strict private
FEngine: IQuadEngine;
FFont: IQuadFont;
procedure LoadFromFile(ATextureFilename, AUVFilename: PAnsiChar); overload; stdcall;
... |
unit CmjsSecCoolSolution;
interface
uses
SysUtils,CmjsSecCoolFluid;
type
TFreezium =
class(TmjsSecCoolFluid)
private
protected
function GetTFreezeX(X : Double) : Double; override;
function GetRhoTX(T,X : Double): Double; override;
function GetCpTX(T,X : Double): Double;... |
UNIT Store1;
{Take tracks of files in store}
{just simple, no cleaning, etc}
INTERFACE
uses SysUtils;
type
tfid=array [0..19] of byte;
tStoreObjectInfo=object
final:boolean; {hash matched}
rc:Word; {0=no error 1=not found, other}
length:LongWord; {the whole file}
seglen:longword; {from cur to end of segment}
... |
{
Source for doing DES encryption/decryption in Pascal.
This procedure uses 4 parameters :
Input : 8 byte (64 bit) input
Output : 8 byte (64 bit) output from DES algorithm
Key : 8 byte (64 bit) key for DES algorithm
Encrypt : True to encrypt, False to decrypt
The procedure uses typeless parameters so you can use... |
unit MT;
interface
procedure RandomizeMT;
procedure SetRandSeedMT(seed: LongWord);
function GenRandMT: double;
function GenRandIntMT: LongWord;
implementation
const
{ Period parameters }
N = 624;
M = 397;
MATRIX_A = $9908b0df; { constant vector a }
UPPER_MASK = $80000000; { most significan... |
unit RequestUnit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, JsonTools, TypesUnit, AtolKKTUnit;
type
{ TRequest }
TRequest = class(TObject)
public
class function getRequestTypeByRequest(const fRequest: string): RequestType;
class function getStringByJSONNode(jn: TJsonNode): string;
... |
unit TBloky;
//tato unita definuje tridu, ktera se stara o vsechny bloky
//tedy jsou v ni ulozeny vsechny bloky
//zakladni principy:
// - trida TBlky udrzuje databazi existujicich technologickych bloku
// - tyto bloky jsou odvozeny ze spolecne abstraktni tridy TBlk
// - tridu TBlky vytvari main
// - event OnChan... |
unit DevPropsDlg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, INIFiles, procs, MainWIndow, ExtCtrls, DataWindow, Constants,
SystemUtils, CommonTypes, Logger;
type
TDevPropsForm = class( TForm )
gb_ranges: TGroupBox;
l_nachTemp: TLabel;
... |
unit UMapUtils;
interface
uses
Types,Graphics,SysUtils, Forms, locationservice,
UBase, UUtil2;
const
(*
The scale factor is based on this source found on internet:
We use zoome level 14 as the base 1 to divide all zoom level by zoom level 14
20 : 1128.497220
19 : 2256.994440
18 : 4513.988880
17 : 9027.977761
1... |
unit frameBuscaUsuario;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Usuario, StdCtrls, Buttons, Mask, ToolEdit, CurrEdit;
type
TBuscaUsuario = class(TFrame)
StaticText1: TStaticText;
StaticText2: TStaticText;
edtCodigo: TCurrencyEdit;
btnB... |
unit BuilderPizzaExample.Util.View;
interface
uses
BuilderPizzaExample.Domain.IPizza;
type
TUtilsView = class
class function View(AMsg: string; APizza: IPizza): string;
end;
implementation
uses
BuilderPizzaExample.Util.Utils,
BuilderPizzaExample.Domain.ValueObject.EdgeType,
BuilderPizzaExample.Doma... |
{
@abstract(@code(google.maps.LatLngBounds) class from Google Maps API.)
@author(Xavier Martinez (cadetill) <cadetill@gmail.com>)
@created(August 14, 2022)
@lastmod(August 14, 2022)
The GMLatLngBounds contains the implementation of TGMLatLngBounds class that encapsulate the @code(google.maps.LatLngBoun... |
unit UDrag;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2008 by Bradford Technologies, Inc. }
interface
Uses
Controls, Extctrls, Graphics, Types,
UCell,StdCtrls,UForm;
Type
//This is the dr... |
unit AT.Fmx.Actions.Reg;
interface
procedure Register;
implementation
uses
System.SysUtils, System.Actions, AT.Fmx.Actions.Base,
AT.Fmx.Actions.Bind, AT.Fmx.Actions.Control, AT.Fmx.Actions.Data,
AT.Fmx.Actions.ValueRange, AT.Fmx.Actions.EditActns,
AT.Fmx.Actions.FileActns, AT.Fmx.Actions.MediaLibrary,
AT.... |
object WindowsConstants: TWindowsConstants
Left = 470
Top = 274
Width = 577
Height = 488
BorderStyle = bsSizeToolWin
Caption = 'Windows Constants'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
Form... |
unit FFPS;
interface
uses
Windows, FLogs, SysUtils, FData, Math;
const
MAX_ELAPSED = 100;
type
TCount = Record
Real : Int64;
Now : Int64;
Last : Int64;
Frame : Integer;
FPS : Integer;
Elapsed, ElapsedGlobal : Integer;
end;
var
Count : TCount;
procedure InitFPS();
proce... |
unit IsmDoc;
interface
uses
Forms, Classes, SysUtils, XMLDoc, xmldom, XMLIntf, PerlRegEx
{$IFDEF DEBUG}, ULog{$ENDIF};
type
{ forward declarations }
TISMDocument = class;
PSvltDuration = ^TSvltDuration;
TSvltDuration = Int64;
TSvltDurations = array of TSvltDuration;
TSvltWidths = array of Integer;
... |
unit MyData;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, ComCtrls, Menus, JPEG;
Type
TSizeBitmap = record
PixWidth : longint;
PixHeight : longint;
DMMWidth : longint;
DMMHeight : longint;
end;
PBMPELEMENT = ^TBMPELEMENT;
TB... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit ConsultationsUnit;
{$mode objfpc}{$H+}
interface
uses
IniFiles, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
type
{ TConsultations }
TConsultations = class(TForm)
Button1: TButton;
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
Edit4: TEdit... |
{
TNetworkAdapterInfo Component Version 1.9b - Suite GLib
Copyright (©) 2009, by Germán Estévez (Neftalí)
Representa conexiones de red activas en un entorno windows.
Utilización/Usage:
Basta con "soltar" el componente y activarlo.
Place the component in the form and active it.
MSDN Inf... |
// Type :
type
TtimLapso = record
Activo : boolean ;
iLapso_Actual : integer ;
end ; // record
// Var :
var
timLapso : TtimLapso ;
// Calls :
procedure Timer_Mesura_Temps_Engegar() ;
begin
SAGdebugMsg ( Form1.SucesosGYM, '>>> Activar timer medida lapso.' ) ;
timLapso.iLapso_Actual := 0 ; // in... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
(*
Variant List (C) Sergey Bodrov 2020
MIT License
Usage:
var MyList: Variant;
MyList := VarListCreate;
MyList.AddValue(1);
MyList.AddValue('test');
WriteLn(MyList.GetValue(0), MyList.GetValue(1));
Methods:
SetCapacity(MaxCount) - allocate memory for list values
AddValue(Value) - add value to end o... |
program CoolPropDelphiExample;
{$APPTYPE CONSOLE}
{$R *.res}
uses
SysUtils, Windows;
CONST
COOL_PROP = 'CoolProp.dll';
type
TArrayOfAnsiChar = array [0 .. 1023] of AnsiChar;
function get_global_param_string(param: PAnsichar; var Output: TArrayOfAnsiChar): Longint; stdcall; external COOL_PROP name '_get_globa... |
unit helpers;
{$IFDEF FPC}
{$mode objfpc}{$H+}
{$ENDIF}
interface
uses
SysUtils
,Classes
;
// Format, then re-rasie an exception
procedure tiFmtException( e : Exception ;
const psMessage : string ;
const psClassName : string = '' ;
... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1997,99 Inprise Corporation }
{ ... |
unit UtilsHttp;
interface
uses
Windows, ActiveX, UrlMon, win.iobuffer;
type
PClientConnectSession = ^TClientConnectSession;
TClientConnectSession = record
Connection : Pointer;
SendTimeOut : Cardinal;
ConnectTimeOut : Cardinal;
ReceiveTimeOut : Cardinal;
end;
PHttpHe... |
unit AqDrop.Core.Helpers.Rtti.Impl;
interface
uses
System.TypInfo,
System.Rtti,
AqDrop.Core.Collections.Intf,
AqDrop.Core.Helpers.Rtti;
type
TAqRttiImplementation = class(TAqRtti)
strict private
FContext: TRttiContext;
FTypesCache: IAqDictionary<PTypeInfo, TRttiType>;
FTypesPer... |
unit VTFPrevFrmU;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, VTFLib, Winapi.GDIPAPI, Vcl.ExtCtrls,
Vcl.StdCtrls, Vcl.Samples.Spin, System.Actions, Vcl.ActnList;
type
TVTFPrevForm = class(TForm)
MipS... |
unit ColorButton;
{$S-,W-,R-}
{$C PRELOAD}
interface
uses Windows, Messages, Classes, Controls, Forms, Graphics, StdCtrls,
ExtCtrls, CommCtrl;
type
TButtonLayout = (blGlyphLeft, blGlyphRight, blGlyphTop, blGlyphBottom);
TButtonState = (bsUp, bsDisabled, bsDown, bsExclusive);
TButtonStyle = (bsAutoDetect, bs... |
unit uFunction;
interface
uses
Windows, Classes, StrUtils, SysUtils, Vcl.Forms, Vcl.Graphics, jpeg, uConst,
ShlObj, ShellAPI, Winapi.CommCtrl, Controls, Winapi.Messages, scGPControls,
scControls, scGPVertPagers, IOUtils, System.IniFiles, Math, MRVCore;
type
TRGBArray = array[Word] of TRGBTriple;
pRGBArray ... |
unit fImportLevel;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, fBattleCity, BCData;
type
TfrmImportLevel = class(TForm)
txtFileName: TEdit;
cmdExport: TButton;
lblFilename: TLabel;
cmdBrowse: TButton;
cbPhase: TComboBox;
l... |
// Fit4Delphi Copyright (C) 2008. Sabre Inc.
// 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 version.
//
// This program is... |
unit Utils;
interface
uses
SysUtils;
function ItemCount(Cnt: Integer; ItemName: String): String;
implementation
function ItemCount(Cnt: Integer; ItemName: String): String;
var
Fmt: String;
begin
case Cnt of
0: Fmt := 'no %ss';
1: Fmt := '1 %s';
else
Fmt := '%d %ss';
end;
if (Cnt > 1) then
... |
// =============================================================================
// Module name : $RCSfile: FlashRunner.pas,v $
// description : This unit implements all methodes and properties of class
// TFlashRunner for device FlashRunner
// Compiler : Delphi 2007
// Author : 2015-08-14 /b... |
unit fmExportar;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, fmBase, JvExControls, JvgLabel, ExtCtrls, JvExExtCtrls,
JvWizard, JvWizardRouteMapNodes, StdCtrls, ActnList, Buttons, dmCampos,
DBCtrls, dmExportar, JvExtComponent, JvPanel,
fmSelectorCampos, ... |
{$ifdef license}
(*
Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com )
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this li... |
//Only compile for the OS X platform.
{$IF ( (NOT Defined(MACOS)) OR (Defined(IOS)) )}
{$MESSAGE Fatal 'AT.MacOS.pas only compiles for the OS X platform.'}
{$ENDIF}
// ******************************************************************
//
// Program Name : Angelic Tech Mac OS X Library
// Program Version: 2017
// P... |
unit DIOTA.Dto.Response.FindTransactionsResponse;
interface
uses
System.Classes,
DIOTA.IotaAPIClasses;
type
TFindTransactionsResponse = class(TIotaAPIResponse)
private
FHashes: TArray<String>;
function GetHashes(Index: Integer): String;
function GetHashesCount: Integer;
public
constructor C... |
unit SQLMonitor;
interface
uses
DB,
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
StdCtrls,
ormbr.monitor;
type
TFSQLMonitor = class(TForm, ICommandMonitor)
MemoSQL: TMemo;
Button1: TButton;
procedure Button1Click(Sende... |
unit Listeners;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit> Listeners
<What> 定义IListener,实现对Listener设计模式的支持
<Written By> Huang YanLai
<History>
**********************************************}
interface
uses classes;
type
... |
unit DasmX86;
(*
The i80x86 disassembler registration module of the DCU32INT utility
by Alexei Hmelnov.
----------------------------------------------------------------------------
E-Mail: alex@icc.ru
http://hmelnov.icc.ru/DCU/
----------------------------------------------------------------------------
See the file "... |
unit UNALLEGO;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, StdCtrls, ExtCtrls, Buttons, Spin, SPComm, Mask;
type
TFMALLEGO = class(TForm)
PageControl: TPageControl;
PAGE_A: TTabSheet;
ED_PORT: TRadioGroup;
ED_CUTTER: TCheckBox;
BitBtn1:... |
{
This is part of Vortex Tracker II project
Version 2.0 and later
(c)2017-2021 Ivan Pirog, ivan.pirog@gmail.com
https://github.com/ivanpirog/vortextracker
}
unit Logger;
interface
type
TLogger = class
Opened: Boolean;
LogFile: TextFile;
constructor Create(FileName: String);
destructor Destruct;
... |
unit uWidgetProcessor;
interface
type
TWidgetRecorderProc = reference to procedure(const aCount: integer);
type
TWidgetProcessor = class
private
FWidgetRecorder: TWidgetRecorderProc;
public
constructor Create(aWidgetRecorder: TWidgetRecorderProc);
procedure ProcessWidgets(aNumberToProcess: intege... |
unit OutputModuleEditorUnit;
(* AErender Launcher *)
(* OutputModuleEditorUnit.pas *)
(* Lily Stilson // 2019 - 2020 *)
(* ... |
{ Subroutine SMTP_CLIENT_THREAD (D)
*
* Handle all the interaction with one SMTP client. This subroutine is
* intended to be run in a separate thread. The call argument D is assumed the
* client descriptor passed by reference. It will be closed before this
* routine returns or exits.
}
module smtp_client_t... |
unit uProblema2;
interface
uses
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error,
FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async,
FireDAC.DApt, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client, uDMConexao;
type
TProblema2 = class
private
Fid: inte... |
unit TelegAPi.Types;
interface
uses
REST.Json.Types,
System.Classes,
TelegAPi.Types.Enums;
type
ItgUser = interface
['{EEE1275B-F21B-476F-9F0C-768C702FF34B}']
function ID: Int64;
function IsBot: Boolean;
function FirstName: string;
function LastName: string;
function Username: string... |
unit NtUiLib.TaskDialog;
{
This module provides support for showing Task Dialogs or Message Boxes.
NOTE: some features require a manifest with enabled runtime themes.
}
interface
uses
Ntapi.WinUser, DelphiApi.Reflection;
const
IDNONE = TMessageResponse.IDNONE;
IDOK = TMessageResponse.IDOK;
IDCANCEL = TM... |
unit UMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, Vcl.Imaging.jpeg,
Vcl.ExtCtrls, Vcl.Imaging.pngimage, Vcl.StdCtrls, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC... |
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.Objects,
FMX.DateTimeCtrls, FMX.Controls.Presentation, FMX.Edit;
type
TForm1 = class(TForm)
Edit1: TEdit;
DateEdit1... |
unit Modes;
interface
uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons,
StdCtrls, ExtCtrls;
type
TModeDlg = class(TForm)
OKBtn: TBitBtn;
CancelBtn: TBitBtn;
GroupBox1: TGroupBox;
GroupBox2: TGroupBox;
Panel1: TPanel;
Panel2: TPanel;
CheckRGS: TCheckB... |
unit uAuthCalls;
interface
uses
SysUtils,
Classes,
superobject,
IdHttp,
IdSSL,
IdSSLOpenSSL;
type
TCertLoginResponse = record
IsLoggedIn: boolean;
SessionToken: string;
ReturnCode: string;
end;
function DoKeepAlive(aAppKey, aSessionToken: string): boolean;
function DoLogout(... |
unit BooksControllerU;
interface
uses MVCFramework, BooksModuleU, MVCFramework.Commons;
type
[MVCPath('/books')]
TBooksController = class(TMVCController)
private
FBookModule: TBookModule;
protected
procedure OnAfterAction(Context: TWebContext;
const AActionNAme: string); override;
procedur... |
//
// Created by the DataSnap proxy generator.
// 12/10/2015 03:50:58
//
unit ClientClassesUnit1;
interface
uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExp... |
PROGRAM WorkWithQueryString(INPUT, OUTPUT);
USES
DOS;
FUNCTION GetQueryStringParameter(Key: STRING): STRING;
VAR
QueryString, KeyString: STRING;
Index, Len: BYTE;
BEGIN
KeyString := Key + '=';
QueryString := GetEnv('QUERY_STRING');
Len := length(QueryString);
IF Len = 0
THEN
GetQueryStringParame... |
(*
Name: UfrmSelectWindowsLanguages
Copyright: Copyright (C) SIL International.
Documentation:
Description:
Create Date: 16 Jun 2008
Modified Date: 24 Jul 2015
Authors: mcdurdin
Related Files:
Dependencies:
Bugs:
Todo: ... |
{ INT2RTF. Main module for the Interrupt List -> .RTF compiler.}
{ The software included, data formats and basic algorithms are }
{ copyright (C) 1996 by Slava Gostrenko. All rights reserved. }
{$M 16384}
{$IFNDEF DPMI}
! set Target to 'Protected Mode Application'
{$ENDIF}
{$X+}
program
Int2RTF;
us... |
unit AutoTransform;
interface
uses
Classes, SysUtils, XMLIntf, xmldom, msxmldom, XMLDoc;//, XmlReader ;
type
TXMLAutoTransform = class(TComponent)
private
root, rowNode : IXMLNode;
indent : string;
rowLevel : integer;
transformFile : Text;
procedure ListChildren(node: IXMLNode; var header... |
unit ucommon;
interface
const
cProgramName = 'Tim2View SVN.r89 by [Lab 313] (for ' +
{$IFDEF Linux}'Linux' + {$IFEND}
{$IFDEF Darwin}'Mac OS X' + {$IFEND}
{$IFDEF Windows}'Windows' + {$IFEND}
')';
cExtractedFilesDir = 'FILES';
cExtractedPngsDir = 'PNGS';
cMaxFileSize = $2EAEED80;
cAut... |
unit AbilityManager;
{
%AbilityManager : 包含控件的Enable/Disable属性的管理,适用于权限管理。
Ability Manager(能力管理者) : 管理控件的Enable/Disable
Authority Provider(权限提供者) : 提供权限标志
Ability Provider(能力提供者) : 连接能力管理者和权限提供者。
根据权限提供者提供的权限标志,进行运算,决定能力管理者的Enable/Disable,然后能力管理者影响控件。
}
(***** Code Written By Huang YanLai ****... |
PROGRAM Copy(INPUT, OUTPUT);
PROCEDURE RCopy(VAR InputFile, OutputFile: TEXT);
VAR
Ch: CHAR;
BEGIN { RCopy }
IF NOT EOLN(InputFile)
THEN
BEGIN
READ(InputFile, Ch);
WRITE(OutputFile, Ch);
RCopy(InputFile, OutputFile)
END
END; { RCopy }
BEGIN { Copy }
RCopy(INPUT, OUTPUT);
WRITE... |
{ This unit is for DELPHI only, and allows to ease console app development.
This unit (with even more functionality) already exists is FPC for years. }
unit delphi_custom_app;
interface
uses
Classes,
SysUtils;
type
TExceptionEvent = Procedure (Sender : TObject; E : Exception) Of Object;
TCustomApplicatio... |
(*
Name: UfrmDebugStatus_Elements
Copyright: Copyright (C) SIL International.
Documentation:
Description:
Create Date: 14 Sep 2006
Modified Date: 30 May 2007
Authors: mcdurdin
Related Files:
Dependencies:
Bugs:
Todo:
... |
unit DIOTA.Utils.Multisig;
interface
uses
DIOTA.Pow.ICurl,
DIOTA.Utils.Signing,
DIOTA.Model.Bundle;
type
TMultisig = class
private
FCurl: ICurl;
FSigningInstance: TSigning;
public
{
* Initializes a new instance of the Multisig class.
}
constructor Create(customCurl: ICurl); overl... |
Unit CrtControl; {OOP Crt Implementation}
{Information:
* Code Size = 5660 Bytes
* Stack Size = 0 Bytes
* Data Size = 0 Bytes
* Number of lines = 727}
Interface
Type CardType = (None,Mono,Cga,EgaMono,EgaColor,
VgaMono,VgaColor,McgaMono,McgaColor);
CursorType = (Big,Normal,Small);
... |
unit ItemEditor.PowerSupply;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ItemEditor.Base, StdCtrls, ComCtrls, ExtCtrls, pngimage, Buttons, PngBitBtn;
type
TItemEditorFrame_PWR = class(TItemEditorBaseFrame)
CustomTabSheet: TTabSheet;
StandardCombo: ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.