text stringlengths 14 6.51M |
|---|
unit SectorImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º SectorImpl
// Author£º lksoulman
// Date£º 2018-1-9
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
Windows,
Classes,
... |
{$S-,R-,V-,I-,B-,F+,O+,A-}
{Conditional defines that may affect this unit}
{$I OPDEFINE.INC}
{*********************************************************}
{* OPHELP.PAS 1.30 *}
{* Copyright (c) TurboPower Software 1987, 1992. *}
{* All rights reserved. ... |
unit cbClass;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, SyncObjs, ComObj, Contnrs;
const
WM_PLAY = WM_USER + 1;
WM_STOP = WM_USER + 2;
type
TObServer = class;
{ TSubject }
TSubject = class(TObject)
private
FList: TList;
public
constructor Create;
destructor Destro... |
unit mDeviceList.Windows;
interface
uses
mDevice.Windows,
mDeviceList.Windows.Common,
SetupApi,
System.SysUtils, System.Classes, WinApi.Windows, System.Generics.Collections;
type
TWinDeviceList = class(TInterfacedObject, IDeviceList)
private
FList: TList<TWinDvcItem>;
FhDevice: HDEVINFO;
F... |
unit UCadProduto;
interface
uses UPaiCadastro, uCadPessoa, FireDAC.Comp.Client, uDados;
type
TCadProduto = Class(TCadastro)
Nome: String;
CodBarras: String;
Pessoa: TCadPessoa;
constructor Create(fTabelaProduto, fTabelaPessoa: TFdMemtable); reintroduce;
/// <remarks>
/// ... |
unit KeySearchEngineCommandImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º KeySearchEngineCommand Implementation
// Author£º lksoulman
// Date£º 2017-11-14
// Comments£º
//
///////////////////////////////////////////////////////////////////////////... |
unit UnitHTMLCodeEditor;
interface
uses Classes,SysUtils,Controls,Dialogs,Graphics,Forms,UnitSyntaxMemo;
const
tokKeyWord = tokUser;
tokUnit = tokUser - 1;
tokInterface = tokUser - 2;
tokImplement = tokUser - 3;
tokClass = tokUser - 4;
tokBegin ... |
unit Viper.ServiceList;
interface
uses
Windows, WinSvc, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,
Actions, ActnList, VirtualTrees, SvcEntry, ImgList, Vcl.Menus, CommonResources;
{
Clients populate the list manually. Each node is associated with an object
managed elsewhe... |
program SortiereListe(input, output);
{
* LList = Linked List
*
* Slowly working on linked lists in Pascal
*
* Now we will be adding elements to the linked list using a pointer
}
type
tNatZahl = 0..maxint;
tRefListe = ^tListe;
tListe = record
info : tNatZahl;
next : tRefLi... |
unit GeradorFinanceiro;
interface
uses
Fatura,
NotaFiscal;
type
TGeradorFinanceiro = class
public
function GerarFatura(NotaFiscal :TNotaFiscal) :TFatura;
end;
implementation
uses
SysUtils,
DateUtils,
ExcecaoParametroInvalido,
FormaPagamentoParcelas,
Funcoes, Math;
{ TGeradorFinanceiro }
fu... |
{$MODE OBJFPC}
program REVAMP;
const
maxN = Round(1e4);
maxM = Round(1e5);
maxT = Round(1e6);
maxD = maxM * maxT + 1;
maxK = 20;
type
TEdge = record
x, y, w : Integer;
end;
TInfo = record
u, count : Integer;
end;
THeap = record
nItems : Integer;
pos : array[1..maxN... |
unit TaskQueue;
interface
uses
RyuLibBase, SimpleThread, DynamicQueue,
SysUtils, Classes, SyncObjs;
type
// TODO: TPacketProcessor, TaskQueue, TWorker, TScheduler 차이점 설명 또는 통합
{*
처리해야 할 작업을 큐에 넣고 차례로 실행한다.
작업의 실행은 내부의 스레드를 이용해서 비동기로 실행한다.
작업 요청이 다양한 스레드에서 진행되는데, 순차적인 동작이 필요 할 때 사용한다.
요청 된 작업... |
PROGRAM HelloMany;
VAR
count : integer;
PROCEDURE sayHello(howManyTimes : integer);
VAR
i : integer;
BEGIN
FOR i := 1 TO howManyTimes DO BEGIN
writeln(i:3, ': ', 'Hello, world.')
END
END;
BEGIN {HelloMany}
write('How many times? ');
read(count);
write... |
(* ***** 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... |
unit frmInsert;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, ToolWin, ExtCtrls;
type
TInsertForm = class(TForm)
lvAppx: TListView;
eFind: TEdit;
btnNext: TButton;
btnOK: TButton;
Label1: TLabel;
btn... |
unit OGameData;
interface
uses
html, parser, classes, sysutils;
type
TGameUniverse = class
public
name: string;
urlName: string; // needed if uniname and urlCheckName different
galaxyCount: integer;
solsysCount: integer;
gameSpeedFactor: Single;
tfFleetFactor: Single;
... |
{
*************************************
Created by Danilo Lucas
Github - https://github.com/dliocode
*************************************
}
unit Validator.IsLength;
interface
uses
DataValidator.ItemBase,
System.SysUtils;
type
TValidatorIsLength = class(TDataValidatorItemBase, IDataValidatorItem)
pr... |
unit JEN_GeometryBuffer;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
uses
JEN_OpenGLHeader,
JEN_Header;
type
TGeomBuffer = class(TInterfacedObject, IGeomBuffer)
constructor Create(GBufferType: TGBufferType; Count, Stride: LongInt; Data: Pointer);
// class function Load(BufferType: T... |
unit RepositorioCliente;
interface
uses
DB,
Auditoria,
Repositorio,
RepositorioPessoa;
type
TRepositorioCliente = class(TRepositorioPessoa)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; overri... |
unit DW.Controls.Helpers;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects, FMX.Memo.Types, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo,
FMX.StdCtrls, FMX.Layouts, System.Actions, FMX.ActnLis... |
unit Alawar;
interface
uses
Windows;
type
TAlawarVerStruct = record
Version : DWORD;
StolenBytesRVAOffset : WORD;
StolenBytesOffset : WORD;
StolenBytesCountOffset : WORD;
GameFileOffset : WORD;
TrialTimeOffset : WORD;
TrialKeyOffset : WORD;... |
unit DataBuilder.XML;
interface
uses
DataBuilder.Intf;
function CreateXMLBuilder: IDataBuilder;
implementation
uses
System.SysUtils, System.Classes, System.Generics.Collections,
DataBuilder.Indented;
type
TXMLBuilder = class(TInterfacedObject, IDataBuilder)
strict private
FBuilder: TIndentedBuilder;... |
{***********UNITE*************************************************
Auteur ...... : BM
Créé le ...... : 04/09/2002
Modifié le ... : 28/02/2003 : Compatibilité CWAS
Description .. : Classe pour la fusion de documents
Mots clefs ... :
*****************************************************************}
unit CLASSMenuEleme... |
unit uFunctions;
interface
uses Windows, Classes, StdCtrls, Messages;
// System Helper Functions
function IniFileReadInteger(const strFilename, strSection, strKey: string; iDefault: integer = 0): integer;
procedure IniFileWriteInteger(const strFilename, strSection, strKey: string; const iValue: integer);
f... |
unit frmDependsOnUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ARGUSFORMUNIT, StdCtrls, ComCtrls, AnePIE, ExtCtrls, Buttons;
type
TfrmDependsOn = class(TArgusForm)
Panel8: TPanel;
BitBtn1: TBitBtn;
Panel9: TPanel;
Panel1: TPanel;
tvLayerStruc... |
{==============================================================================}
{ PROJECT: lysee_strutils }
{ DESCRIPTION: string utility functions (FPC) }
{ COPYRIGHT: Copyright (c) 2003-2011, Li Yun Jie. All Rights Reserved. ... |
unit DW.iOSapi.CoreImage;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
{*******************************************************************************
作者: dmzn@163.com 2009-5-22
描述: 对Ini文件操作进行高级封装
备注:
&.数据做缓存处理.
&.可以简化读写操作.
*******************************************************************************}
unit UMgrIni;
interface
uses
Windows, Classes, Variants, ... |
unit ParamList;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Utils, Dialogs;
type
TParamList = class
private
Fparams : TStringList;
Tbuildin : boolean;
function getCount:integer;
public
constructor Create;
constructor Create(_ParamListAsString:string);
proc... |
{
*************************************
Created by Danilo Lucas
Github - https://github.com/dliocode
*************************************
}
unit DataValidator;
interface
uses
DataValidator.Base.Intf, DataValidator.JSON.Intf, DataValidator.Values.Intf, DataValidator.Result.Intf,
DataValidator.JSON, DataV... |
(* ***** 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... |
unit eeg_type;
interface
uses filter_rbj, sysutils;
const
kMaxChannels = 64;
type
SingleRA0 = array [0..0] of Single;
Singlep0 = ^SingleRA0;
TChannel = record
previ: integer;
SignalLead: boolean;
Info,UnitType: string;
DisplayMin,DisplayMax,DisplayScale,SampleRate : double;
... |
unit XmppId;
interface
uses
SysUtils;
type
IdType=(Numeric,Guid);
TXmppId=class
private
class
var _id:LongInt;
_prefix:string;
_type:IdType;
public
class property IdType:IdType read _type write _type;
class function GetNextId():string;
class procedure Reset();
class property P... |
unit opencl_better;
interface
uses
cl, cl_gl, betterobject, typex, systemx,sysutils, math, stringx, debug;
const
c_device_types:array[1..3] of cardinal=(CL_DEVICE_TYPE_CPU, CL_DEVICE_TYPE_GPU, CL_DEVICE_TYPE_ACCELERATOR);
type
// platform+device_type couples
t_platform_device=record
platform_id: cl_platform... |
unit mir3_launcher_language;
interface
uses
{ Delphi }
Windows,
SysUtils,
Classes;
const
GBufferSize = 10000;
C_LANGUAGE_GERMAN = 0;
C_LANGUAGE_ENGLISH = 1;
type
TGetLangFileVersion = function(): Integer; stdcall;
TGetLangFileAutor = function(Buffer: PChar) : Integ... |
unit JoinUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Clipbrd, ComCtrls,
// We need to use the appropriate units. In this example, we have an import
// PIE so we need to use ImportPIE.pas. All PIE's use AnePIE.
AnePIE, ImportPIE ;
type
TJoinContou... |
unit MFZoneUnit;
interface
uses Sysutils, ANE_LayerUnit;
type
TZoneParam = class(T_ANE_ParentIndexLayerParam)
class Function ANE_ParamName : string ; override;
constructor Create(AParameterList : T_ANE_ParameterList;
Index : Integer = -1); override;
function Value: string; override;
function ... |
unit frmMain;
interface
uses
Windows, Messages, SysUtils, Math, Classes, Graphics, Controls, Forms,
Dialogs, Menus, lse_efx, ExtCtrls, ComCtrls, ToolWin, ImgList,
StdCtrls, ActnList, ExtDlgs, Tabs, efxPreview;
const
AppTitle = 'Easy Form Editor';
type
TMainForm = class(TForm)
MainMenu1: ... |
unit DW.AppUpdate.Android;
interface
uses
Androidapi.JNIBridge, Androidapi.JNI.JavaTypes,
DW.Androidapi.JNI.PlayCore,
DW.AppUpdate;
type
TTaskSuccessProc = reference to procedure(const Obj: JObject);
TTaskSuccessListener = class(TJavaLocal, JOnSuccessListener)
private
FHandler: TTaskSu... |
{*******************************************************************************
作者: dmzn@163.com 2011-11-21
描述: 绘制表格
*******************************************************************************}
unit UGridExPainter;
interface
uses
Windows, Classes, Controls, Forms, Messages, SysUtils, Graphics, Gri... |
unit CPCUMULPERIODIQUE_TOF;
{-------------------------------------------------------------------------------------
Version | Date | Qui | Commentaires
--------------------------------------------------------------------------------------
6.50.001.005 22/06/05 JP Création de l'unité : Migration en eA... |
{PL0编译程序注释}
program PL0 ( input, output);//括号里为文件名,input和output表示两个文件
{带有代码生成的PL0编译程序}
label 99;//定义标号
const
norw = 11; {保留字的个数}
txmax = 100; {标识符表长度}
nmax = 14; {数字的最大位数}
al = 10; {标识符的长度}
amax = 2047; {最大地址}
levmax = 3; {程序体嵌套的最大深度} //过程里可以定义过程,最多嵌套3层过程
cxmax = 200; {代码数组的大小}
type
symbol = (nul, id... |
unit Unit5;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids,
Vcl.DBGrids, Vcl.ExtCtrls, Vcl.DBCtrls, Vcl.StdCtrls, Vcl.Buttons,
uOrmBrINISQLite;
type
TForm5 = class(TForm)
... |
unit Trekktabeller.Skatteberegning;
interface
uses Trekktabeller.Konstanter, Trekktabeller.Utils, Trekktabeller.Tabellnummer,
Trekktabeller.Tabelltype, Trekktabeller.Periode;
type TSkatteberegning = class(TObject)
private
FKonstanter:TKonstanter;
function beregnTrygdeavgiftLavSats(personInntektAar:double):inte... |
{***********UNITE*************************************************
Auteur ...... : TGA
Créé le ...... : 13/03/2006
Modifié le ... : / /
Description .. : Source TOM de la TABLE : CHOIXCOD (CHOIXCOD)
: Appel 1 fiche de saisie sur la table Choixcod
: code IGI pour les regroupements
Mots c... |
unit cbQueue;
interface
uses
Windows, SysUtils, Classes, Contnrs, SyncObjs, CbUtils;
{ TCommandStringList }
type
TCommandStringList = class(TStringList)
private
FLock: TCriticalSection;
procedure LockList;
procedure UnlockList;
protected
function GetCount: Integer; override;
function ... |
unit ExtentionsList;
interface
uses
System.Classes,
Vodopad.ObjectList,
AbstractExtention,
ExtentionsListInterface;
type
TExtentions = class(TComponent, IExtentions)
private
fExtList : TExObjectList;
procedure OnBeforeDelete(Sender: TObject; AIndex : integer);
procedure OnAfterDelete(... |
unit DW.ServiceCommander.Android;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
unit mRadioGroupHelper;
interface
uses
System.Classes, System.SysUtils, Vcl.ExtCtrls
;
type
TRadioGroupHelper = class helper for TRadioGroup
private
function GetItemSelected: Boolean;
function GetItemText: String;
public
procedure ItemIndexBy(const AValue: String; const AFireOnClick: Boolean = ... |
unit UTomPort;
interface
Uses
UTOM,Classes,sysutils,Forms,
{$IFDEF EAGLCLIENT}
HDB,
{$ELSE}
DBctrls,
{$ENDIF}
Graphics,Hent1,HCtrls ;
Type
TOM_PORT = Class (TOM)
Procedure OnLoadRecord ; override ;
Procedure OnUpdateRecord ; override ;
Procedure OnNewRecord ; override ;
Procedure ... |
{*********************************************}
{ TeeBI Software Library }
{ TBIGrid plugin for Firemonkey Grid }
{ Copyright (c) 2015-2016 by Steema Software }
{ All Rights Reserved }
{*********************************************}
unit BI.FMX.Grid.Grid;
interfac... |
{******************************************************************************}
{ }
{ SE Network Development Framework }
{ ... |
(**
This module contains a class which presents a progress form for displaying the progress of
load packages from the IDE for browsing.
@Author David Hoyle
@Version 1.0
@Date 17 Dec 2016
@stopdocumentation
**)
Unit DGHPackageViewerProgressForm;
Interface
Uses
Windows,
Messages,
SysUtils,
V... |
unit nnTrainingThread;
{$mode objfpc}{$H+}
interface
uses
SysUtils, Classes, nnLog, nnBarList, nnMLPList, nnTypes,
mlpbase, mlptrain, Ap;
type
TTrainingThread = class(TThread)
private
fLog : PLog;
fBarList : PBarList;
fMLPList : PMLPList;
fVolumes : Boolean;
procedure AddToLog(const aMsg: String; aMs... |
unit Company;
interface
type
TCompanyInfo = record
private
class var LastID: integer;
public
ID: integer;
Name: string;
Address: string;
constructor Create(const AName, AAddress: string);
end;
ICompany = interface ['{36C754FD-2C32-49CA-920E-2FED39121E79}']
function GetInfo: TCompany... |
unit Unit5;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, IniFiles;
type
TForm5 = class(TForm)
RichEdit1: TRichEdit;
procedure FormShow(Sender: TObject);
p... |
unit thrd2;
interface
uses
Classes, Windows, Messages, SysUtils,DB, IB;
type
TSimpleThread = class (TThread)
private
{ Private declarations }
protected
procedure Execute; override;
end;
implementation
{ Important: Methods and properties of objects in visual components can only be
used in a meth... |
unit UtilLien;
interface
uses
HCtrls,
UtilPgi,
HEnt1,
{$IFDEF EAGLSERVER}
eSession,
{$ENDIF !EAGLSERVER}
uTob,
uTom,
SysUtils;
type
T_Lien = class
private
TobLien: Tob;
TomLien: Tom;
TobChamp: Tob;
TobTable1, TobTable2: Tob;
NomTable: string;
nbChamps: integer;
NumeroTab... |
unit Stats.Types;
interface
uses
System.SysUtils, System.Classes;
type
TLinuxDistro = (ldCentOS6, ldCentOS7,ldUbuntu);
TStatsEncoding = (seUTF8,seANSI);
TStasEncodingHelper = record helper for TStatsEncoding
public
function ToEncoding : TEncoding;
end;
implementation
{ TStasE... |
unit MMSystem;
{$include opts.inc}
{-$define DebugSoapifyTime}
interface
uses
USystem, UClasses, UMath, Windowing, Streams, Script, OpenGL_Impl, GUI, Audio, Utils, Input, Scene, Human, GLClasses, PNG
{$ifdef Debug}, ULog, Errors {$endif};
type
pMultimediaSystem = ^MultimediaSystem;
MultimediaSystem ... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 22/07/2016
Modifié le ... : / /
Description .. : Source TOF de la FICHE : BTPARECHREXEL ()
Mots clefs ... : TOF;BTPARECHREXEL
*****************************************************************}
Unit BTPARECHREXEL_TOF... |
unit cbUtils;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Forms;
{ --------------------------------------------------------------------- }
{ 顯示詢問 MessageBox }
{ --------------------------------------------------------------------- }
function Con... |
unit General;
interface
uses
SysUtils, Classes, Dialogs, Graphics, Windows, Forms, ExtCtrls, Controls,
fQIPPlugin, u_common, IniFiles,
About,
DownloadFile, uOptions;
type
{
if ExecRegExpr ('\bg', 'abcdefg') then
begin
showmessage('valid');
end;
memReplaceRes.Text := ReplaceRegExpr(edSearchFor.Te... |
{
*************************************
Created by Danilo Lucas
Github - https://github.com/dliocode
*************************************
}
unit Validator.IsAlpha;
interface
uses
DataValidator.ItemBase,
System.SysUtils, System.RegularExpressions;
type
TTypeValidation = (tcIsEmpty, tcNotValidate, tcO... |
unit U_Version;
interface
const
C_Major=4;
C_Minor=0;
C_Release=0;
C_Revision=31671;
C_Date=42789.4189453704;
C_DB_Revision=5932;
implementation
end. |
{***********UNITE*************************************************
Auteur ...... : Dumont Muriel
Créé le ...... : 09/02/2006
Modifié le ... : / /
Description .. : Source TOF de la FICHE : CPMULTIBUD_QR1 ()
Mots clefs ... : TOF;CPMULTIBUD_QR1
--------------------------------------------------------------------------... |
unit uTroco;
interface
type
TCedula = (ceNota100, ceNota50, ceNota20, ceNota10, ceNota5, ceNota2,
ceMoeda100, ceMoeda50, ceMoeda25, ceMoeda10, ceMoeda5, ceMoeda1);
TCedulaHelper = record Helper for TCedula
function toString : string;
end;
TTroco = class
private
FTipo: TCedula;
FQuantidade... |
unit OEMMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, FunctionUnit, StdCtrls, ExtCtrls, jpeg;
type
TfrmOEMEdit = class(TForm)
Label1: TLabel;
edtRegisterUrl: TEdit;
Label2: TLabel;
edtBrandName: TEdit;
Label3: TLabel;
... |
unit SLPorosity;
interface
uses ANE_LayerUnit;
type
TPorosityParam = class(T_ANE_LayerParam)
class Function ANE_ParamName : string ; override;
function Units : string; override;
function Value : string; override;
end;
TPorosityLayer = class(T_ANE_InfoLayer)
class Function ANE_LayerName : strin... |
unit DW.Location.Android;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
unit Capitalisation;
{ AFS 30 December 2002
visitor to do capitalisation according to settings
}
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is Capitalisation, released May 2003.
The Initial Developer of the Original Co... |
{$MODE OBJFPC}
{$INLINE ON}
program MAXARR3;
const
maxC = Round(1e18);
maxH = 1500;
type
THeap = record
nItems : Integer;
item : array[1..maxH] of int64;
end;
var
heap : THeap;
id, value : array[1..maxH] of int64;
count, nTest : Integer;
n, max : Int64;
function GetValue(x ... |
program SchoolCredits2; // школьные оценки
var
credits: array of integer = (2,2,3,4,5,5); // оценки учеников
k: array [1..5] of integer = (0,0,0,0,0); // подсчет оценок
// считает сумму элементов массива
// передаем массив как ссылку на константу
function sum(const arr: array of integer): integer;
var
s: inte... |
unit UCliente;
interface
uses
UPessoa;
type
TCliente = class(TPessoa)
private
FLimiteCredito: Double;
public
constructor Create(const Nome: String;
const InscricaoFederal: String;
const LimiteCredito: Double); overload;
constructor Create(const Nome:... |
unit Util.MyIdStackWindows;
interface
uses
IdStackWindows;
type
TMyIdStackWindows = class(TIdStackWindows)
public
function GetHostByName(AName: String): String;
end;
implementation
uses
IdStack;
{ TMyIdStackWindows }
function TMyIdStackWindows.GetHostByName(AName: String): String;
begin
try
R... |
unit uSxAction;
interface
uses
uTypes,
uMath,
uDBitmap,
Classes,
Contnrs,
uIntegerList;
type
TSxAction = class
private
FClickCount: SG;
FShortCuts: TIntegerList;
FName: string;
FOnExecute: TNotifyEvent;
FItems: TObjectList;
function GetCount: Integer;
... |
{ Unité : Source TOM de la TRECRITURE : écritures validées BO
--------------------------------------------------------------------------------------
Version | Date | Qui | Commentaires
--------------------------------------------------------------------------------------
0.91 21/07/03 JP Création... |
unit mpalett;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Grids;
type
TFrmMainPal = class(TForm)
MainPalGrid: TDrawGrid;
procedure MainPalGridDrawCell(Sender: TObject; Col, Row: Longint;
Rect: TRect; State: TGridDrawState);
procedure F... |
unit synth_functions;
interface
uses
typex;
function SineSynth(t: int64; freq: nativefloat; amp: nativefloat;
samplerate: integer = 44100): nativefloat;inline;
function CosSynth(t: int64; freq: nativefloat; amp: nativefloat;
samplerate: integer = 44100): nativefloat;
function SawSynth(t: int64; freq: nativeflo... |
//~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
//
// Unidad: ListaEnFichero.pas
//
// Propósito:
// La clase TListaEnFichero sirve como clase base de todas aquellas que
// representan una lista de palabras almacenadas en un fichero de texto.
// Cambiando esta clase podríamos c... |
unit uImage;
interface
uses SysUtils, Classes, Dialogs, Graphics, Windows, Forms, ExtCtrls,
General, pngimage;
function LoadImageFromResource(ImageIndex: Integer; hLibrary : THandle): TImage;
function LoadImageAsIconFromResource(ImageIndex: Integer; hLibrary : THandle): TIcon;
// function LoadImageAndAsIco... |
unit uSxServer;
interface
uses
uTypes,
Contnrs,
ExtCtrls;
type
TRunState = (rsStoped, rsStarted);
TStopMode = (smNever {Green}, smAsPossible{Yellow}, smScheduled{Red});
TSxServer = class
private
FEnableNewWork: Boolean;
FBeforeRestartEventTime: SG;
FStopMode: TStopMode;
... |
{
TShareInfo Component Version 3.0 - Suite GLibWMI
Copyright (©) 2020, by Germán Estévez (Neftalí)
La clase Win32_Share representa un recurso compartido en un sistema Win32. Puede tratarse de una unidad
de disco, impresora, comunicación entre procesos u otro dispositivo que se pueda compartir.
Ejemplo:
C:\PUBLIC.
... |
unit RegisteredMemory;
{$DEFINE NULL_REGISTRY}
interface
uses
betterobjectregistry, typex, systemx, betterobject, sharedobject, generics.collections, debug, sysutils, numbers;
type
TRegisteredMemory = class
private
procedure RegisterWith;
procedure UnregisterWith;
public
p: pointer;
size: TSiz... |
unit ALPC_Server;
interface
uses
ALPC_LPC_Define;
{$I TParameter.Inc}
{$I ViewHeader.Inc}
{$I StubViewerHeader.Inc}
type
TInitialize = function(const serverName: WideString): LongBool of object;
TEvent = procedure of object;
TCallBack = function(const clientViewer, ServerArgSenderer: Pointer): LongB... |
unit SLSpecConcOrTemp;
interface
uses ANE_LayerUnit, AnePIE, SLCustomLayers;
type
TSpecConcTempParam = class(T_ANE_LayerParam)
class Function ANE_ParamName : string ; override;
function Units : string; override;
function Value : string; override;
function WriteName : string; override;
class fun... |
unit StatusHqDataMgr;
////////////////////////////////////////////////////////////////////////////////
//
// Descriptionú║ StatusHqDataMgr Interface
// Authorú║ lksoulman
// Dateú║ 2017-11-22
// Commentsú║
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
... |
unit fAlertsProcessed;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, fBase508Form, VA508AccessibilityManager
, ORFn
, ORCtrls, Vcl.StdCtrls, Vcl.Buttons, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.ImgList,
System.Im... |
unit RDTPArchiveServerImplib;
{GEN}
{TYPE IMPLIB}
{RQFILE RDTPArchiveRQs.txt}
{END}
interface
uses
lockqueue, classes, systemx, rdtpprocessor, orderlyinit, rdtpserverlist, rdtpArchiveServer,typex, archub, archiver, virtualdiskconstants, namevaluepair, sysutils;
type
TRDTPArchiveServer = class(TRDTPArchiveServerBa... |
unit UtilityFunctionsMT3D;
interface
uses
Sysutils, AnePIE;
function GetGridAngle(anehandle: ANE_PTR; GridLayerName : string;
var gridLayerHandle : ANE_PTR) : ANE_DOUBLE ;
implementation
uses
ANECB;
function GetGridAngle(anehandle: ANE_PTR; GridLayerName : string;
var gridLayerHandle : ANE_PTR) : ANE_DOUBLE... |
unit MF_GWM_StateVariables;
interface
uses
ANE_LayerUnit, MFGenParam, SysUtils;
type
TGwmNameParam = class(TCustomUnitParameter)
class Function ANE_ParamName : string ; override;
function Units : string; override;
function Value : string; override;
constructor Create(AParameterList : T_ANE_Parame... |
unit URTReport;
interface
uses Classes;
type
TRTReport=class
protected
Buf: String;
ColQty: Integer;
function GetText: String;
public
constructor Create;
procedure AddText(Format: String; s: String);
procedure CreateTable(PositionsArray: array of integer);
procedure AddRow(Colums: arra... |
{*******************************************************************************
作者: dmzn@163.com 2019-05-05
描述: 自动增加版本号
备注:
*.版本号更新方式:
1.MajorVersion: 主版本号保持不变.
2.MinorVersion: 次版本号保持不变.
3.Release: 发布版本号为: 月份2位,日期2位,年份1位
4.Build: 构建版本号为: 构建版本递增.
**************************************... |
{*********************************************************}
{* VPWEEKVIEW.PAS 1.03 *}
{*********************************************************}
{* ***** BEGIN LICENSE BLOCK ***** *}
{* Version: MPL 1.1 ... |
unit UDMCadFatura;
interface
uses
SysUtils, Classes, FMTBcd, DB, DBClient, Provider, SqlExpr, dbXPress, LogTypes, LogProvider, StdConvs,
Dialogs, Variants, Forms;
type
TFatura_Hist = Record
Tipo : String;
Historico : String;
Vlr_Pagamento : Real;
Vlr_Juros : Real;
Vlr_Desconto : Real;
V... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... :
Modifié le ... : 03/03/2004
Description .. :
Suite ........ : GCO - 03/03/2004
Suite ........ : -> Uniformisation de l'appel à FicheJournal en 2/3 et CWAS
Mots clefs ... :
**********************************************... |
unit DumbProxy;
interface
uses
sysutils, typex, systemx, stringx, classes;
type
TDumbProxyHead = packed record
private
function GetTargetIPString: string;
procedure SetTargetIPString(const Value: string);
public
Head: array[0..2] of ansichar;
Version: byte;
TargetIPVersion: byte;
Targ... |
unit unArtFrame;
{********************************************************}
{ }
{ ArtFrame Unit }
{ Es la clase base en la cual se heredarán todos los }
{ frames de los sistemas ART. Contiene un juego }
{ re... |
unit ParallelForMain;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.Threading, System.Diagnostics,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TbtnParallelFor = class(TForm)
btnFor: TButton;
ListBox1: TListBox;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.