text stringlengths 14 6.51M |
|---|
unit SystemMonitorToMediator;
interface
uses
SysUtils, Classes, DataServices, FireDAC.Stan.Error, FireDAC.UI.Intf,
FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async,
FireDAC.Phys, FireDAC.Phys.MSSQL, FireDAC.Comp.Client, FireDAC.Stan.Param,
FireDAC.DatS, FireDAC.DApt.Intf, Fi... |
unit windowfuncs;
interface
{$mode delphi}{$h+}
uses Windows,classes,forms,tlhelp32,messages,fileutil{,sysutils,dialogs};
const
EM_SETBKGNDCOLOR=1091;
EM_SHOWSCROLLBAR=WM_USER + 96;
EM_SETZOOM=WM_USER + 225;
EM_SETFONTSIZE=WM_USER + 223;
const
// Use crKey as the transparency color.
LWA_COL... |
(* ENUNCIADO
Em teoria das probabilidades, o paradoxo do aniversário afirma que dado um grupo de 23 (ou mais) pessoas escolhidas
aleatoriamente, a chance de que duas pessoas terão a mesma data de aniversário é de mais de 50%.
Embora não seja um paradoxo do ponto de vista matemático, ele é chamado assim pois foge da i... |
unit u_EnumDoublePointLonLatToMapPixel;
interface
uses
t_GeoTypes,
i_CoordConverter,
i_DoublePointFilter,
i_EnumDoublePoint;
type
TEnumDoublePointLonLatToMapPixel = class(TInterfacedObject, IEnumProjectedPoint)
private
FSourceEnum: IEnumLonLatPoint;
FZoom: Byte;
FConverter: ICo... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit EventsU;
interface
type
TAuthenticationEvent = class(TObject)
private
FResult: Boolean;
procedure SetResult(const Value: Boolean);
public
constructor Create(AResult: Boolean);
property Result: Boolean read FResult write SetResult;
end;
implementation
{ TAuthenticationEvent }
construct... |
unit Report_IlliquidReductionPlanUser;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
AncestorReport, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
cxPCdxBarPopupMenu, cxStyles, cxCustomData... |
unit uAddressSingleContactSheetSDK;
{$I twcomp.pas}
interface
uses
Classes, uAddressSingleContactSheet, CAS_LOGGER, CAS_REPORT, ComCtrls, Menus,
CAS_CONTROLS, CAS_TABLE_CONTROLS, StdCtrls, Controls, Buttons, ExtCtrls, Vcl.Forms;
type
//***************************************************************************... |
unit udmConfig;
interface
uses
System.SysUtils, System.Classes, System.Variants,
FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.VCLUI.Wait,
FireDAC.Stan.Param, FireDAC.DatS, FireDA... |
unit CofinsAliq;
interface
type
TCofinsAliq = class
private
FAliquota :Real;
FValor :Real;
FBaseCalculo: Real;
FCodigoItem: integer;
procedure SetAliquota(const Value: Real);
procedure SetValor(const Value: Real);
private
function GetCST :String;
function GetValor :... |
unit IdTestTcpClient;
//todo add test to TIdCustomTCPServer to ensure OnDisconnect is called
//when connection is closed, also when exception happens, eg graceful close
{
observations:
IdDefTimeout = 0;
IdTimeoutDefault = -1;
IdTimeoutInfinite = -2;
IdTimeoutDefault when passed as a default param ... |
{*******************************************************}
{ }
{ FluentSQL }
{ }
{ Copyright (C) 2013 Allan Gomes }
{ ... |
{$IFDEF FREEPASCAL}
{$MODE DELPHI}
{$ENDIF}
unit dll_gdiplus_brush;
interface
uses
atmcmbaseconst, winconst, wintype, dll_gdiplus;
//----------------------------------------------------------------------------
// Brush APIs
//------------------------------------------------------------------------... |
unit hydra_u;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, hydra_threads, TlHelp32, PsAPI, ShellApi,
jpeg;
type
TForm1 = class(TForm)
Timer1: TTimer;
Image1: TImage;
Label1: TLabel;
procedure Timer1Timer(... |
unit uClientView;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts,
System.Rtti, FMX.Grid.Style, FMX.ScrollBox, FMX.Grid, FMX.Effects, FMX.Edit,
FMX.Objects, FMX.Controls.Presentation, FMX.... |
unit AqDrop.Core.ObjectExtender;
interface
uses
System.SysUtils,
System.Rtti,
AqDrop.Core.Collections.Intf;
type
TAqObjectExtender = class
strict private
FExtendedObjects: IAqDictionary<TObject, IAqDictionary<string, TValue>>;
procedure TryToReleaseExtension(const pValue: TValue);
... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://localhost:9999/wsdl/ITxRxCh2WS
// Encoding : utf-8
// Version : 1.0
// (4/19/2011 10:58:20 AM - 1.33.2.5)
//... |
unit UniversalCompressor_u;
{
Universal ZIP, BH, and so on compressor
Powered by M.A.D.M.A.N.
}
interface
uses Classes,Windows,SysUtils,ztvtar,ztvMakeCab,ztvZip,ztvJar,ztvLha,ztvGZip,
ztvregister,ztvBase,ztvBlakHole,ztvStreams,SignatureDetect_u,Forms;
Type TCompressorProgress=procedure (Sender:TObject;FPro... |
program TubesDaspro;
{SPESIFIKASI : Mensimulasikan 10 hari pertama dari Engi's Kitchen}
uses uP1_tipeBentukan, uP2_pesan, uP3_umum,
uF1_load, uF2_exit, uF3_startSimulasi,
uF14_lihatResep, uF15_cariResep,
uF16_tambahResep, uF17_upgradeInventori, uF13_lihatInventori;
{KAMUS UTAMA}
var
{Variabel umum yang terp... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, Buttons;
type
TForm1 = class(TForm)
Edit1: TEdit;
Button1: TButton;
Label1: TLabel;
Panel1: TPanel;
BitBtn1: TBitBtn;
Label2: TLabel;
Label3: TLabel;
Label4: ... |
unit loGraphPanel;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, FPCanvas;
const
lo_GraphPanel_Default_Width = 100;
lo_GraphPanel_Default_Height = 100;
type
{ TloGraphPanel }
TloGraphPanel = class(TCustomControl)
private
fShowGrid: Boolea... |
unit UMyMessage;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons;
type
TFMyMessage = class(TForm)
spbYes: TSpeedButton;
spbNot: TSpeedButton;
Label1: TLabel;
procedure spbYesClick(Sender: TObject);
procedure spbNotClick(Se... |
namespace Beta.ViewModels;
interface
uses
System,
System.ComponentModel,
System.Diagnostics,
System.Net,
System.Windows,
System.Windows.Controls,
System.Windows.Input,
System.Windows.Media,
System.Windows.Media.Animation;
type
BuildViewModel = public class(INotifyPropertyChanged)
private
v... |
unit Produto;
interface
uses
SysUtils,
Contnrs, NcmIBPT;
type
TProduto = class
private
Fcodigo_grupo: integer;
Fcodigo: integer;
Fvalor: Real;
Fativo: String;
Fdescricao: String;
FListaMaterias :TObjectList;
Fcodigo_departamento: Integer;
Fcodigo_ibpt: integer;
FNcmIBPT: ... |
unit ClienteM;
interface
uses ClienteIntf, Generics.Collections, Cliente;
type
TClienteM = class(TInterfacedObject, ICliente)
private
FCliente: TCliente;
FClientes: TList<TCliente>;
function GetIndex(Id: Integer): Integer;
protected
function GetCliente: TCliente;
procedure SetCliente(Value:... |
unit ufbPing;
// |===========================================================================|
// | UNITE ufbPing |
// | F.BASSO 2014 |
// |_____________________________________________________... |
object TextViewer: TTextViewer
Left = 0
Top = 0
Caption = 'TEXT VIEWER'
ClientHeight = 415
ClientWidth = 624
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnShow = FormShow
... |
unit AT.Vcl.DX.SpreadSheet.Actions;
interface
uses
System.Classes,
AT.Vcl.DX.SpreadSheet.ActionsTypes,
cxClasses,
dxSpreadSheetCoreStyles, dxGDIPlusClasses, dxCoreGraphics,
dxSpreadSheetCore, dxSpreadSheetActions, dxSpreadSheetContainers;
type
TATdxSpreadSheetCustomNumberFormatAction = class(TdxSpreadSh... |
UNIT TWindows;
INTERFACE
Uses TStdObj, TDrivers, Crt;
Const
woTitleCenter = 1;
woTitleRight = 2;
woTitleLeft = 4;
woShadow = 8;
woCentered = 16;
woNormal = woTitleCenter or woShadow;
Type
PWindow = ^TWindow;
TWindow = Object ( TMain ... |
program ServerClassModifier;
//
// Modify the Splunk serverclass.conf
//
// Version 0.6
//
{$mode objfpc}
{$H+}
uses
Classes,
Crt,
Dos,
DateUtils,
UBuild,
UTextFile,
USupLib,
SysUtils;
var
pathServerClassConf: AnsiString;
pathLog: AnsiString;
paramServerClass: AnsiStrin... |
unit USpawner;
interface
uses
W3Time,
UArrow, UGroundUnit, UAirUnit, UGameVariables, UGameItems, UScalingInfo, UTextures;
procedure SpawnArrow(xVol, yVol, x, y : float);
procedure StartGroundTimer(delay : integer);
procedure StartAirTimer(delay : integer);
procedure StartEnemySpawners();
procedure P... |
unit Income_AmountTrouble;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorEnum, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinsDefaultPainters,
dxSkinscxPCPainter,... |
unit AqDrop.Core.Monitor;
interface
uses
System.SysUtils,
System.SyncObjs,
System.Classes,
System.DateUtils,
AqDrop.Core.Collections.Intf;
type
TAqMonitor = class
strict private
FCriticalSection: TCriticalSection;
FLastUse: TDateTime;
procedure Enter; overload;
proced... |
unit tiSQLMgrDataSet_Srv;
{$mode objfpc}{$H+}
interface
uses
tiVisitor,
tiVisitorDB,
tiObject,
tiDataBuffer_BOM,
tiSQLMgrDataSet_BOM,
tiSQLMgr_BOM;
type
TVisTIDataSetRead = class(TtiObjectVisitor)
private
FSQLMgrQuery: TSQLMgrQuery;
FtiDataSet: TtiDataBuffer;
procedure SetupQuery;
p... |
{***************************************************************************}
{ }
{ DelphiUIAutomation }
{ }
{ ... |
unit Form1;
interface
uses
SmartCL.System, SmartCL.Graphics, SmartCL.Components, SmartCL.Forms,
SmartCL.Fonts, SmartCL.Borders, SmartCL.Application, SmartCL.Controls.Label,
SmartCL.Controls.SimpleLabel,
SmartCL.Controls.Listbox, System.Colors, System.Types, RadioButton,
SmartCL.Controls.Panel;
t... |
// 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 ... |
unit FileLogger;
interface
uses
Logger,
SysUtils,
Classes;
type
TFileLogger = class (TInterfacedObject, ILogger)
protected
FFilePath: String;
FLogLines: TStrings;
function GetFilePath: String;
procedure SetFilePath(const Value: String);
procedure Initialize(const... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
{******************************************************************************}
{ }
{ Icon Fonts ImageList: An extended ImageList for Delphi }
{ to simplify use of Icons (resize, colors and more...) ... |
unit core_mesh;
{$mode objfpc}{$H+}
interface
uses
fileutil,Classes, SysUtils, dglOpenGL, VectorGeometry, fgl, VectorTypes,
core_types,core_chunk, renderable_object_types, core_utils;
type
{ TModelInstance }
//holds transform that is used for model rendering but doesn't use own render and vbo's
TModelIns... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://webservices.bradfordsoftware.com/WSEMail/EmailService.asmx?WSDL
// Encoding : utf-8
// Version : 1.0
// (12/27/2004... |
unit uTestSplitString;
{$I Synopse.inc}
{$I HPPas.inc}
interface
uses
SysUtils,
Math,
{$ifdef MSWINDOWS}
Windows,
{$endif}
Variants,
Classes,
SynCommons,
HPPas,
HppTypeCast,
HppSysUtils,
HppStrs,
HppVariants,
HppJSONParser;
procedure TestSplitString;
implementation
pro... |
unit ExportTabularFACT;
uses ExportCore,
ExportTabularCore,
ExportJson;
var ExportTabularFACT_outputLines: TStringList;
function initialize(): Integer;
begin
ExportTabularFACT_outputLines := TStringList.create();
ExportTabularFACT_outputLines.add(
'"File"' // Name of t... |
unit YOTM.Form.DateNotify.TaskRepeat;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, YOTM.Form.ModalEdit, Vcl.ExtCtrls,
HGM.Button, Vcl.StdCtrls, Vcl.ComCtrls, HGM.Controls.PanelExt, YOTM.Main,
Vcl.Grids, Sy... |
unit HotKeyMons;
// %HotKeyMons : 包含系统热键组件
(***** Code Written By Huang YanLai *****)
interface
uses Windows,Messages,Classes,Controls,menus,WinUtils;
type
// %THotKeyMonitor : 可以定义一个系统热键,当用户按下热键以后,触发事件
THotKeyMonitor = class(TMessageComponent)
private
FInstalled: boolean;
FActive: boolean;
FM... |
unit uLog;
interface
uses
System.Classes, System.SysUtils, System.Threading, System.Generics.Collections,
FireDAC.Comp.Client, FireDAC.Phys.SQLite, FireDAC.Stan.Def, FireDAC.Stan.Async;
type
TLogInfo = class
LogTime: TDateTime;
Msg: string;
end;
TLog = class
private
FLock: TObject;
FRunn... |
unit WinSystemFunctionsUnit;
interface
uses
Windows, Classes, SysUtils,
Dialogs, ShellApi, IdGlobal, Tlhelp32;
function SystemDirectory: string;
function GetTempDir: string;
function KillTask(ExeFileName: String): integer;
function ReadUsersHdSystem(): string;
procedure OpenBrowserUr... |
unit AppModel;
{$IFDEF fpc}
{$MODE Delphi}
{$ENDIF}
interface
uses
Classes, SysUtils, tiObject, mapper{,mvc_base, EventsConsts};
type
// -----------------------------------------------------------------
// Enumerations
// -----------------------------------------------------------------
TModelProjectSta... |
unit uNumerarClassesConfirma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, kbmMemTable, StdCtrls, Grids, DBGrids, ExtCtrls, ufuncoesGeral;
type
TfrmNumerarClassesConfirma = class(TForm)
Alunos: TLabel;
lbClasse: TLabel;
dbgAlunos... |
unit FitDigital;
interface
uses
OApproxNew, StdCtrls, FitVariable, ExtCtrls, Forms, OlegFunction,
OlegDigitalManipulation;
const
FD_CutOff='cutoff frequency is fraction of Nyquist frequency';
FD_LP='Low pass ';
FD_HP='High pass ';
FD_IIR='with infinite impulse responce';
FD_FIR='with finite impulse r... |
PROGRAM SC2DRG;
{$MODE OBJFPC}
USES sysutils;
CONST TWO_KILOBYTES = 2048;
TYPE cpcHeaderType = ARRAY[0..127] of Byte;
PROCEDURE Syntax();
VAR BinaryName : String;
BEGIN
BinaryName := ExtractFileName(ParamStr(0));
Writeln();
WriteLn('SYNTAX: ',BinaryName,' <target> <inputFilename> <outputFilename> <lines>');
... |
unit uFormRelComissao;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uFormBase, Data.DB, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, Fire... |
unit ToBase;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, GridDlg, RegSmartDlg, FIBQuery, pFIBQuery, pFIBErrorHandler, FIBDatabase,
pFIBDatabase, Vcl.Menus, Vcl.ImgList, Vcl.StdActns, Vcl.ActnList, Vcl.ComCt... |
{ Invokable interface ITxsRxs }
unit TxsRxsIntf;
interface
uses InvokeRegistry, Types, XSBuiltIns, CommunicationObj;
type
{ Invokable interfaces must derive from IInvokable }
ITxsRxs = interface(IInvokable)
['{544B8508-B830-48F4-8E88-894FF0879C7A}']
// TxsRxs
function Get_TxRxCount: Int... |
unit AuxiliaryFunctionsForExceptionHandlingUnit;
interface
uses SysUtils;
function CloneException(Other: Exception): Exception;
implementation
function CloneException(Other: Exception): Exception;
begin
Result := Exception(Other.NewInstance);
Result.Message := Other.Message;
Result.HelpContext := Other.Help... |
unit SynchroWSImpl;
interface
uses InvokeRegistry, Types, XSBuiltIns, SynchroWSIntf, CommunicationObj;
type
TSynchroWS = class(TCommObj, ISynchroWS)
public
procedure Set_Pulso_Largo; safecall;
procedure Set_Pulso_Corto; safecall;
function Get_Frecuencia: Integer; safecall;
function ... |
unit Statistics;
interface
function CountInstances : integer;
function CountReferences : integer;
procedure RegisterInstance;
procedure RemoveInstance;
procedure RegisterReference;
procedure RemoveReference;
implementation
uses
Windows,
RDAReg,
SysUtils;
const
StatKey = RDARootKey + ... |
unit UPrefFToolUserSpecified;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ This is the Frame that contains the Tools > User Specified Preferences}
interfac... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit UListCellXPath;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses
UCell,
UClasses, Dialogs;
type
/// summary: A reference to an instance... |
unit ScriptEstrategia;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ScriptDatosEngine, uPSComponent, Script_Mensaje, Script_Broker,
Script_Log, DB, Script_Util, Script, IBDatabase;
type
TScriptEstrategia = class(TScriptDatosEngine)
private
Broker... |
unit AuxZeosFunctions;
interface
uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ZConnection, DB, ZAbstractRODataset, ZAbstractDataset,
ZDataset, ZSqlUpdate, Menus, Grids, DBGrids, FileCtrl, VariantListUnit;
type
TCheckDataSetRecordFunc = function(DataSet: TZ... |
{*******************************************************}
{ }
{ Delphi Visual Component Library Extension }
{ }
{ Copyright (c) 1996 Louis L.J.Wang }
{ ... |
unit ViewController1;
interface
uses
System.SysUtils, System.TypInfo, System.Classes, System.Types, System.Rtti, Macapi.ObjectiveC, Macapi.ObjCRuntime,
Macapi.CoreFoundation, iOSapi.Foundation, iOSapi.CocoaTypes, iOSapi.UIKit, Macapi.Helpers, CocoaTouch, Unit1;
type
ViewController = interface(UIViewControlle... |
unit mapper_project_writer;
{$IFDEF FPC}
{$mode objfpc}{$H+}
{$ENDIF}
interface
uses
Classes, SysUtils, dateutils, mapper, tiUtils;
type
TMapperProjectWriter = class(TMapSchemaWriter)
private
FBaseDir: string;
FVerbose: boolean;
procedure SetBaseDir(const AValue: string);
procedure SetVerbos... |
unit VerticalBoxLayoutManager;
interface
uses
BoxLayoutManager,
Windows,
LayoutManager,
LayoutItem,
Controls,
SysUtils,
Classes;
type
TVerticalBoxLayoutManager = class (TBoxLayoutManager)
protected
function GetWidth: Integer; override;
procedure SetLeft(const Value: Integer); ove... |
unit Helper.ItemListDefault;
interface
uses
System.Classes,
System.SysUtils,
System.UIConsts,
System.UITypes,
FMX.Layouts,
FMX.Types,
FMX.Objects,
FMX.Graphics,
FMX.StdCtrls;
type
IlTItemListDefault = class(TLayout)
private
{ private declarations }
FOwner: TComponent;
FRctBackgroun... |
//Wrote by Simon Kroik, 06.2013-03.2018
//Tested with Delphi 6
UNIT MyPDFRender;
INTERFACE
uses Windows, SysUtils, Graphics, Classes, DB;
type
EMyPDFRendererError = class(Exception)
end;
type
TCustomMyPDFRender = class(TPersistent)
private
FFullFileName : string;
procedure ReadData... |
{//************************************************************//}
{// //}
{// Código gerado pelo assistente //}
{// //}
{// Projeto MVCBr ... |
unit Day20B;
interface
uses
System.Generics.Collections
, System.Math
, System.RegularExpressions
, System.StrUtils
, System.SysUtils
, System.Types
, WGUtils
;
type
TDay20B = class //Delphi ide generate internal error from time to time when this is in *.dpr file
public
class function Par... |
// 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... |
program iconifygad;
{$IFNDEF HASAMIGA}
{$FATAL This source is compatible with Amiga, AROS and MorphOS only !}
{$ENDIF}
{$MODE OBJFPC}{$H+}{$HINTS ON}
{$UNITPATH ../../../Base/CHelpers}
{$UNITPATH ../../../Base/Trinity}
{$UNITPATH ../../../Base/Sugar}
{$IFDEF AMIGA} {$UNITPATH ../../../Sys/Amiga} {$ENDIF}
{$IFDE... |
unit IdFIPS;
interface
{$I IdCompilerDefines.inc}
{
IMPORTANT!!!
This unit does not directly provide FIPS support. It centalizes some Indy
encryption functions and exposes a function to get and set a FIPS mode that is
implemented by the library that hooks this unit.
The idea is that Indy wi... |
unit UClusterCOMSet;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls;
type
TformClusterCOMSet = class(TForm)
Bevel1: TBevel;
comboLineBreak: TComboBox;
checkLocalEcho: TCheckBox;
buttonOK: TButton;
buttonCancel: TButton;
comboB... |
unit Best_100_Books_Of_All_Timep;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, FileCtrl, ComCtrls, ShellAPI;
type
TForm1 = class(TForm)
Books_To_Search_For_ListBox: TListBox;
Resulting_Book_File_Names_ListBox: TListBox;
BitBtn1: TBitBtn... |
unit ListSelection;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxLookAndFeels,
cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore, dxSkinsDefaultPainters,
cxControls, cxContainer, cxEdit, cxCustom... |
unit Menus.Model.Conexoes.Zeos.DataSet;
interface
uses
Menu.Model.Conexoes.Interfaces, System.Classes, ZConnection, ZDataset,
Data.DB, ZAbstractRODataset, ZAbstractDataset, ZAbstractTable;
type
TModelConexoesZeosDataSet = class(TInterfacedObject, iModelDataSet)
private
FTable: TZTable;
public
... |
{ @abstract(This file is part of the KControls component suite for Delphi and Lazarus.)
@author(Tomas Krysl)
Copyright (c) 2020 Tomas Krysl<BR><BR>
<B>License:</B><BR>
This code is licensed under BSD 3-Clause Clear License, see file License.txt or https://spdx.org/licenses/BSD-3-Clause-Clear.html.
}
... |
unit classes_RNAROM;
interface
uses Dialogs,SysUtils, Contnrs, INIFiles, Classes, iNESImage,
GR32,types, MemINIHexFile, classes_Graphics, classes_level, forms;
type
{ This class is designed to store general stuff, such
as the level data array, and crap like that. }
TRushNAttackImage = class
private
... |
{****************************************************
*
*
* Author : Dumitru Uzun
* Web : http://duzun.me
* Repo : https://github.com/duzun/DelphiUnits
* Version : 12.07.2010
****************************************************}
Unit UFrac2D;
interface
uses Graphics, ExtCtrls, UGraph, Classes, Types;
... |
//Only compile for the OS X platform.
{$IF ( (NOT Defined(MACOS)) OR (Defined(IOS)) )}
{$MESSAGE Fatal 'AT.ShortName.FMX.Forms.OSX.Controller.pas only compiles for the OS X platform.'}
{$ENDIF}
unit AT.ShortName.FMX.Forms.OSX.Controller;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classe... |
unit LamwSettings;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, ProjectIntf, Forms, IniFiles;
type
TSupportLib = record
MinAPI:integer;
Name:string;
end;
TAppCompatLib = record
MinAPI:integer;
Name:string;
end;
TSupportLibs = array[0..0] of TSuppo... |
unit UDesigner;
interface
type
{ Delphi6 }
IDesigner = interface
['{A29C6480-D4AF-11D3-BA96-0080C78ADCDB}']
//procedure Activate;
procedure Modified;
function CreateMethod(const Name: string; TypeData: PTypeData): TMethod;
function GetMethodName(const Method: TMethod): string;
procedure Ge... |
unit proj;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LazLoggerBase, shape;
type
TProject = class
private
_shapes: TShapeList;
_camera: TShape;
_light: TShape;
function GetShapeCount: integer;
function GetShape(index: integer): TShape;
public
constructor Create;
destr... |
unit ULogger;
interface
uses
System.Classes,
System.SysUtils;
procedure log_debug(Texto: String; Debug: integer);
procedure log_always(Texto: String);
procedure log(Texto: String);
procedure sqlite_file_check_size(db_file: string);
procedure check_size(log_file: string);
function get_basepath: strin... |
unit DBCompUtils;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit>DBCompUtils
<What>Database Component Utilities
<Written By> Huang YanLai (»ÆÑàÀ´)
<History>Moved From Unit CompUtils
**********************************************}... |
unit ShellDir.Manager;
interface
uses
Vcl.Forms, System.Classes, System.SysUtils, Vcl.Dialogs, System.Generics.Collections, ShellDir.Form, ShellDir.Settings, HGM.Common.Settings;
type
TListOfWindow = class(TList<TFormPanel>)
function Add: TFormPanel;
end;
TManager = class
private
FWindows: TListOf... |
unit URegistry;
interface
uses
Winapi.Windows,
System.SysUtils,
Registry;
function GetRegistryValue(path, key: String): String;
procedure SetRegistryValue(path, key, value: String);
function GetRegistrySecBetweenRuns: Integer;
function GetRegistryBasePath: String;
function GetRegistryDebug: Integer;
... |
unit UClusterTelnetSet;
interface
uses
Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, Spin;
type
TformClusterTelnetSet = class(TForm)
buttonOK: TButton;
buttonCancel: TButton;
Bevel1: TBevel;
comboHostName: TComboBox;
comboLineBreak: TComboBox;
check... |
unit dyarray;
interface
uses SysUtils;
type
TBasetype = real;
PBasetype = ^TBasetype;
TBaseFunc = function (x,y:TBaseType):TBasetype;
function BaseAdd(x,y:TBaseType):TBasetype;
function BaseSub(x,y:TBaseType):TBasetype;
const
MaxLength = $FFFF;
type
TOneArray = array[0..MaxLength] of TBasetype;
POneA... |
unit EventHandlers;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TNotifyHandler = class;
TNotifyEventEx = procedure (Handler : TNotifyHandler;Sender : TObject) of object;
TNotifyHandler = class(TComponent)
private
FOnNotify: TNotifyEventEx;
FContro... |
unit ListGoodsBadTiming;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ActnList, dsdAction, System.DateUtils,
cxClasses, cxPropertiesStore, dsdAddOn, cxGraphics, cxControls, Math,
cxLookAndFeels, cxLook... |
unit DW.Camera.Android;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library }... |
{
CommDrv.pas
COM Port Driver for Delphi 2.0
© 1997 by Marco Cocco. All rights reserved.
v1.00 - Feb 15th, 1997
* This component built up on request of Mark Kuhnke.
}
unit CommDrv;
interface
uses
Windows, Messages, SysUtils, Classes, Forms;
type
// COM Port Baud Rates
TComPo... |
unit UEditForms;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2005 by Bradford Technologies, Inc. }
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Std... |
(*
Base file in/out classes
This file is a part of Audio Components Suite.
All rights reserved. See the license file for more details.
Copyright (c) 2002-2009, Andrei Borovsky, anb@symmetrica.net
Copyright (c) 2005-2006 Christian Ulrich, mail@z0m3ie.de
Copyright (c) 2014-2015 Sergey Bodrov, serbod@gmail.com... |
PROCEDURE RecursiveSort(VAR F1: TEXT);
VAR
F2, F3: TEXT;
Ch: CHAR;
PROCEDURE Split(VAR FIn, FOut1, FOut2: TEXT);
{Разбивает F1 на F2, F3}
VAR
Ch, Switch: CHAR;
BEGIN {Split}
RESET(FIn);
REWRITE(FOut1);
REWRITE(FOut2);
{Копировать F1 попеременно в F2 и F3}
Switch := '2';
WHILE NOT EOLN(FIn)
DO
... |
(*
Windows DirectShow file in
This file is a part of Audio Components Suite.
All rights reserved. See the license file for more details.
Copyright (c) 2002-2009, Andrei Borovsky, anb@symmetrica.net
Copyright (c) 2005-2006 Christian Ulrich, mail@z0m3ie.de
Copyright (c) 2014-2015 Sergey Bodrov, serbod@gmail.c... |
unit DAO.Cliente;
interface
uses
Model, DAO, FireDAC.Comp.Client, FireDAC.Stan.Param, SysUtils;
type
TClienteDAO = class(TDAO)
function StringInsert: string; override;
procedure SetParameters(var AFDQuery: TFDQuery; const AModel: TModel); override;
function CreateModel: TModel; override;
function... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.