text stringlengths 14 6.51M |
|---|
unit Ths.Erp.Database.Table.PersonelPDKSKart;
interface
{$I ThsERP.inc}
uses
SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils,
FireDAC.Stan.Param, System.Variants, Data.DB,
Ths.Erp.Database,
Ths.Erp.Database.Table;
type
TPersonelPDKSKart = class(TTable)
private
FKartID: TFieldD... |
unit NumPlanMasterFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, NxColumnClasses, NxColumns, NxScrollControl,
NxCustomGridControl, NxCustomGrid, NxGrid, ItemsDef, ComCtrls, Core,
NxEdit;
type
TfrmNumPlanMaster = class... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2015-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit Amazon.DynamoDB;
interface
uses Amazon.Client, Amazon.Request, System.Classes, System.Generics.Collections,
Amazon.Response, Amazon.Utils, Amazon.Marshaller, System.Rtti, System.TypInfo,
Amazon.Interfaces, System.AnsiStrings, System.SysUtils;
Const
cDynamoDB_targetPrefix = 'DynamoDB_20120810';
cDynamoDB... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{
ID: nhutqua1
PROG: milk2
LANG: PASCAL
}
const fileinp = 'milk2.in';
fileout = 'milk2.out';
var n,max1,max2:longint;
s,e:array[1..5000] of longint;
procedure Init;
var i:longint;
begin
assign(input,fileinp); reset(input);
readln(n);
for i:=1 to n do
readln(s[i],e[i]);
close(... |
{******************************************************************************}
{ }
{ VCLThemeSelector: Form for Preview and Selection of VCL Style }
{ ... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLCurvesAndSurfaces<p>
Bezier and B-Spline Curve and Surface Routines.<p>
<b>History : </b><font size=-1><ul>
<li>10/11/12 - PW - Added CPP compatibility: changed vector arrays to records
<li>31/03/07 - DaStr - Added $... |
{***********************************<_INFO>************************************}
{ <Проект> Медиа-сервер }
{ }
{ <Область> 16:Медиа-контроль ... |
unit XMLDataBindingUtilsTest;
interface
uses
TestFramework;
type
TXMLDataBindingUtilsTest = class(TTestCase)
protected
procedure CheckEqualsDateTime(AExpected, AActual: TDateTime; const AMsg: string = '');
published
procedure ToXMLDate;
procedure ToXMLTime;
procedure ToXMLDateTi... |
unit EntregadorProxy;
interface
uses
System.SysUtils, InterfacePizzaria, Pizzaria;
type
TEntregador = class(TInterfacedObject, IPizzaria)
private
Pizzaria: TPizzaria;
Pizza: string;
public
constructor Create(Pizza: string);
procedure EntregarPizzas;
procedure ReceberDinheiro;
destruct... |
(**
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.
@stopdocumentation
**)
Unit TestCommonFunctions;
Interface
Uses
TestFramewo... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC Moni base classes }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit fNoteST;
{
Text Search CQ: HDS00002856
This Unit Contains the Dialog Used to Capture the Text that will be
searched for in the current notes view.
}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, ORCtrls, StdCtrls, ORFn, uTIU, fAutoSz, VA508AccessibilityMan... |
unit IdDsnNewMessagePart;
interface
uses
Buttons, Classes, Controls, Dialogs, ExtCtrls, Forms, IdMessage,
StdCtrls;
type
TfrmNewMessagePart = class(TForm)
Panel2: TPanel;
btnOk: TButton;
btnCancel: TButton;
lbTypes: TListBox;
procedure lbTypesClick(Sender: TObject);
procedure lbTypesD... |
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is frClarify.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 S... |
unit Amazon.DelphiRESTClient;
interface
uses classes, SysUtils, Amazon.Interfaces, REST.Client, REST.Types,
REST.HttpClient;
const
cAccept = CONTENTTYPE_APPLICATION_JSON + ', ' + CONTENTTYPE_TEXT_PLAIN +
'; q=0.9, ' + CONTENTTYPE_TEXT_HTML + ';q=0.8,';
cAcceptCharset = 'UTF-8, *;q=0.8';
cUserAgent = 'Emb... |
UNIT LinkedList;
{$MODE Delphi}
INTERFACE
TYPE TLinkedNode = CLASS
PUBLIC
CONSTRUCTOR create(o : TObject);
DESTRUCTOR destroy();
FUNCTION getObject() : TObject;
FUNCTION getNext() : TLinkedNode;
FUNCTION getPrev() : TLinkedNode;
PROTECTED
obj : TObject;
next : TLinkedNode;
prev : TLinkedNode;
END;
... |
unit Payment;
interface
uses
ActiveClient, PaymentMethod, System.Classes, SysUtils, System.Rtti, DateUtils;
type
TPaymentType = (ptPrincipal,ptInterest,ptPenalty);
TPaymentDetail = class
strict private
FPaymentId: string;
FPaymentDate: TDateTime;
FLoan: TLoan;
FRemarks: string;
FCancelle... |
unit bool_arithmetic_2;
interface
implementation
function GetBool(B: Boolean): Boolean;
begin
Result := B;
end;
var R1, R2: Int32;
procedure Test;
begin
if not GetBool(False) then
R1 := 11
else
R1 := 22;
if not GetBool(True) then
R2 := 11
else
R2 := 22;
end;
initialization
... |
unit mainUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtDlgs, StdCtrls, ComCtrls, ExtCtrls, Buttons, ToolWin, ImgList;
type
TForm1 = class(TForm)
SavePictureDialog1: TSavePictureDialog;
OpenPictureDialog1: TOpenPictureDialog;
ScrollBox1: TScrollBox... |
unit uGBMontaSelect;
interface
uses
System.SysUtils, System.Classes, Vcl.Forms, Vcl.Controls;
type
TGBMontaSelect = class(TComponent)
private
_RetornouValor: Boolean;
FParams: TStrings;
FFiltros: TStrings;
Ftabelas: TStrings;
FExibePergunta: Boolean;
FLarguras: TStrings;
FCaseSenti... |
unit MovimentoDeCaixaAplicacao;
interface
uses Classes,
{ Fluente }
DataUtil, UnModelo, Componentes, UnAplicacao,
UnMovimentoDeCaixaListaRegistrosModelo,
UnMovimentoDeCaixaListaRegistrosView,
UnMovimentoDeCaixaRegistroView,
UnMovimentoDeCaixaImpressaoView;
type
TMovimentoDeCaixaAplicacao = class(TAplic... |
unit Ths.Erp.Database.Table.Arac.Hareket;
interface
{$I ThsERP.inc}
uses
SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils,
FireDAC.Stan.Param, System.Variants, Data.DB,
Ths.Erp.Database
, Ths.Erp.Database.Table
;
type
THareket = class(TTable)
private
FYetkili: TFieldDB;
... |
{ Routines for sending CAN frames.
}
module can_recv;
define can_recv_check;
define can_recv;
%include 'can2.ins.pas';
{
********************************************************************************
*
* Function CAN_RECV_CHECK (CL)
*
* Returns TRUE if a received CAN frame is immediately available, and FALSE i... |
unit IdGopherConsts;
{*******************************************************}
{ }
{ Indy IdGopherConsts - this just contains }
{ Constants used for writing Gopher servers }
{ and clients }
{ ... |
unit uAnimationThread;
interface
uses
Classes, Windows, Controls, Graphics;
type
TAnimationThread = class(TThread)
private
{ Private declarations }
FWnd: HWND;
FPaintRect: TRect;
FbkColor, FfgColor: TColor;
FInterval: integer;
protected
procedure Execute; override;
public
constr... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLSCrossXML<p>
<b>History : </b><font size=-1><ul>
<li>23/08/10 - Yar - Creation
</ul></font>
}
unit GLSCrossXML;
interface
uses
Classes,
SysUtils,
Variants,
XMLIntf,
XMLDoc,
XMLDom;
type
GLSXMLDoc... |
unit FieldInfoUnit;
interface
uses
System.Generics.Collections;
type
TFieldInfo = class(TObject)
private
FErrorMessage: string;
FFieldName: string;
FIsCellUnion: Boolean;
FRequired: Boolean;
FSize: Integer;
protected
public
constructor Create(AFieldName: string; ARequired: Boolean =... |
{
"SyncObjcs" - Copyright (c) Danijel Tkalcec
@exclude
}
unit rtcSyncObjs;
interface
{$INCLUDE rtcDefs.inc}
uses
{$IFDEF CLR}
System.Threading;
{$ELSE}
SyncObjs,
Windows;
{$ENDIF}
type
TRtcWaitResult = (wr_Signaled, wr_Timeout, wr_Abandoned, wr_Error);
TRtcCritSec=class
private
{$IFDEF CLR}
... |
unit TestRunOnConst;
{ AFS 4 April 2k
This unit compiles but is not semantically meaningfull
it is test cases for the code formatting utility
line breaking of record consts
test by obfuscating & de-obfuscating
}
interface
type
TFnorfType = (eFnord1, eFnord2, eTheOtherFnord);
TFnor... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{ : GLS.FileDXF<p>
Support-Code to load DXF (Drawing eXchange Files) TGLFreeForm or
TGLActor Components in GLScene.<p>
Note that you must manually add this unit to one of your project's uses
to enable support for DXF at run-time.<p... |
unit IdAllHeaderCoders;
interface
{$i IdCompilerDefines.inc}
{
Note that this unit is simply for listing ALL Header coders in Indy.
The user could then add this unit to a uses clause in their program and
have all Header coders linked into their program.
ABSOLUTELY NO CODE is permitted in this unit.
}
// RLebeau 2... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
type
{ TfrmDistance }
TfrmDistance = class(TForm)
btnShowDistance: TButton;
cboFrom: TComboBox;
cboTo: TComboBox;
lblDistance: TLabel;
lblTo: TLabel;
lblFrom: TLa... |
unit uWorkEffort;
{$mode objfpc}{$H+}
interface
uses
SynCommons, mORMot, uForwardDeclaration;//Classes, SysUtils;
type
// 1
TSQLTimeEntry = class(TSQLRecord)
private
fParty: TSQLPartyID;
fFromDate: TDateTime;
fThruDate: TDateTime;
fRateType: TSQLRateTypeID;
fWorkEffort: TSQLW... |
unit QueryExecutor;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,ZConnection, ZDataset,udm;
type
{ TQueryExecutor }
TOnQueryEvent = procedure(Sender: TObject ; ASQL: string) of object;
TQueryExecutor = class(TThread)
private
FOnAfterExecSQL: TNotifyEvent;
FOnQueryError: TOnQueryEvent;
... |
unit DataBaseUnit;
interface
uses
FireDAC.Comp.Client;
type
TDataBase = class(TObject)
private const
database: String = 'database';
class procedure CreateNewDataBase(const ADataBaseFolder, AApplicationFolder
: String); static;
class function CreateTempDatabaseFileName: string; static;
cla... |
unit TStringsUnit;
interface
implementation
uses System;
type
TStrings<TData> = class
private
type
TItem = record
Key: string;
Value: TData;
end;
TItemList = array of TItem;
var
FList: TItemList;
FSorted: Boolean;
function GetCount: Int32;
function GetName(Index:... |
unit uPopupMenuCxGrid;
interface
uses Classes, Forms, Menus, Windows, cxGrid, Dialogs, DBClient, DB;
type TTipoSelecao = (tsMarcarTodos, tsInverterSelecao);
type TPopupMenuSelecionar = class(TObject)
private
fPopupMenu : TPopupMenu;
fCxGrid : TcxGrid;
fCds : TClientDataSet;
protected
p... |
unit bool_arith_mixed_3;
interface
implementation
var G1, G2, G3, G4: boolean;
function GetBool(Cond: Boolean): Boolean;
begin
Result := Cond;
end;
procedure Test1;
begin
G1 := GetBool(true) or GetBool(false) or not GetBool(true);
end;
procedure Test2;
begin
G2 := GetBool(false) or GetBool(true) o... |
unit uConversoes;
interface
uses
uInterfaces, Classes, SysUtils, StrUtils, Dialogs, Rtti;
type
EValorObrigatorio = class(Exception);
TConverteTexto = class(TInterfacedObject, IConversao)
private
FTexto : String;
procedure SetTexto(const Value : string);
public
property Texto : String read FTex... |
{$A+,B-,E-,F+,G+,I-,N-,O-,P-,Q-,R-,S-,T-,V-,X-}
{-------------------------------
Palette unit - Turbo Pascal 7.0
-----------------------------------}
unit palette;
interface
type
rgbpal = record
r,g,b : byte;
end;
pal_type = array[0..255] of rgbpal;
procedure pal_entry(color,red,green,blue... |
unit adot.Collections.Sets;
{
TSet<T>
record type with full set of (compatible) overloaded operators:
- can be initialized either by Init/Create or assigment operator:
S.Init([1,2,3]); // call Init to initialize
S := [1,2,3]; // same
- default string comparer is case insensitive
... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,WinInet, StdCtrls,Registry,ShellAPI;
type
TForm1 = class(TForm)
Button1: TButton;
Memo1: TMemo;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
... |
////////////////////////////////////////////////////////////////////////////////////
//
//
// FileName : SUIImagePanel.pas
// Creater : Shen Min
// Date : 2001-10-15
// Comment :
//
// Copyright (c) 2002-2003 Sunisoft
// http://www.sunisoft.com
// Email: support@sunisoft.com
//
//////////... |
unit ArticleLocDAOU;
interface
uses
ArticleLocDTOU, APIUtilsU, FireDAC.UI.Intf, FireDAC.FMXUI.Wait,
FireDAC.Stan.Intf, FireDAC.Comp.UI, FireDAC.Stan.ExprFuncs,
FireDAC.Phys.SQLiteDef, FireDAC.Phys, FireDAC.Phys.SQLite,
FireDAC.Comp.Client, IOUtils, System.Generics.Collections, BarCodeLocDTOU;
type TListArti... |
unit Test.InterfacedObject;
interface
uses
Deltics.Smoketest;
type
TInterfacedObjectTests = class(TTest)
private
fOnDestroyCallCount: Integer;
procedure OnDestroyCallCounter(aSender: TObject);
published
procedure SetupMethod;
procedure InterfacedObjectLifetimeIsNotRefer... |
program HammingDistance;
{$mode objfpc}{$H+}
uses {$IFDEF UNIX} {$IFDEF UseCThreads}
cthreads, {$ENDIF} {$ENDIF}
Classes,
SysUtils,
CustApp,
hammingdistances;
type
{ THammingDistance }
THammingDistance = class(TCustomApplication)
protected
procedure DoRun; override;
public
constructor Cre... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC Advantage Database Server Call Interface }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit DriveInfoSet;
interface
uses Classes,
sysUtils,
InternalTypes;
type
tDriveInfoSet = class(tStringList)
private
public
constructor Create();
function AddSizeFromSize(TotalSize, FreeSize : uInt64; Key : String) : Boolean;
function GetJSON() : AnsiString;
procedure dumpData();
end;
implementatio... |
unit PullSupplierMain;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Corba, CosEvent, PullSupplier_Impl;
type
TForm1 = class(TForm)
Edit1: TEdit;
Label1: TLabel;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
Pu... |
unit FrmQuestionListC;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uQuestionList, uQuestionInfo, FrmQInfoC;
type
TfQuestionListC = class(TfQuestionList)
private
{ Private declarations }
... |
unit NumPlanFrame;
{#DEFINE DEBUG}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, NxColumns, NxColumnClasses, NxScrollControl,
NxCustomGridControl, NxCustomGrid, NxGrid, StdCtrls, ItemsDef, ComCtrls,
ToolWin, ActnList, Core;
type
TfrmNumPlan = ... |
unit uDB;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Forms, math, Types,
FIBDatabase, pFIBDatabase, FIBQuery, pFIBQuery, pFIBProps, IniFiles,
StrUtils, Generics.Collections, Generics.Defaults, uGameItems;
type
TMoonDB = class
protected
class var FInstance: TMoonDB;
class construc... |
unit MCProject;
interface
uses Word, System.Generics.Collections, System.SysUtils, System.Types,
System.UITypes, System.Classes, System.Math,
System.Variants, FMX.Objects, FMX.StdCtrls, FMX.Types, FMX.Layouts;
type
TMCProject = class
private
FFilePath: string;
FWordList: TStringList;
FDefList: TS... |
//-----------------------------------------
// Maciej Czekański
// maves90@gmail.com
//-----------------------------------------
unit Math;
//----------------------------------------------------------------------------------------
interface
//---------------------------------------------------------------------------... |
unit mystruct_c;
{This file was generated on 11 Aug 2000 20:16:59 GMT by version 03.03.03.C1.06}
{of the Inprise VisiBroker idl2pas CORBA IDL compiler. }
{Please do not edit the contents of this file. You should instead edit and }
{recompile the original IDL which was located in the file mys... |
unit if32_const_1;
interface
function Test: float32; export;
implementation
uses System;
function Test: float32;
begin
Result := 0.0003;
end;
initialization
Test();
finalization
end. |
unit DW.RegisterFCM;
(*
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/firebas... |
{*
* Tyler Filla
* February 4, 2019
* CS 4500-001 :: Intro to Software Profession
*
* This program intends to implement the specified game and program behavior: A
* strongly-connected digraph is drawn on an imaginary game board, and a marker
* is randomly moved along the edges until all nodes have been visited. ... |
unit JD.Weather;
(*
JD Weather Component
Encapsulates entire JD weather system in a single component
*)
interface
uses
Winapi.Windows,
System.Classes, System.SysUtils,
JD.Weather.Intf;
type
TJDWeatherInfoSettings = class;
TJDWeatherInfoSettingsGroup = class;
TJDWeather = class;
TJDWeatherThread =... |
unit ComponentsExGroupUnit2;
interface
uses
BaseComponentsGroupUnit2, CategoryParametersGroupUnit2,
CategoryParametersQuery2, Data.DB, NotifyEvents, System.Classes,
System.Contnrs, FireDAC.Stan.Option, FireDAC.Stan.Intf,
System.Generics.Collections, ComponentsExQuery, FamilyExQuery,
ProductParametersQuery, ... |
unit MediaStorage.RecordStorage.Visual.RecordsViewer;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtendControls, ComCtrls, ExtCtrls, ActnList,
ToolWin, ImgList,Menus,
MediaStorage.RecordStorage, Data.DB, MemDS, Vcl.Grids, Vcl.DBGrids,
MultiSelectDBGrid... |
unit uDAO;
interface
uses
System.SysUtils, System.Classes, 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.Phys.FB,
FireDAC.Phys.FBDef, FireDAC.VCLUI.Wait, Data.DB, FireDAC.Comp.Clien... |
unit UnitHydrasExplorer;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids, DBGrids, ExtCtrls, ComCtrls, DB, DBCtrls, UnitVariables,
Buttons, DBTables ;
type
TFormHydrasExplorer = class(TForm)
DataSourceRegions: TDataSource;
DataSourc... |
{
@html(<b>)
Memory Manager
@html(</b>)
- Copyright (c) Danijel Tkalcec
@html(<br><br>)
To enable the use of the RTC Memory manager in your project,
you have to put the rtcMemory unit as first unit in your Project's USES clause.
In addition to that, you have to DEFINE the "RtcMemManager" compiler direc... |
//Ejercicio 14
//Matemáticamente,
//ln(a^b) = b * ln(a)
//e^ln(x) = x
//Use estas propiedades, el operador de multiplicación ( * ) y las funciones estándar
//de Pascal ln y exp para escribir una expresión en Pascal que produzca el valor de a^b.
program ejercicio14;
var b : integer;
a, pot : real;
begin
writeln(... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ Copyright(c) 2012-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit uModel.PessoaContato;
interface
uses System.SysUtils, System.Classes,
uModel.Interfaces;
type
TPessoaContatoModel = class(TInterfacedObject, iPessoaContatoModel)
private
FId: Integer;
FIdPessoa: Integer;
FTipo: string;
FContato: string;
public
constructor Create;
destructor Destr... |
unit main;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
//GLS
GLObjects, GLWin32Viewer, dws2Comp, GLScene,
dws2OpenGL1x, GLDWS2Objects, dws2Exprs, GLTexture, GLCadencer, GLAsync... |
unit UnitActualizarPorReferencias;
interface
uses
global, frm_connection, SysUtils, ZDataset, ZConnection, Classes, Dialogs;
var
pdbError: string;
function dbExec(sSQLCommand: string; paramNames, paramValues: TStringList; Owner: TComponent): boolean;
function actualizarTablasActOrden(WbsNuevo, WbsOrig, orden: s... |
unit LLCLZlib;
{
LLCL - FPC/Lazarus Light LCL
based upon
LVCL - Very LIGHT VCL
----------------------------
This file is a part of the Light LCL (LLCL).
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was no... |
unit Auth;
interface
uses InternetHTTP, Dialogs, SysUtils, hwid_impl, JSON;
type
TAuthInputData = record
Login: string[14];
Password: string[14];
end;
TAuthOutputData = record
LaunchParams: string[38];
Login: string[14];
end;
function IsAuth(Data:TAuthInputData): boolean;
... |
unit uIRCRichEdit;
interface
uses RichEditURL, Graphics;
type
TIRCRichEdit = class(TRichEditURL)
private
procedure DoSetIRCText(const AText: string; const AAppend: Boolean);
procedure SetSelBgColor(const AColor: TColor);
function GetIRCColor(const AColorIndex: Integer; const ADefault: TColor): TColo... |
unit Security.Permission.Interfaces;
interface
Type
TPermissionNotifyEvent = procedure(aID: Int64; aCan: string; aName: string; var aError: string; var aChanged: boolean) of Object;
TResultNotifyEvent = procedure(const aResult: boolean = false) of Object;
Type
iPrivatePermissionEvents = interface
... |
unit julian;
(*@/// interface *)
interface
uses
(*$ifdef ver80 *)
winprocs,
wintypes,
(*$else *)
Windows,
(*$endif *)
Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, moon, main, consts, ah_tool;
type
(*@/// Tfrm_julian = class(TForm) *)
Tfrm_julian = class(TFor... |
{ ***************************************************************************
Copyright (c) 2016-2020 Kike Pérez
Unit : Quick.DAO.QueryGenerator.MSAccess
Description : DAO MSAccess Query Generator
Author : Kike Pérez
Version : 1.0
Created : 22/06/2018
Modified : 31/03/2020
This... |
unit ncPRFrmPrintTipo;
{
ResourceString: Dario 13/03/13
}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uFrmComSombra, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter, cxData,
cxDataStorage, cxEdit, DB, cx... |
unit ClassData;
interface
uses Controls, Classes, Windows, SysUtils;
type EDataError = class( Exception );
PZastavka = ^TZastavka;
PSpoj = ^TSpoj;
PRozvrhy = ^TRozvrhy;
PRozvrh = ^TRozvrh;
PMinuty = ^TMinuty;
PSpojInfo = ^TSpojInfo;
TBlizka = record
Min : integer;
Z... |
unit LuaScriptEngine;
interface
uses
SysUtils, Classes, Lua, pLua, LuaWrapper;
type
TScriptModule = class(TDataModule)
procedure DataModuleCreate(Sender: TObject);
private
procedure LoadLibs(LuaWrapper : TLua);
procedure ScriptExceptionHandler( Title: ansistring; Line: Integer; Msg: ans... |
unit BCEditor.Editor.Search.Highlighter;
interface
uses
Classes, Graphics, BCEditor.Editor.Search.Highlighter.Colors, BCEditor.Types;
type
TBCEditorSearchHighlighter = class(TPersistent)
strict private
FAlphaBlending: Byte;
FColors: TBCEditorSearchColors;
FOnChange: TBCEditorSearchChang... |
unit Contatos2.model.conexao;
interface
uses
contatos2.model.interfaces, FireDAC.Comp.Client, FireDAC.Stan.def, FireDAC.Phys.MSAccDef, FireDAC.Phys,
FireDAC.Phys.ODBCBase, FireDAC.Phys.MSAcc, FireDAC.dapt, FireDAC.UI.Intf,
FireDAC.FMXUI.Wait, FireDAC.Comp.UI, FireDAC.Stan.Async;
Type
TConexao = Class(TInterf... |
unit Tests.TCommand;
interface
uses
DUnitX.TestFramework,
System.Classes,
System.SysUtils,
System.Generics.Collections,
Pattern.Command;
{$M+}
type
[TestFixture]
TestCommnd_Basic = class(TObject)
strict private
FOwnerComponent: TComponent;
public
[Setup]
procedure Setup;
[TearDown... |
{***************************************************************************
*
* 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 ORM.Model.SALARY_HISTORY;
interface
uses
Spring.Persistence.Mapping.Attributes;
{$M+}
type
[Entity]
[Table('SALARY_HISTORY')]
TSalaryHistory = class
private
FId: Integer;
FChangeDate: TDateTime;
FUpdaterId: string;
FOldSalary: Double;
FPercentChange: Double;
FNewSalary: Double... |
{ Copyright (C) 1998-2018, written by Shkolnik Mike, Scalabium
E-Mail: mshkolnik@scalabium.com
mshkolnik@yahoo.com
WEB: http://www.scalabium.com
}
unit SMPanel;
interface
{$I SMVersion.inc}
uses
Classes, Windows, Messages, Controls, Graphics, ExtCtrls;
type
TSMGrabberPlace = (gpTo... |
program FRACSC3D;
{$M 50000, 0, 655360}
{$I Float.INC}
uses MathLib0,
Sculpt3D,
FracSurf { DoFractal, AlgorithmType };
CONST
Size = 4;
Size2 = 8; { 2 * Size }
ReliefFactor = 0.5; { between 0 and 1 }
TYPE
Surface = ARRAY[0..Size,0..Size] OF WORD;
SculptSurface = ARRAY[0..Size,0..Size] OF V... |
unit PascalCoin.FMX.Frame.Settings;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, FMX.Layouts, System.Actions, FMX.ActnList,
PascalCoin.FMX.Frame.Base, FMX... |
unit uPerfLog;
interface
uses Classes, SysUtils, Windows;
type
TPerfLog = class
private
FArq : Text;
FName : String;
FStart : Cardinal;
FActive : Boolean;
procedure SetActive(const Value: Boolean);
public
constructor Create;
destructor Destroy; override;
procedure Start(aNam... |
unit BufferInterpreter.NVMe;
interface
uses
SysUtils,
BufferInterpreter, Device.SMART.List, MeasureUnit.DataSize;
type
TSMARTValueID = (
None,
CriticalWarning,
TemperatureInKelvin,
AvailableSpare,
PercentageUsed,
DataUnitsReadInLBA,
DataUnitsWrittenInLBA,
HostReadCommands,
H... |
{$F-,A+,O+,G+,R-,S+,I+,Q-,V-,B-,X+,T-,P-,D-,L-,N-,E+}
unit Comm;
interface
procedure cCheckIt;
procedure cCheckUser;
procedure cClearInBuffer;
procedure cClearOutBuffer;
function cCommInfo : Byte;
function cFossilInstalled : Boolean;
procedure cHangUp;
procedure cInitFossil;
function cModemRinging : B... |
unit Broker_impl;
{This file was generated on 16 Jun 2000 16:15:16 GMT by version 03.03.03.C1.04}
{of the Inprise VisiBroker idl2pas CORBA IDL compiler. }
{Please do not edit the contents of this file. You should instead edit and }
{recompile the original IDL which was located in the file br... |
unit Dominio;
interface
uses Classes, Data.DB,
{ helsonsant }
Util, DataUtil;
type
TCampo = class
private
FNome: string;
FDescricao: string;
FFlagChave: Boolean;
FFlagAtualizar: Boolean;
FVisivel: Boolean;
FTamanho: Integer;
FFormato: string;
FObrigatorio: Boolean;
public
... |
unit h_Functions;
interface
uses SysUtils, Variants, winapi.windows, System.classes, vcl.forms, vcl.dialogs, vcl.Graphics, vcl.controls, vcl.stdctrls,
cxgraphics, cxGridCustomTableView, FireDac.comp.client, cxtextedit, RegExpr, WinSvc, TLHelp32,
System.Win.registry,
v_dir, v_Env,
dateutils, vcl.Printers,
c... |
{**********************************************************************
* 文件名称: MyPub.pas
* 版本信息:2014.07(lnk)
* 文件描述:
存放所有通用函数,加入函数请按例子说明好函数功能、参数、
返回值等信息,必要时给出调用实例
* 创 建 者:qianlnk
* 创建时间:2014.07.19
***********************************************************************}
unit MyPub;
i... |
unit revvoc;
interface
Procedure Playkey(k:char);
Procedure LoadVocFile(filename:string);
Procedure LoadVocPointer(filename:string);
procedure play_voc_pointer(buf : pointer; size:word);
{ resetdsp returns true if reset was successful }
{ base should be 1 for base address 210h, 2 for 220h etc... }
function reset_dsp... |
{********************************************}
{ TeeChart Pro PDF Canvas and Exporting }
{ Copyright (c) 2002-2004 by Marjan Slatinek }
{ and David Berneda }
{ All Rights Reserved }
{ }
{ Some features taken from ... |
unit uSHA;
interface
uses
Windows, Classes, uOpenSSLConst;
const
SHA_LBLOCK = 16;
SHA_CBLOCK = SHA_LBLOCK * 4;///* SHA treats input data as a
//* contiguous array of 32 bit
//* wide big-endian values. */
SHA_LAST_BLOCK = (SHA_CBLOCK-8);
SHA_DIGEST_LENGTH = 20;
SHA256_CBLOCK = (SH... |
{*******************************************************}
{ }
{ Delphi REST Client Framework }
{ }
{ Copyright(c) 2013-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit FUNC_Menu_ABMC;
interface
uses FUNC_REG_Pacientes, FUNC_REG_Estadisticas,
FUNC_Registros, ARCH_REG_Pacientes, ARCH_REG_Estadisticas;
procedure Menu_ABMC(VAR ARCH_Personas: ARCHIVO_Pacientes; VAR ARCH_Estadisticas: ARCHIVO_Estadisticas;
VAR R_Persona: REG_Persona; VAR R_Estadisticas: ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.