text stringlengths 14 6.51M |
|---|
unit ProductsViewModel;
interface
uses
BaseProductsViewModel1, ProductsBaseQuery0, ProductsInterface,
StoreHouseListInterface, ProductsQuery, StoreHouseListQuery;
type
TProductsViewModel = class(TBaseProductsViewModel1, IProducts)
strict private
procedure FreeInt;
procedure LoadContent(AStoreHouseID:... |
////////////////////////////////////////////////////////////////////////////////
//
//
// FileName : SUIColorBox.pas
// Creator : Shen Min
// Date : 2002-11-14 V1-V3
// 2003-06-24 V4
// Comment :
//
// Copyright (c) 2002-2003 Sunisoft
// http://www.sunisoft.com
// Email: ... |
unit settings;
interface
uses
Windows, SysUtils, Forms,
sSkinProvider, StdCtrls, sLabel, sEdit, sButton, Registry, ServersUtils, SHFolder,
Controls, Classes, InternetHTTP, JSON;
type
TSettingsForm = class(TForm)
TitleLabel: TsLabel;
SkinProvider: TsSkinProvider;
MemoryEdit: TsEdit;
... |
unit uPGThread;
interface
uses
Windows, Classes, Types, SysUtils, IOUtils, DateUtils, Generics.Collections,
Variants, uBaseThread, uTypes, uGlobal, uCommon, UInterface;
type
TPGThread = class(TBaseThread)
private
FSourcePath, FTargetPath, FTargetUrl: string;
FVioList: TList<TPass>;
function DealO... |
unit PascalCoin.FMX.Wallet.DI;
interface
uses Spring.Container, PascalCoin.Wallet.Interfaces;
function RegisterStuff(AContainer: TContainer): IPascalCoinWalletConfig;
implementation
uses PascalCoin.RPC.Interfaces,
PascalCoin.FMX.Wallet.Config,
PascalCoin.HTTPClient.Delphi, PascalCoin.RPC.Client, PascalCoin.RP... |
unit rhlRadioGatun32;
interface
uses
rhlCore;
type
{ TrhlRadioGatun32 }
TrhlRadioGatun32 = class(TrhlHash)
private
const
MILL_SIZE = 19;
BELT_WIDTH = 3;
BELT_LENGTH = 13;
NUMBER_OF_BLANK_ITERATIONS = 16;
var
m_mill: array[0..MILL_SIZE - 1] of DWord;
... |
unit TrimList;
interface
uses
Generics.Collections;
type
TNextPartitionStatus = (Success, CompleteLastPartitionFirst);
TTrimListEntry = record
Status: TNextPartitionStatus;
PartitionPath: String;
end;
TTrimList = class(TList<String>)
private
CurrentPartitionReadWrite: Integer;
CompletedPa... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit Sounds;
interface
uses
MMSystem;
procedure Sound(Nota: byte);
procedure DeSound(Nota: byte);
procedure NoSound;
procedure SetStyle(Style: byte);
procedure SetVolume(aVolume: byte);
procedure SetChanel(aChanel: byte);
procedure InitSounds;
procedure CloseSounds;
const Instruments: array [0 .. 127] of string=(... |
unit frBasicSettings;
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is frBasicSettings.pas, released April 2000.
The Initial Developer of the Original Code is Anthony Steele.
Portions created by Anthony Steele are C... |
program LionKing;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp, dynlibs,
{ you can add units after this }
smartfunc // this includes the smart functions
;
type
{ TLionKing }
TLionKing = class(TCustomApplication)
protected
... |
(*
Name: UImportOlderKeyboardUtils
Copyright: Copyright (C) SIL International.
Documentation:
Description:
Create Date: 28 Aug 2008
Modified Date: 16 Jun 2014
Authors: mcdurdin
Related Files:
Dependencies:
Bugs:
Todo: ... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2016-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit Getter.External;
interface
uses
SysUtils,
Partition, Getter.PartitionExtent, CommandSet, CommandSet.Factory,
Device.PhysicalDrive;
type
TExternalGetter = class
private
function GetDriveNumber(const PartitionPathToTrim: String): Cardinal;
function GetIsExternalWithPhysicalDrive(
const Phy... |
object BackgroundOptionsForm: TBackgroundOptionsForm
Left = 287
Top = 117
BorderStyle = bsDialog
Caption = 'Background Options'
ClientHeight = 328
ClientWidth = 299
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style... |
{ Add this unit to the "uses" clause of the main form in order be able to
read the MakerNote tag of all supported camera makes. }
unit fpeMakerNote;
interface
uses
fpeMakerNoteCanon, fpeMakerNoteCasio, fpeMakerNoteEpson, fpeMakerNoteFuji,
fpeMakerNoteMinolta, fpeMakerNoteNikon, fpeMakerNoteOlympus,
fpeMakerN... |
unit u_xpl_db_listener;
{$mode objfpc}{$H+}{$M+}
interface
uses Classes
, SysUtils
, u_xpl_custom_listener
, u_xpl_config
, u_xpl_message
, zDataset
, zConnection
;
type
{ TxPLDBListener }
TxPLDBListener = class(TxPLCustomListener)
private
SQLQ... |
unit Utilities.FolderLister;
interface
uses
Common.Utils,
System.Classes,
System.Generics.Collections,
Vcl.Dialogs,
Vcl.FileCtrl;
type
TFolderLister = class
private
FFolderList: TFileRecordList;
public
class function GetFolderList(const StartDir: string; const FileMask: string = ''): TFileRec... |
{*******************************************************}
{ }
{ Delphi REST Client Framework }
{ }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit IdIOHandlerStream;
interface
uses
Classes,
IdGlobal, IdIOHandler;
type
TIdIOHandlerStreamType = (stRead, stWrite, stReadWrite);
TIdIOHandlerStream = class(TIdIOHandler)
protected
FReadStream: TStream;
FWriteStream: TStream;
FStreamType: TIdIOHandlerStreamType;
public
constructor Cre... |
unit UMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, imapsend, ssl_openssl;
type
TMainForm = class(TForm)
lbl1: TLabel;
edtHost: TEdit;
btnLogin: TButton;
lbl2: TLabel;
edtPort: TEdit;
lbl3: TLabel;
edtLogin: TEdit;... |
unit fLabTest;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ORCtrls, StdCtrls, ExtCtrls, ORNet, fBase508Form, VA508AccessibilityManager;
type
TfrmLabTest = class(TfrmBase508Form)
pnlLabTest: TORAutoPanel;
cmdOK: TButton;
cmdCancel: TButton;
cboList: T... |
unit uLib;
interface
procedure SolveMathExpression(Sender: TObject);
function ExpressionParser_Level1(expression: string): Double;
function ExpressionParser_Level2(expression: string): Double;
function ExpressionParser_Level3(expression: string): Double;
implementation
uses
StdCtrls, System.SysUtils, uO... |
{Ejercicio 6
Escriba un programa flipflop en Pascal que dada la matriz de booleanos de tipo:
CONST
M = . . .;
N = . . .;
P = . . .;
TYPE
RangoM = 1..M;
RangoN = 1..N;
RangoP = 1..P;
MatrizBool = ARRAY[RangoM,RangoN,RangoP] OF Boolean;
cambie todos los True a F... |
Program CaesarSimple;
function IsAlpha(c : char) : boolean;
var
charI : integer;
begin
charI := ord(c);
IsAlpha := ((charI >= 65) and (charI <= 90));
end;
var
text, textUpper : string;
rot, i : integer;
charI : integer;
begin
readln(rot);
read(text);
textUpper := UpCase(text);
rot := rot mod 26;
... |
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+}
{$M 1024,0,0}
{
by Behdad Esfahbod
Algorithmic Problems Book
September '1999
Problem 30 Backtrack Method
}
program
GraphAutoMorphism;
const
MaxN = 100;
var
N : Integer;
G : array [1 .. MaxN, 1 .. MaxN] of Integer;
DOut, DIn, P : array [1 .. MaxN] of ... |
unit uTabela;
interface
type
TDataTableAttribute = class(TCustomAttribute)
private
FTabela: string;
public
constructor Create(ATabela: string);
property Tabela: string read FTabela write FTabela;
end;
implementation
{ TDataTable }
constructor TDataTableAttribute.Create(ATabela: string);
begin
... |
{*********************************************}
{ TeeBI Software Library }
{ TFilterItem DateTime editor dialog }
{ Copyright (c) 2015-2016 by Steema Software }
{ All Rights Reserved }
{*********************************************}
unit VCLBI.Editor.Filter.DateTim... |
unit Unit2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Unit3;
type
TForm2 = class(TForm)
Panel1: TPanel;
LabeledEdit1: TLabeledEdit;
LabeledEdit2: TLabeledEdit;
Button1: TButton;
Button2: TButton;
Button3: TButt... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 2016 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit Diff_NP;
{$IFDEF FPC}
{$mode delphi}{$H+}
{$ENDIF}
(*******************************************************************************
* Component TNPDiff *
* Version: 5.02 *
* Date: ... |
unit PianoRoll;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,PianoKeyBoard, Vcl.ExtCtrls,
Vcl.StdCtrls, Vcl.Samples.Spin;
type
TFramePianoRoll = class(TFrame)
ScrollBarVertical: TScrollBar;
... |
program FixUsers;
uses Dos,
Global;
type
tOldUserACflag = (
acANSi,
acAVATAR,
acRIP,
acYesNoBar,
acDeleted,
acExpert,
acHotKey
);
tOldUserRec = record
Number : Integer;
UserName : String[36];
RealName ... |
unit Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IdContext, IdBaseComponent, IdComponent, IdCustomTCPServer,
IdTCPServer, Vcl.StdCtrls, IdIOHandler, Vcl.ExtCtrls, Math, Contnrs, Players;
typ... |
unit SMCnst;
interface
{German strings}
{translated by Thomas Grimm, tgrimm@allegro-itc.de}
{changed by Reinhold Bauer, reinhold.bauer@onlinehome.de, 30.06.2006}
const
strMessage = 'Drucke...';
strSaveChanges = 'Sollen die Änderungen auf dem Server gespeichert werden?';
strErrSaveChanges = 'Kann die D... |
unit ufmTranslator;
interface
uses
Classes, Types, windows, SysUtils, Controls, ufmFrmBasePai, ufmTranslatorIgnoreList;
type
TcadTranslatePropertyProc = procedure (const aObj: TObject; const aFormName, aObjName, aPropertyName: String; var TextToTranslate: WideString; var Translated:boolean) of Object;
TcadTra... |
Program SqRoot(input, output); {find the square root by averages}
{15/9/21 Nev Goodyer: v1.01 created from pseudo at https://bwattle.github.io/SquareRoot/JS/Q23.html}
{19/9/21 v1.02 updated from v1.01 to write iterative lines}
{NOTE: if decPlaces=8, the integer 16 will cause an infinite loop, cycint through the 2's co... |
{
ID: nghoang4
PROG: crypt1
LANG: PASCAL
}
const fi = 'crypt1.in';
fo = 'crypt1.out';
var a: array[1..9] of byte;
n: byte;
count: longint;
procedure Init;
var i: byte;
begin
assign(input,fi); reset(input);
readln(n);
for i:=1 to n do read(a[i]);
close(input);
end;
function ... |
unit u_SocketClient;
{$MODE objfpc}{$H+}
interface
uses
SysUtils, Socket_Unit, u_CommBag ,SyncObjs;
{ TPDAClient }
type
TPDAClient = class
private
FRecvBuf: TByteArray;
FBufMaxLen: integer;
FClient: longint;
FSvrIP:String;
FSvrPort:Word;
FCS: TCriticalSection;
FL... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit UEmpForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, pegradpanl, StdCtrls, Mask, Grids, DBGrids, Db, DBTables, pegraphic, DBClient, MIDAScon,
Tmax_DataSetText, OnDBGrid, OnFocusButton, ComCtrls, OnShapeLabel,
OnGrDBGrid, OnEditBaseCtrl, OnEd... |
unit UnitMainForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ScktComp;
type
TMainForm = class(TForm)
GroupBox1: TGroupBox;
GroupBox2: TGroupBox;
CSocket: TClientSocket;
SSocket: TServerSocket;
Memo2: TMemo;
Memo1: TMemo;
Memo3... |
unit uRemoteServerDIOCPImpl;
interface
uses
uIRemoteServer,
uRawTcpClientCoderImpl,
uStreamCoderSocket,
utils.zipTools,
SimpleMsgPack,
Classes,
SysUtils,
diocp.tcp.blockClient, uICoderSocket;
type
TRemoteServerDIOCPImpl = class(TInterfacedObject, IRemoteServer)
private
FTcpClient: TDiocpBlock... |
unit bHelper;
interface
uses types, System.sysutils, strutils, windows, vcl.dialogs, vEnv;
type
THelper = class
public
class function existsInArray(value: variant; arrayValues: array of variant): boolean; overload;
class function existsInArray(value: string; arrayValues: TStringDynArray): boolean; overlo... |
{ ****************************************************************************** }
{ * movement engine create by qq600585 * }
{ * https://zpascal.net * }
{ * https://github.com/PassByYou888/zAI ... |
unit uTraducao;
interface
uses Windows, Consts, Data.DBConsts, cxEditConsts,dxThemeConsts,cxVGridConsts,
cxGridPopupMenuConsts,dxNavBarConsts,dxDockConsts,cxPCConsts,dxBarSkinConsts,
cxExtEditConsts,cxLibraryConsts,cxDataConsts,cxFilterConsts, cxGridStrs,
dxNavBarDsgnConsts;
procedure SetRe... |
unit TMConfig;
{
Aestan Tray Menu
Made by Onno Broekmans; visit http://www.xs4all.nl/~broekroo/aetraymenu
for more information.
This work is hereby released into the Public Domain. To view a copy of the
public domain dedication, visit:
http://creativecommons.org/licenses/publicdomain/
or send a lett... |
unit FabricaDeDominios;
interface
uses Classes, SqlExpr, Provider, DB, DBClient,
{ helsonsant }
Util, DataUtil, UnModelo, Dominio;
type
TFabricaDeDominios = class
private
function CopiarCampo(const CampoOrigem, CampoDestino: TField;
const DataSet: TDataSet): TField;
function CriarCampo(const Ca... |
unit BCEditor.Print.Preview;
{$M+}
interface
uses
Windows, Messages, Classes, SysUtils, Controls, Graphics, Forms,
BCEditor.Print;
type
TBCEditorPreviewPageEvent = procedure(Sender: TObject; PageNumber: Integer) of object;
TBCEditorPreviewScale = (pscWholePage, pscPageWidth, pscUserScaled);
... |
unit uFileSystemExecuteOperation;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
uFileSource,
uFileSourceExecuteOperation,
uFileSystemFileSource,
uFile;
type
{ TFileSystemExecuteOperation }
TFileSystemExecuteOperation = class(TFileSourceExecuteOperation)
private
FFile... |
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+}
{$M 1024,0,0}
{
by Behdad Esfahbod
Algorithmic Problems Book
August '1999
Problem 4 O(2^N) Recursive Method
}
program
RulerFunction;
const
MaxN = 10;
var
N : Integer;
A, B : array [0 .. MaxN] of Integer;
I, P : Integer;
F : Text;
function Ruler (... |
//
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose... |
{===============================================================================
Copyright(c) 2007-2009, 北京北研兴电力仪表有限责任公司
All rights reserved.
错误接线,自动生成考题单元
+ TWE_MAKE_LIST 自动生成考题
===============================================================================}
unit U_WE_MAKE_LIST;
interface
u... |
unit Vigilante.Infra.ChangeSet.JSONDataAdapter;
interface
uses
System.Generics.Collections, System.JSON, Vigilante.Infra.ChangeSet.DataAdapter,
Vigilante.ChangeSetItem.Model, Vigilante.Infra.ChangeSetItem.DataAdapter;
type
TChangeSetAdapterJSON = class(TInterfacedObject, IChangeSetAdapter)
private
FChang... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC TFDConnection editor form }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit ClassComputer;
interface
uses ClassBoard, ClassLetters, ClassPlayer, ClassWords;
const MAX_PLACES = 1000;
type TOnTile = procedure of object;
TOnPlay = procedure of object;
TPlace = record
Valid : boolean;
Word : string;
X, Y : integer;
... |
unit BrickCamp.Model.TEmployee;
interface
uses
Spring,
Spring.Persistence.Mapping.Attributes,
BrickCamp.Model.IEmployee;
type
[Entity]
[Table('EMPLOYEE')]
TEmployee = class
private
[Column('EMP_NO', [cpRequired, cpPrimaryKey, cpNotNull, cpDontInsert], 0, 0, 0, 'primary key')]
[AutoGenerated]
... |
unit xTrainQuestionControl;
interface
uses xTrainQuestionInfo, System.SysUtils, System.Classes, xFunction,
xTrainQuestionAction, xSortControl, xQuestionInfo;
type
/// <summary>
/// 控制类
/// </summary>
TTrainQuestionControl = class
private
FTrainQuestionList: TStringList;
FTrainQuesti... |
unit uPrintronixT5000;
interface
uses
Classes, ScktComp, AssComm;
type
TPrintronixT5000PortType = (SerialAndParallel, Ethernet);
TPrintronixT5000Status = record
StatusPaperOut : boolean;
StatusOnline : boolean;
StatusBufferFull : boolean;
StatusHeadUp : boolean;
StatusRibbonOut : boolean;
... |
unit xpLex;
(*
* 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 distributed under the License is distributed on ... |
unit threadprocess;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
{$IFDEF Windows}
Windows,
{$endif}
otlog, Process;
type
TShowStatusEvent = procedure(Status: String) of Object;
TThreadProcess = class(TThread)
private
Log: TOTLog;
Cmdline: string;
Output: string;... |
unit LoanCharge;
interface
type
TLoanCharge = class(TObject)
private
FChargeType: string;
FChargeName: string;
FAmount: real;
public
property ChargeType: string read FChargeType write FChargeType;
property ChargeName: string read FChargeName write FChargeName;
property Amount: real read ... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
// (c) Mahesh Venkitachala... |
namespace RemObjects.SDK.CodeGen4;
interface
uses
System.Runtime.InteropServices,
RemObjects.SDK.CodeGen4;
type
[ComVisible(true)]
Codegen4Platform = public enum (Cocoa, Delphi, Java, Net, CppBuilder, JavaScript);
[ComVisible(true)]
Codegen4Mode = public enum (Intf, Invk, Impl, &Async, All_I... |
program BIOSLanguageInfo;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, uSMBIOS
{ you can add units after this };
function ByteToBinStr(AValue:Byte):string;
const
Bits: array[1..8] of byte = (128,64,32,16,8,4,2,1);
var i: integer;... |
{******************************************************************************}
{ }
{ Gofy - Arkham Horror Card Game }
{ ... |
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+}
{$M 1024,0,0}
{
by Behdad Esfahbod
Algorithmic Problems Book
April '2000
Problem 85 O(N3) Weighted Matching Method Hungarian Alg.
}
program
MinimumPenaltyScheduling;
const
MaxN = 100;
var
N, L : Integer;
G : array [1 .. MaxN, 1 .. MaxN] of Integer;
W... |
program _demo;
Array[0]
var
X : TReal1DArray;
Y : TReal1DArray;
YTbl : TReal2DArray;
Eps : Double;
H : Double;
M : AlglibInteger;
I : AlglibInteger;
State : ODESolverState;
Rep : ODESolverReport;
begin
//
// ODESolver unit is used to solve simple ODE:
... |
namespace Main;
interface
implementation
uses
System.Collections.ObjectModel, // Note: this sample requires Beta 2 of the .NET Framework 2.0
System.Collections.Generic;
method GenericMethod;
var
x: array of Integer;
y: ReadOnlyCollection<Integer>;
z: IList<String>;
begin
x := [123,43,2... |
{ BP compatible Strings unit
Copyright (C) 1999-2005 Free Software Foundation, Inc.
Author: Frank Heckenbach <frank@pascal.gnu.de>
This file is part of GNU Pascal.
GNU Pascal is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the ... |
{: GLOutlineShader<p>
A simple shader that adds an outline to an object. <p>
Limitations: <br>
<li> 1. Object can be transparent (color alpha < 1) if it doesn't
overlap itself. Texture transparency doesn't work.
<li> 2. Doesn't work with objects (e.g. TGLFreeForm) having it's... |
unit Test_FIToolkit.Commons.Exceptions;
{
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
TestFramework,
FIToo... |
unit fViewNotifications;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
System.UITypes,
System.Actions,
System.DateUtils,
System.Math,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.ComCtrls,
Vcl.StdCtrls,
Vcl.ExtCtrls,
Vcl.... |
unit MediaProcessing.VideoAnalytics.Net.EventDefinitions;
interface
uses SysUtils, Classes, MediaProcessing.VideoAnalytics,MediaProcessing.VideoAnalytics.Definitions;
const
VaepProtocolVerion = 110220; //'2011.02.20'
VaepFrameBeginMarker = cardinal($46424D4B); //FBMK
VaepFrameEndMarker = cardinal($46454D4B... |
unit utilities;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
Type_def;
procedure GenerateSignal;
procedure HannWindowing (var arr:RV; arr_size: integer);
PROCEDURE FFT(VAR A:CV; M:INTEGER);
implementation
procedure GenerateSignal;
begin
end;
procedure HannWindowing (var arr:RV; arr_size: integer)... |
{
TCustomWeb class
ES: Clase base para la manipulación del contenido de un TWebBrowser
EN: Base class for management the contents of a TWebBrowser
=========================================================================
History:
ver 0.1.9
ES:
nuevo: documentación
nuevo: se hace compatible con el naveg... |
unit Ths.Erp.Database.Table.Arac.BakimBilgisi;
interface
{$I ThsERP.inc}
uses
SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils,
FireDAC.Stan.Param, System.Variants, Data.DB,
Ths.Erp.Database
, Ths.Erp.Database.Table
;
type
TBakimBilgisi = class(TTable)
private
FPlaka: TFie... |
{==============================================================================|
| Project : Ararat Synapse | 001.003.001 |
|==============================================================================|
| Content: misc. procedures and functions ... |
unit BowlError; // Contains the exception class and log file handling.
// Also stores some of the test data used during unit and integration testing
interface
uses SysUtils;
type
EBowlException = class(Exception); // exception class used for the bowling exercise
var
LogFileName: string; // globa... |
{*******************************************************}
{ }
{ Delphi VCL Extensions (RX) }
{ }
{ TRxBdeErrorDlg based on sample form }
{ DELPHI\DEMOS\DB\TOOLS\... |
unit uWorker;
interface
uses
System.Classes, System.SysUtils, System.Generics.Defaults,
System.Generics.Collections, Controls, Forms, Winapi.Windows, Winapi.Messages;
const
WM_WORKER_STARTED = WM_USER + 100;
WM_WORKER_SUSPENDED = WM_USER + 101;
WM_WORKER_RESUMED = WM_USER + 102;
WM_WORKER_FINISHED = WM_U... |
unit glpanel;
interface
{$D-,L-,O+,Q-,R-,Y-,S-}
uses
dglOpenGL,Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, stdctrls;
type
TGLPanel= class(TPanel)
private
DC: HDC;
RC: HGLRC;
protected
procedure Paint; override;
public
procedure ... |
{ *************************************************************************** }
{ }
{ Delphi and Kylix Cross-Platform Visual Component Library }
{ }
... |
{: GLMultiMaterialShader<p>
A shader that applies a render pass for each material in
its assigned MaterialLibrary.<p>
<b>History : </b><font size=-1><ul>
<li>22/04/10 - Yar - Fixes after GLState revision
<li>05/03/10 - DanB - Added more state to TGLStateCache
<li>03/07/09 - DanB - b... |
//------------------------------------------------------------------------------
// This unit is part of the GLSceneViewer, http://sourceforge.net/projects/glscene
//------------------------------------------------------------------------------
{! The FGLForm unit for TGLForm class as parent for all child forms of G... |
unit HelperProcs;
/////////////////////////////////////////////////////////////
// //
// Copyright: © 2002 Renate Schaaf //
// //
// (unless noted otherwise) ... |
unit UnitMixerAudio;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, AMixer, Buttons, ExtCtrls;
type
TFormMixer = class(TForm)
GroupBox1: TGroupBox;
CbScard: TComboBox;
GroupBox2: TGroupBox;
CbSource: TComboBox;
GroupBox... |
unit ncMWFileServer;
// =========================================================================
// kbmMW - An advanced and extendable middleware framework.
// by Components4Developers (http://www.components4developers.com)
//
// Service generated by kbmMW service wizard.
//
// INSTRUCTIONS FOR REGISTRATION/USAGE
// ... |
unit Vigilante.Configuracao.Observer;
interface
uses
Vigilante.Configuracao;
type
IConfiguracaoObserver = interface(IInterface)
['{E02F4230-5052-4C3F-BC3B-719F9CC620A2}']
procedure ConfiguracoesAlteradas(const AConfiguracao: IConfiguracao);
end;
IConfiguracaoSubject = interface(IInterface)
['{71... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit LuaImage;
interface
Uses ExtCtrls, Controls, Classes,
LuaPas,
LuaControl,
LuaCanvas,
LuaBitmap,
LuaGraphic,
LuaPicture,
Graphics;
function CreateImage(L: Plua_State): Integer; cdecl;
procedure BitmapToTable(L:Plua_State; Index:Integer; Sender:TObject);
type
TLuaImage = class... |
unit SubstringChecking;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
function Search(Haystack, Needle: string): boolean;
implementation
function Search(Haystack, Needle: string): boolean;
var
HaystackIndex, NeedleIndex: integer;
Found: boolean;
begin
HaystackIndex := 1;
Found := False;
if (L... |
unit uProgLog;
interface
uses
Windows, SysUtils, SyncObjs,Forms,StdCtrls;
const
C_LOG_LEVEL_TRACE = $00000001;
C_LOG_LEVEL_WARNING = $00000002;
C_LOG_LEVEL_ERROR = $00000004;
type
EnumSeverity = (TraceLevel, WarningLevel, ErrorLevel, LogLevel);
function SeverityDesc(severity: EnumSeverity): string;
type
TLogFi... |
unit UCrtlEstado;
interface
uses uController, DB, UDaoEstado;
type CtrlEstado = class(Controller)
private
protected
umaDaoEstado : DaoEstado;
public
Constructor CrieObjeto;
Destructor Destrua_se;
function Salvar(obj:TObject): string; override... |
unit uMainForm;
interface
{$I Lua4Delphi.inc}
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Layouts, FMX.Memo, FMX.TabControl, FMX.Edit, FMX.ListBox,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Ani,
L4D.Engine.MainIntf, L4D.Engine.Main, L4D.Engin... |
{
Unit Name: uExecFromMem
Author: steve10120
Description: Run an executable from another's memory.
Credits: Tan Chew Keong: Dynamic Forking of Win32 EXE; Author of BTMemoryModule: PerformBaseRelocation().
Reference: security.org.sg/code/loadexe.html
Release Date: 26th August 2009
Website: hac... |
program Exceptions;
{$codepage utf8}
uses
Crt,
Classes,
SysUtils,
HTTPDefs,
fpHTTP,
fpWeb,
fphttpclient,
fpjson,
jsonparser,
httpprotocol;
type
PHistoryRecord = ^THistoryRecord;
THistoryRecord = record
Input, Output: string;
Next: PHistoryRecord;
end;
TRe... |
unit gzipWrap;
interface
uses
SDUGeneral,
zlibex, zlibexgz;
function gzip_Compression(
source: string;
destination: string;
compressNotDecompress: boolean;
compressionLevel: TZCompressionLevel = zcNone;
startOffset: int64 = 0; //... |
unit PassMRZChk;
interface
implementation
function CheckPassportDigit(const PassportStr: string): byte;
const
Weight: array [0 .. 2] of byte = (1, 7, 3);
//
function GetChrProductXWeight(DigitChr: Char; const Idx: byte): byte;
begin
DigitChr := UpCase(DigitChr);
case DigitChr of
'<':
Re... |
unit IdCompressionIntercept;
{ This file implements an Indy intercept component that compresses a data
stream using the open-source zlib compression library. In order for this
file to compile on Windows, the follow .obj files *must* be provided as
delivered with this file:
deflate.obj
inflate.obj
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.