text stringlengths 14 6.51M |
|---|
(************************************* Ext2D Engine *************************************)
(* Модуль : E2DManager.pas *)
(* Автор : Есин Владимир *)
(* Создан : 22.10.06 ... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [NFE_DECLARACAO_IMPORTACAO]
The MIT L... |
unit Unit7;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, ACBrBase, ACBrDFe, ACBrNFe,
UCertificadoPFX;
type
TForm7 = class(TForm)
ACBrNFe1: TACBrNFe;
EditSenha: TEdit;
EditCertifi... |
unit Services.MessageDialog;
interface
uses
Services.ComplexTypes;
type
TServicesMessageDialog = class
private
public
class procedure Inform(aTitle, aMessage : String);
class procedure Alert(aTitle, aMessage : String);
class procedure Error(aTitle, aMessage : String);
... |
unit AutoUnit;
// -----------------------------
// WinWCP - Automation Interface
// -----------------------------
// 08.12.05
// 06.12.13 Set_HoldingVoltage/Get_HoldingVoltage, Set_SealTestPulseAmplitude/Get_SealTestPulseAmplitude
// now scaled by amplifier command voltage scale factor
// 03.04.19 PICO... comm... |
unit UUpdateClient;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ScktComp, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TForm1 = class(TForm)
ClientSocket1: TClientSocket;
Panel1: TPanel;
btnConnect: TButton;
btnDisconnect: TButton;
edtServerHost: T... |
(*
@abstract(Contient des classes conçues à des fins génériques. @br
Elles implémentent un mécanisme de persistance légèrement différent de celui de la LCL / VCL. @br
Elles permettent le contrôle de version au niveau de l'objet avec une persistance 100% ascendante et une compatibilité polymorphe.)
Cette uni... |
unit ufrmDebitosRestricoes;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxContainer, cxEdit,
dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinBl... |
unit FreeOTFEfrmMain;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.FreeOTFE.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Spi... |
unit PASEmbeddedSynEdit;
{
VirtualDBScroll Package
The MIT License (MIT)
Copyright (c) 2014 Jack D Linke
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includin... |
unit ShellStuff_win;
interface
uses Windows;
{ Copies a list of files (separated by #0) from ASource to ADest, both strings
must contain the same number of files
Will rename the copied file if ARenameCheck is true, replace otherwise
Will never ask for rename or rewrite action
Creates new directories if neces... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [CTE_FERROVIARIO_VAGAO]
The MIT Licen... |
unit KInfoSlottingsFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, Well, Slotting, ImgList, CommonObjectSelectFilter,
ToolWin, ActnList, KDescriptionKernFrame, ExtCtrls, CoreDescription,
Menus;
type
TfrmInfoSlottings = class(TFrame)
tv... |
unit Utils;
interface
uses
Windows, AvL, avlUtils, avlListViewEx, avlSettings, Aria2;
type
TStringArray = array of string;
TFieldType = (ftNone, ftString, ftName, ftStatus, ftSize, ftSpeed, ftPercent, ftETA, ftPath, ftLongStatus);
TListColumn = record
Caption: string;
Width: Integer;
... |
unit uMunicipioRegra;
interface
uses
uMunicipioDto, System.SysUtils, uMunicipioModel;
type
TMunicipioRegra = class
public
procedure Limpar(AMunicipio: TMunicipioDto);
function VerificarExcluir(var AModel: TMunicipioModel;
AId: Integer): Boolean;
function Deletar(var AModel: TMunicipioModel; A... |
// Copyright 2018 by John Kouraklis and Contributors. All Rights Reserved.
//
// 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
//
// Unle... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.StdCtrls, Vcl.ExtCtrls, Winapi.TlHelp32, Winapi.ShellAPI, System.Math;
type
TForm1 = class(TForm)
grdpnl1: TGridPanel;
... |
unit InfraCriteriaIntf;
interface
uses
InfraValueType, InfraValueTypeIntf;
type
ICriteria = interface;
ICriterion = interface;
ICriterionList = interface;
ICriterion = interface
['{7AA21539-12C6-4923-8369-40D9DE05F0CD}']
function ToSQL: String;
end;
ICompareCriterion = interf... |
unit uGitHub;
// *************************************************
// Generated By: JsonToDelphiClass - 0.64
// Generated On: 2015-01-03 15:32:27
// *************************************************
// Created By : Petar Georgiev - 2014
// Web Site : http://pgeorgiev.com
// *****************... |
unit UNoteHandler;
interface
uses UxlClasses, UxlWinclasses, UxlExtClasses, UxlDialog, UCommonClasses, UxlList, UxlRichEdit;
type
TNoteHandler = class (TxlInterfacedObject, IHotkeyOwner, IOptionObserver, ICommandExecutor, IClipObserver)
private
FNoteBoxList: TxlObjList;
FClipText: widestrin... |
unit ADOVersion;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls,COMObj,Variants;
type
TADOVersion = class(TEdit)
private
{ Private declarations }
function GetADOVersion: Double;
protected
{ Protected declarations }
public
... |
unit Main;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Edit, FMX.ScrollBox, FMX.Memo,
Data.DB, Datasnap.DBClient, System.StrUtils, System.JSON, REST.Re... |
{
ID: a_zaky01
PROG: latin
LANG: PASCAL
}
const
fact:array[0..7] of int64 = (1,1,2,6,24,120,720,5040);
var
n,i:integer;
ans:int64;
row,col:array[1..8,1..8] of boolean;
label
closefile;
function latin(r,c:integer):int64;
var
k:integer;
temp:int64;
begin
if c>n then exit(latin(r+1,2));
... |
unit TextEditor.CodeFolding.Hint.Indicator.Colors;
interface
uses
System.Classes, Vcl.Graphics, TextEditor.Consts;
type
TTextEditorCodeFoldingHintIndicatorColors = class(TPersistent)
strict private
FBackground: TColor;
FBorder: TColor;
FMark: TColor;
public
constructor Create;
procedure ... |
unit fastplaz_tools_register;
{$mode objfpc}{$H+}
interface
uses
Dialogs, LazarusPackageIntf, ProjectIntf, NewItemIntf, IDEMsgIntf, PackageIntf,
Classes, SysUtils;
const
FastPlaz = 'FastPlaz';
_APP_SLOGAN = 'Fast Pascal Framework for Web Development';
{$ifdef windows}
_APP_EXTENSION = '.exe';
{$else}
... |
unit CreatePackage;
interface
uses
System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CreateObjectDialog, Vcl.ImgList,
SynEditHighlighter, SynHighlighterSQL, ActnList, Vcl.StdCtrls, ComCtrls, ToolWin, JvExComCtrls, SynEdit, Vcl.ExtCtrls,
JvComCtrls, BCControls.PageContro... |
{*******************************************************************************
作者: dmzn 2009-2-9
描述: 文本编辑器
*******************************************************************************}
unit UFrameText;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
UM... |
unit uThreadMove;
interface
uses Windows, Classes, uEntities,
ExtCtrls;
type
AEntity = array of TEntity;
PAEntity = ^AEntity;
TThreadMove = class(TThread)
private
busy,
fPaused: boolean;
//ITimer: TTimer;
Units: PAEntity;
PerformanceFreq, PerformanceCount, LastPerformanceCount: Int64;... |
{
Renumber FormIDs of selected records starting from provided value
}
unit UserScript;
var
NewFormID: Cardinal;
function Initialize: integer;
begin
NewFormID := 0;
end;
function Process(e: IInterface): integer;
var
OldFormID: Cardinal;
m: IInterface;
s: string;
begin
// file header doesn't have formi... |
// Delphi implementation of part of John Walker's "Colour Rendering of Spectra"
// from www.fourmilab.ch/documents/specrend. Most comments from the orignal
// program have been retained. Additional comments have been added.
//
// efg, November 1998
// References used below:
//
// [Walker96] John Walker, "... |
unit game;
interface
uses
SDL, render, scenes;
const
WND_TITLE:PChar = 'Circles';
type
TGame = class
public
constructor Create;
procedure Run;
private
rootList: TDisplayObjectContainer;
screen: PSDL_SURFACE;
closeRequest: Boolean;
end;
implementation
{*
* Initialize everything about the ga... |
{******************************************************************************}
{ }
{ Neon: Serialization Library for Delphi }
{ Copyright (c) 2018-2019 Paolo Rossi ... |
unit TextEditor.CompletionProposal;
interface
uses
System.Classes, Vcl.Controls, Vcl.Graphics, TextEditor.CompletionProposal.Colors,
TextEditor.CompletionProposal.Snippets, TextEditor.CompletionProposal.Trigger, TextEditor.Types;
const
TEXTEDITOR_COMPLETION_PROPOSAL_DEFAULT_OPTIONS = [cpoAutoConstraints, cpoA... |
{
This software is Copyright (c) 2016 by Doddy Hackman.
This is free software, licensed under:
The Artistic License 2.0
The Artistic License
Preamble
This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that th... |
program encode;
// convert a file to base64 text encoding for use as data/ in html
{$mode objfpc}{$H+}
{$goto on}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Base64, Classes, SysUtils, StrUtils;
const
CRLF = #13#10;
procedure help;
begin
writeln('encode -I inputfile -O outputfile ... |
unit uEntities;
interface
uses
Generics.Collections,
Aurelius.Mapping.Attributes;
type
TTransacao = class
private
FId: integer;
FValor: currency;
FCodCategoria: integer;
FDescricao: string;
FCodConta: integer;
FData: TDateTime;
FSaldo: Currency;
public
property Id: integer re... |
unit Func;
interface
uses DDDK;
const
//rules type
RULE_TYPE_PROCESS_PROTECTION = $00000001;
//errors
ERROR_RULE_EXISTS = $80000001;
ERROR_RULE_DOES_NOT_EXIST = $80000002;
type
//structure of rules list
TFuncRuleStructProcess=packed record
Pid:ULONG;
end;
PFuncRule=... |
unit PedidoController;
interface
uses
FireDAC.Comp.Client, PedidoU;
type
TPedidoController = class
private
public
procedure setPedido(const qry: TFDQuery; var pedido: TPedido);
end;
implementation
uses
System.SysUtils, PedidoDAO;
{ TPedidoController }
procedure TPedidoController.setPedido... |
unit DiscogsClasses;
interface
uses
// System.JSON,
Generics.Collections,
MVCFramework.Serializer.Commons;
type
TDiscogsArtist = class;
TDiscogsFormat = class;
TDiscogsLabel = class;
TDiscogsCollectionRelease = class;
TDiscogsReleaseBasicInformation = class;
TDiscogsCollectionReleases = class( TO... |
unit SplineCoeffsInterval;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.StdCtrls, IntervalArithmetic32and64,
Vcl.Mask;
type
TSplineCoeffsIntervalForm = class(TForm)
buttonResult: TButto... |
unit XMLHelper;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, DOM, XMLWrite, BOMParser;
type
TXMLHelper = class
private
function StripNonLetterCharacters(str: String): String;
public
constructor Create(bom_obj: TBOMParser); overload;
destructor Destroy; override;
procedu... |
unit Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.AppEvnts;
type
TfMain = class(TForm)
btDatasetLoop: TButton;
btThreads: TButton;
btStreams: TButton;
ApplicationEven... |
unit utcad_usuario;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, uTBaseDados, uT_Constante, db, variants, uTSys_GetGlobalsVars;
type
{ TCad_Usuario }
TView_Usuario = class(TBaseView)
private
FUser : String;
FPass : String;
public
property User : String read Fuse... |
unit DCPrc5;
{$MODE Delphi}
interface
uses
Classes, Sysutils, Crypto;
const
NUMROUNDS= 12; { number of rounds must be between 12-16 }
type
{ TCipherRC5 }
TCipherRC5= class(TCipher)
protected
KeyData: array[0..((NUMROUNDS*2)+1)] of DWord;
procedure InitKey(const Key; Si... |
(*
@abstract(Contient des classes permettant de gérer
un univers de sprites.)
--------------------------------------------------------------------------------
@created(2018-07-11)
@author(J.Delauney (BeanzMaster))
Historique : @br
@unorderedList(
@item(11/07/2018 : Creation)
@item(05/05/2020 :... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.ExtCtrls, Vcl.Grids,
Vcl.DBGrids, Data.Win.ADODB, Vcl.StdCtrls, VclTee.TeeGDIPlus, VCLTee.TeEngine,
VCLTee.Series, VCLTee.TeeProcs, VCL... |
unit aOPCVerUpdater;
interface
uses
Windows, Forms, Controls, Messages,
Classes,
aCustomOPCSource, aCustomOPCTCPSource, aOPCTCPSource,
aOPCConnectionList;
type
TaOPCVerUpdateExistsEvent = procedure(aVer1, aVer2: Integer) of object;
TaOPCVerUpdater = class(TComponent)
private
FEscPressed: Boolean;... |
{ p_30_1 - обработка журнала, первый вариант }
program p_30_1;
var inFile, outFile: text; { входной и выходной файлы }
counter: integer; { счетчик строк входного файла }
{----- Процедура обработки одной строки -----}
procedure HandleString;
var n: integer; { оценка, проч... |
unit PASEmbeddedScrollBar;
{
VirtualDBScroll Package
The MIT License (MIT)
Copyright (c) 2014 Jack D Linke
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... |
unit HTTPURI;
interface
uses
SysUtils, StrUtils,
Generics.Collections,
HTTPURIElement,
HTTPURIParameter;
type
IURI = interface
['{36F3CDF1-B78B-477B-9C44-CB05F6E92015}']
function Address: String;
function Elements: THTTPURIElementList;
function Parameters: THTTPURIParameterList;
functio... |
unit uOrderProcessingInterfaces;
interface
type
IOrder = interface
['{26188A06-065A-42D2-8A38-DE419CB36AF4}']
// do nothing
end;
IOrderEntry = interface
['{81D4524B-D9D6-4C68-8226-5047B3128E34}']
function EnterOrderIntoDatabase(const aOrder: IOrder): Boolean;
end;
IOrderValidator = interface
[... |
unit SimpleCaptcha;
interface
uses
BaseCaptcha, System.SysUtils, IdMultipartFormData;
type
TSimpleCaptcha = class(TBaseCaptcha)
private
FFileName: string;
FPhrase: Boolean;
FCaseSensitive: Boolean;
FNumeric: Integer;
FCalc: Boolean;
FMinLength: Integer;
FMaxLength: Integer;
FLan... |
unit uMainForm;
{$mode objfpc}{$H+}
// ALIGNEMENT
{$ifdef cpu64}
{$ALIGN 16}
{$CODEALIGN CONSTMIN=16}
{$CODEALIGN LOCALMIN=16}
{$CODEALIGN VARMIN=16}
{$endif}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs,
BZVectorMath, BZColors, BZGraphic, BZBitmap, BZCadencer, BZStopWatch,{%H-}... |
unit uTransform;
{ 此单元是处理工厂,输入某些东西,输出某些东西,函数内就是处理过程
1、将ADOQuery的内容显示到StringGrid中
2、设置StringGrid的样式
3、传入ComboBox,加载数据库中的列表选项 }
interface
uses
ADODB, DB, SysUtils, Classes, Grids, uDBFieldData, Log, RzCmboBx, uDefine;
procedure DisADOQryToStringGrid(AQry: TADOQuery; AStrGrid: TStringGrid);
procedure T... |
unit UMyCloudApiInfo;
interface
uses SysUtils;
type
{$Region ' 数据修改 云路径 ' }
TCloudPathWriteHandle = class
public
CloudPath : string;
public
constructor Create( _CloudPath : string );
end;
// 读取
TCloudPathReadHandle = class( TCloudPathWriteHandle )
public
procedure Update;
private
... |
unit Metrics.Project;
interface
uses
System.Generics.Collections,
{--}
Metrics.ClassM,
Metrics.UnitM,
Metrics.UnitMethod,
Filters.Method;
type
TProjectMetrics = class
private
fClasses: TObjectList<TClassMetrics>;
fUnits: TObjectList<TUnitMetrics>;
public
constructor Create();
destru... |
unit ParticleEngine;
{****************************************************************************
<!!!> ParticleEngine is one of the models of the OpenGL engine.
<!!!> This is a *development* version of the ParticleEngine, NOT FINAL.
The contents of this file are subject to the Mozilla Public License
... |
unit UnitCreateModule;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Winapi.ShellAPI, System.UITypes;
type
TFormCreateModule = class(TForm)
Label3: TLabel;
EditModuleName: TEdit;
La... |
unit TextEditor;
interface
//TODO: Tabulation settings
//TODO: save cursor position in each node (in meta or tag? dunno)
//TODO: TWebBrowser, maybe?
//TODO: Accept dragged files
//TODO: Autopaste
uses
Windows, Messages, CommCtrl, RichEdit, AvL, RichEditW, NotesFile, DataNode, Editor;
type
TTextEdi... |
unit DAO.UserMailInBox;
interface
uses encryption_db, RTTI,
Generics.Collections,Domain.UserMailInBox,DISQLite3Database,DISQLite3Api;
type
TUserMailInBoxDAO = class(TMailBoxConfigDatabase)
function Add(InBox:Domain.UserMailInBox.TUserMailInBoxRec): Int64; overload;
function Readx(UserEmail: String): T... |
unit ChatView;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, ComCtrls, vkcmchat,
Graphics, StdCtrls, Buttons, chatviewmodel, entities, Dialogs, vkcmobserver,
instrumentsview;
type
{ TChatFrameView }
TChatFrameView = class(TFrame)
SplitPanel: TPanel;
S... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Creation: May 1996 (Win32 version)
Version: V2.97
Object: TFtpClient is a FTP client (RFC 959 implementation)
Support FTPS (SSL) if ICS-SSL is used (RFC 2228 implementation)
EM... |
{ A Portion of AdLib.PAS }
PROCEDURE Init_Driver;
VAR
r :registers;
begin
r.SI := 0;
Intr(SOUND_INTR,r);
end;
PROCEDURE DISABLE_Driver;
VAR
r :registers;
begin
r.SI := 1;
Intr(SOUND_INTR,r);
end;
PROCEDURE SetStartTime(TimeDen, TimeNum :word);
VAR
r :registers;
begin
r.SI := 2;
r.ES := Seg(TimeNum);
r.BX := O... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
{ #######################################
### SUIVI GED ###
### STAUDT JILL ###
### AUTISME LUXEMBOURG ###
### 2015 ###
#######################################
}
unit UMain;
interface
uses
Windows, Messages, SysUtils, Varia... |
(*======================================================================*
| cmpMRUList |
| |
| Container for list of recently used files (or strings) |
| ... |
unit FastcodeUpperCaseUnit;
(* ***** 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.... |
unit FrmLoginU;
interface
uses
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.StdCtrls,
Vcl.Buttons,
Vcl.ExtCtrls;
type
TdlgLogin = class(TForm)
edtUserName: TEdit;
edtPassword: TEdit;
Panel1: TPanel;
btnOK: TBitBtn;
btnCancel: TBitBtn;
txtUser: TStaticText;
tx... |
{******************************************************************************}
{ }
{ Neon: Serialization Library for Delphi }
{ Copyright (c) 2018-2019 Paolo Rossi ... |
{*******************************************************************************
Title: T2Ti ERP Fenix
Description: Controller relacionado ao ACBrMonitor
The MIT License ... |
unit FileFormats3d;
interface
uses classes, model;
type
TModelFormat = record
ModelClass: TBaseModelClass;
Extension: string;
Description: string;
end;
TModelFormatList = class
protected
FModelFormats: array of TModelFormat;
FNumModelFormats: integer;
public
constructor Cre... |
{*******************************************************************************
Title: T2Ti ERP
Description: Controller do lado Cliente relacionado à tabela [TRIBUT_ICMS_CUSTOM_CAB]
... |
{ Routines for manipulating first-in first-out (FIFO) queues.
}
module string_fifo;
define string_fifo_create;
define string_fifo_delete;
define string_fifo_get_tout;
define string_fifo_get;
define string_fifo_nempty;
define string_fifo_nfull;
define string_fifo_put;
define string_fifo_putbuf;
define string_fifo_rese... |
unit PacketListen;
interface
uses
system.Classes, System.Threading,
EventBus, EventPacket;
Type
TOnEventPacket = procedure(AEvent:TEventPacket) of Object;
TPacketListen = Class
private
FOnPacket: TOnEventPacket;
public
constructor Create;
Destructor Destory;
[Subscribe(TThrea... |
{$include kode.inc}
unit kode_filter_karlsen;
{
http://musicdsp.org/showArchiveComment.php?ArchiveID=141
---
Nice to see a pascal version too, Christian!
Although I really recommend one set a lower denormal threshold, maybe a 1/100, it really affects the sound of the filter. The best is probably tweaking tha... |
UNIT SortedCollection;
INTERFACE
USES Lexer;
PROCEDURE PrintCollection(VAR F: TEXT);
PROCEDURE Insert(Lexem: LexemType);
PROCEDURE ClearCollection();
IMPLEMENTATION
TYPE
Tree = ^NodeType;
NodeType = RECORD
Lexem: LexemType;
LLink, RLink: Tree;
Count: INT... |
unit MeusContatos.Model.Configuracao;
interface
uses
MeusContatos.Model.Configuracao.Interfaces;
Type
TConfiguracao = Class(TInterfacedObject, iModelConfiguracao)
Private
class var Fconfig : tconfiguracao;
FServidor : string;
FPorta : string;
Public
Constructor Create;
Destr... |
unit remote.model.RPCObjectContainer;
interface
uses
dco.framework.Executor,
dco.framework.Handler,
dco.framework.RPCObjectImpl;
type
// The remote object can change the size of its corresponding remote window referent.
TRPCObjectContainer = class
private
FRPCObject: TRPCObjectImpl;
protected
f... |
unit Demo2_0;
interface
type
// I know nothing about source of mail addresses, I am independent object. I know only TMailSenderMessage
// You can change and test me independently
TMailSender = class
public
constructor Create;
destructor Destroy; override;
procedure SendMail(aTit... |
{==============================================================================|
| MicroCoin |
| Copyright (c) 2018 MicroCoin Developers |
|=========================================================================... |
unit Main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, IniFiles,
UDesktopFile, editingwindow;
type
{ TFrmMainWindow }
TFrmMainWindow = class(TForm)
BtnNew: TButton;
BtnEdit: TButton;
BtnClose: TButton;
BtnDelete: TButton;
LbDeskto... |
unit Form.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.... |
unit uGridColumnWidth;
interface
uses Windows, cxGridTableView, cxGraphics, StrUtils, SysUtils,
Variants, ShellAPI, cxCurrencyEdit;
const
// максимальное количество "первых строк" грида, по содержимому которых нужно определять ширину столбца
MAX_ROW_ANALYSE_FOR_WIDTH = 10;
// минимально и максимально... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [SOCIO]
The MIT License ... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [ECF_SINTEGRA_60M]
The MIT License ... |
program Descendente; //Comparar los 3 numeros
var
num, i: integer;
max, min1, min2: Integer;
begin
max:= -999;
min1:=999;
min2:= 999;
for i:=1 to 3 do begin
readln(num);
if (num>max) then
max:=num;
if (num<min1) then begin
min2:=min1;
min1:=num
end
else
... |
unit SDLi386Utils;
{******************************************************************************}
{ }
{ Borland Delphi SDL - Simple DirectMedia Layer }
{ SDL Utility functions ... |
unit PatternMidi;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Graphics, DateUtils, DuringTime, Math, MMSystem;
type
TDirection=(PlToRight,PlToLeft);
TPatternMidi = class;
{>>TKnMdTimer : piqué à Kénavo}
TKnMdTimer = class(TComponent)
private
fwTimerID : DWord;
... |
unit uThreadConstruct;
interface
uses Classes, uEntities, uGameTech;
type
TConstructingInfo = record
HUDIndex, //
ButtonSetIndex, //
ButtonIndex: integer; // de index van de knop (van het te maken ding) in de buttonset voor deze entity (-1 = nvt)
Assign... |
unit WSLogFile; // 提供日志记录 功能
interface
uses Windows, SysUtils;
{$IFNDEF UNICODE}
type
UnicodeString = WideString;
{$ENDIF}
{$WARN SYMBOL_PLATFORM OFF}
type
HLOGFILE = pointer;
// 如果默认的日志已经在使用,则修改文件指向新的日志,避免多个进程同时写一个日志
procedure WSLogInitUnUse(const AFileName: UnicodeString; bUseHDInfo : BOOL = TRUE; bClearLog... |
unit GoogleSpeakU;
interface
uses
System.Classes, System.SysUtils, System.Threading, VCL.Forms, VCL.MPlayer, VCL.Controls, LanguagesU;
{$M+}
type
TGoogleSpeak = class(TComponent)
private
FMediaPlayer: TMediaPlayer;
FUseCache: Boolean;
FDownloadFolder: string;
FBuffer: TStringlist;
FLanguag... |
// Linear equations solver
program LinEq;
{$I samples\gauss.inc}
procedure Error;
begin
WriteLn;
WriteLn('Error: ', E, '.');
ReadLn;
Halt(1);
end;
var
A: TMatrix;
x: TVector;
m, i, j: Integer;
DatName, Comment: string;
DatFile: Text;
Err: Integer;
begin
WriteLn;
WriteLn('Linear equations solv... |
unit ThreeDUtils;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms3D, FMX.Types3D, FMX.Forms, FMX.Graphics,
System.Math,
FMX.Dialogs, System.Math.Vectors, FMX.Objects3D, FMX.Controls3D,
System.UIConsts,
FMX.MaterialSources,... |
(*!------------------------------------------------------------
* Fano Web Framework Skeleton Application (https://fanoframework.github.io)
*
* @link https://github.com/fanoframework/fano-app-middleware
* @copyright Copyright (c) 2018 Zamrony P. Juhara
* @license https://github.com/fanoframework/fano-app-m... |
Unit untWinController;
Interface
Uses
Windows,
SysUtils,
Classes,
ActiveX,
Dialogs,
ComObj,
RegExpr,
untLogger,
untClipboard;
Type
TWinCmdType = (
wcUnkown,
wcMax,
wcMin,
wcRestore,
wcMove,
wcClose,
wcTop,
wcUnTop,
wcHide,
wcUn... |
(***************************************************************************
A Much Faster Terminal for Turbo Vision, v1.0
PJB August 22, 1993
Twice as fast, less code
Free source - no warranty
Send comments by Internet mail to d91-pbr@nada.kth.se
********************************************************... |
(*
* Copyright (c) 2009-2010, Ciobanu Alexandru
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this l... |
unit ufrmMasterCustomer;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMaster, ufraFooter5Button,
StdCtrls, ExtCtrls, ActnList, jpeg, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter,
cxData, cxDataStora... |
unit EditMoney;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TEditMoney = class(TCustomMemo)
private
flag_point:boolean;
after_point:integer;
procedure SetText;
procedure Check_point;
protected
property wordwrap default False;
proper... |
// Copyright 2014 Asbjørn Heid
//
// 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 law or ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.