text
stringlengths
14
6.51M
// dws2HelperFunc {: Helper functions for creating class, properties and method symbols in DelphiWebScriptII.<p> <b>History : </b><font size=-1><ul> <li>27/04/2004 - SG - Creation </ul></font> } unit dws2HelperFunc; interface uses Classes, SysUtils, dws2Symbols, dws2CompStrings; pro...
namespace Events.EventClasses; interface type OnSetNameDelegate = delegate(SimpleClassWithEvents: SimpleClassWithEvents; var aNewName: String); SimpleClassWithEvents = class private fOnSetName : OnSetNameDelegate; fName : String := 'NoName'; protected procedure SetName(Value : Stri...
unit BCEditor.Editor.LeftMargin.LineState; interface uses Classes; type TBCEditorLeftMarginLineState = class(TPersistent) strict private FEnabled: Boolean; FOnChange: TNotifyEvent; FWidth: Integer; procedure DoChange; procedure SetEnabled(const Value: Boolean); procedure Se...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
PROGRAM Fibo; (* Print a table of Fibonacci numbers using (slow) recursive definition P.D. Terry, Rhodes University, 2016 *) FUNCTION Fib (m : LONGINT) : LONGINT; (* Compute m-th term in Fibonacci series 0,1,1,2 ... *) BEGIN IF m = 0 THEN Fib := 0 ELSE IF m = 1 THEN Fib := 1 ELSE Fib := F...
program GameMain; uses SwinGame, sgTypes, Sysutils; type Track = record trackID: Integer; trackTitle: String; trackLocation: String; end; TrackArray = array [0..14] of Track; Album = record albumID: Integer; albumTitle: String; artistName: String; artwork: String; numberOfTracks: I...
unit Semaphor; interface procedure sInit; {$IFNDEF SOLID}export;{$ENDIF} procedure sDone; {$IFNDEF SOLID}export;{$ENDIF} procedure sSetSemaphore(Name, Value: String); {$IFNDEF SOLID}export;{$ENDIF} function sGetSemaphore(Name: String): String; {$IFNDEF SOLID}export;{$ENDIF} function sGetBoolSemaphore(Name: String): ...
unit uFactoryConversao; interface uses uConversao; type TTipoConversao = (enInvertido = 0, enMaiusculo = 1, enAlfabetica = 2); IFactoryConversao = interface ['{9D22BC99-D81A-4D79-960E-278849318302}'] function GetConversao(AnTipo: Integer): IConversao; end; TConverteFactory = class(TInterfacedObje...
unit fibAthlInstanceCounter; interface uses Windows, Messages, SysUtils, Classes; // Graphics, // Controls, // Forms, // Dialogs; const CNLEN = 15; // Computer name length EventSignature = $EAB6F31C; type TAthlInstanceEventType = ( ieGlobalCreated, // Global notiifcation about instance cre...
{ /**********************************************************\ | | | hprose | | | | Official WebSite: http://www.hprose.com/ | | ...
unit u_xpl_triggers; {$mode objfpc}{$H+} interface uses Classes , SysUtils , u_xpl_globals , u_xpl_collection ; type { TxPLtrigger } TxPLTriggerType = (trgTimers,trgSingle,trgRecurring,trgGlobalChange,trgCondition,trgMessage); TxPLtrigger = class(TxPLGlobalValue) ...
{ ID: a2peter1 PROG: holstein LANG: PASCAL } {$B-,I-,Q-,R-,S-} const problem = 'holstein'; MaxN = 1000; MaxM = 15; var N,M,i,j,k,t,sol : longint; target,now,tup : array[0..MaxN] of longint; vit : array[0..MaxM,0..MaxN] of longint; procedure comb(i,j: longint); var k :...
unit NtUtils.WinSafer; interface uses Winapi.WinSafer, NtUtils.Exceptions, NtUtils.Objects; // Open a Safer level function SafexOpenLevel(out hLevel: TSaferHandle; ScopeId: TSaferScopeId; LevelId: TSaferLevelId): TNtxStatus; // Close a Safer level procedure SafexCloseLevel(var hLevel: TSaferHandle); // Query S...
unit BI.Tools; interface // Divide a TDataItem into 2 parts using different methods. uses BI.Arrays, BI.DataItem; type { TDataSplit returns two Indices arrays (A and B) with the row numbers for both parts of the split } TSplitBy=(Percent,Count); TSplitMode=(Random,Start); TSplitOptions=record...
const MAX_IN_BUF = 4096 * 4; var total_bytes_read, bytes_read : int64; input_buffer : array[0..MAX_IN_BUF-1] of char; idx_input_buffer : longint; input_stream : TFileStream; function fast_read_next_char(): Char; begin (* Take one char out of the buffer *) fast_read_next_char := input_buffer[idx...
unit SettingsView; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Samples.Spin, System.Actions, Vcl.ActnList, Settings, Vcl.ComCtrls; type ISettingsView = interface proc...
unit uToHik86; interface uses System.SysUtils, System.Classes, IniFiles, uLogger, SyncObjs, IOUtils, IdBaseComponent, IdComponent, IdCustomTCPServer, IdCustomHTTPServer, IdHTTPServer, IdContext, Types, uHik86Sender, Generics.Collections, uGlobal, uTypes; type TToHik86 = class private IdHTTPServerIn: ...
// // 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...
unit RPrintParcelSummaryWithSketch; interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DBCtrls, DBTables, DB, Buttons, Grids, Wwdbigrd, Wwdbgrid, ExtCtrls, Wwtable, Wwdatsrc, Menus, (*Progress,*) RPFiler, RPDefine, RPBase, RPCanvas, RPrinter, PASTypes...
unit UExportWindow; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Spin, StdCtrls, Buttons, math, UShapesList; type { TExportDialog } TExportDialog = class(TForm) SaveDialog: TSaveDialog; ExportSB: TSpeedButton; CancelSB: TSpeedButton; W...
unit Principal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, Vcl.ExtCtrls, Vcl.StdCtrls, Math, Vcl.WinXPickers; type TPrincipalForm = class(TForm) MainMenu1: TMainMenu; Archivo1: TMenuI...
unit Main; {$mode objfpc}{$H+}{$J-} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, BGRAVirtualScreen, BGRABitmap, BGRABitmapTypes, Universe; type { TFormGameOfLife } TFormGameOfLife = class(TForm) BGRAVirtualScreen: TBGRAVirtualScreen; TimerRunSte...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLSilhouette<p> Enhanced silhouette classes.<p> Introduces more evolved/specific silhouette generation and management classes.<p> CAUTION : both connectivity classes leak memory.<p> <b>History : </b><font size=-1><ul> ...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ColorBox, Spin, ExtCtrls, switches, indSliders; type { TForm1 } TForm1 = class(TForm) cbSliderColor: TColorButton; cbVertical: TCheckBox; cbAutoRotate: TCheckBox; cbColorBelow: TC...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLTree<p> Dynamic tree generation in GLScene<p> This code was adapted from the nVidia Tree Demo: http://developer.nvidia.com/object/Procedural_Tree.html<p> History:<ul> <li>10/11/12 - PW - Added CPP compatibility: ch...
unit Unit3; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, Windows; type { TForm3 } TForm3 = class(TForm) Img: TImage; procedure imgPaint(Sender: TObject); procedure setStartSet; procedure addPoint(y:integer); procedure CanvasSetTextAngle(c:...
unit ClassZakList; interface uses Classes, Graphics, Dbtables, Db; const PageMargin = 50; type TZakazList = class private Query : TQuery; procedure PrintAtPos( Canvas : TCanvas; X, Y, Width, Height : integer ); public ZakListCislo : string; Odberatel : TStringList; ObjCisl...
(*!------------------------------------------------------------ * Fano CLI Application (https://fanoframework.github.io) * * @link https://github.com/fanoframework/fano-cli * @copyright Copyright (c) 2018 Zamrony P. Juhara * @license https://github.com/fanoframework/fano-cli/blob/master/LICENSE (MIT) *----...
unit Timon_Dalton_PAT_Fase3_Unit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, jpeg, ComCtrls, Spin; type TForm1 = class(TForm) pgcSpaceMissionPlanner: TPageControl; tsGeneral: TTabSheet; tsDestination: TTabSheet; tsVehic...
unit MessagePaser; interface uses ExtCtrls, Classes, SysUtils; type TStringParser = Class(TObject) private FMsg: String; FReceiveCode: string; FText: String; FSendCode: String; Fprotocol: String; procedure SetMsg(const Value: String); procedure SetReceiveCode(const Value: string); ...
{$A+,B-,E-,F-,G+,I-,N-,O-,P-,Q-,R-,S-,T-,V-,X-} {------------------------------- VGA unit - Turbo Pascal 7.0 -------------------------------} unit vga; interface const vgascreen : pointer = ptr($a000,0000); procedure vga_pal(color,r,g,b:byte); procedure mode(which:word); procedure vga_synch(num:wor...
unit uWebBrowser; interface uses {$IF CompilerVersion > 22} Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, {$ELSE} Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls,Forms, Dialogs, Ext...
unit uPaiVisual; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.StdCtrls, uPaiControle, FMX.Objects, uRESTDWPoolerDB, Data.DB; type TSentidoDados = (sdObjetoCampo, sdCampoObjeto); TTipoAcao = (taIncluir, taAlterar, taCa...
unit Strings; interface const Letters = ['0'..'9', 'A'..'Z', 'a'..'z', 'À'..'Ï', 'Ð'..'ß', 'à'..'ï', 'ð'..'ÿ', '¨', '¸', '_']; LegalChars = Letters + ['$', '@', '#']; Type_Exts = ['$', '@']; ID_LENGTH = 40; type TStringArray = array of String; PID = ^TID; TID = String[ID_LENGTH]; function This...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 2010-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit fGAF; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, fPCEBase, StdCtrls, Buttons, ExtCtrls, Grids, ORFn, ORNet, ORCtrls, ORDtTm, ComCtrls, fPCEBaseGrid, Menus, VA508AccessibilityManager; type TfrmGAF = class(TfrmPCEBaseGrid) lblGAF: TStaticText; edtScore...
unit IWRegion; interface uses {$IFDEF Linux}QControls,{$ELSE}Controls,{$ENDIF} {$IFDEF Linux}QForms,{$ELSE}Forms,{$ENDIF} {$IFDEF Linux}QGraphics,{$ELSE}Graphics,{$ENDIF} {$IFDEF Linux}Qt, Types,{$ELSE}Windows, Messages,{$ENDIF} Classes, IWContainer, IWControl, IWHTMLTag, IWLayoutMgr, IWCompRectangle, I...
unit Values; interface uses Strings; const TYPE_VOID = 0; TYPE_FLOAT = 1; TYPE_INT = 2; TYPE_BYTE = 3; TYPE_STR = 4; TYPE_ARRAY = 5; TYPE_CLASS = 6; STR_TYPE: array [0..6] of String = ( 'void', 'float', 'int', 'byte', 'str', 'array', 'class' ); type Float = Singl...
{ 14/02/2007 08:38:55 (GMT+0:00) > [Akadamia] checked in } { 14/02/2007 08:38:40 (GMT+0:00) > [Akadamia] checked out /} { 12/02/2007 10:15:12 (GMT+0:00) > [Akadamia] checked in } { 08/02/2007 14:06:18 (GMT+0:00) > [Akadamia] checked in } {---------------------------------------------------------------------------...
{*********************************************} { TeeBI Software Library } { TTeeBISource FMX Editor Dialog } { Copyright (c) 2015-2016 by Steema Software } { All Rights Reserved } {*********************************************} unit FMXBI.Editor.Chart.Source; ...
unit TestDelphiNetWebService; { AFS March 2006 This unit compiles but is not semantically meaningfull it is test cases for the code formatting utility } interface uses System.Collections, System.ComponentModel, System.Data, System.Diagnostics, System.Web, System.Web.Services; type /// <summa...
unit Menus; { LLCL - FPC/Lazarus Light LCL based upon LVCL - Very LIGHT VCL ---------------------------- This file is a part of the Light LCL (LLCL). This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not d...
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Specific Paths : Load all definiton for Specific Paths // // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= unit SpecificPath; interface uses Classes, SysUtils; type TSpecificPath = class private fSpecificPathName : String; // No...
unit FC.Trade.Brokers.Stub.Order; {$I Compiler.inc} interface uses SysUtils,BaseUtils,Graphics, Serialization, FC.Definitions,FC.Trade.Brokers.BrokerBase, StockChart.Definitions,FC.Trade.Brokers.OrderBase; type //Специальное расширение для поддержки брокеров-"заглушек" IStockBrokerStubSupport = interface ...
unit SimpleDAO; interface uses SimpleInterface, System.RTTI, System.Generics.Collections, System.Classes, Data.DB, {$IFNDEF CONSOLE} {$IFDEF FMX} FMX.Forms, {$ELSE} Vcl.Forms, {$ENDIF} {$ENDIF} SimpleDAOSQLAttribute, System.Threading; Type TSimpleDAO<T: cl...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit PascalCoin.Utils.Interfaces; interface uses System.Classes, System.SysUtils, System.Generics.Collections, ClpIAsymmetricCipherKeyPair; type TRawBytes = TBytes; HexStr = string; TStringPair = TPair<string, string>; TParamPair = TPair<string, variant>; TECDSA_Signature = record R: string; R...
{**********************************************************************} {* Иллюстрация к книге "OpenGL в проектах Delphi" *} {* Краснов М.В. softgl@chat.ru *} {**********************************************************************} unit Main; interface uses...
unit Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Grids, ExtCtrls, Stacks, Jpeg, Tree, Spin; const _CellWidth = 60; _CellHeight = 60; _IndentLeft = 15; _IndentTop = 15; defBoardSize = 5; type TQueenAction = (GetB...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit SrvrDM; { This is the server side of the demo. A Login procedure has been added to the RemoteDataModule which the client will use to login. You can use the Type Library Editor or the Edit | Add To Interface menu to add a procedure to the type library. } interface uses Windows, Messages, SysUtils, Cla...
unit UComboBoxCursos; interface uses System.SysUtils, System.Classes, Vcl.Controls, Vcl.StdCtrls; type TComboBoxCursos = class(TComboBox) private { Private declarations } protected { Protected declarations } public { Public declarations } FKey: TStringList; constructor Create(AOwner: TC...
unit Fonetiza.Core.Test; interface uses TestFramework, System.SysUtils, Fonetiza.Core; type TTestFonetizaCore = class(TTestCase) strict private FFonetizaCore: TFonetizaCore; public procedure SetUp; override; procedure TearDown; override; published procedure TestGerarConteudoFonetico; end; ...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC ODBC driver base classes } { } { Copyright(c) 2004-2018 Embar...
unit App.Types; interface uses System.Sysutils, System.Classes, System.StrUtils, Crypto.Encoding; const SIZE_PRIVATE_KEY = 174; SIZE_PUBLIC_KEY = 96; type TMessageState = (Normal, Error, Allert); TUint64Helper = record helper for UINt64 function AsBytes: TBytes; end; Strings = TArray<string>...
{----------------------------------------------------------------------------- Unit Name: fAbout This software and source code are distributed on an as is basis, without warranty of any kind, either express or implied. This file can be redistributed, modified if you keep this header. Copyright © Erwien ...
unit sNIF.params.DEF; { ******************************************************* sNIF Utilidad para buscar ficheros ofimáticos con cadenas de caracteres coincidentes con NIF/NIE. ******************************************************* 2012-2018 Ángel Fernández Pineda. Madrid. Spain. This work is license...
unit uPreferences; interface uses uStruct; const sApplicationIniSection='Preferences'; var sIniFilePath: String; DelphiState: TDelphiState; PollingInterval: TPollingInterval; LastPolledTime: TDateTime; IsDelphiDyingURI, IsDelphiDeadURI: String; DisastrousSituationLinksURI: String; ...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
UNIT GrafText; (* valid only in graphics mode *) {~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~} interface uses GRAPH, MaxRes; procedure WriteLine; procedure WriteString(s : STRING); { word wrap is on } procedure WriteInt(int : LONGINT; minlength : INTEGER); procedure WriteReal(r : Real...
{ ********************************************************************** } { } { Delphi and Kylix Cross-Platform Open Tools API } { } { Copyright (C) 2000...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC script console output } { } { Copyright(c) 2004-2018 Embar...
{*******************************************************} { } { Delphi FireDAC Framework } { } { Copyright(c) 2004-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit MainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, cefvcl, ActnList, Buttons, ExtCtrls; type TMainForm = class(TForm) pages: TPageControl; actnLst: TActionList; actGoBack: TAction; actGoForward: TAction; actNewTab: TAc...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, rxdbgrid, rxmemds, Forms, Controls, Graphics, DBGrids, Dialogs, StdCtrls, ExtCtrls, db; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; CheckBox1: TCheckBox; dsData: ...
{ AD.A.P.T. Library Copyright (C) 2014-2018, Simon J Stuart, All Rights Reserved Original Source Location: https://github.com/LaKraven/ADAPT Subject to original License: https://github.com/LaKraven/ADAPT/blob/master/LICENSE.md } unit ADAPT.Streams; {$I ADAPT.inc} interface uses {$IFDEF ADAPT...
{ Subscribing to all topics and printing out incoming messages Simple test code for the libmosquitto C API interface unit Copyright (c) 2019 Karoly Balogh <charlie@amigaspirit.hu> See the LICENSE file for licensing details. } program test; uses mosquitto, ctypes; const MQTT_HOST = 'localhost'; MQTT_...
unit dlg_ProrataNewUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Mask; type Tdlg_ProrataNew = class(TForm) gb_ProrataYear: TGroupBox; Label5: TLabel; Label6: TLabel; ed_ProrataYear: TEdit; gb_OtherInformation: TGroupBox; ...
unit fNoteBD; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ORFN, StdCtrls, ExtCtrls, ORCtrls, ORDtTm, uTIU, fBase508Form, VA508AccessibilityManager; type TfrmNotesByDate = class(TfrmBase508Form) pnlBase: TORAutoPanel; lblBeginDate: TLabel; calBeginDate:...
unit GPFWinAmpControl; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs; const WACM_TRACK_PREV = 40044; WACM_TRACK_NEXT = 40048; WACM_PLAY_CUR = 40045; WACM_PAUSE = 40046; WACM_CONTINUE = 40046; ...
unit UI.Design.ImageIndex; interface uses Winapi.Windows, System.SysUtils, System.Classes, FMX.Graphics, Vcl.Graphics, System.Types, System.UITypes, FMX.ImgList, DesignIntf, System.TypInfo, DesignEditors, VCLEditors;// Vcl.Controls; type TImageIndexProperty = class(TIntegerProperty, ICustomPropertyDrawing, IC...
unit LetterInsertCodesUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TLetterInsertCodesForm = class(TForm) InsertCodesListBox: TListBox; OKButton: TBitBtn; Label1: TLabel; procedure FormCreate(Sender: TObject); private ...
Dadas las siguientes declaraciones: implementar la función siguiente: que, dado un arreglo de enteros positivos, devuelve true si existe algún valor en el arreglo que es divisor del valor que se encuentra en la celda anterior. En caso contrario, devuelve false . Ejemplos: a = [2, 34, 5, 12, 3, 7, 4] , divAnterior de...
unit SubParametersExcelDataModule; interface uses System.SysUtils, System.Classes, ExcelDataModule, Excel2010, Vcl.OleServer, CustomExcelTable, Data.DB, FireDAC.Comp.Client, FireDAC.Comp.DataSet, SubParametersInterface; type TSubParametersExcelTable = class(TCustomExcelTable) private FSubParametersInt:...
unit CreatePoints; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DimensionsUnit; type TCreatePointsFrm = class(TForm) RandomBtn: TButton; HorizontalBtn: TButton; VerticalBtn: TButton; Flip...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TselectState = (ssSelect, ssUnselect, ssMove); TForm1 = class(TForm) Image1: TImage; Button1: TButton; procedure FormCreate(Sender: TObject); procedure FormD...
{**********************************************} { TLightTool Component and Editor Dialog } { Copyright (c) 2003-2004 by David Berneda } {**********************************************} unit TeeLighting; {$I TeeDefs.inc} interface uses Classes, {$IFDEF CLX} QControls, QGraphics, QStdCtrls, QComCt...
unit BrickCamp.Model.IUser; interface uses Spring; type IUser = interface(IInterface) ['{B69AAA6A-253E-47C5-A516-BCEE2DA825A9}'] function GetId: Integer; function GetName: string; procedure SetName(const Value: string); end; implementation end.
unit AlignTypedef; {(*} (*------------------------------------------------------------------------------ Delphi Code formatter source code The Original Code is AlignTypedef, released May 2003. The Initial Developer of the Original Code is Anthony Steele. Portions created by Anthony Steele are Copyright (C)...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
namespace RemObjects.Elements.System; type Utilities = public static class private class var fFinalizer: ^Void; class var fLoaded: Integer; public [SymbolName('__abstract')] class method AbstractCall; begin raise new AbstractMethodException; end; [SymbolName('__i...
unit bi_timer; interface uses Windows, Messages, SysUtils, Classes, Controls; type TBI_Timer = class(TComponent) private FEnabled: Boolean; FInterval: Cardinal; FOnTimer: TNotifyEvent; FTimerThread: TThread; FThreadPriority: TThreadPriority; procedure UpdateTimer; procedure SetOnTimer...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit UCampoCodigoGrid; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Vcl.Imaging.GIFImg, Vcl.ExtCtrls, Vcl.Menus, Vcl.StdCtrls, UDBCampoCodigo; type TFCampoCodigoGrid = class(TForm) edcdCampoCodigo: TDBCampoCodigo; lbcdCampoCodigo: TLab...
unit SaberCompareUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Db, DBTables, ComCtrls, ExtCtrls; type TForm1 = class(TForm) StartButton: TBitBtn; CancelButton: TBitBtn; ParcelTable: TTable; ResidentialBuildingTable: TTable; ...
{*******************************************************} { } { RadStudio Debugger Visualizer Sample } { Copyright(c) 2009-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit ServerMethodsServer; interface uses System.SysUtils, System.Classes, Datasnap.DSServer, Datasnap.DSAuth, DBXPlatform; type {$METHODINFO ON} TServerMethods1 = class(TComponent) private { Private declarations } public { Public declarations } function updateEmpresa(ID: Integer): string; funct...
//////////////////////////////////////////////////////////////////////////////// // // // FileName : SUICheckListBox.pas // Creator : Shen Min // Date : 2002-09-07 V1-V3 // 2003-07-15 V4 // Comment : // // Copyright (c) 2002-2003 Sunisoft // http://www.sunisoft.com // Ema...
unit adot.JSON.JBuilder; interface uses Adot.Collections, System.Classes, System.SysUtils, System.JSON.Types, System.JSON.Writers, System.Generics.Collections; type (* Delphi has 3 frameworks for JSON: 1. Objects + max flexibility - lot of variables, code is not as readable as...
//////////////////////////////////////////////////////////////////////////////// // // // FileName : SUISkinControl.pas // Creator : Shen Min // Date : 2002-09-16 // Comment : // // Copyright (c) 2002-2003 Sunisoft // http://www.sunisoft.com // Email: support@sunisoft.com // /////////////...
unit SHA384; {SHA384 - 384 bit Secure Hash Function} interface (************************************************************************* DESCRIPTION : SHA384 - 384 bit Secure Hash Function REQUIREMENTS : TP5-7, D1-D7/D9-D10/D12/D17-D18/D25S, FPC, VP EXTERNAL DATA : --- MEMORY USA...
{*************************************************************************** * * Orion-project.org Lazarus Helper Library * Copyright (C) 2016-2017 by Nikolay Chunosov * * This file is part of the Orion-project.org Lazarus Helper Library * https://github.com/Chunosov/orion-lazarus * * This Library is f...
{ GS1 interface library for FPC and Lazarus Copyright (C) 2020-2021 Lagunov Aleksey alexs75@yandex.ru This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License,...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2016-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit IdTCPClient; interface uses Classes, IdStack, IdException, IdGlobal, IdTCPConnection; const BoundPortDefault = 0; type TIdTCPClient = class(TIdTCPConnection) protected FBoundIP: string; FBoundPort: Integer; FBoundPortMax: Integer; FBoundPortMin: Integer; FHost: string; FOnConn...
{*******************************************************} { } { Delphi Visual Component Library } { TStrings property editor dialog } { } { Copyright (c) 1999 Bo...
{*******************************************************} { } { Delphi FireDAC Framework } { } { Copyright(c) 2004-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit tsUtils; interface uses Controls, SysUtils, DateUtils, Dialogs; const eps = 0.01; // если цена меньше этой величины, то она равнозначна нулю // функции обработки целочисленного времени и даты function IntToDate(ADate: integer): TDate; function DateToInt(ADate: TDate): integer; function IntToTime(ATime: ...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...