text stringlengths 14 6.51M |
|---|
unit APermiteAlterar;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Formularios, UnCaixa, StdCtrls, LabelCorMove, ExtCtrls, Componentes1,
PainelGradiente, Localizacao, Buttons, Mask, Db, DBTables, numericos,
DBKeyViolation;
type
TFPermiteAlterar = class... |
{ Disassembled text editor }
// [ LC ]
unit DeDeEditText;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls{, Qt};
type
TEditTextForm = class(TForm)
Edit1: TEdit;
Label1: TLabel;
procedure FormHide(Sender: TObject);
proced... |
unit GFErrorCode;
interface
const
GFECODE_UNKNOWN = -1; // UnKnown
GFECODE_SUCCESS = 0; // Success
GFECODE_WAIT_TIMEOUT = 1; // Wait Timeout
GFECODE_WAIT_FAILED = 2; // Wait Failed
GFECODE_FUNCID_NULL = 100; // Indic... |
unit ODataRestServer;
interface
{$I Synopse.inc}
{$define METADATAV2}
{.$define MORMOTPATCHED}
uses
SysUtils,
Classes,
SynCommons,
mORMot,
mORMotHttpServer,
SynCrtSock;
const
WEBROOT='webcontent';
STATICROOT='static';
NAMESPACE='mORMot';
type
TODataHttpServer = class(TSQLHttpServer)
private... |
{ ************************************
* Fibonnaci Zahlen
*
* Training Rekurson in Pascal
*
***********************************}
program t1(input, output);
var
checker: integer;
function FibRecurs (inZahl : integer): integer;
{Straight forward: no optimizations resulting in a large: very large stack tr... |
unit BIFF_WriteII5;
{-
********************************************************************************
******* XLSReadWriteII V6.00 *******
******* *******
******* Copyright(C) 1999,2017 Lars Arvidsson, ... |
unit MsgExImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º MsgEx Implementation
// Author£º lksoulman
// Date£º 2017-12-08
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
Windows,
... |
unit PermissoesAcesso;
interface
uses Usuario;
type
TPermissoesAcesso = class
public
class function VerificaPermissao(nPermissao: Integer): Boolean; overload;
class function VerificaPermissao(nPermissao: Integer; lPedeSupervisor: Boolean): Boolean; overload;
class function VerificaPermissao(nPermissa... |
//****************************************************************************
// Unit Name: Vcl.Imaging.jpeg
//****************************************************************************
// This file is auto generated with paxCompiler engine.
// Import mode: global import.
// -------------... |
unit ACMDialog;
interface
uses
msacm,mmsystem,Windows, SysUtils, Classes, Controls, Dialogs;
type
TACMDialog = class(TComponent)
private
{ Private declarations }
protected
{ Protected declarations }
public
function OpenDialog:pointer;
{ Public declarations }
published
... |
unit Viper.TriggerList;
{
Trigger list for a service or multiple services.
Usage: Either
1. Reload() to load all triggers for all services.
2. Reimplement Reload() to Add() the desired triggers manually.
}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,
... |
Unit dmGEE_DumpGeomanticRelations;
Var geomanticRelations : TStringList;
Var filename : string;
Var allowAndConditions: boolean;
Function Initialize: integer;
Var csvHeader: string;
Begin
filename := ProgramPath + 'Output\GeomanticRelationsDump.csv';
geomanticRelations := TStringList.Create;
csvHeader := 'E... |
unit DW.TextToSpeech.Mac;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
unit UMoney;
interface
type
Money = class
procedure Add(amount: integer);
end;
implementation
{ Money }
procedure Money.Add(amount: integer);
begin
// ...
end;
end.
|
unit PBoxAccountLogin;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º PBox Account Login
// Author£º lksoulman
// Date£º 2017-8-19
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
Windo... |
unit HFBDisplay;
interface
{ HFBDisplay is used to define a form for displaying the locations of
horizontal-flow barriers. Note: PaintBox1 is likely to be changed to
a different component in a future version of the PIE.}
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ArgusFormUn... |
unit DW.Tokenizers;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library }
{ ... |
unit frameMnw2PumpUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, RbwDataGrid4, Spin, StdCtrls, ArgusDataEntry;
type
TPumpColumns = (pcN, pcLift, pcQ);
TframeMnw2Pump = class(TFrame)
Label1: TLabel;
edPumpName: TEdit;
Label5: TLabe... |
unit fdMasks;
interface
uses Classes, chPos;
function matchesMasks(const name, MaskStr: string;
const delimiter: Char = ';'): boolean; overload;
function matchesMasks(const name, MaskStr: string;
const delimiters: TChposCharSet): boolean; overload;
function matchesMasks(const name: string;
const MaskStr: tStri... |
////////////////////////////////////////////////////////////////////////////////
// //
// Copyright (c) 2008-2020 Alliance for Sustainable Energy. //
// All rights reserved. ... |
program multiplication;
var
n1, n2, result: Real;
begin
writeln('Informe dois números para realizar a multiplicação.');
write('Digite o primeiro número:');
readln(n1);
write('Digite o segundo número:');
readln(n2);
result := n1 * n2;
writeln('Números digitados:', n1:1:2, ' e ', n2:1:2);
writeln('R... |
unit FunctionPIE;
//==============================================================================
//
// File: FunctionPIE.pas
//
//
// Argus Numerical Environments - Plug In Extension, Release 1.0
//
// Copyright © 1996 Argus Holdings Ltd. All rights reserved.
//
// THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Arg... |
unit lptest;
{$i lape.inc}
interface
uses
Classes, SysUtils,
lptypes;
type
TLapeTester = class(TLapeBaseClass)
private
FFolder: string;
FDebug: Boolean;
public
constructor Create(AFolder: string = '..'; ADebug: Boolean = False); reintroduce;
class procedure TestFile(FileName: string; out ... |
unit WindowsFolders;
interface
type
TWindowsFolders = class
private
const
CONST_CSIDL_COMMON_PROGRAMS = $0017; // All Users\Start Menu\Programs
CONST_CSIDL_PROGRAM_FILES = $0026;
CONST_CSIDL_DESKTOPDIRECTORY = $0010;
class function GetSpecialFolder(AFolderId: Integer): string;... |
unit LogoStrs;
interface
const
{ string contants in strings.rc }
sUntitled = 1;
sOverwrite = 2;
sSaveOnCLose = 3;
sFolderName = 4;
sDemoWarn = 5;
sFailSave = 6;
sFailLoad = 7;
sConfDelete = 8;
sPswNotMatch ... |
{*********************************************}
{ TeeBI Software Library }
{ TDataSet data import }
{ Copyright (c) 2015-2016 by Steema Software }
{ All Rights Reserved }
{*********************************************}
unit BI.Data.Dataset;
interface... |
unit UTerminal;
interface
type
Terminal = class
public
procedure PrintLine(message1: string); virtual;
end;
implementation
{ Terminal }
procedure Terminal.PrintLine(message1: string);
begin
system.WriteLn(message1);
end;
end.
|
unit m_cliente_conveniado;
interface
uses FireDAC.Comp.Client, System.SysUtils, h_db, h_Functions, Model, h_Checks, System.Variants, m_cliente, math;
type
TClienteConveniado = class(TModel)
private
m_id: integer;
m_periodo_inicio: tdate;
m_periodo_fim: tdate;
m_nome: string;
m_cpf: string;
... |
unit mCodeSite;
interface
uses
CodeSiteLogging, Spring.Utils,
System.Classes, System.SysUtils, System.UITypes, System.SyncObjs,
System.Generics.Collections
;
type
ICodeSiteLog = interface
['{13253586-A52D-4846-816C-DEA6B6AFF535}']
function GetLogger: TCodeSiteLogger;
procedure SetLogger(AValue... |
unit MainUnit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
Spin, ExtCtrls, Menus, DCPU16, LazHelp, SynEdit,
SynHighlighterAny, GraphType, LCLIntf, LCLType, ExtDlgs, types;
const
VideoStart = $8000;
KeyboardAddress = $9000;
K... |
unit Xmpp.stream.Features;
interface
uses
Element,XmppUri,Xmpp.Iq.BindIq,xmpp.stream.feature.compression.Compression,xmpp.stream.feature.Register,xmpp.tls.StartTls
,xmpp.sasl.Mechanisms;
type
TFeatures=class(TElement)
const
TagName='features';
TagNamespace=XMLNS_STREAM;
private
function FGetStart... |
//
// Created by the DataSnap proxy generator.
// 2019-02-01 ¿ÀÀü 1:05:28
//
unit UAdminClass;
interface
uses System.JSON, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBXDBReaders, Data.DBXCDSReaders, Data.DBXJSONRefle... |
{==============================================================================
_ ve'va'CHe
__ _(_)_ ____ _ ___ ___ ™
\ \ / / \ \ / / _` |/ __/ _ \
\ V /| |\ V / (_| | (_| __/
\_/ |_| \_/ \__,_|\___\___|
game toolkit
Copyright © 2020 tinyBigGAMES™ LLC
All rights re... |
unit KnasseUnit;
interface
Uses Windows, Bot, TLHelp32;
const
faReadOnly = $00000001;
faHidden = $00000002;
faSysFile = $00000004;
faVolumeID = $00000008;
faDirectory = $00000010;
faArchive = $00000020;
faAnyFile = $0000003F;
Type
TFileName = type st... |
{
Copyright (C) 2013-2023 Tim Sinaeve tim.sinaeve@gmail.com
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.org/licenses/LICENSE-2.0
Unless required by applicable... |
unit MainForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ARGUSFORMUNIT, StdCtrls, ArgusDataEntry, ExtCtrls, Grids, ComCtrls,
Buttons, ANE_LayerUnit;
type
TfrmMain = class(TArgusForm)
Panel1: TPanel;
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
PageControl... |
unit GLFramebuffer;
(**********************************************************************
File name: glframebuffer.pas
This file is part of: tt3d
LICENSE
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. ... |
unit SuperTabDataMgrImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º SuperTabDataMgr Implementation
// Author£º lksoulman
// Date£º 2017-11-22
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interfa... |
(*********************************************************************
* LomCN Mir3 Map core File 2013 *
* *
* Web : http://www.lomcn.co.uk *
* Version : 0.0.0.1 ... |
{***********UNITE*************************************************
Auteur ...... : FLO
Créé le ...... : 22/07/2007
Modifié le ... : / /
Description .. : Classe gérant les anomalies résultant d'un traitement de masse
Suite ........ : afin de les afficher dans une list-box.
Suite ........ : Deux niveaux d'anomalie so... |
unit Posix.ffmpeg.libavcodec.avdct;
(*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later... |
unit SentenceSplitterTest;
interface
uses
TestRunner;
type
TSentenceSplitterTest = class(TUnitTest)
public
procedure RegisterTestSteps; override;
end;
implementation
uses
TypesConsts, SysUtils, Interval, RepRecord, RepDecoder, SentenceSplitter;
type
TTestHideDotsForExpressions =... |
unit Horse.NewController.Binding;
interface
uses ToolsAPI, Horse.NewController, System.SysUtils, System.Classes, Vcl.Dialogs, Vcl.Menus;
type
THorseNewControllerBinding = class(TNotifierObject, IOTAKeyboardBinding)
private
procedure Execute(const Context: IOTAKeyContext; KeyCode: TShortcut; var BindingResult... |
{*******************************************************************************
作者: dmzn@163.com 2010-10-25
描述: 数据库操作相关函数
*******************************************************************************}
unit UMgrDB;
interface
uses
Windows, Classes, DB, SysUtils, ULibFun;
type
TMakeInsertProgress... |
unit LogManager;
interface
uses
SysUtils, Classes;
type
TLogManager = class
private
FOnAddLog: TNotifyEvent;
FLogs : TStringList;
//
FSenderLength: Integer;
FTitleLength: Integer;
FAutoFileSave: Boolean;
FSavePath: String;
function GetLastLog: String;
public
constructor ... |
{==============================================================================}
{ UNIT: lse_components }
{ DESCRIPTION: lysee components for lazarus and delphi }
{ CREATED: 2010/09/20 ... |
(**
This module contains a class which repesents a form for browsing the packages loaded into the
RAD Studio IDE in a tree format.
@Author David Hoyle
@Version 1.0
@Date 17 Dec 2016
@stopdocumentation
**)
Unit DGHPackageViewerForm;
Interface
Uses
ToolsAPI,
Windows,
Messages,
SysUtils,
Va... |
{===============================================================================
RzLookup Unit
Raize Components - Component Source Unit
Copyright © 1995-2015 by Raize Software, Inc. All Rights Reserved.
Components
------------------------------------------------------------------------------
TRzLookupD... |
program isTodayAHoliday;
{
Author Marcus Fernström
License MIT
Version 0.2
Notes isTodayAHoliday is day 1 of my 100 Days 100 Programs challenge.
Thanks goes out to Cyrax on the Lazarus forums for helping me figure out my UTF8 issue.
This program uses the https://d... |
(* ***** 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 at
* http://www.mozilla.org/MPL/
*
* Software distr... |
{ Unified diff reader/writer
Copyright (C) 2009 Benito van der Zander, benito@benibela.de, http://www.benibela.de
This source 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... |
unit SkyPerlRegEx;
interface
uses
PerlRegEx;
type
TSkyPerlRegEx = class helper for TPerlRegEx
public
class function ExecPerlRegExpr(const ARegExpr, AValue: string): Boolean;
end;
implementation
{ TSkyPerlRegEx }
class function TSkyPerlRegEx.ExecPerlRegExpr(const ARegExpr, AValue: stri... |
unit Xmpp.sasl.Mechanisms;
interface
uses
Element,XmppUri,Generics.Collections,XMPPConst,xmpp.sasl.Mechanism,System.Classes;
type
TMechanisms=class(TElement)
const
TagName='mechanisms';
public
constructor Create;override;
function GetMechanisms:TList;
function SupportsMechanism(mechtype:TMechan... |
unit SMS_FileDirDialog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, FileCtrl, ExtCtrls, MMSystem, SMS_Files;
type
TFileDirDialog = class(TForm)
OpenDialog1: TOpenDialog;
PanelDirectory: TPanel;
Label1: TLabel;
ButtonSele... |
(*!------------------------------------------------------------
* [[APP_NAME]] ([[APP_URL]])
*
* @link [[APP_REPOSITORY_URL]]
* @copyright Copyright (c) [[COPYRIGHT_YEAR]] [[COPYRIGHT_HOLDER]]
* @license [[LICENSE_URL]] ([[LICENSE]])
*------------------------------------------------------------- *)
unit Ho... |
unit MajPontTax;
//Le ponts suivant est traités dans ce source :
//Pont ancienne table des taux -> nouvelle table des taux
interface
uses
Classes,
Dialogs,
cbpType;
Type
IMajPontTax = Interface
['{79B7AF2D-2257-4588-A55D-0FD9722F583B}']
function TransferTaxOldToNew : boolean;
end;
function Cree... |
unit Deltics.Strings.Encoding.UTF8;
interface
uses
Deltics.Strings.Encoding;
type
TUTF8Encoding = class(TMultiByteEncoding)
protected
constructor Create; override;
function get_BOM: TBOM; override;
end;
implementation
{ TUTF8Encoding }
constructor TU... |
unit SMS_DrawingUtils;
interface
uses
SysUtils, Types, Graphics, Classes, StdCtrls, ComCtrls, Grids, Dialogs, Windows;
procedure DrawArrow(aCanvas : TCanvas; bUp : Boolean; iX, iY : Integer);
procedure DrawAlignedTextInRect(aCanvas: TCanvas; aRect: TRect;
stText: String; aAlignment: TAlignment = taL... |
unit gdiplus;
interface
uses
GDIPOBJ, typex,systemx, betterobject, forms, graphics, easyimage, colorconversion;
type
TGPGraphicEvent = procedure(g: TGPGraphics; sender: TObject) of object;
TCanvasPlus = class(TBetterObject)
private
FGraphics: TGPGRaphics;
FBitmap: TGPBitmap;
FHandle: THandle;
... |
//
// simple client tcp socket
//
// credits: synapse
//
// contact: devi[dot]mandiri[at]gmail[dot]com
//
unit tcpsynapse;
{$IFDEF FPC}
{$MODE DELPHI}{$H+}
{$ENDIF}
interface
uses
Classes, SysUtils, blcksock, ssl_openssl, SyncObjs,System.StrUtils;
type
TTCPClient=class;
TProxyType = (pHTTP, pSocks5);
T... |
{$MODE OBJFPC}
{$INLINE ON}
program DTTUI2;
uses Math;
const maxN = 100;
type TJewel = record
w, v, a : integer;
end;
var f : array[1..maxN] of TJewel;
n, m : integer;
res, res_, t : integer;
procedure Enter;
var i : integer;
begin
readln(n, m);
for i := 1 to n do
wi... |
(*
PICKDRAG
--------
This program is an example of using the OPDRAG unit with a PickList. Points
worth noting:
1) If UseDrag is defined in OPDEFINE.INC, or if UseDragAnyway is defined
below, the OPDRAG unit will be used.
2) By changing comment braces, you can try several different options:
... |
unit Vodopad.Timer;
interface
uses
WinApi.Windows,
Winapi.Messages,
System.Classes;
type
TvdTimer = class(TComponent)
private
FInterval: Cardinal;
FWindowHandle: HWND;
FOnTimer: TNotifyEvent;
FEnabled: Boolean;
procedure UpdateTimer;
procedure SetEnabled(Value: Boolean);
... |
unit ZTView;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, DB,
Menus, DBTables, StdCtrls, Buttons, ExtCtrls, ActnList, ImgList,
IBCustomDataSet, IBQuery;
type
ToptTypeDB = (optTQuery, optTIBQuery);
TZViewForm = class(TForm)
TopPanel: TPanel;
BottomPanel: ... |
unit WellFunctionsUnit;
interface
uses AnePIE, SysUtils;
procedure GHST3D_WellCompletionMMFun (const refPtX : ANE_DOUBLE_PTR ;
const refPtY : ANE_DOUBLE_PTR ;
numParams : ANE_INT16 ;
const parameters : ANE_PTR_PTR ;
myHandle : ANE_PTR ;
reply : ANE_PTR ); cde... |
unit PtRecPrevFiltro;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus,
ImgList, StdCtrls, cxButtons, dxBevel, cxControls, cxContainer, cxEdit,
ComCtrls, dxCore, cxDateUtils, cxLabel, cxTextEdit, cxMaskE... |
unit PXL.Canvas.GLES;
{
This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL).
Copyright (c) 2000 - 2015 Yuriy Kotsarenko
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free Soft... |
unit GeckoInit;
interface
procedure GeckoComponentsStartup(XPComPath: string = '');
procedure GeckoComponentsShutdown;
implementation
uses
nsXPCOM, nsInit, nsTypes, nsErrorUtils, nsError,
nsXPCOMGlue, nsXRE {$IFDEF MSWINDOWS}, Windows {$ENDIF};
var
sInitCount: Integer = 0;
procedure GeckoComponentsStartup(X... |
{
* PROGRAM: UDR samples.
* MODULE: LoadBlobFromFile.pas
* DESCRIPTION: A sample work with blob in extenal function.
*
* The contents of this file are subject to the Initial
* Developer's Public License Version 1.0 (the "License");
* you may not use this file except in compliance with the
* License. You ma... |
unit unfraAbogadosLegales;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
unFraCodigoDescripcion, Db, SDEngine, PatternEdit, StdCtrls, Mask,
ToolEdit, ArtComboBox, RxToolEdit;
type
TParteActuante = (paPropia, paContraria, paMediacion, paSumariante);
TfraAbogadosLeg... |
unit DW.TextToSpeech.Android;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
unit BIFF_DrawingObj5;
{-
********************************************************************************
******* XLSReadWriteII V6.00 *******
******* *******
******* Copyright(C) 1999,2017 Lars Arvidsso... |
unit WorkerControl.WorkerGroup;
interface
uses
System.Classes, Generics.Collections, WorkerControl.Worker, Windows,
ZapMQ.Wrapper, ZapMQ.Message.JSON, JSON, SyncObjs,
WorkerControl.BoostWorkerGroup;
type
TWorkerGroup = class(TThread)
private
FEvent : TEvent;
FTotalWorkers: integer;
... |
unit PEInfo;
{$mode objfpc}{$H+}
interface
uses
windows, LCLIntf, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, CEFuncProc, NewKernelHandler, Buttons, StdCtrls, ExtCtrls,
ComCtrls, LResources, symbolhandler, PEInfoFunctions;
function peinfo_getcodesize(header: pointer; headersize: intege... |
unit SentenceList;
interface
uses
SentenceAlgorithm, SentenceListElement, SkyLists, GuessObject, TypesConsts,
SkyIdList, SentenceWithGuesses, Hypernym;
type
TSentenceList = class
private
FSentences: TSkyIdList;
FHypernym: THypernym;
FScoringMode: TSentenceAlgorithm.TScoringMode;
... |
unit TipoLancamento;
interface
type TTipoLancamento = (tPagar = 0, tReceber = 1, tTodas = 2);
type
TTipoLancamentoUtilitario = class
public
// Conversão
class function DeEnumeradoParaString(TipoLancamento :TTipoLancamento) :String;
class function DeStringParaEnumerado(TipoLancamento :String) ... |
// Copyright(C): Advanced Card Systems Ltd
//
// File: PollingSample.dpr
//
// Description: This sample program outlines the steps on how to
// execute card detection polling functions using ACR128
//
// Author: Jose Isagani R. Mission
//
// Date: ... |
unit helpers.JSON;
interface
uses
better_JSON;
type
TJSONHelper = class
public
class function TryGetValue<T>(jo: TJSONObject; sPath: string; out val: T): boolean;overload;
class function TryGetValue<T>(jo: TJSONValue; sPath: string; out val: T): boolean;overload;
end;
implementation
{ TJSONHelpe... |
unit BIFF_DrawingObjAnchor5;
{-
********************************************************************************
******* XLSReadWriteII V6.00 *******
******* *******
******* Copyright(C) 1999,2017 Lars Ar... |
(* Biscan Bot: Coded by p0ke *)
{ -- http://p0ke.no-ip.com -- }
unit pFunc;
interface
{$DEFINE URLDownloadToFile} // Used to download and save files.
{.$DEFINE StrLCopy} //
{$DEFINE DirectoryExists} // Checks if a directory exists
{$DEFINE GetFileSize} // Returns given file's size
{$DEFI... |
unit uDbServico;
interface
uses uDbObject, Data.Db, System.SysUtils, System.Classes;
... |
unit CgScene;
{ CgLib: Scene global stuff.
Version 1.00
(c) 1998-2000 Tom Nuydens. Use at your own risk. See cglib.txt for details. }
interface
uses
Windows, GL, GLu, CgTypes, CgObject, CgLight, CgMaterials, CgTexture, CgUtils,
CgGeometry, DArrays;
type
TCGFog = class(TObject)
private
FMode: GLenum;... |
unit RepositorioItemConta;
interface
uses DB, Auditoria, Repositorio;
type
TRepositorioItemConta = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIdentific... |
unit unitintegerlist;
{$mode objfpc}{$H+}
(*********************************************************)
(* Feel free to use it, but at your own risk! *)
(* À utiliser librement, mais à vos risques et périls ! *)
(* CapJack. *)
(**********************... |
unit uFuncoes;
interface
uses
ToolsAPI, uAguarde, Classes, Menus, uToolsAPIUtils, uConstantes, uExpansorArquivoMVP, SysUtils;
type
TFuncoes = class
private
FoToolsAPIUtils: TToolsAPIUTils;
FoExpansorArquivoMVP: TExpansorArquivoMVP;
FenTipoSistema: TTipoSistema;
function LerDoArquivoINI(const p... |
program datafiller;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp,
Process, sqldb, pqconnection,
fpjson, jsonparser, dateutils
{ you can add units after this };
type
{ TDataFiller }
TProcEvent = procedure of object;
TDataFiller ... |
unit NaturalPersonUnit;
interface
uses
ORMEntityUnit,
NaturalPersonBaseUnit,
NullablesUnit,
Classes, DB;
type
TNaturalPerson = class;
TNaturalPersonList = class;
TNaturalPerson = class(TNaturalPersonBase)
strict protected
function GetNaturalPersonList(): TNaturalPersonList; virt... |
Unit UBaseController;
Interface
uses DataComponente, Entity, Generics.Collections, System.Classes,
System.Generics.Collections, System.SysUtils, RTTI, UBaseDAO;
Type
TBaseController = Class
Private
BaseDAO: TBaseDAO;
Public
Constructor Create();
D... |
unit cbDataThread;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, IniFiles, cbClass;
type
TDataThread = class(TThread)
private
{ Private declarations }
FNotify: TNotify;
FComps: String;
FSRA: TFreq;
FCA: TFreq;
procedure Notify;
procedure SetCA(const Value: TFreq);
... |
unit UnitLogin.Model;
{*******************************************************************************
Generated By : JsonToDelphiClass - 0.65
Project link : https://github.com/PKGeorgiev/Delphi-JsonToDelphiClass
Generated On : 2019-10-11 11:02:42
Created By : Petar Georgiev - (http://pgeorgi... |
unit Packet_8; // Position and Orientation
interface
Uses
System.Classes,
System.SysUtils,
IdContext,
IdBuffer,
IdGlobal,
Server,
PacketManager,
ClientManager;
type
TPacket8 = class(TPacket)
procedure Read(Con: TIdContext); override;
procedure Write(Con: TIdContext; Data: TIdBytes); overrid... |
PROGRAM graphs (output);
CONST
xMax = 2; {max value of x}
xUnits = 16; {no. of plot units in [x, x+1]}
yUnits = 32; {no. of plot units in [y, y+1]}
fullWidth = 69; {full plot line width in plot units}
halfWidth = 34; {half of plot line width}
... |
unit mIdSimpleServer;
interface
uses
IdGlobal, IdTCPConnection, IdSimpleServer, IdExceptionCore, IdException,
IdStack, IdSync,
System.Classes, System.SysUtils,
System.Generics.Collections, System.SyncObjs;
type
TIdSimpleServerEx = class(TIdSimpleServer)
private
FOnListen: TProc;
FOn... |
{ Written By Sentinel
Virtual Timeout for HttpCli
Component which adds Ping Time (MS), and Speed (MS) to ICS's HTTPCli Component.
This component supports a "Virtual Timeout Method" meaning you need to hardcode
the timeout using 1 TTimer in the Engine.
This is the most efficient way add Timeouts t... |
unit DW.Notifications.iOS;
// ***************** NOTE **************************
// THIS UNIT IS CURRENTLY EXPERIMENTAL
// USE AT YOUR OWN RISK!
//
// It may or may not be removed from the Kastri library
{*******************************************************}
{ ... |
unit RepositorioConferenciaItem;
interface
uses DB,
Auditoria,
Repositorio;
type
TRepositorioConferenciaItem = class(TRepositorio)
protected ... |
{-------------------------------------------------------------------------
QBC
Unit to edit compile and link options in an edit buffer
and save to an external disk file
Written for Borland Turbo Pascal V 6.0
... |
unit GetANEFunctionsUnit;
interface
uses
ProjectPIE, AnePIE, Forms, sysutils, Controls, classes, FunctionPIE, Dialogs;
procedure GetANEFunctions( var numNames : ANE_INT32;
var descriptors : ANEPIEDescPtr ); cdecl;
const
kMaxPIEDesc = 37;
Project : ANE_Str = 'Excel Link';
Vendor : ANE_Str = 'Richa... |
unit AlignEdit;
interface
uses
Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, WinTypes;
type
TAlignEdit = class(TEdit)
private
FEnterColor,
FEnterFontColor,
FExitColor,
FExitFontColor: TColor;
FIsNumber: Boolean;
FOnHelp: TNotifyEvent;
FAlignment:... |
unit MacApiEx;
interface
uses
classes;
const
libc = '/usr/lib/libc.dylib';
type
PIOFile = Pointer;
function popen(const Command: PAnsiChar; Modes: PAnsiChar): PIOFile; cdecl; external libc name 'popen';
function pclose(Stream: PIOFile): Integer; cdecl; external libc name 'pclose';
function feof(Stream: PIOFile)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.