text
stringlengths
14
6.51M
{ Copyright (c) 2016 by Albert Molina Copyright (c) 2017 by BlaiseCoin developers Distributed under the MIT software license, see the accompanying file LICENSE or visit http://www.opensource.org/licenses/mit-license.php. This unit is a part of BlaiseCoin, a P2P crypto-currency. } unit UStreamOp; {$IFDEF F...
unit Class_GkQuery; interface uses Classes,SysUtils,StrUtils,Uni,UniEngine,Class_GKJG_FL_IN_GKZF; type TGkQuery=class(TUniEngine) private FGKJGFLLX: Integer; FGKJGFLID: Integer; FGKJGFLMC: string; FFILTMARK: string; FFILTTEXT: string; FSTARTVAL: Extended; FRIGHTVAL: ...
unit AddRole; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, MainDM, Role; type TFormAddRole = class(TForm) EditName: TEdit; EditFullName: TEdit; ButtonOk: TButton; ButtonCancel: TButton; LabelAdd: TLabel; LabelFullName: TLabel; p...
{----------------------------------------------------------------------------- Unit Name: cSimulationGrids Author: Aaron Hochwimmer (hochwimmera@pbworld.com) Purpose: non-visual classes for storing and manipulating geothermal simulation grids (e.g. MULKON/TOUGH, TETRAD) Updates: 28-Jul-2003: Vers...
unit uExplorerThreadPool; interface uses Windows, Math, Classes, SysUtils, SyncObjs, ExplorerTypes, uConstants, uMemory, uTime, uRuntime, uMultiCPUThreadManager, uThreadEx, uDBEntities; type TExplorerThreadPool = class(TThreadPoolCustom) protected procedure...
unit Lib.VCL.HTTPGraphic; interface uses System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Imaging.JPEG, Vcl.Imaging.GIFImg, Vcl.Imaging.PNGImage, Lib.HTTPContent; function PictureLoadFromContent(Picture: TPicture; Content: TContent): Boolean; implementation type TContentStream = class(TMemoryStre...
unit odg_gui; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, LCLIntf, odg_main, odg_asciidoc, oslog, odg_pyasciidoc, StdCtrls, EditBtn; type { TForm1 } TForm1 = class(TForm) Bsave_ascii_show: TButton; Button...
// 第1版Union-Find unit DSA.Tree.UnionFind1; interface uses System.SysUtils, DSA.Interfaces.DataStructure, DSA.Utils; type { TUnionFind1 } TUnionFind1 = class(TInterfacedObject, IUnionFind) private __id: TArray_int; /// <summary> 查找元素p所对应的集合编号 </summary> function __find(p: integer): integer;...
unit manager; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, Grids, Buttons, fphttpclient, Fpjson, jsonparser; type { TManageForm } TManageForm = class(TForm) btnOK: TButton; btnSendMoney: TButton; editMoney: TLabeledEdit; Grou...
unit USWinEvents; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, StdCtrls, Buttons, ExtCtrls, ClipBrd, Dialogs; type TCrpeWindowEventsDlg = class(TForm) SaveDialog1: TSaveDialog; pnlBottom: TPanel; pnlUpper: TPanel; pnlTopEdge: TPanel; memoWindowEvents: TMem...
unit IdServerWebsocketContext; interface uses Classes, IdCustomTCPServer, IdIOHandlerWebsocket, IdServerBaseHandling, IdServerSocketIOHandling, IdContext, IdIOHandlerStack; type TIdServerWSContext = class; TWebsocketChannelRequest = procedure(const AContext: TIdServerWSContext; aType: TWSDataType; const s...
unit AddGameList; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, bsSkinData, BusinessSkinForm, ExtCtrls, RzPanel, StdCtrls, RzLabel, Mask, RzEdit, bsSkinCtrls, bsSkinBoxCtrls; type TAddGameListFrm = class(TForm) bsBusinessSkinForm1: TbsBusinessSkinForm;...
{******************************************************************************* * uLabeledFControl * * * * Библиотека компонентов для работы с формой редактирования (qFControls) ...
//Autor Bajenov Andrey //All right reserved. //Saint-Petersburg, Russia //2007.02.03 //neyro@mail.ru //DreamChat is published under a double license. You can choose which one fits //better for you, either Mozilla Public License (MPL) or Lesser General Public //License (LGPL). For more info about MPL read the MPL homep...
unit uClienteModel; interface uses System.SysUtils; type TCliente = class private FID: Integer; FNome: string; FDocumento: string; FTipo: string; FTelefone: string; procedure SetNome(const Value: string); public property ID: Integer read FID write FID; property Nome: string rea...
unit USPreview; interface uses Windows, Classes, Graphics, Forms, Controls, Buttons, StdCtrls, ExtCtrls, SysUtils, ComCtrls, UCrpe32; type TCrpePreviewDlg = class(TForm) cbKeepOpen: TCheckBox; btnPreview: TBitBtn; pnlPreview: TPanel; btnWindowZoom: TButton; btnWindowStyle: TButton; btnW...
procedure TextDiagon(Const Text: string); // // Gera um texto colorido e na diagonal no form // // deve ser declarada da seguinte forma: // // procedure TForm1.TextDiagon(Const Text: string); // var logfont:TLogFont; font: Thandle; count: integer; begin LogFont.lfheight:=20; logfont.lfwidth:=20; ...
(* Generate a cave with tunnels *) unit cave; {$mode objfpc}{$H+} {$RANGECHECKS OFF} interface uses globalutils, map, process_cave; type coordinates = record x, y: smallint; end; var r, c, i, p, t, listLength, firstHalf, lastHalf, iterations, tileCounter: smallint; caveArray, tempArray: array[1..glo...
unit uImageZoomHelper; interface uses System.Math, System.Classes, Winapi.Windows, Vcl.StdCtrls, Vcl.ExtCtrls; type TImageZoomHelper = class class procedure ReAlignScrolls(IsCenter: Boolean; FHorizontalScrollBar, FVerticalScrollBar: TScrollBar; Block: TPanel; ImageSize, ClientSize...
{======================================================================================================================= ComboBoxesFrame Unit Raize Components - Demo Program Source Unit Copyright © 1995-2015 by Raize Software, Inc. All Rights Reserved. ====================================================...
{ Unit: wzm.br.Util.Ribbon } { Author: William Zonta } { License: GNU ==> http://www.gnu.org/ } { Date: 2011-01 ...
(*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@* Unit Item *@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@* [2007/10/23] Helios - RaX ================================================================================ License: (FreeBSD, plus co...
unit TabExplorerView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, ComCtrls, ToolWin, VirtualTrees, VirtualExplorerTree, cxControls, cxPC; type TTabExplorerForm = class(TForm) RecentDropdown: TPopupMenu; TabControl: TcxTabControl;...
unit tod_dlg; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, Buttons, StdCtrls; type { TTODdialog } TTODdialog = class(TForm) BitBtn1: TBitBtn; Content: TPanel; Footer: TPanel; Label1: TLabel; btnConfigure: TSpeedButton; ...
unit uModBarcodeUsage; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs, uModApp, uModOrganization, uModUnit, uModAR, System.Generics.Collections, uModBarcodeRequest, uModSuplier, uModRekening; type TModBarcodeUsageItem = class; TModBarcodeUsage = class(TModApp) pri...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, StdCtrls; type TForm1 = class(TForm) MainMenu1: TMainMenu; N1: TMenuItem; AddWindowMenu: TMenuItem; CloseLastWindowMenu: TMenuItem; CloseMenu: TMenuItem; ...
object DemoOptions: TDemoOptions Left = 681 Top = 337 BorderStyle = bsDialog Caption = 'Demo interface options' ClientHeight = 215 ClientWidth = 234 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] OldCreat...
unit InflatablesList_Item_Comp; {$INCLUDE '.\InflatablesList_defs.inc'} interface uses InflatablesList_Types, InflatablesList_Item_Draw; type TILItem_Comp = class(TILItem_Draw) public Function Contains(const Text: String; Value: TILItemSearchResult): Boolean; overload; virtual; Function Contains(con...
unit InflatablesList_HTML_Utils; {$INCLUDE '.\InflatablesList_defs.inc'} interface uses SysUtils, AuxTypes; //============================================================================== //- special parsing exception -------------------------------------------------- type EILHTMLParseError = class(Ex...
unit uOpHelper; {$I ..\Include\IntXLib.inc} interface uses Math, SysUtils, uConstants, uDigitHelper, uStrings, uDigitOpHelper, uXBits, uEnums, uIMultiplier, uMultiplyManager, uPcgRandomMinimal, uMillerRabin, uUtils, uIntXLibTypes, uIntX; type /// <summary> ...
namespace swingsample; //Sample app by Brian Long (http://blong.com) { This example demonstrates using Java Swing See: - http://download.oracle.com/javase/1.4.2/docs/api/javax/swing/package-frame.html - http://www.java2s.com/Code/JavaAPI/javax.swing/Catalogjavax.swing.htm } interface uses ...
unit openvpn; interface uses Windows, SysUtils, Forms, Dialogs, Registry, formload, ShellAPI, WinInet, Unit4; type TConsoleInput = function(ConsoleIdx: Integer; InputStr: PChar): LongBool; stdcall; //external 'UtilDll.dll'; //TOnConsoleOutput = procedure(const OutputStr: string); stdcall; TOnConsoleOutput = ...
namespace RemObjects.Elements.System; interface [assembly:NamespaceAlias('com.remobjects.oxygene.system', ['remobjects.elements.system'])] [assembly:NamespaceAlias('com.remobjects.oxygene.system.linq', ['remobjects.elements.system.linq'])] [assembly:NamespaceAlias('com.remobjects.elements.system', ['remobjects.eleme...
// ------------------------------------------------------------- // Programa que troca os valores de duas variáveis, a e b. :~ // ------------------------------------------------------------- Program ExemploPzim ; var a,b: integer; Begin // Solicita valores de a e b writeln('Digite dois valores inteiro...
unit TpControls; interface uses SysUtils, ThTag, ThWebControl; const tpClass = 'tpClass'; type TTpEvent = string; TTpEventType = procedure(inSender: TObject) of object; // TTpGraphicControl = class(TThWebGraphicControl) private FOnGenerate: TTpEvent; protected procedure Tag(inTag: TThT...
Program HelloWorld(output) var msg : String begin msg = 'Hello, world!'; Writeln(msg) end.
unit uBASE_DialogForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, cxLookAndFeelPainters, ExtCtrls, StdCtrls, cxButtons, uParams; type TBASE_DialogForm = class(TForm) btnCancel: TcxButton; btnOK: TcxButton; Bevel: TBevel; ...
{ Laz-Model Copyright (C) 2002 Eldean AB, Peter Söderman, Ville Krumlinde Portions (C) 2016 Peter Dyson. Initial Lazarus port 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 versi...
unit St_sp_Hostel_Add_Room; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, FIBDataSet, pFIBDataSet, cxGridLevel, cxGridCustomTableView, cxGridTa...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { A shader that applies a render pass for each material in its assigned MaterialLibrary. } unit VXS.MultiMaterialShader; interface uses System.Classes, VXS.Material, VXS.RenderContextInfo, V...
unit StdRut; interface type TFlagsArray = class private flags: array of boolean ; Size, StartIdx: integer ; public constructor Create( StartIdx0, EndIdx: integer ) ; procedure clear ; procedure setFlag( i: integer ) ; function hasFlag( i: integer ) : boolean ; end ; TSmIntPairArray = cl...
unit Unit2; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Math.Vectors, REST.Types, REST.Client, Data.Bind.Components, System.JSON, Data.Bind.ObjectScope, FMX.Objects, FMX.Controls3D, FMX.Lay...
unit MyDocumentController; interface uses Classes, LrDocument, LrOpenDocumentsController, MyDocumentHost; type TMyDocument = class(TLrDocument) private FText: TStringList; protected procedure SetText(const Value: TStringList); public constructor Create; override; destructor Destroy; ...
unit PasswordRecovery; { '******************************************************* '* Module : GTalk-Password Recovery '* Author : Arethusa '* GTalk Password Recovery, thanks to kscm, who gave '* me a snippet which wasn't working, but it was a '* beginning... This snippet has no author :( So I '* don't know, w...
unit MoneyOutAdd; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, CurrEdit, ToolEdit, Mask, Db, DBTables, uCommonForm,uOilQuery,Ora, uOilStoredProc, MemDS, DBAccess; type TfrmMoneyOutAdd = class(TCommonForm) pButtons: TPanel; bbOK:...
unit ThImageButton; interface uses Windows, Classes, Controls, StdCtrls, ExtCtrls, Graphics, Messages, SysUtils, Types, ThInterfaces, ThCssStyle, ThStyledCtrl, ThWebControl, ThPicture, ThTag, ThAnchor, ThTextPaint, ThLabel, ThAttributeList, ThStyleList, ThImage; type TThImageButton = class(TThCustomI...
unit uOpenAPI; interface uses System.SysUtils, System.Classes, System.JSON, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client; type TOpenAPIDM = class(TDataModule) private ...
unit pSHCompletionProposal; {$I SynEdit.inc} interface uses Classes, Controls, Messages, Windows, Graphics, Forms, StdCtrls, SynCompletionProposal, SynEdit, SynEditTypes, pSHIntf,pSHSqlTxtRtns; type TpSHCompletionProposal = class(TSynCompletionProposal) private FNeedObjectType: Tp...
{*******************************************************} { } { fFrameSearch.pas { Copyright @2014/5/20 16:00:27 by 姜梁 { } { 功能描述: { 函数说明: {******************************************************...
PROGRAM DataTypes; // VAR // x: BYTE; // y: CHAR; // BEGIN // WriteLn(Low(BYTE)); // WriteLn(High(BYTE)); // // FOR x := Low(x) TO High(BYTE) DO Write(x, ' '); // x := 3; // WriteLn(Succ(x)); // nachfolger // WriteLn(Pred(x)); // vorgänger // {* funktioniert auch bei CHAR *} // y := Low(y); // ...
unit Video; interface uses Aurelius.Mapping.Attributes, MediaFile, VideoFormat; type [Entity] [DiscriminatorValue('VIDEO')] TVideo = class(TMediaFile) private FVideoFormat: TVideoFormat; public [Association([], [])] [JoinColumn('ID_VIDEO_FORMAT', [])] property VideoFormat: TVideoForm...
unit Odontologia.Modelo.Paciente; interface uses Data.DB, SimpleDAO, SimpleInterface, SimpleQueryRestDW, System.SysUtils, Odontologia.Modelo.Conexion.RestDW, Odontologia.Modelo.Paciente.Interfaces, Odontologia.Modelo.Estado, Odontologia.Modelo.Estado.Interfaces, Odontologia.Modelo.Entidades.Pacien...
{$I ogem.inc} unit NF_OPS; interface const NF_ID_NAME : pchar = 'NF_NAME'; NF_ID_VERSION : pchar = 'NF_VERSION'; NF_ID_STDERR : pchar = 'NF_STDERR'; NF_ID_SHUTDOWN : pchar = 'NF_SHUTDOWN'; NF_ID_EXIT : pchar = 'NF_EXIT'; NF_ID_DEBUG : pchar = 'DEBUGPRINTF'; NF_ID_ETHERNET : p...
unit uFrmAdvertisingConfig; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB, cxDBData, cxGridLevel, cxClasses, cxControls, cxGridCustomView, cxGridCustomTableView, c...
unit uSystemTypes; interface type TCaixa = array[0..12] of Integer; TCaixaPotencia = array[0..12] of Double; TBtnCommandType = (btInc, btAlt, btExc, btPos, btFlt, btImp, btRest, btAgrupa, btSelCol, btRodape, btGrade); TDesativadoState = (STD_DESATIVADO, STD_NAODESATIVADO, STD_AMBOSDESATIVADO); TOr...
{----------------------------------------------------------------------------- Unit Name: frmBreakPoints Author: Kiriakos Vlahos Purpose: Breakpoints Window History: -----------------------------------------------------------------------------} unit frmBreakPoints; interface uses Windows, Messages, SysUti...
unit HCEmrViewIH; interface {$I HCEmrView.inc} uses Windows, Classes, SysUtils, Messages, Imm, {$IFDEF VIEWTOOL}HCViewTool{$ELSE}HCView{$ENDIF}, HCCallBackMethod, frm_InputHelper, HCCustomData, HCItem, HCStyle, HCRectItem; type THCEmrViewIH = class({$IFDEF VIEWTOOL}THCViewTool{$ELSE}THCView{$ENDIF}) private...
unit frmRepairReason; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, StdCtrls, ComCtrls, Buttons, DBClient, cxGridLevel, cxClasses, cxControls, cxGridCustomView, cxG...
{Procedural Texture Demo / Tobias Peirick } //The Original is at GLScene //Greatly changed..altered by Ivan Lee Herring. unit CCProceduralCloudsFrm; interface uses Winapi.Windows, Winapi.Messages, Winapi.ShellApi,//help display System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls,...
unit TestULancamentoPadraoController; { 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, ULancament...
Unit OOP3; interface uses Stack, Graph, WinCrt; type Proc = Procedure (p: pointer); PLocation = ^TLocation; TLocation = object(TStackable) X, Y: Integer; constructor Init(InitX, InitY:Integer); function GetX:Integer; function ...
unit About; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Dialogs, Buttons, ExtCtrls, HTTPApp, OleCtrls, SHDocVw, registry, Shellapi; type TAboutBox = class(TForm) OKButton: TButton; Memo1: TMemo; procedure FormCreate(Sender: TObject); procedu...
{$C-} program PlayWithTurtle; { TURTLEGRAPHICS DEMO PROGRAM Version 1.00A This programs demonstrates the use of Turtlegraphics with TURBO PASCAL Version 3.0. NOTE: You must have a color graphics adapter to use this program. PSEUDO CODE 1. Initialize program...
{************************************************************* Author: Stéphane Vander Clock (SVanderClock@Arkadia.com) www: http://www.arkadia.com EMail: SVanderClock@Arkadia.com product: ALcinoe SQL parser Function Version: 3.05 Description: SQL function to create easily sql string ...
(*------------------------------------------------------------------------------ PacketTypes Tsusai 2006 Types used with communications are listed here. TBuffer : Basic Buffer TCBuffer : Used for string buffer procedures TThreadLink : Used for linking accounts or characters to the client socket -- Revisions...
unit uTroco; interface type TCedula = ( CeNota100, CeNota50, CeNota20, CeNota10, CeNota5, CeNota2, CeMoeda100, CeMoeda50, CeMoeda25, CeMoeda10, CeMoeda5, CeMoeda1 ); TTroco = class private FTipo: TCedula; FQuantidade: Integer; public constructor Create( Tipo: TCedula; Quantidade: I...
unit CluesConfig; interface uses Classes, Generics.Collections; type TCluesConfig = class _config : TDictionary<string, string>; _history : TStringList; _name : string; // filename of the config file _sourcePath : string; // folder where clue stores the output (usually ...
//модуль системных подпрограмм и типов данных // unit sysfun; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls; //<-------------------------------------------------------------------------->\\ //<-------------------------------ТИПЫ ...
object AboutBox: TAboutBox Left = 368 Top = 298 ActiveControl = OKButton BorderStyle = bsDialog Caption = 'About' ClientHeight = 242 ClientWidth = 346 Color = clBtnFace DefaultMonitor = dmMainForm Font.Charset = DEFAULT_CHARSET Font.Color = clBlack Font.Height = -11 Font.Name = 'M...
unit SignalSystem; {$mode delphi} interface uses SysUtils, Graphics, Classes, LCLIntf, Contnrs, Entity, TrafficSignal; type TSignalSystemState = Integer; TSignalSystemEntity = class(TEntity) protected LastShift: LongInt; SignalList: TFPObjectList; State: TSignalSystemState; ...
unit CFMMTimer; interface uses Windows, Classes, MMSystem, TypInfo; type TCFMMTimer = class(TObject) private FInternal: Cardinal; // 定时器的间隔时间,单位为毫秒,默认为1000毫秒 FEnable: Boolean; // 定时器是否在运行,默认为FALSE FProcCallback: TFnTimeCallback; // 回调函数指针 FOnTimer: TNotifyEvent; // 周期回调时触发的定时器事...
unit Demo.BaseFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, uniGUITypes, uniGUIAbstractClasses, uniGUIClasses, uniGUIFrame, DB, uniGUIBaseClasses, uniPanel, System.Actions, Vcl.ActnList, uniMemo, uniSyntaxEditorEx, uniSyntaxEditorBase, uniToolBar, cfs.GCharts.u...
unit PKCS11LibrarySelectDlg; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, SDUForms, ComCtrls, SDUComCtrls, StdCtrls, PKCS11KnownLibs; type TPKCS11LibrarySelectDialog = class(TSDUForm) Label1: TLabel; pbOK: TButton; pbCancel: TB...
unit UnitSlideShowUpdateInfoThread; interface uses ActiveX, Classes, SysUtils, DB, uThreadForm, uThreadEx, uMemory, uDBConnection, uDBContext, uDBEntities, uExifUtils, uConstants; type TSlideShowUpdateInfoThread = class(TThreadEx) private { Private declarations ...
//*****************************************// // Carlo Pasolini // // http://pasotech.altervista.org // // email: cdpasop@hotmail.it // //*****************************************// //this is the CodeInjection Unit: it supplies the kernel of Code Injection //implementatio...
unit GetWebFile; interface uses Windows, WinInet; function GetInetFile(FileURL : String) : String; implementation function GetInetFile(FileURL : String) : String; const BufferSize = 1024; var hSession : hInternet; hURL : hInternet; BufLen : DWORD; Buffer : Array [0..1023] of Char; begin Resu...
{: Benchmark for GLCanvas.<p> This project pits TGLCanvas against TCanvas in direct mode (hardware acceleration should be available on both sides).<p> You may usually bet on TGLCanvas being 3 to 5 times faster, but on fast 3D hardware, or when PenWidth is not 1, the performance ratio can reach 1:100.<...
unit VlcPlayer_Unit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls, AXVLC_TLB; type TVlcPlayPosEvent = procedure(Sender: TObject; pos, len: integer) of object; TVlcPlayer = class(TForm) VLCPlugin21: TVLCPlugin2; procedure VLCPlugin21Medi...
unit uRegistry; interface uses Registry, Windows; type TDefaulRegistry = class private FRootKey : HKEY; FOpenKey : String; FKey : String; public property RookKey : HKEY read FRootKey write FRootKey; property OpenKey : String read FOpenKey write FOpenKey; ...
unit untMaquinaDeDinheiro; interface uses Classes; type IMaquina = interface ['{214BF960-EAF5-41C2-91D5-0E8F401D65A3}'] function MontarTroco(Troco: Double): TList; end; TCedula = (ceNota100, ceNota50, ceNota20, ceNota10, ceNota5, ceNota2, ceMoeda100, ceMoeda50, ceMoeda25, ceMoeda10, ceMoeda5, ceMo...
unit Odontologia.Vistas.Direccion.Departamento; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.ImageList, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.ImgList, Vcl.StdCtrls, Vcl.Buttons, Vcl.Grids, Vcl.DBGrid...
unit uMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.WebBrowser, FMX.ListBox, FMX.Layouts, FMX.MultiView; type TMainForm = class(TForm) StyleBook: TStyleBook; Pane...
unit Invoice.Controller.AppInfo.Default; interface uses Invoice.Controller.Interfaces, Winapi.Windows, Winapi.Messages, Vcl.Forms; type TControllerAppInfoDefault = class(TInterfacedObject, iControllerAppInfoDefault) private FCompanyName: String; FFileDescription: String; FFile...
unit stmFont1; interface {$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF} uses graphics, util1,stmdef,stmObj; { Gestion de l'objet PG2 Tfont font est un objet Delphi Tfont Rappel: quand l'objet est une propriété d'un autre objet, il n'est pas nécessaire d'utiliser var pu:typeUO Il...
unit CalledByRunDll32Impl; interface uses Winapi.Windows; ///<summary>rundll32 path\to\your.dll,EntryPoint additional parameters go here</summary> procedure EntryPoint(_HWnd: HWND; _HInstance: HINST; _CmdLine: PAnsiChar; CmdShow: Integer); stdcall; ///<summary>rundll32 path\to\your.dll,EntryPoint additional paramet...
unit ImageRGBALongData; interface uses Windows, Graphics, Abstract2DImageData, RGBALongDataSet, BasicDataTypes; type T2DImageRGBALongData = class (TAbstract2DImageData) private FDefaultColor: TPixelRGBALongData; // Gets function GetData(_x, _y, _c: integer):longword; ...
unit Flix.Utils.Maps; interface uses Classes, SysUtils, TypInfo, System.Generics.Collections, VCL.TMSFNCMaps; type TMapService = TTMSFNCMapsService; TServiceAPIKeyDict = TDictionary<TMapService, string>; TNamesDict = TDictionary<TMapService, string>; TServicesDict = TDictionary<string, TMapService>...
{ *************************************************************************** Copyright (c) 2016-2019 Kike Pérez Unit : Quick.Logger.RuntimeErrorHook Description : Log Runtime Errors Author : Kike Pérez Version : 1.20 Created : 28/03/2019 Modified : 28/03/2019 This file is part...
unit LIB.List2; interface //#################################################################### ■ uses LIB.List1; type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】 //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【インタフェース】 IHead2 = interface; ...
unit HBarpcs; {******************************************************************************* Program Modifications: -------------------------------------------------------------------------------- Date UserId Description ------------------------------------------------------------------------------- 12-20-20...
///msg "Andrey" Это сообщение из коммандной строки! unit uCommLine; { TSharedMem } { This class simplifies the process of creating a region of shared memory. In Win32, this is accomplished by using the CreateFileMapping and MapViewOfFile functions. } interface uses SysUtils, Classes, Windows; type { THandled...
unit uCamHelper; interface uses Windows, SysUtils, Classes, vcl.Graphics, VFrames; type TResolution = packed record W: Integer; H: Integer; end; type TCamHelper = class constructor Create(Handle: THandle); destructor Destroy; override; private Vid : TVideoImage; FCamNumber, FCamC...
unit uDAOdescuento; {$mode objfpc}{$H+} interface uses Classes, SysUtils, uEstructura; var f:TextFile; posicion: integer; const IMPORTE_MINIMO='importeMinimo='; DESCUENTO='porcentajeDescuento='; procedure CrearFichero(var f:TextFile); procedure CrearFicheroDescuento(); procedure ModificarDesc(var f:TextFil...
unit NumberEdit; // ----------------------------------------------------------------------------- // NumberEdit コントロール ver.2.0.0 for Delphi XE3 // copyright (c) みず // ----------------------------------------------------------------------------- interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, Syste...
unit ImageHistoryUnit; interface uses Graphics, Classes, uMemory; type THistoryAct = (THA_Redo, THA_Undo, THA_Add, THA_Unknown); THistoryAction = set of THistoryAct; TNotifyHistoryEvent = procedure(Sender: TObject; Action: THistoryAction) of object; type TBitmapHistoryItem = class(TOb...
Unit Un_PdfObjetos; Interface Uses Classes, Un_PdfXRef; Type //------------------------------------------------------------------------ TPdfTipoObjeto=(obj_boolean,obj_numero,obj_indireto,obj_string,obj_nome,obj_array,obj_dicionario,obj_stream,obj_nulo,obj_keyword,obj_embedded); //--------------------...
unit HashAlgGOST_U; // Description: GOST R 34.11-94 (Wrapper for the GOST Hashing Engine) // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // interface uses Classes, HashAlg_U, Has...
unit UnitJPEGOptions; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, uDBForm, JPEG, uSettings, pngimage, uFormInterfaces; type TDBJPEGOptions = record ProgressiveMode: Boolean; C...
{ This sample shows how to store text data into a custom resource, how to use them and how to localize them. Text resources are added by adding them into Custom.rc file and adding the rc file into the project. } unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, ...
namespace com.example.android.livecubes.cube1; {* * Copyright (C) 2007 The Android Open Source Project * * 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/...