text stringlengths 14 6.51M |
|---|
program nYume;
{$mode delphi}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp
, nYumeSrv in '../nYumeSrv.pp'
, zserver in '../zserver.pp'
, cfgfile in '../cfgfile.pp'
, shell in '../shell.pp'
;
type
{ nYume }
nYume = class(TCu... |
unit ringbuffer;
{$I 'DelphiDefs.inc'}
interface
{$DEFINE OPTIMIZED}
uses
sysutils, betterobject, sharedobject, classes, typex, systemx, ios.stringx.iosansi, perfmessage,
{$IFDEF WINDOWS}
{$IFDEF FPC}
windows,
{$ELSE}
winapi.windows,
{$ENDIF}
{$ENDIF}
numbers;
const
DEFAULT_RING_BUFFER_SIZ... |
unit EntityXmlReader;
interface
uses
Classes, Entity, OmniXML, EntityReader, EntityList, SkyIdList, SkyLists;
type
TEntityXmlReaderContext = class;
TEntityXmlReader = class(TEntityReader)
private
class function InternalReadEntity(AContext: TEntityXmlReaderContext;
AnExpectedClassType:... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms3D, FMX.Types3D, FMX.Forms, FMX.Graphics,
FMX.Dialogs, FMX.Controls3D, FMX.Objects3D,
System.Math.Vectors;
type
TForm1 = class(TForm3D)
Dummy1: TDummy... |
unit Level4ParseLanguage;
interface
uses
BaseParser;
type
TLevel4ParseLanguage = class(TBaseParser)
public
const
TLevel4ParseSpecialChars = ['{', '}', '[', ']'];
private
type
TLanguageElementType = (
// elements picked up at the 1'st pass
letNone,
... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 13/02/2015
Modifié le ... : / /
Description .. : Source TOF de la FICHE : BVOIRPHOTOSINTER ()
Mots clefs ... : TOF;BVOIRPHOTOSINTER
*****************************************************************}
Unit BVOIRPHOTOSI... |
unit SDQC.Forecourt.Factory;
interface
uses
System.Classes,
System.Generics.Collections,
SDQC.Forecourt.ForecourtSimulator;
type
TForecourtFactory = class
private
FClassIndex: Byte;
FItemsOwner: TComponent;
protected const
FORECOURT_CLASSES = 2;
protected
property ClassIndex: Byte read ... |
unit gpio_interface;
{Interface for GPIO on Raspberry Pi}
{Inspired by the documentation on http://wiki.freepascal.org/Lazarus_on_Raspberry_Pi}
{written for the Raspberry Pi 3}
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Unix, BaseUnix;
type
{ GPIO_OutWatchThrd }
GPIO_Out... |
unit OverbyteIcsPemtool2;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, OverbyteIcsIniFiles;
type
TfrmPemTool2 = class(TForm)
Memo1: TMemo;
procedure FormShow(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
p... |
unit uStrings;
interface
resourcestring
rsDisable = 'Yes, please, for the love of Elvis, disable the CapsLock key!';
rsMakeControl = 'If you insist, I''ll make it work like a control key. Fine.';
rsMakeShift = 'Okay, I''ll go ahead and make it a Shift key, though I''d much rather disable it.';
rsBackToNormal... |
unit FrmChangePass;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, JSocket, Common;
type
TFormChangePass = class(TForm)
ClientSocket: TClientSocket;
GroupBox1: TGroupBox;
Label1: TLabel;
Label2: TLabel;
Label3: TLab... |
unit UProduto;
interface
uses
classes, dialogs, SqlExpr, sysutils, UPessoa;
Type
TProduto = class
private
idPrd: integer;
descricao: String;
unidade: string;
valor: double;
qtdEstoque: double;
protected
SQL: TSQLQuery;
public
property pIdPrd: integer read idPrd write idPrd;
... |
(* This is file is part of PasLibVlcMediaListPlayerDemo program
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
... |
unit ExecutorScheduledImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º Executor Scheduled Interface implementation
// Author£º lksoulman
// Date£º 2017-5-1
// Comments£º {Doug Lea thread}
//
///////////////////////////////////////////////////////... |
{-------------------------------------------------------------------------
PDAPROFH
The Help Unit for execution profiling
Written for Borland Turbo Pascal V 6.0
Copyright 1991, by John H. Eckert
All... |
unit DW.Androidapi.JNI.PlayServices;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Libra... |
unit Test_Hashes;
interface
uses
TestFramework,
Classes,
IdSSLOpenSSLHeaders,
IdHashSHA1;
type
Check_Hashes = class(TTestCase)
private
so : TIdHashSHA1;
public
procedure setUp; override;
procedure tearDown; override;
published
procedure VerifySHA1String;
procedure VerifySHA1BinSt... |
unit SMS_ViewProcessProgress;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ExtCtrls, StdCtrls, Math;
type
TViewProcessProgress = class(TForm)
PanelLastMessage: TPanel;
PanelStatus: TPanel;
ProgressBarProcess: TProgressBar;
procedur... |
unit UnitDataModuleSignal;
interface
uses
SysUtils, Classes, Sockets, IdBaseComponent, IdAntiFreezeBase, Forms, Windows, Registry,
IdAntiFreeze, ExtCtrls, IdComponent, IdUDPBase, IdUDPServer, IdSocketHandle,UnitDefinations,
IdUDPClient, IdTCPConnection, IdTCPClient, IdTime;
type
TDataModuleSignal =... |
unit aksiBahan;
interface
uses tipe, inventori, uang, energi;
procedure beliBahan();
//Membeli suatu bahan di supermarket
//I.S : arrInvMentah, arrBahanMentah, bahan yang diinginkan terdefinisi. Uang, energi, dan inventori yang tersedia cukup
//F.S : Bahan yang dibeli masuk ke dalam arrInvM... |
unit Posix.ffmpeg.libavutil.intreadwrite;
(*
* 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... |
unit cbUser;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, cbMain, Encryption_TLB,
cxControls, cxContainer, cxEdit, cxTextEdit, cxCheckListBox, cxCheckBox,
cxSpinEdit, cxMaskEdit, cxDropDownEdit, cxCalendar, cxStyles,
cxCustomData, cxG... |
unit ShellEraseMain;
interface
uses
ComServ, SysUtils, ShellAPI, Windows, Registry, ActiveX, ComObj, ShlObj,
Graphics, classes, inifiles;
const
GUID_TDFKontextMenuShellExt: TGUID = '{6B422248-BB90-4682-A128-F088E99AB520}';
type
TDFKontextMenuShellExt = class(TComObject, IShellExtInit, IContextMe... |
unit Buscador;
interface
uses classes, IndiceInvertido, PalabrasVacias, DiccionarioSinonimos;
type
TBuscador = class(TObject)
private
FVacias: TPalabrasVacias;
FDiccionario: TDiccionarioSinonimos;
FIndice: TIndiceInvertido;
function GetNombreBiblioteca: string;
function GetFechaIndexacion:... |
unit BIFF_ExcelFuncII5;
{-
********************************************************************************
******* XLSReadWriteII V6.00 *******
******* *******
******* Copyright(C) 1999,2017 Lars Arvidss... |
unit ThreeDimMatrix;
interface
uses
System.Classes, System.Contnrs,
ThreeDimTypes, MatrixTypes, MultiDimMatrix;
type
TDepthCell = class;
T3DimCell = class(TObject, IInterface, I3DimCell)
private
fDimCell : TDepthCell;
fIndex : Word;
{ IInterface }
function QueryInterface(const IID: TGUID... |
unit TickCount;
{$MESSAGE '*******************COMPILING TickCount.pas'}
{$I DelphiDefs.inc}
interface
uses
{$IFDEF IOS}
iosapi.foundation,
{$ELSE}
{$IFDEF ANDROID}
{$ELSE}
{$IFDEF MSWINDOWS}
windows,
{$ENDIF}
{$ENDIF}
{$ENDIF}
classes,
{$IFNDEF FPC}
system.Diagnostics,
{$ELSE}
{$ENDIF}
sysutils;
t... |
unit MessagingMain;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
ThreadedFooBar.WindowsMsg,
ThreadedFooBar.Polling;
const
WM_FOOBAR_MSG = WM_USER;
type
TfrmMessaging = c... |
unit QueueStream;
interface
{x$DEFINE LLQC} //LOW-Latency Queue Completion
{x$DEFINE HOLD}
{x$DEFINE USE_UBTREE}
{$IFDEF MSWINDOWS}
{$DEFINE UB_STATS}
{$DEFINE PACKED_MASK}
{x$DEFINE CHECK_FLUSH_OFTEN}//<<-----probably slows down fast disks...okay for USBs
{$DEFINE READ_BEFORE_WRITE}
{$DEFINE READ_PRIORITY_CODE_2020... |
unit SLDispersivity;
interface
uses ANE_LayerUnit, SLCustomLayers;
type
TMaxLongDispParam = class(T_ANE_LayerParam)
class Function ANE_ParamName : string ; override;
function Units : string; override;
function Value : string; override;
end;
TMidLongDispParam = class(TMaxLongDispParam)
class Fu... |
unit unPrincipal;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids, Buttons;
type
TfmPrincipal = class(TForm)
dbgProdutos: TDBGrid;
btnIncluir: TSpeedButton;
btnAlterar: TSpeedButton;
btnExcluir: TSpeedButton;
bt... |
unit ColorButton;
{
You cannot change the color of a standard TButton,
since the windows button control always paints itself with the
button color defined in the control panel.
But you can derive derive a new component from TButton and handle
the and drawing behaviour there.
}
interface
uses
Windows, Mess... |
unit UFrmExample;
interface
uses Vcl.Forms, System.Classes, Vcl.Controls, HTLabel;
type
TForm1 = class(TForm)
Lb: THTLabel;
procedure LbLinkClick(Sender: TObject; LinkID: Integer; Target: string;
var Handled: Boolean);
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
uses... |
unit uDelphi;
interface
uses
uTypes, Registry;
type
TDelphiVersion = (
dvUnknown,
dvPascal1, dvPascal2, dvPascal3, dvPascal4, dvPascal5, {dvPascal55,} dvPascal6, dvPascal7,
dvDelphi1, dvDelphi2, dvDelphi3, dvDelphi4, dvDelphi5, dvDelphi6, dvDelphi7,
dvDelphi8, dvDelphi2005, dvDelphi20... |
////////////////////////////////////////////////////////////////////////////
// PaxCompiler
// Site: http://www.paxcompiler.com
// Author: Alexander Baranovsky (paxscript@gmail.com)
// ========================================================================
// Copyright (c) Alexander Baranovsky, 2006-2014. All rig... |
unit uBattle;
interface
uses uColor;
procedure DrawFlyItem(Damage: Integer = 0);
procedure Battle(const X, Y: Integer);
procedure DistBattle(const X, Y: Integer);
procedure EnemyDead(X, Y: Integer);
function EnemyName(const X, Y: Integer): string;
procedure EnemyRound(const X, Y: Integer);
procedure Batt... |
unit WorkerControl.Worker;
interface
type
TWorker = class
private
FProcessId: Cardinal;
FLastKeepAlive: TDateTime;
procedure SetLastKeepAlive(const Value: TDateTime);
procedure SetProcessId(const Value: Cardinal);
public
property ProcessId : Cardinal read FProcessId write SetProc... |
unit JLWDBM;
// update by codefan at 2006-09-06 09:24
interface
uses
SysUtils, Classes, DB, ADODB,Variants, DBTables;
const
IS_BDE = false;
SINGLETON = false;
type
SDBSetting = record
DBSys :String;
DBConnStr :String;
DBUser :String;
DBPwd :String;
end;
TCommDB = class(TDataMod... |
{ *****************************************************************************
NOTE: When using this component at the same time with the PlanSwift_TLB.pas in
your Delphi projects, make sure you always put the PlanSwift_TLB unit name
AFTER this component unit name in the USES clause of t... |
unit USendEmail;
interface
uses
IdSMTP, IdSSLOpenSSL, IdMessage, IdText, IdAttachmentFile, IdExplicitTLSClientServerBase, System.SysUtils, FMX.Dialogs;
procedure SendEmail(const ANEXO: String);
implementation
const
Porta = 465;
Host = '';
Email = '';
Destino = '';
Senha = '';
procedure SendEmail(cons... |
{***********UNITE*************************************************
Auteur ...... : Patrice ARANEGA
Créé le ...... : 12/10/2001
Modifié le ... : 12/10/2001
Description .. : Source TOF de la TABLE : EAFFAIRE_MUL ()
Suite ........ : Intégration d'E- Affaires
Mots clefs ... : TOF;EAFFAIRE_MUL
****************************... |
unit RepositorioRepresentante;
interface
uses
DB,
Auditoria,
Repositorio,
RepositorioPessoa;
type
TRepositorioRepresentante = class(TRepositorioPessoa)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; ... |
{
Модуль управления аудиториями
v0.0.5 (11/08/06)
}
unit AuditoryForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ToolWin, Grids, DBGrids, StdCtrls, DB, Modules,
ADODB;
type
TfrmAuditory = class(TModuleForm)
DBGrid: TDBGrid;
ToolB... |
unit BIFF_SheetData5;
{-
********************************************************************************
******* XLSReadWriteII V6.00 *******
******* *******
******* Copyright(C) 1999,2017 Lars Arvidsson... |
unit nnJson;
{$mode objfpc}{$H+}
interface
uses
SysUtils, StrUtils, nnTypes, mlpbase, mlptrain, Ap;
function Integer1DArray2JSON(const aArray: TInteger1DArray): AnsiString;
function JSON2Integer1DArray(aJSON: AnsiString): TInteger1DArray;
function Integer2DArray2JSON(const aArray: TInteger2DArray): AnsiStri... |
unit uTime;
interface
uses
SysUtils;
function IntToTimeStr(I: Integer; Format: String): String;
implementation
function IntToTimeStr(I: Integer; Format: String): String;
var
MyTime: TDateTime;
H, M, S: Integer;
begin
H := I div 3600;
M := I div 60 - H;
S := I - (H * 3600 + M * 60);
MyTime := Encod... |
unit MainFormUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, PasLibVlcPlayerUnit;
type
TMainForm = class(TForm)
mrlEdit: TEdit;
player: TPasLibVlcPlayer;
playButton: TButton;
procedure FormCreate(Sender: TObject);
... |
unit unFraEstudio;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
unFraCodigoDescripcion, Db, PatternEdit, StdCtrls, Mask,
ToolEdit, ArtComboBox, SDEngine;
type
TTipoResultado = (trNone, trNumerico, trBoleano);
TfraEstudio = class(TfraCodigoDescripcion)
procedu... |
unit PositionList;
interface
uses
WinApi.Windows,
System.SysUtils,
System.Generics.Collections,
System.Classes,
ExtentionsList,
PositionListInterface,
Position,
Vodopad.EventList,
EventBusInterface,
ExtentionsListInterface;
type
EPositionList = class(Exception);
TPositionsList = class (TComp... |
{***********UNITE*************************************************
Auteur ...... : JT
Créé le ...... : 28/07/2003
Modifié le ... : / /
Description .. : Saisie correspondance entre GC et Compta pour MODEPAIE
Suite ........ : et MODEREGL
Mots clefs ... : TOF;CPTACORRESP
***********************************************... |
unit UDMRecebeXMLNovo_ListarXML;
interface
uses
SysUtils, Classes, DB, DBClient, ACBrBase, ACBrDFe, ACBrNFe, FMTBcd,
SqlExpr;
type
TDMRecebeXMLNovo_ListarXML = class(TDataModule)
NFe: TACBrNFe;
cdsNFe: TClientDataSet;
IntegerField1: TIntegerField;
dscdsNFe: TDataSource;
cdsNFeSerie: TIntege... |
unit uEstoquePTK;
interface
uses
DB, DBClient, SysUtils,
CmObjNegocio, CmConexaoBcoDados;
type
TEstoquePTK = class(TObjetoNegocio)
private
FCodTipoProd: Integer;
FCodProduto : String;
FCodMarca : String;
FQtdeEstDisponivel1: Double;
FQtdeEstDisponivel3: Double;
public
constructor ... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TForm1 = class(TForm)
EdtValor1: TLabeledEdit;
EdtValor2: TLabeledEdit;
EdtResultado: TLabeledEdit;
... |
unit UResponsiveGUI;
interface
uses
Winapi.Windows;
const
PM_QS_ALL = 0;
PM_QS_INPUT = QS_INPUT shl 16;
PM_QS_PAINT = QS_PAINT shl 16;
PM_QS_POSTMESSAGE = (QS_POSTMESSAGE or QS_HOTKEY or QS_TIMER) shl 16;
PM_QS_SENDMESSAGE = QS_SENDMESSAGE shl 16;
PM_QS_NOT_INPUT = PM_QS_PAINT or PM_QS_POSTMESSAGE or P... |
unit EntradaSaida;
interface
uses SysUtils, Contnrs;
type
TEntradaSaida = class
private
Fcodigo :Integer;
Fcodigo_produto :Integer;
Fcodigo_cor :Integer;
Fcodigo_tamanho :Integer;
Fcodigo_intervalo :Integer;
Fdata_lancamento :TDateTime;
Fdata_producao :TDateTime;
Fquantidade :Rea... |
unit DPObjectPool.DUnit;
{
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
System.SysUtils, System.Generics.Collec... |
Unit uPreview;
{$mode objfpc}{$H+}
Interface
Uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls;
Type
TfrmPreview = Class(TForm)
Image: TImage;
Procedure FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
Procedure ImageClick(Sender: TObject);
Procedure ... |
unit CacheReloadThread;
interface
uses
Classes, TimedLock;
type
TCacheReloadThread = class(TThread)
private
class var
FInstance: TCacheReloadThread;
private
FTimedLock: TTimedLock;
protected
procedure Execute; override;
public
constructor Create; reintroduce;
d... |
unit fmeregistrylistsettings;
{$mode delphi}
interface
uses
ValEdit,
StdCtrls,
fmecustomsettings,
regsourcen;
type
{ TRegControlListSettings }
TRegControlListSettings = class(TCustomRegControlSettings<TRegistrySettingsList>)
lblRegistrySettings: TLabel;
ValueListEditor1: TValueListEditor;
pr... |
unit unFraEmpresaAfi;
interface
uses
{$IFDEF VER180} rxToolEdit, {$ELSE} ToolEdit, {$ENDIF} Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, unFraEmpresa, Db, SDEngine, ArtComboBox, IntEdit, StdCtrls, Mask, PatternEdit, unART, ExtCtrls;
type
TfraEmpresaAfi = class(TfraEmpresa)
lbF... |
unit HST3DLayerStructureUnit;
interface
uses ANE_LayerUnit;
type
THST3DLayerStructure = class(TLayerStructure)
constructor Create;
end;
implementation
uses HST3DDomainDensityLayers, HST3DGridLayer, HST3DWellLayers,
HST3DRiverLayers, HST3DInitialWatTabLayers, HST3DGeologyLayerList,
HST3DUnit, HST3... |
unit UnitDialogUserInfo;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls;
type
TDialogUserInfo = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
Bevel1: TBevel;
Label1: TLabel;
Label2: TLabel;
EditUserName: TEdit;
Edit... |
unit SMS_FileXTerms;
interface
uses
SysUtils, Classes, SMS_Strings, SMS_DS, SMS_DateTimes, SMS_Types;
type
TSFileXTerms = class
private
FOnLog: TNotifyStringEvent;
FLongValue: Integer;
function GetCount: Integer;
function GetItems(i: Integer): TTermRec;
protected
FFileName: String;
F... |
unit ARelatoriosCaixa;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
UCrpe32, StdCtrls, Buttons, Componentes1, ComCtrls, ExtCtrls,
PainelGradiente, Localizacao, Mask, DBCtrls, Tabela, DBTables,
Db, Grids, DBGrids, numericos;
type
TFRelatori... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, StdCtrls;
type
TForm1 = class(TForm)
Label1: TLabel;
StringGrid1: TStringGrid;
btnLoad: TButton;
btnSave: TButton;
Button3: TButton;
Button4: TButton;
Edit1: TEdit;
... |
unit idlGenPascal;
{ Unit which generates a pascal source file from a TIDLList struct.
Copyright (C) 2012 Joost van der Sluis/CNOC joost@cnoc.nl
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 ... |
unit RepositorioProdutosKit;
interface
uses DB, Auditoria, Repositorio;
type
TRepositorioProdutosKit = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIdent... |
{
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 ShellUtils;
interface
function RestartAsAdmin: integer;
procedure ShellOpen(const sCommand: string; const sParams: string = '');
procedure ExplorerAtFile(const AFilename: string);
procedure RegeditAtKey(const key: string);
implementation
uses SysUtils, Windows, ShellAPI, Registry, FilenameUtils;
... |
unit wsstream;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ssockets, wsmessages, Sockets, base64, sha1;
type
{ EWebsocketError }
EWebsocketError = class(Exception)
private
FCode: integer;
public
constructor Create(const msg: string; ACode: integer);
property Code: integer read FCod... |
unit DW.Consts.Android;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library }... |
PROGRAM xref (input, output);
{Generate a cross-reference listing from a text file.}
CONST
maxwordlen = 20;
wordtablesize = 500;
numbertablesize = 1000;
maxlinenumber = 999;
TYPE
charindex = 1..maxwordlen;
wordtableindex = 1..wordtablesize;
numbe... |
{ Copyright (c) 2007-2012 Jeroen Wiert Pluimers for BeSharp.net and better office benelux.
Full BSD License is available at http://besharp.codeplex.com/license and http://bo.codeplex.com/license }
unit ReportingLoggerUnit;
interface
uses
LoggerUnit,
ReporterUnit;
type
TReportingLogger = class(TLev... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 20/12/2000
Modifié le ... : / /
Description .. : Source TOF de la TABLE : AFTACHE_MUL ()
Mots clefs ... : TOF;AFTACHE_MUL
*****************************************************************}
Unit UTOFAFTACHE_MUL ;
In... |
unit EspecificacaoItensConferenciaPedido;
interface
uses
Especificacao,
ConferenciaPedido;
type
TEspecificacaoItensConferenciaPedido = class(TEspecificacao)
private
FConferenciaPedido :TConferenciaPedido;
public
constructor Create(Pedido :TConferenciaPedido);
public
function SatisfeitoPor(... |
unit unManConsultas;
{
CREATE TABLE ico_consulta
(
co_id NUMBER(8) NOT NULL,
co_descripcion VARCHAR2(100) NOT NULL,
co_herramientas CHAR(5) NOT NULL,
co_sql_select BLOB,
co_sql_insert BLOB,
co_sql_update BLOB,
co_sql_dele... |
(*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... |
unit LabelColorsUnit;
// модуль цветных TLabel версия 0.1
// Alexpac26@yandex.ru Тольятти 2011
interface
uses SysUtils, StrUtils, StdCtrls, Classes;
type
TLabel = class(StdCtrls.TLabel)
public
procedure Colors(s,e,colorr:integer);
procedure ColorsPos(txt:string; colorr: integer);
procedure ResetCol... |
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.Ani,
FMX.StdCtrls, FMX.ListBox, FMX.Layouts, FMX.Effects;
type
TForm1 = class(TForm)
ListBox1: TListBox;
ListBoxIte... |
UNIT uTFTPServer;
INTERFACE
VAR
TFTPServerBusy : Boolean = False;
PROCEDURE StartTFTPServer;
IMPLEMENTATION
USES
ACLUtils, WinSock, WinInet, Windows;
VAR
F : FILE;
FileName : STRING;
Sock : TSocket;
WSAData : TWSAData;
... |
{***********UNITE*************************************************
Auteur ...... : Franck VAUTRAIN
Créé le ...... : 19/07/2011
Modifié le ... : / /
Description .. : Classes de gestion des rapports d'erreur ou d'intégration.
Suite ........ : création de mémo
Suite ........ : affichage du mémo
Suite ........ : ed... |
{*******************************************************}
{ Borland Delphi Run-time Library }
{ Win32 ADLINK GPIB Interface Unit }
{ }
{ Copyright (c) 2005, ADLINK TECHNOLOGY INC. }
{*****************************... |
procedure ReadMassiveRiverLakesFile;
var
PCol, PRow : Integer; // Indices into the pixels for a hex bitmap.
I: Integer;
function StripNextPixelRow : String;
var
PosC: Integer; // Position of next semicolon in string.
L : Integer; // Length remaining after first value trimmed.
begin
PosC := Pos(';... |
unit LoggingClass;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
const
DEBUG = 'LOG_DEBUG';
TRACE = 'LOG_TRACE';
INTER = 'INTER';
NO_LOG = '';
procedure LogText(ALevel, AFrom, AMsg:string);
procedure LogDebug(AMsg: string; AFrom:string = 'Generic log: ');
procedure LogTrace(AMsg:... |
unit uMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Edit,
FMX.Controls.Presentation, FMX.StdCtrls;
const
MAX_COLUMN = 20;
type
TfrmMain = class(TForm)
Label1: TLabel;
edtText: ... |
unit uDbEspecie;
interface
uses uDbObject, Data.Db, System.SysUtils, System.C... |
// ------------------------------------------------------------------------- //
// Programa: testeComplexo //
// Versão: 1.0v //
// Autor: Raphael Augusto //
... |
unit frmMeshLayerChoiceUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ArgusFormUnit, siComboBox, Buttons, OptionsUnit, AnePIE;
type
TfrmMeshLayerChoice = class(TArgusForm)
siComboFrom: TsiComboBox;
siComboTo: TsiComboBox;
Label1: TLabel;
... |
unit HST3D_PIE_Unit;
interface
uses
Windows, SysUtils, Classes, Controls, Forms, Dialogs,
StdCtrls,
ProjectPIE, ExportTemplatePIE, AnePIE, ANE_LayerUnit, HST3DUnit, CoordUnit,
RunUnit, FunctionPIE, ImportPIE, HST3DLayerStructureUnit,
ProgressUnit;
Type
TPIE_Data = class(TComponent)
HST3DForm: T... |
unit SMS_UNIDAC;
interface
uses
SysUtils, Classes, Dialogs
{$IFDEF UNIDAC}
,
DBAccess,
Uni,
UniProvider,
MySQLUniProvider,
MemDS
{$ENDIF}
,Windows;
{$IFDEF UNIDAC}
procedure DropView(aUniQuery: TUniQuery; stView : String);
type
TUniDBConnector = class
private
FUniConnection : TUniConnec... |
unit DebugForm;
interface
uses
Windows, SysUtils, Classes, Controls, Forms,
Dialogs, StdCtrls, JvBaseDlg, JvBrowseFolder;
type
TfrmDebug = class(TForm)
btnClose: TButton;
btnRunScript: TButton;
memoInputScript: TMemo;
memoResult: TMemo;
lblScript: TLabel;
lblResult: TLabe... |
unit Shapes.Implementor;
interface
uses
System.Types;
type
TPainter = class
public
procedure DrawRectangle(bounds: TRect); virtual; abstract;
procedure DrawTriangle(bounds: TRect); virtual; abstract;
end;
implementation
end.
|
unit untEngeEditor;
interface
uses
Windows, Controls, Classes, untFormEditor;
type
TEventoKeyDown = procedure(Sender: TObject; var Key: Word; Shift: TShiftState) of object;
TEngeEditor = class(TComponent)
private
FOnKeyDown: TEventoKeyDown;
FEditor: TfrmEditor;
public
constructor Create(AOwner... |
unit Test.Strings;
interface
uses
Deltics.Smoketest,
Deltics.Strings;
type
TTestStrings = class(TTestCase, INameCase)
private
function NameForCase: UnicodeString;
published
procedure SizeOfChar;
end;
TANSIStringAB = record
A: ANSIString;
... |
(*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... |
unit UserSectorSetCommandImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º UserSectorSetCommand Implementation
// Author£º lksoulman
// Date£º 2018-1-15
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////... |
unit VideoSettingsUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, VFW,IniFiles, siComp, siLngLnk;
type
TOnDriverChange = procedure of object;
TVideoSettings = class(TForm)
SrcDlgBtn: TSpeedButton;
FormatDlgBtn: TSpeedButton;
Disp... |
unit XLSGraphics5;
interface
uses Classes, SysUtils;
type TMSOShapeType = (mstUnknown,mstCtrlLabel,mstCtrlButton,mstCtrlListBox,
mstCtrlCheckBox,mstCtrlComboBox,mstCtrlRadioButton,
mstCtrlGroupBox,mstCtrlScrollBar,mstTextBox,mstTextShape,
mstNote,mstC... |
unit RepositorioEntradaSaidaMateria;
interface
uses DB, Auditoria, Repositorio;
type
TRepositorioEntradaSaidaMateria = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
f... |
(* ***** 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.