text stringlengths 14 6.51M |
|---|
unit Principal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Classe.Calculadora;
type
TForm1 = class(TForm)
Button1: TButton;
edtValor1: TEdit;
Label1: TLabel;
Button2: TButton... |
unit OverbyteIcsAvlTrees;
{/////////////////////////////////////////////////////////////////////////////
Author: Arno Garrels
Creation: April 6, 2006
Description: Implements a fast cache-like data storage based on two
linked AVL-Trees for primary and secondary indexing.
Pr... |
unit InfoHISTTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoHISTRecord = record
PLender: String[4];
PLoanNumber: String[18];
PHistoryNumber: String[4];
PModCount: SmallInt;
PUserID: String[6];
PBatchDate: String[8];
PEntry: In... |
unit ConnectFacilityTask;
interface
uses
Tasks, Kernel, Accounts, CacheAgent, BackupInterfaces, Inventions;
type
TMetaResearchTask =
class(TMetaTask)
private
fTechnology : string;
fInventionId : TInventionNumId;
private
procedure SetTechnology(aTech : ... |
{
Generates pseudo-random numbers using the Mersenne Twister algorithm.
See http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html and
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html for details on the algorithm.
}
Unit TERRA_Random;
{$I terra.inc}
Interface
Uses TERRA_Utils, TERRA_Stream... |
{******************************************************************************}
{ }
{ Library: Fundamentals 5.00 }
{ File name: flcUDP.pas ... |
unit MainGameUnit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, CastleUIState,
{$ifndef cgeapp}
Forms, Controls, Graphics, Dialogs, CastleControl,
{$else}
CastleWindow,
{$endif}
CastleControls, CastleColors, CastleUIControls,
CastleTriangles, CastleShapes, CastleVectors,
Ca... |
unit PhotoThreads1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
System.Threading, System.Generics.Collections,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.ListBox, FMX.StdCtrls,
FB4D.Interfaces;
type
TPhotoThread = class(TThread)
public const
... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
{$include lem_directives.inc}
unit LemTemp;
interface
uses
Classes, SysUtils,
UMisc, UTools, TypInfo,
LemCore, LemTypes;
{ TODO : make None versions for our types. Replay is suffering from unclearness }
type
TRecordedType = (
rtNone,
rtStartIncreaseRR,
rtStartDecreaseRR,
rtS... |
{-------------------------------------------------------------------------------
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... |
unit TownTaxesSheet;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, PercentEdit, ComCtrls, ExtCtrls, FramedButton, VisualControls,
ObjectInspectorInterfaces, SheetHandlers, InternationalizerComponent;
const
tidSecurityId = 'SecurityId';
tidTrouble ... |
{ **** UBPFD *********** by delphibase.endimus.com ****
>> Сумма и количество прописью, работа с падежами
Несколько функций для работы с строками:
function SumToString(Value : String) : string;//Сумма прописью
function KolToStrin(Value : String) : string;//Количество прописью
function padeg(s:string):string;//Склоняет... |
{
File: AVLTree.p
Contains: Prototypes for routines which create, destroy, allow for
Version: Universal Interfaces 3.4.2
Copyright: © 1999-2002 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World... |
unit dbcomponents;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, sdfdata, dbctrls, stdctrls, db, lmessages,
controls,
constants, tcsettings;
type
{ TComponentsDatabase }
TComponentsDatabase = class(TObject)
public
FDataset: TSdfDataset;
CurrentRecNo: Integer;
constructor Create;
... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
unit TTSNCOLTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSNCOLRecord = record
PLenderNum: String[4];
PLoanNum: String[20];
PCollNum: SmallInt;
PModCount: Integer;
PLookup: String[15];
PCollCode: String[8];
PValue1: Currency;
... |
{ The unit is part of Lazarus Chelper package
Copyright (C) 2010 Dmitry Boyarintsev skalogryz dot lists at gmail.com
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 ... |
unit aeConst;
interface
uses types;
const
AE_PI_DIV_180 = 0.017453;
AE_180_DIV_PI = 57.295780;
AE_PI = 3.1415927;
AE_PI_MULT2 = 6.28318;
AE_PI_DIV2 = 1.570796;
AE_FLT_MAX = 3.40282347E+38;
AE_FLT_MIN = 1.17549435E-38;
AE_EPSILON = 0.00001;
AE_LOGGING_LOG_PATH = 'ae_log.txt'; // next to executabl... |
unit MedicMainMenu_Form;
// Библиотека : Проект Немезис
// Автор : Морозов М.А.
// Назначение : Основное меню для Инфарм
// Версия : $Id: MedicMainMenu_Form.pas,v 1.15 2013/01/22 15:59:44 kostitsin Exp $
(*-------------------------------------------------------------------------------
$Log: MedicMainMenu_F... |
{
File: QD/QDPictToCGContext.h
Contains: API to draw Quickdraw PICTs into CoreGraphics context
Version: Quickdraw-150~1
Copyright: © 2001-2003 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World ... |
unit Unit_Clientes;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Mask, Vcl.StdCtrls, Vcl.ExtCtrls, System.StrUtils,
Vcl.Grids, Vcl.ComCtrls, Vcl.Buttons,
Unit_Persistencia, Unit_Utils,
Vcl.Menus, Dat... |
{//************************************************************//}
{// Projeto MVCBr //}
{// tireideletra.com.br / amarildo lacerda //}
{//************************************************************//}
{// Data: 03/03/2017 ... |
unit AppHints;
// Copyright (c) 1996 Jorge Romero Gomez, Merchise.
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, RegUtils;
type
TApplicationHints =
class( TForm )
btOK : TButton;
cbAlwaysShowMsg : TCh... |
unit gBuilding;
//=============================================================================
// gBuilding.pas
//=============================================================================
//
// Responsible for building-related functionality
//
//=====================================================================... |
unit ScreenLocker;
// Copyright (c) 1996 Jorge Romero Gomez, Merchise.
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TFormLock =
class( TForm )
protected
procedure WMEraseBkgnd( var Message : TWMEraseBkgnd ); message WM_ERASEBKGND;
... |
unit xpr.dictionary;
{
Author: Jarl K. Holta
License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html)
A generic dictionary structure that should work for most purposes.
----------------------------------------------------------------------
You need to write your own hash function if you want the `key`... |
{
This file is part of the AF UDF library for Firebird 1.0 or high.
Copyright (c) 2007-2009 by Arteev Alexei, OAO Pharmacy Tyumen.
See the file COPYING.TXT, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHO... |
unit Sample.Platform;
{$INCLUDE 'Sample.inc'}
interface
uses
Sample.App;
type
{ Static base class for platform-specific functionality. For every platform
(Windows, MacOS, iOS and Android), there is a derived class. }
TPlatformBase = class abstract // static
{$REGION 'Internal Declarations'}
private cl... |
unit NLDTInterfaces;
{
:: NLDTInterfaces contains the interfaces used for internal communication.
:: Interfaces are the *ONLY* way in which data may be passed between
:: components to allow any developer to extend the functionality of
:: NLDTranslate without necessarily descending from one of the custom
... |
unit ExtAIMsgStates;
interface
uses
Classes, SysUtils,
ExtAICommonClasses, ExtAISharedNetworkTypes, ExtAISharedInterface;
// Packing and unpacking of States in the message
type
TExtAIMsgStates = class
private
// Main variables
fStream: TKExtAIMsgStream;
// Triggers
fOnSendState : TEx... |
unit MMO.PacketReader;
interface
uses MMO.Packet, SysUtils;
type
TPacketReader = class(TPacket)
private
function Write(const src; const count: UInt32): Boolean;
public
constructor CreateFromBytesArray(const src: array of Byte);
function ReadUInt8(var dst: UInt8): Boolean;
function R... |
// Upgraded to Delphi 2009: Sebastian Zierer
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License a... |
{******************************************************************************}
{ }
{ Delphi FB4D Library }
{ Copyright (c) 2018-2022 Christoph Schneider ... |
unit WpcWallpaperStyles;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
const
WPST_CENTER = 'CENTER';
WPST_CENTRE = WPST_CENTER; // ?
WPST_TILE = 'TILE';
WPST_STRETCH = 'STRETCH';
// TODO add other types
type
// TODO alises for strings, FILL == ZOOM, FIT == SCALED, STRETCH == STRETCHED, ...... |
// ***************************************************************************
//
// A Simple Firemonkey Rating Bar Component
//
// Copyright 2017 谢顿 (zhaoyipeng@hotmail.com)
//
// https://github.com/zhaoyipeng/FMXComponents
//
// ***************************************************************************
//
// Licens... |
unit BasicTaxes;
interface
uses
Taxes, Kernel, Accounts, CacheAgent, BackupInterfaces, Languages;
const
taxKind_Percent = 0;
taxKind_ValuePerUnit = 1;
type
TMetaDealerTax =
class( TMetaTax )
public
constructor Create( anId, aName : string; aKind : TTaxKind; aTaxAcc... |
unit AceTypes;
{ ----------------------------------------------------------------
Ace Reporter
Copyright 1995-2004 SCT Associates, Inc.
Written by Kevin Maher, Steve Tyrakowski
---------------------------------------------------------------- }
interface
{$ifndef VER110}
{$I ace.inc}
{$endif}
... |
unit RelFornecedores;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, QuickRpt, Qrctrls;
type
TformRelFornecedor = class(TForm)
rptFornecedores: TQuickRep;
bndCabecalho: TQRBand;
bndColunas: TQRBand;
bndFornecedores: TQRBand;
... |
unit VirtDiskExampleMainForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
const
PHYS_PATH_LEN = 1024+1;
type
TFormVirtDiskExampleMain = class(TForm)
Button1: TButton;
Button2: TBu... |
unit UECPrivateKey;
interface
uses
UOpenSSLdef, UECDSA_Public, URawBytes;
type
// Skybuck: EC probably means ecliptic curve
TECPrivateKey = Class
private
FPrivateKey: PEC_KEY;
FEC_OpenSSL_NID : Word;
procedure SetPrivateKey(const Value: PEC_KEY);
function GetPublicKey: TECDSA_Public;
func... |
unit ssXLSExport;
interface
uses
dxTL6, dxDBGrid6, dxDBCtrl6,
SysUtils, Classes, XLSExportComp, XLSFile, XLSWorkbook, XLSFormat, Variants;
type
TCellExportEvent = procedure (ANode: TdxTreeListNode; AIndex: Integer; XLSCell: TCell) of object;
TssProgressEvent = procedure (AIndex: Integer; const AT... |
//Exercicio 17: Faça um algoritmo que leia o ano de nascimento de uma pessoa, calcule e mostre sua idade e, também,
//verifique e mostre se ela já tem idade para votar (16 anos ou mais) e para obter a carteira de habilitação
//(18 anos ou mais).
{ Solução em Portugol
Algoritmo Exercicio ;
Const
ano_atual = ... |
unit FilenameUtils;
// Copyright (c) 1996 Jorge Romero Gomez, Merchise.
interface
uses
Classes, SysUtils, Windows, CommDlg, ShellApi;
// Temporary storage
function GetTmpPath : string;
function GetTmpFilename( const Prefix : string ): string;
function GetTmpFileWithPath( const Path, Prefix : string ):... |
unit sdsDocumentWithFlash;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Document"
// Автор: Морозов М.А.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/Document/sdsDocumentWithFlash.pas"
// Начат: 2008/06/19 11:30:0... |
{
TForge Library
Copyright (c) Sergey Kasandrov 1997, 2018
-------------------------------------------------------
# generic block cipher
}
unit tfBlockCiphers;
{$I TFL.inc}
{$R-}
interface
uses
tfTypes, tfUtils, tfCipherInstances;
type
PBlockCipherInstance ... |
unit uMainForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Media, FMX.Objects, FMX.ListBox, FMX.StdCtrls, FMX.Controls.Presentation;
type
TMainForm = class(TForm)
ToolBarMa... |
unit EmailOrdering.Views.MessageForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls,Vcl.Menus,
Vcl.AppEvnts, Data.DB, Vcl.Grids, Vcl.DBGrids, Datasnap.DBClient,
System.ImageList, ... |
unit LenderGroupsDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, TCWODT, captionlist;
type
TLenderGroupsDialog = class(TComponent)
private
FCaptionList: TCaptionList;
procedure SetCaptionList(const Value: TCaptionList);
{ Private declarat... |
program DfmToLfm;
{
Converts Delphi form design file to a Lazarus form file by
deleting properties that are not supported by LCL and
optionally making changes to font properties. (The resulting
Lazarus form file can then be converted to a Lazarus resource
file with LazRes, although this second step is o... |
unit CambiarBdAdo;
interface
uses Windows, Messages, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
ExtCtrls, IniFiles, Dialogs, ImgList, ComCtrls,
Menus, pngimage;
const
ctIniFile = 'coneccion.ini';
ctError = 'Por favor, seleccione Base de Datos';
type
bdatos = record
nombre, base_datos, ser... |
unit GX_PeInformation;
{$I GX_CondDefine.inc}
interface
uses
Windows, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, GX_PeInfo, ComCtrls, Menus,
GX_IdeDock, DropTarget, DropSource, ActnList, ToolWin, StdCtrls, SysUtils;
type
TfmPeInformation = class(TfmIdeDockForm)
pcMain: TPageCont... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit evLabel;
{* Класс для надисей (названий реквизитов) }
// Модуль: "w:\common\components\gui\Garant\Everest\qf\evLabel.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevLabel" MUID: (48D215640290)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
uses
l3IntfUses
, evControl
, af... |
unit l3CBase;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "L3"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/L3/l3CBase.pas"
// Начат: 02.02.2005 14:30
// Родные Delphi интерфейсы (.pas)
// Generated from U... |
// -----------------------------------------------------------------------------
// アウトライン
//
// Copyright (c) Kuro. All Rights Reserved.
// e-mail: info@haijin-boys.com
// www: https://www.haijin-boys.com/
// -----------------------------------------------------------------------------
unit mOutline;
interface
u... |
unit Split;
interface
uses
JunoApi4Delphi.Interfaces;
type
TSplit<T : IInterface> = class(TInterfacedObject, iSplit<T>)
private
[weak]
FParent : T;
FrecipientToken : String;
Famount : Double;
Fpercentage : Double;
FamountRemainder : Boolean;
FchargeFe... |
unit PlotterGrid;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, VisualControls, InternationalizerComponent;
const
PointCount = 12;
type
TPlotter = class(TVisualControl)
Grid: TImage;
year1: TLabel;
year2: TLabel;
year3: TLabel;
... |
(*
* Task 1: Greater Character
*
* GUEST LANGUAGE: THIS IS THE PASCAL VERSION OF ch-1.pl, suitable for
* the Free Pascal compiler.
*)
uses sysutils;
type strarray = array [0..100] of string;
var debug : boolean;
(* process_args_exactly_n( n, str[] );
* Process command line arguments,
* specifically proce... |
unit GetVehicleUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TGetVehicle = class(TBaseExample)
public
procedure Execute(VehicleId: String);
end;
implementation
uses VehicleUnit;
procedure TGetVehicle.Execute(VehicleId: String);
var
ErrorString: String;
Vehicle: TVehicle;
begin
Vehicle... |
unit detect_memory_leak;
interface
implementation
uses Windows;
initialization
finalization
if AllocMemSize <> 0 then
MessageBox(0, 'An unexpected memory leak has occurred.', 'Unexpected Memory Leak', MB_OK or MB_ICONERROR or MB_TASKMODAL);
end.
|
{$I OVC.INC}
{$B-} {Complete Boolean Evaluation}
{$I+} {Input/Output-Checking}
{$P+} {Open Parameters}
{$T-} {Typed @ Operator}
{$W-} {Windows Stack Frame}
{$X+} {Extended Syntax}
{$IFNDEF Win32}
{$G+} {286 Instructions}
{$N+} {Numeric Coprocessor}
{$C MOVEABLE,DEMANDLOAD,DISCARDABLE}
{$ENDIF}
{********************... |
unit MemoryReports;
interface
type
TMemoryReportRecord =
record
cause : string;
allocsize : integer;
end;
procedure ReportMemoryAllocation(const cause : string; allocsize : integer);
procedure GetMemoryReport(out report : array of TMemoryReportRecord; var reccount : integer)... |
unit UYoutubeDemo;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes,
System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs,
FMX.StdCtrls, FMX.TMSCloudBase, FMX.TMSCloudBaseFMX, FMX.TMSCloudCustomGoogle,
FMX.TMSCloudGoogleFMX, FMX.TMSCloudCustomYouTube, FMX.T... |
unit u_math;
interface
const deuxpi=pi*2;
pisur2=pi/2;
_180surpi=180/pi;
function distance(a,b,x,y:integer):real;
function angle_radian(x,y,px,py:longint):Real; {radian}
function angle_degree(a,b, x,y:integer):real;
implementation
function distance(a,b,x,y:integer):real;
var da,db:integer;... |
{
fpChess - TCP communication module
License: GPL version 2 or superior
Copyright: Felipe Monteiro de Carvalho in 2010
}
unit tcpcomm;
{$mode objfpc}{$H+}{$packsets 1}
interface
uses
// RTL, FLC, LCL
Classes, SysUtils, Forms,
// TPacket declaration
chessgame,
// LNet
lnet, lnetcomponents
;
type
... |
unit NonAwF;
interface
uses
Windows, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DBTables, DB, StdCtrls, Grids, DBGrids, ComCtrls, DBActns, ActnList,
Mask, DBCtrls, DBClient, ExtCtrls;
type
TForm1 = class(TForm)
EditName: TEdit;
EditCapital: TEdit;
EditPopulation: TEdit;
EditArea: ... |
unit SctCurr;
{ ----------------------------------------------------------------
Ace Reporter
Copyright 1995-2004 SCT Associates, Inc.
Written by Kevin Maher, Steve Tyrakowski
---------------------------------------------------------------- }
interface
{$I ace.inc}
uses
classes, sctdata, sctcalc;... |
unit uFrmLanches;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DBCtrls, StdCtrls, Buttons, ExtCtrls, Grids, DBGrids;
type
TFrmLanches = class(TForm)
grpGrid: TGroupBox;
DBGrid1: TDBGrid;
Panel1: TPanel;
Image1: TImage;
Lab... |
unit aeMesh;
interface
uses types, windows, aeMaths, aeRenderable, aeConst, aeLoggingManager,
sysutils, aeVectorBuffer, aeIndexBuffer, aetypes, dglOpenGL;
type
TaeMesh = class(TaeRenderable)
private
var
_vbo: TaeVertexIndexBuffer;
_LOD: TaeMeshLevelOfDetail;
// flag if mesh data is to be deleted... |
unit HtmlParserTestMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, StdCtrls,
HTMLParser, Grids, ComCtrls;
type
TForm16 = class(TForm)
btn1: TButton;
lv1: TListView;
procedure btn1Click(Sender: TObject);
private
{ Private declarations ... |
unit atStringsFromFile;
// Модуль: "w:\quality\test\garant6x\AdapterTest\CoreObjects\atStringsFromFile.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatStringsFromFile" MUID: (50294ABA02B0)
interface
uses
l3IntfUses
, Windows
;
type
PSFFHeader = ^SFFHeader;
SFFHeader = record
StringsCount: Integer;
... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit uDM;
interface
uses
System.SysUtils, System.Classes, ZAbstractConnection, ZConnection, System.IniFiles,
Vcl.Forms, Dialogs, Winapi.Windows, Data.DB, ZAbstractRODataset,
ZAbstractDataset, ZDataset;
type
Tdm = class(TDataModule)
conexao: TZConnection;
procedure DataModuleCreate(Sender: TObject);
... |
unit uChamadoColaborador;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uDMChamado, uChamadoController, Data.DB,
Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, Vcl.Buttons, Vcl.Mask, Vcl.DBCtrls,
Vcl.ExtCtrls, uGrad... |
Program mebmd5;
{$MODE OBJFPC}
Uses md5, SysUtils;
Function count_file_md5(filepath:AnsiString):AnsiString;
begin
// If no file exist return ''
If FileExists(filepath) Then
begin
count_file_md5 := LowerCase(MD5Print(MD5File(ParamStr(1))));
end
Else
count_file_md5 := '';
end;
var
md5_file, md5_param:... |
unit UIWrapper_ColumnUnit;
interface
uses
UIWrapper_SchOptPartUnit, FMX.ListBox, FMX.Controls, FMX.Types,
SearchOption_Intf, Classes, ColumnListOptionPart;
type
TUIWrapper_SchOpt_Column = class(TUIWrapper_AbsSearchOptionPart)
private
FListBox: TListBox;
FBtnAllSelect: TButton;
FBtnClear: ... |
unit CacheHistory;
interface
uses
SysUtils, Classes, SyncObjs;
type
TCacheHistory =
class
public
constructor Create;
destructor Destroy; override;
function AddRecord(ObjId : string; Expires : TDateTime) : boolean;
function DelRecord(ObjId : str... |
unit Test.ParsingTools;
interface
uses
ParsingTools,
DUnitX.TestFramework;
type
[TestFixture]
TMyTestObject = class
private
public
// Test with TestCase Attribute to supply parameters.
[Test]
[TestCase('TestA',
'<meta name="csrf-token" content="xJC904V7lCCUbrjWYxqCj_xecjEbcMOSuwj1JuHH... |
unit uCmdParams;
interface
function Switch(aSwitchName: string):Boolean;
function SwitchValue(aSwitchName: string):string;
implementation
uses
System.Classes,
System.SysUtils;
function IsSwitch(value: string): Boolean;
begin
Result := (value <> '') and ((value[1] = '/') or (value[1] = '-'));
end;
function S... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit AddFolderForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, FileCtrl, Defines;
type
TAddFolder = class(TForm)
SetDirectoryLabel: TLabel;
DirectoryLine: TEdit;
BrowseForDirectoryBtn: TButton;
subfoldersCheck: TCheckBo... |
{@html(<hr>)
@abstract(Provides base class for classes binding itself to telemetry recipient
events.)
@author(František Milt <fmilt@seznam.cz>)
@created(2014-05-03)
@lastmod(2014-05-03)
@bold(@NoAutoLink(TelemetryRecipientBinder))
©František Milt, all rights reserved.
This unit provides class TTeleme... |
unit Model.StatusCadastro;
interface
type
TStatusCadastro = class
private
FID: System.Integer;
FDescricao: System.string;
FAtivo: System.Boolean;
FLog: System.string;
public
property ID: System.Integer read FID write FID;
property Descricao: System.string read FDescric... |
unit uBaseConhController;
interface
uses
System.SysUtils, uDMBaseConh, uRegras, uEnumerador, uDM, Data.DB, Vcl.Forms,
Data.DBXJSON , Data.DBXJSONReflect, uFiltroBaseConhecimento, uTipoController,
uTipoVO;
type
TBaseConhController = class
private
FModel: TDMBaseConh;
FOperacao: TOperacao;
proced... |
unit ClientSocketFrm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
SocketComp, StdCtrls, Spin;
type
TForm1 = class(TForm)
btnConnect: TButton;
btnSend: TButton;
seValue: TSpinEdit;
Label1: TLabel;
lRecieved: TLabel;
Label2: TLabel;
mData: ... |
unit sdsCompareEditionsState;
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Editions\sdsCompareEditionsState.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TsdsCompareEditionsState" MUID: (4B69588202EA)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
{$If NOT Defined(Admin) AND ... |
unit eAtasOrais.Model.Interfaces;
interface
uses
FireDAC.Comp.Client, System.Classes, Data.DB, Generics.Collections, eAtasOrais.Model.ClasseAlunosConceitos;
Type
iModelConexaoSOP = Interface
['{8F2718BD-31FA-452B-83C9-325F3D7D9153}']
Function Periodos : tfdmemtable;
Function Turmas (Periodo: str... |
{Pascal wrappper for proj.4 library}
{Types defined in proj_api.h}
{* Author: Giannis Giannoulas, <gg@iqsoft.gr>
*
******************************************************************************
* Copyright (c) 2016,Giannis Giannoulas
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy o... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: Arno Garrels <arno.garrels@gmx.de>
Description: TIcsCharsetComboBox provides easy MIME charset selection.
Creation: May 10, 2009
Version: V1.01
EMail: http://www.overbyte.be francois.piette@overbyte.... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit UnitIADInventoryMAIN;
interface
uses Winapi.Windows, System.Classes, Vcl.Graphics, Vcl.Forms, Vcl.Controls,
Vcl.Menus, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Vcl.ComCtrls,
Vcl.ImgList, Vcl.StdActns, Vcl.ActnList, Vcl.ToolWin, System.ImageList,
System.Actions, Data.DB, Vcl.Grids, Vcl.DBGrids,... |
unit uOrcamentoItemVO;
interface
uses
System.SysUtils, System.Generics.Collections, uTableName, uKeyField;
type
[TableName('Orcamento_Item')]
TOrcamentoItemVO = class
private
FIdStatus: Integer;
FValorDescImpl: Currency;
FDescricao: string;
FIdTipo: Integer;
FIdProduto: Integer;
FId: ... |
unit kwCompiledInitableVar;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwCompiledInitableVar.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from U... |
unit LzFind;
interface
uses Winapi.Windows, System.SysUtils, LzmaTypes;
{$Z4}
type
PCLzRef = ^TCLzRef;
TCLzRef = UInt32;
PCMatchFinder = ^TCMatchFinder;
TCMatchFinder = record
buffer: PByte;
pos: UInt32;
posLimit: UInt32;
streamPos: UInt32;
lenLimit: UInt32;
cyclicBufferPos: UInt32... |
unit atFileBasedSemaphore;
{* Обеспечивает функциональность в стиле семафора. Работает на файлах. }
// Модуль: "w:\quality\test\garant6x\AdapterTest\CoreObjects\atFileBasedSemaphore.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatFileBasedSemaphore" MUID: (4A4DFF7800C9)
interface
uses
l3IntfUses
, Windows... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TForm1 = class(TForm)
Panel1: TPanel;
Label1: TLabel;
PaintBox1: TPaintBox;
procedure PaintBox1Paint(Sender: TObject);
procedure PaintBox1Mou... |
unit ICDsearcher;
interface
uses
ADODB,
generics.collections,
ICDrecord,
ICDtranslator;
type TICDSearcher = class
private
FCriteria: string;
FLng: TICDlng;
FTop: integer;
FResults: TList<TICDRecord>;
FErrorMessage: string;
function getADOquery: TADOquery;
published
property cr... |
program RecursiveFxns (Input, Output);
{ Program to compute using recursive functions }
var
X : real;
N : integer;
{**********************************************************************}
function Power (X : real; N : integer) : Real;
{ Compute X^N using recursive calls }
var
... |
unit UScanner;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls;
type
TFScanner = class(TForm)
Panel1: TPanel;
EBarcode: TEdit;
procedure EBarcodeKeyPress(Sender: TObject; var Key: Char);
procedure FormShow(Sender: TObject);
private
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.