text stringlengths 14 6.51M |
|---|
unit ncaFrmTotal;
{
ResourceString: Dario 11/03/13
}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
cxContainer, cxEdit, cxPCdxBarPopupMenu, LMDPNGImage, ExtCtrls, cxPC, cxMemo,
cxLabel, cxTe... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011 Embarcadero Technologies, Inc. }
{ ... |
PROGRAM tp1_7;
{Practica Estructura de Datos 2012. Practica 1, Ejercicio 7}
USES pila_chr,Crt;
VAR
b: Boolean;
function esBalanceada(s:String):Boolean;
const
OPEN_CHR = ['(','{','['];
CLOSE_CHR = [')','}',']'];
var
auxP: tipo_pila_chr;
i: integer;
c: char;
begin
esBalanceada:=false;
Pchr... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC ODBC API wrapping classes }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit uCustomSplitter;
// -----------------------------------------------------------------------------
// TSplitter enhanced with grab bar
// The original author is Anders Melander, anders@melander.dk, http://melander.dk
// Copyright © 2008 Anders Melander
// ------------------------------------------------------------... |
unit IdIPWatch;
interface
uses
Classes,
IdComponent, IdThread;
const
IP_WATCH_HIST_MAX = 25;
IP_WATCH_HIST_FILENAME = 'iphist.dat';
IP_WATCH_ACTIVE = False;
IP_WATCH_HIST_ENABLED = True;
IP_WATCH_INTERVAL = 1000;
type
TIdIPWatchThread = class(TIdThread)
protected
FInterval: Integer;
FSende... |
unit Web;
interface
uses
Windows, Classes, WinInet;
type
TWeb = class abstract
private
function IsWebAccessibleInConnectedState(
const GetFunctionResult: Boolean; const InternetConnectedState: DWORD):
Boolean;
function IsWebAccessConfigured(const InternetConnectedState: DWORD): Boolean;
p... |
unit M_DataModule;
interface
uses
System.SysUtils, System.Classes, Data.DB, Datasnap.DBClient,
Datasnap.DSConnect, Data.SqlExpr, Data.DBXDataSnap, IPPeerClient,
Data.DBXCommon, M_Main_Class, DBXJSON, System.JSON, Datasnap.DSCommon,
Data.DbxHTTPLayer;
type
TDataModule1 = class(TDataModule)
M_SQLConnecti... |
unit uROR_SelectorTree;
{$I Components.inc}
interface
{$IFNDEF NOVTREE}
uses
Forms, Buttons, Classes, Controls, Windows, uROR_GridView, OvcFiler,
uROR_CustomSelector, ComCtrls, VirtualTrees, uROR_Utilities, Messages,
uROR_TreeGrid, ActiveX, uROR_Selector;
type
TCCRResultTree = class(TCCRTreeGrid)
protecte... |
unit fGMV_DeviceSelector;
{
================================================================================
*
* Application: Vitals
* Revision: $Revision: 1 $ $Modtime: 3/02/09 9:47a $
* Developer: doma.user@domain.ext
* Site: Hines OIFO
*
* Description: Form for selecti... |
{
ID: a2peter1
PROG: kimbits
LANG: PASCAL
}
{$B-,I-,Q-,R-,S-}
const
problem = 'kimbits';
MaxB = 31;
var
sol : string;
B,M,N,i,j : longword;
C : array[0..MaxB,0..MaxB] of int64;
begin
assign(input,problem + '.in'); reset(input);
assign(output,problem + '.out'); rewrite(... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{$mode objfpc}{$H+}{$J-}
program Problem_4;
const
PI = 3.14; { not really needed, as Pascal has a built-in Pi operator,
which actually yields a more precise Pi value. }
var
radius: Real;
begin
writeln('Circle''s area is calculated as S = πr^2.');
end. |
unit rhlMurmur3_128;
interface
uses
rhlCore;
type
{ TrhlMurmur3_128 }
TrhlMurmur3_128 = class(TrhlHashWithKey)
private
const
CKEY: DWord = $C58F1A7B;
C1: QWord = $87C37B91114253D5;
C2: QWord = $4CF5AD432745937F;
C3: DWord = $52DCE729;
C4: DWord = $38495AB... |
unit rhlCore;
{$MODESWITCH ADVANCEDRECORDS+}
interface
uses
sysutils;
type
TBytes = array of Byte;
{ TrhlHashBuffer }
TrhlHashBuffer = record
private
FBuffer: TBytes;
FPos: LongWord;
function GetSize: LongWord;
procedure SetSize(AValue: LongWord);
public
procedure ... |
{===============================================================================
Copyright(c) 2006-2009, 北京北研兴电力仪表有限责任公司
All rights reserved.
公用电表数据单元
+ TMeterDataItem 电表数据-数据项
+ TMeterDataGroup 电表数据-组数据
+ TMeterData 电表数据
+ TMETER_DATA_GROUP_DL645 基于标准DL645协议的组数据
=====================... |
unit uCustomTableAccess;
interface
type
TCustomTableAccess = class(TAbstractTableAccess)
private
FWriter: TCustomWriter;
FOnBufferFlushNeeded: TBufferFlushNeededEvent;
procedure SetAnyData(AIdx: integer; aType: TDataType; aPointer: Pointer; NativeFormat: boolean = true);
class proced... |
{******************************************}
{ TeeChart Pro Charting Library }
{ TriSurface Series }
{ Copyright (c) 1995-2004 by David Berneda }
{ All Rights Reserved }
{******************************************}
unit TeeTriSurface;
{$I TeeDefs.inc}
// Adapted f... |
unit dmediciontugs;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, ZDataset, ZSqlUpdate, rxmemds
,dmConexion, db, IBConnection, sqldb;
type
{ TCampoTUG }
TCampoTUG = class
private
_campoTug: string;
_tituloCampo: string;
public
property campo: string read _campoTug write _c... |
Unit router;
uses System;
uses System.Net;
uses System.Threading.Tasks;
type
HandlerFunc = procedure(var ctx: System.Net.HttpListenerContext);
HttpRouter = class
private
handlers: Dictionary<string, HandlerFunc>;
prefixes: List<string>;
public
constructor Create();
begin
prefixes := new List<string>;
handl... |
unit Support.Samsung;
interface
uses
SysUtils, Math,
Support, Device.SMART.List;
type
TSamsungNSTSupport = class sealed(TNSTSupport)
private
InterpretingSMARTValueList: TSMARTValueList;
function GetFullSupport: TSupportStatus;
function GetTotalWrite: TTotalWrite;
function IsProductOfSamsung: ... |
{**********************************************}
{ TCandleSeries (derived from OHLCSeries) }
{ TVolumeSeries (derived from TCustomSeries) }
{ TRSIFunction (Resistance Strength Index) }
{ TADXFunction }
{ }
{ Copyright (c) 1995-200... |
unit pka4058a3;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Grids, DBGrids, OnEditBaseCtrl, OnEditStdCtrl, OnEditBtnCtrl,
OnEditCombo, ComCtrls, StdCtrls, OnFocusButton, OnLineLabel, ExtCtrls,
OnScheme, OnShapeLabel, OnGrDBGrid, CheckLst, OnListbox, DBCtrls... |
unit winros_main;
interface
uses
Windows, Messages, SysUtils, Forms, Classes, Controls, StdCtrls;
type
pTickData = ^tTickData; // формат передаваемых данных
tTickData = packed record
pkttype : longint; // тип пакета? всегда 1
unknown0 : longint; // всегда 0
... |
unit SelectionInt;
interface
type
ISelection = interface(IUnknown)
['{91D2CF36-DC51-41F8-BF16-75355A6ABC27}']
procedure ClearSelection();
function GetHaveFocus: Boolean;
property HaveFocus: Boolean read GetHaveFocus;
end;
implementation
end.
|
unit BD.Kontakt;
interface
uses System.Classes, System.SysUtils, BD.Adresse, BD.Land;
type
IKontakt = interface
['{E8AE44F1-EC6E-466A-A378-E7437DFC9523}']
end;
TKontakt = class
private
FNavn: String;
FKlientID: Integer;
FKontaktnr: Integer;
FPAdresse: TAdresse;
FBA... |
unit uPessoa;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DBXFirebird, Data.DB, Data.SqlExpr,
ZAbstractConnection, ZConnection, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.... |
unit Comp_UTypes;
interface
uses
Controls, Graphics, Types;
const
teTreeView = 'treeview';
teHeader = 'header';
{ teHeader }
tcHeader = 1;
tiHeaderNormal = 1;
tiHeaderHover = 2;
tiHeaderDown = 3;
tiHeaderPasive = 7;
tiCollapsed = 1;
tiExpanded = 2;
tcExpandingButton = 2;
{ Effects }
s... |
unit uSaveUnitForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.StdCtrls, FMX.Layouts, FMX.Memo, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo.Types;
type
TSaveUnitForm = class(TF... |
unit UHttpGet;
//Download by http://www.codefans.net
interface
uses UHTTPGetThread, windows;
type
TOnDoneFileEvent = procedure(FileName: string; FileSize: Integer) of object;
TOnDoneStringEvent = procedure(Result: AnsiString) of object;
THttpGet = class
private
F_URL: string; //目标url
F_GetURLThread:... |
unit uFormMonitor;
interface
uses
SysUtils, Forms, Classes, Windows, Messages, ExtCtrls, Contnrs, DateUtils;
procedure SetFormMonitoring(activate: boolean);
procedure MarkFormAsStayOnTop(Form: TForm; IsStayOnTop: Boolean);
// Some forms have display tasks when first displayed that are messed up by the
// form mo... |
unit uclAllClasses;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
{enumerations definition}
TEducation = (FirstYear=0, SecondYear, ThirdYear, FinalYear);
TStream = (CSE=0, IT, Mech, ENTC);
TRating = (OneStar=0, Tw... |
unit uTestDrawingSupport;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework, uExcepti... |
unit UnitCamera;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Media, FMX.Objects,
ZXing.ScanManager,
ZXing.ReadResult,
ZXing.BarcodeFormat,
FMX.Pl... |
unit AProcessosProducao;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Componentes1, ExtCtrls, PainelGradiente, BotaoCadastro, StdCtrls, Buttons, DB,
DBClient, Tabela, CBancoDados, Grids, DBGrids, DBKeyViolation, Localizacao;
type
TFProcessosP... |
{
Ultibo Text to Binary Tool.
Copyright (C) 2023 - SoftOz Pty Ltd.
Arch
====
<All>
Boards
======
<All>
Licence
=======
LGPLv2.1 with static linking exception (See COPYING.modifiedLGPL.txt)
Credits
=======
Information for this unit was obtained from:
References
==========
Text to Binary
==============
... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit JD.Weather.Intf;
interface
{$MINENUMSIZE 4}
uses
Winapi.Windows,
DateUtils,
System.SysUtils,
System.Classes,
System.Generics.Collections,
IdHTTP;
const
clOrange = $00003AB3;
clLightOrange = $002F73FF;
clIceBlue = $00FFFFD2;
clLightRed = $00B0B0FF;
type
IWeatherProps = interface;
IWeath... |
{
This unit is part of the Lua4Delphi Source Code
Copyright (C) 2009-2012, LaKraven Studios Ltd.
Copyright Protection Packet(s): L4D014
www.Lua4Delphi.com
www.LaKraven.com
--------------------------------------------------------------------
The contents of this file are subject to the Mozilla P... |
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is AlignAssign.pas, released April 2000.
The Initial Developer of the Original Code is Anthony Steele.
Portions created by Anthony Steele are Copyright (C) 1999-2008 Anthony ... |
unit DW.PushClient;
(*
DelphiWorlds PushClient project
------------------------------------------
A cross-platform method of using Firebase Cloud Messaging (FCM) to receive push notifications
This project was inspired by the following article:
http://thundaxsoftware.blogspot.co.id/2017/01/firebase... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit frmMain;
interface
u... |
unit Security.Internal;
interface
uses
Vcl.Controls, Vcl.ExtCtrls, System.SysUtils, Vcl.StdCtrls, System.Hash
, Security.Login.Interfaces
, Security.ChangePassword.Interfaces
, Security.Permission.Interfaces
, Security.Matrix.Interfaces
;
type
Internal = class
private
public
class ... |
unit ClntForm;
{ This program works in conjunction with the Monitor.dpr project to demonstrate
advanced Win32 programming topics. See Monform.pas for more information }
interface
uses
Forms, Windows, Messages, SysUtils, StdCtrls, Classes, Controls,
IPCThrd, Dialogs, ComCtrls, Graphics;
const
WM_UPDATESTATU... |
unit Attributes;
interface
uses
System.Rtti, System.SysUtils;
type
TDataFieldAttribute = class(TCustomAttribute)
private
FCampo: string;
FValidarCampo: Boolean;
FMensagem: string;
FCampoObrigado: Boolean;
public
constructor Create(ACampo, AMsg: string; AValidar: Boolean);
procedure V... |
unit str_params_1;
interface
implementation
var S: string;
procedure Test<T>(const Str: T);
begin
S := Str;
end;
initialization
Test('aaa');
finalization
Assert(S = 'aaa');
end. |
{===============================================================================
公用函数
+ function GetSpecialFolder 获取Windows系统文件夹
+ function GetTempFolder 获取Windows临时文件夹
+ procedure WaitForSeconds 延时等待函数,等待时处理其它事件
+ function IntToBCD 整型数据转换成BCD码
+ function IntToByte 从整型数据中取某一个字... |
unit VA508ImageListLabelerPE;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ExtCtrls, ColnEdit, ToolWnds, ImgList, DesignIntf, TypInfo,
DesignEditors, VA508ImageListLabeler, VA508MSAASupport, ToolsAPI, StdCtrls, Buttons, Menus;
const
VA508_CUSTOM... |
object frm_ShowInfoUpdate: Tfrm_ShowInfoUpdate
Left = 317
Top = 181
Width = 530
Height = 453
HelpContext = 1034
BorderIcons = []
Caption = 'mxWebUpdate'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.St... |
{ /*
MIT License
Copyright (c) 2014-2021 Wuping Xin
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, including without limitation the rights
to use, copy, mo... |
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.Effects, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Filter.Effects;
type
TForm1 = class(TForm)
Image1: TImage;
... |
////////////////////////////////////////////
// Модуль проверки соединения с SQL
////////////////////////////////////////////
unit CheckConnStr;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DB, ADODB, GMGlobals, GMConst, ActiveX, GMSqlQuery,
Thread... |
unit uformupdatecodetemplate;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls,
StdCtrls, Buttons, IDEIntf, ProjectIntf, LazIDEIntf, MacroIntf, LCLIntf,
ExtCtrls, IniFiles, ThreadProcess, uJavaParser, Clipbrd;
type
{ TFormUpdateCodeTemplate }
T... |
{ *************************************************************************** }
{ }
{ NLDLabeledEdit - www.nldelphi.com Open Source designtime component }
{ ... |
unit gsPLClient;
interface
uses
Windows, Classes, SysUtils, IBDatabase, IBSQL, IBHeader, dbclient, DB,
gdcBase, PLHeader, PLIntf;
type
TgsPLTermv = class(TObject)
private
FTerm: term_t;
FSize: LongWord;
function GetDataType(const Idx: LongWord): Integer;
function GetTerm(const Idx: LongWord):... |
unit JpgToBmp;
{-----------------------------------------------------------------------------}
{ TJpgToBmp v 1.2 }
{ Copyright 1998,1999, Eric Pedrazzi. All Rights Reserved. }
{----------------------------------------------------------------... |
UNIT mandutil;
{ Various estimators for Mandelbrot and Julia Sets }
{$I FLOAT.INC}
interface
uses MathLib0,
MapStuff {ArcCos};
CONST
LimitIter = 500;
{ Global limit to iterations of all functions }
VAR
MaxIter : WORD;
{ User specified iteration count. May not exceed LimitIter }
(* test variables *)... |
{***************************************************************************
*
* Orion-project.org Lazarus Helper Library
* Copyright (C) 2016-2017 by Nikolay Chunosov
*
* This file is part of the Orion-project.org Lazarus Helper Library
* https://github.com/Chunosov/orion-lazarus
*
* This Library is free soft... |
unit ansi_from_unicode_1;
interface
implementation
var
SA: AnsiString;
procedure Test;
begin
SA := 'hello_ansi';
end;
initialization
Test();
finalization
Assert(SA = 'hello_ansi');
end. |
unit uFSettingsEditor;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, RTTIGrids, SynEdit, LResources, Forms, Controls, Graphics, Dialogs, ButtonPanel,
ComCtrls, ExtCtrls, Buttons, StdCtrls, EditBtn, PropEdits, ObjectInspector, ECTabCtrl, uEditorLspSettings,
SynLCHighlighter, LCLType;
... |
unit HintWindowEx;
interface
uses
System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Forms, System.Types;
type
THintWindowEx = class(THintWindow)
private
FShowTimer: TTimer;
FHideTimer: TTimer;
FHint: string;
procedure HideTime(Sender: TObject);
procedure ShowTime(Sender: TObject);
public
... |
unit crc16_1;
interface
implementation
type
Word = UInt16;
Byte = UInt8;
PByte = ^UInt8;
TCRC16PolyTable = array [0..255] of Word;
PCRC16PolyTable = ^TCRC16PolyTable;
const ModBusPolyArr: TCRC16PolyTable = (
$0000, $C0C1, $C181, $0140, $C301, $03C0, $0280, $C241,
$C601, $06C0, $0780, $C741, $0500, $C... |
unit v_msgbody_stringgrid;
{==============================================================================
UnitName = v_msgbody_stringgrid
UnitVersion = 0.91
UnitDesc = StringGrid specialized in body parameters handling
UnitCopyright = GPL by Clinique / xPL Project
===========================... |
Unit SEANEMS;
{ **************************** EMM Functions ****************************
Fehlercodes
$00 = Kein Fehler
$80 = Fehler in der Software-Schnittstelle
$81 = Fehler in der EMS-Hardware
$83 = ungltige Handle-Nummer
$84 = ungltige Funktionsnummer
$85 = Alle Handle schon belegt
$87 = z... |
{ ***************************************************************************
Copyright (c) 2016-2020 Kike Pérez
Unit : Quick.DAO.Engine.SQLite3
Description : DAODatabase SQLite3 Provider
Author : Kike Pérez
Version : 1.0
Created : 06/07/2019
Modified : 14/04/2020
This file is ... |
unit Unit1;
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, FireDAC.Stan.Asyn... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit frmMain;
interface
u... |
unit IM.Types;
{$IFDEF FPC}
{$mode delphi}
{$ENDIF}
interface
uses
Classes, SysUtils, Types;
type
TAppColors = record
Command, Desc, Example, Section, Key, Value,
Comment, Symbol: string;
procedure Init;
end;
TAppParams = record
Section: string; // -s, --section
Key: strin... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, Buttons, Grids, DBGrids, ToolWin, ComCtrls, MemDS, MemData,
DBAccess, DBClient, VirtualDataSet, VirtualTable, VirtualQuery, ExtCtrls,
DBCtrls;
type
TfmMain = class(TForm)
DBGrid: TDBGrid;
... |
unit broker;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, IdHTTP, IdURI, fpjson, jsonparser,
Dialogs, Grids, Graphics, Controls;
{
TODO : - change from JSONRequest to StrStreamRequest
- adding any result with status error or not
}
const
VERSION = '0.1';
type
{ TBroker }
TBroker = cla... |
unit UItemVariavelVinculo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids,
Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.DBCtrls, Vcl.Buttons,
UDBCampoCodigo, MemDS, V... |
unit ccPlanarCapFrame;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, StdCtrls, IniFiles,
ccBaseFrame;
type
{ TPlanarCapFrame }
TPlanarCapFrame = class(TBaseFrame)
Bevel3: TBevel;
CbCapaUnits: TComboBox;
CbDistUnits: TComboBox;
CbAreaUnits: TComb... |
unit ACBrLibMDFeStaticImport;
{$IfDef FPC}
{$mode objfpc}{$H+}
{$EndIf}
{.$Define STDCALL}
interface
uses
Classes, SysUtils;
const
{$IfDef MSWINDOWS}
{$IfDef CPU64}
CACBrMDFeLIBName = 'ACBrMDFe64.dll';
{$Else}
CACBrMDFeLIBName = 'ACBrMDFe32.dll';
{$EndIf}
{$Else}
{$IfDef CPU64}
CACBrMDFeLIBName =... |
unit fProbFreetext;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, uProbs,
Dialogs, fBase508Form, VA508AccessibilityManager, ExtCtrls, StdCtrls, Buttons;
type
TfrmProbFreetext = class(TfrmBase508Form)
pnlButton: TPanel;
pnlLeft: TPanel;
pnlDialog: TPanel;
... |
unit BackgroundForm;
interface
uses
ListeningFrame,
// SpeakingFrame,
ReadingFrame,
// WritingFrame,
LTClasses,
ResultGuideForm,
DAOResult,
Global,
Generics.Collections,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls;
type
TfrBackground =... |
unit UGenerico;
interface
uses DateUtils, SysUtils;
type Generico = class
protected
Id : Integer;
Descricao : string[100];
DataCadastro : TDateTime;
DataAlteracao : TDateTime;
public
Constructor CrieObjeto;
Destructor Destrua_Se;
Procedure setId... |
unit xStringsF;
interface
Function NumericalWords(Word1,Word2,Word3:String;Num:integer): String;
Function DownRegister(Str:string):String;
Function Cript(CriptString:String):String;
Function UnCript(UnCriptString:String):String;
implementation
Uses SysUtils;
///////////////////////////... |
unit FileInfoSet;
interface
uses Classes,
sysUtils,
InternalTypes;
type
tFileInfoSet = class(tStringList)
private
public
constructor Create();
function AddSizeFromInfo(Info : TSearchRec; LimIndex : Integer; TypeExt, Key : String) : UInt64;
function GetJSON() : AnsiString;
procedure dumpData();
end;... |
unit HttpCache;
interface
uses
System.Generics.Collections,
System.SysUtils;
type
EHttpCache = class(Exception);
// Simple in-memory cache
THttpCache = class
private type
TCache = TDictionary<string, string>;
private
Cache: TCache;
public
constructor Create;
destructor Destroy; over... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) }
{ ... |
program Console;
{$MODE DELPHI}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Horse,
Horse.BasicAuthentication, // It's necessary to use the unit
SysUtils;
procedure GetPing(Req: THorseRequest; Res: THorseResponse; Next: TNextProc);
begin
Res.Send('Pong');
end;
procedure OnLis... |
unit IdStack;
interface
uses
Classes,
IdException,
IdStackConsts, IdGlobal;
type
TIdServeFile = function(ASocket: TIdStackSocketHandle; AFileName: string): cardinal;
// Abstract IdStack class
TIdSunB = packed record
s_b1, s_b2, s_b3, s_b4: byte;
end;
TIdSunW = packed record
s_w1, s_w2: wor... |
// auteur : Jean-Stéphane Varré
// date : 2010
// objet : Unite pour la lecture de fichier texte en pascal.
// UE : Info 204 - ASD - Université Lille 1
unit U_FichierTexte;
interface
uses SysUtils;
type
FinDeFichier = class(SysUtils.Exception);
procedure ouvrir (nom : STRING);
function lireMotSuivant : ... |
unit Vigilante.Infra.Compilacao.DataAdapter;
interface
uses
Vigilante.Aplicacao.SituacaoBuild, Vigilante.ChangeSetItem.Model;
type
ICompilacaoAdapter = interface(IInterface)
['{0D898A67-AFC6-4FB8-ADCC-7F48FF017276}']
function GetNumero: integer;
function GetNome: string;
function GetURL: string;
... |
{ *******************************************************************************
Copyright 2016-2019 Daniele Spinetti
Licensed under the Apache License, Version 2.0 (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.apache.or... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ SOAP Support }
{ }
{ Copyright (c) 2001 Borland S... |
unit uFrmCompareSet;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons,uDataDefine, DB, ADODB, ComCtrls;
type
TfrmCompareSet = class(TForm)
btnCancel: TSpeedButton;
btnOK: TSpeedButton;
OpenDialog1: TOpenDialog;
ADOConnection: T... |
unit rhlMDBase;
interface
uses
rhlCore, sysutils;
type
{ TrhlMDBase }
TrhlMDBase = class abstract(TrhlHash)
protected
FH: array of DWord;
const FC: array[1..8] of DWord =
($50a28be6, $5a827999, $5c4dd124, $6ed9eba1,
$6d703ef3, $8f1bbcdc, $7a6d76e9, $a953fd4e);
public... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC GUIx layer API }
{ }
{ Copyright(c) 2004-2018 Embar... |
{**********************************************}
{ TImageBarSeries Component Editor Dialog }
{ Copyright (c) 1996-2004 by David Berneda }
{**********************************************}
unit TeeImaEd;
{$I TeeDefs.inc}
interface
uses {$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
SysUtils, Classe... |
//Dos Graphic Unit
unit FRS;
interface
uses go32, dos;
type
TArrBuffer = array[1..200, 1..320] of byte;
FRSInstance = object
buffer: TArrBuffer;
lname: string;
verEngine, verApp: int... |
unit comm;
interface
uses Windows, SysUtils, WinSock;
// THTTP allows exchanging data with web servers via GET and POST requests.
type
THTTP = class(TObject)
private
procedure Execute(Server : AnsiString; Port : Cardinal);
public
Header : AnsiString;
Request : AnsiStri... |
unit UAdjustment;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls,public_unit;
type
TFAdjustment = class(TForm)
BBA1: TBitBtn;
GroupBox8: TGroupBox;
Label56: TLabel;
Label57: TLabel;
Label58: TLabel;
Label59:... |
unit prOpcClasses;
{$I prOpcCompilerDirectives.Inc}
interface
uses
Classes, TypInfo, ActiveX, prOpcTypes, prOpcServer;
type
{abstract base class do not instantiate}
TAnalogEU = class(TInterfacedObject, IEUInfo)
private
function EUType: TEuType;
function EUInfo: OleVariant;
protected
procedure Get... |
unit U_MsgD;
{** Unit criado por Jonatan Souza
Esta unit cria uma mensagem do tipo material design - https://www.youtube.com/channel/UC6omhlEXe3ZCMDZd3WyB4_A
jonatan.souza04@gmail.com
}
interface
Uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Actions,
... |
unit Persistence.CodeGenerator.Abstract;
interface
uses
System.SysUtils,
System.Generics.Collections;
{$M+}
type
ICodeGenerator<T: class> = interface
['{6CC6482F-0257-4836-AA18-B07D984301EF}']
function GetDatabase(): T;
procedure SetDatabase(value: T);
function GetTablesWithField(): TDictiona... |
unit Form.ImageBackground;
interface
uses
UCL.Classes, UCL.TUThemeManager, UCL.TUForm, UCL.Utils,
UCL.TUQuickButton, UCL.TUCaptionBar, UCL.TUTitleBar, UCL.TUSlider,
UCL.TUButton, UCL.TUCheckBox, UCL.TURadioButton, UCL.TUSeparator,
UCL.TUProgressBar, Vcl.StdCtrls, UCL.TUText, UCL.TUEdit,
UCL.TUSymbolButton,... |
{**********************************************}
{ TTeeFont (or derived) Editor Dialog }
{ Copyright (c) 1999-2004 by David Berneda }
{**********************************************}
unit TeeEdiFont;
{$I TeeDefs.inc}
interface
uses {$IFDEF CLR}
Classes,
Borland.VCL.Controls,
Borland.VCL.Fo... |
{ send EOT, wait up to 12 seconds for an ACK, retry up to 10 times }
FUNCTION SendEOT : ResponseType;
CONST
EOT = ^D;
ACK = ^F;
VAR
retries,ticks : INTEGER;
c : CHAR;
BEGIN
{ send EOT, wait for ACK or timeout}
retries := RETRIES_MAX;
FOR ticks := 1 TO 2 DO
IF ModemInReady THEN { di... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.