text
stringlengths
14
6.51M
unit TxtTab; //////////////////////////////////////////////////////////////////////////////// // // Author: Jaap Baak // https://github.com/transportmodelling/Utils // //////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////...
unit sStyleSimply; {$I sDefs.inc} interface uses Windows, Graphics, Classes, Controls, acntUtils, SysUtils, StdCtrls, Dialogs, Forms, Messages, sConst, extctrls, IniFiles; type TsSkinData = class (TObject) SkinPath : string; Active : boolean; Version : real; Author : string; Description :...
object ProdModeSetupForm: TProdModeSetupForm Left = 400 Top = 282 BorderStyle = bsDialog Caption = 'Products Mode Settings' ClientHeight = 122 ClientWidth = 165 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Fo...
{+-----------------------------------------------------------------------------+ | Unit: mwEditPropertyReg | Created: 1999-10-31 | Version: 0.88 | Last change: 1999-10-31 | | Property editors for the mwEdit component suite | (moved into this unit to separate design-time only code) +------...
{******************************************************************************* Title: T2Ti ERP Description: Controller do lado Cliente relacionado à tabela [GED_DOCUMENTO_DETALHE] ...
{ Since I received the request I post the following Turbo Vision snippet. The object in the code below is a very basic growbar. It is meant to be inserted into a dialog box and to show the progress of a certain action. The object is very simple so I didn't comment the source. I did include an example on how to put...
unit untremotedatabasehelper; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Sockets, Dialogs, untDataStore, untField, untfieldarraylist, untDataStoreArrayList, IdTCPClient, IdGlobal, untUtils, untOnMatchedEventArgs, dateutils; const SocketBufferSize:word=2048; type QueryType = (qtExecuteNoResult ...
unit IDRFile; // ------------------------------------------------- // WinFluor IDR file handling component // (c) J. Dempster, University of Strathclyde, 2003 // ------------------------------------------------- // 5.8.03 ... .CreateFileFrom() now creates copy of EDR file // 6.8.03 ... .IntensityScale and .IntensityOff...
unit U_FrmConfig; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, IniFiles; type TFrmConfig = class(TForm) BitBtnFechar: TBitBtn; BitBtnSalvar: TBitBtn; GroupBox1: TGroupBox; LabelDBHost: TLabel; EditDBHost:...
unit DAO.ParcelamentoRestricao; interface uses DAO.Base, Model.Parcelamentorestricao, Generics.Collections, System.Classes; type TParcelamentoRestricaoDAO = class(TDAO) public function Insert(aParcelamentos: TParcelamentorestricao): Boolean; function Update(aParcelamentos: TParcelamentorestrica...
unit DAO.DesrinosTransporte; interface uses DAO.base, Model.DestinosTransporte, Generics.Collections, System.Classes; type tDestinosTransporteDAO = class(TDAO) public function Insert(aDestinos: TDestinosTransporte): Boolean; function Update(aDestinos: TDestinosTransporte): Boolean; function Delete(aP...
unit WinInetControl; {$define xDEBUG} {******************************************************************************} {* *} {* Author : R. Garner Version : 0.93 *} {* ...
unit SSSplash; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs; type TSemaphoreNames = (snUseExeName, snUseAppTitle); TSSVersionDetails = class(TPersistent) private FShowVersion: boolean; FVersion: string; published property ShowVersion: boolean read FS...
{******************************************************************************* 作者: dmzn@163.com 2010-06-25 描述: 开启/关闭系统"平滑字体边缘"功能 *******************************************************************************} unit UMgrFontSmooth; interface uses Windows, Classes, Messages, Registry, SysUtils; type...
{*******************************************************} { } { Protocol define } { 定义了一些公共的类型,包括报文类型等 } { } { Author: 穆洪星 ...
{*******************************************************} { } { NTS Aero UI Library } { Created by GooD-NTS ( good.nts@gmail.com ) } { http://ntscorp.ru/ Copyright(c) 2011 } { License: Mozilla Pu...
unit iaRTL.Cloud.S3Object; interface uses System.Generics.Collections, Data.Cloud.AmazonAPI; type TS3Object = class public const // There is no native support for 'folders' in S3...the normal convention is to create a zero length object with its object key name ending in / to act as a folder...
unit SourceTreeWalker; interface uses Classes, SysUtils, ParseTreeNode, ParseTreeNodeType; type INodeVisitor = interface ['{3CCC0A6A-0E0C-4E37-9521-9B6A92F9028F}'] procedure Visit(Node: TParseTreeNode); end; ISourceTreeWalker = interface ['{653F6C4A-3A38-498E-A4DD-F7A34391748C}'...
unit GBJSON.RTTI; interface uses System.Rtti, System.SysUtils, GBJSON.Attributes; type IGBRTTI = interface ['{B432A34C-5601-4254-A951-0DE059E73CCE}'] function GetType(AClass: TClass): TRttiType; function FindType(ATypeName: string): TRttiType; end; TGBRTTI = class(TInterfacedObject, IGBRTTI)...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Spin, SMXM7X, ExtCtrls, ComCtrls, AllocMemory; Const // FRAME_WIDTH = 1280; // FRAME_HEIGHT = 1024; FRAME_WIDTH = 640; FRAME_HEIGHT = 480; type TForm1 = class(TForm) btSn...
{ PrintUtils: This unit collects a number of printer-related helper routines. Author: Dr. Peter Below Version 1.0 created 26.11.2001 Current revision: 1.01 Last modified: 03.12.2001 } {$BOOLEVAL OFF} {Unit depends on shortcut boolean evaluation} unit PrintUtils; interface uses Windows, Classes; type TPaperName ...
(********************************************************************) (* Tomes of Delphi: Algorithms and Data Structures *) (* Source code copyright (c) Julian M Bucknall, 1999-2001 *) (* All rights reserved *) (*------------------------------...
unit ubplModule; interface uses SysUtils, Classes, uTangramModule, SysModule, RegIntf; type TUserModule = class(TModule) private public constructor Create; override; destructor Destroy; override; procedure Init; override; procedure final; override; procedure Notify(Flags: Integer; Intf: I...
unit TNT_Timer; // Gestion des timers du jeu // ------------------------- // Tous les temps retournés sont en secondes // Create: remise à zero // Refresh: actualise la fréquence // Delta: temps écoulé depuis le dernier appel à Delta // Diff: permet de tester si un delai s'est écoulé // *** Note: on ne ...
unit RLAbout; interface uses SysUtils, Classes, Windows, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, Types, RLReport, RLConsts, RLUtils; type TfrmRLAbout = class(TForm) imgLogo: TImage; lblTitle: TLabel; lblVersion: TLabel; lblHome: TLabel; lblCopyright: T...
unit UMenuPrincipal; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, UAbastecimento, ComCtrls; type TfrmMenuPrincipal = class(TForm) MainMenu1: TMainMenu; Relatorio1: TMenuItem; Abastecer1: TMenuItem; procedure Abastecer1Click(Sender: TO...
unit RestClientConfig; interface uses RestClient, System.Classes, HttpConnection; type TRestClientConfig = class private class var FLog: TStrings; class procedure OnError(ARestClient: TRestClient; AResource: TResource; AMethod: TRequestMethod; AHTTPError: EHTTPError; var ARetryMode: TH...
unit FMX.DCLineSeries; interface uses System.Classes, System.SysUtils, System.UITypes, System.Types, FMX.Forms, FMXTee.Chart, FMXTee.Series, FMXTee.Engine, aOPCUtils, aCustomOPCSource, aOPCSource, aOPCLookupList, uDCObjects, //uChoiceIntervalExt, uOPCInterval; const cErrorSerieColor = TColorRec.Gray; ...
unit FastShareMem; // By Frederic Hannes (http://ibeblog.com) // Based on FastShareMem by Emil M. Santos (http://www.codexterity.com) interface var GetAllocMemCount: function: Integer; GetAllocMemSize: function: Integer; implementation uses Windows; const ClassName = '_com.codexterity.fastsh...
unit uKeyScanCode; interface const {************键盘上各键的扫描码以及组合键的扫描码***************/ \\} KEY_L1 = $4F; {小写键盘上的键} KEY_L2 = $50; KEY_L3 = $51; KEY_L4 = $4B; KEY_L6 = $4D; KEY_L7 = $47; KEY_L8 = $48; KEY_L9 = ...
{ $Header: /MidiComp/MidiOut.pas 2 10/06/97 7:33 Davec $ } { Written by David Churcher <dchurcher@cix.compulink.co.uk>, released to the public domain. } { Thanks very much to Fred Kohler for the Technology code. } unit MidiOut; { MIDI Output component. Properties: DeviceID: Windows numeric device ID ...
unit uSetup; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, Registry; type { TfrmSetup } TfrmSetup = class(TForm) btnSaveConf: TButton; btnClose: TButton; btnQuit: TButton; btnSelDirSaveTo: TButton; btnSelDirBin: TButton; ...
unit prodShowImage; interface uses Forms, Classes, Controls, ExtCtrls; type TShowImageForm = class(TForm) Image: TImage; private { Private declarations } public { Public declarations } end; function GetShowImageForm(const FileName: String): Integer; implementation uses Sy...
unit uBenchmark; interface uses uExtMars, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls, FileCtrl; const RM_CLOSE = -1; RM_IDLE = 0; RM_RUN = 1; type TfBenchmark = class(TForm) StatusBar: TStatusBar; ...
unit uParser; {$MODE Delphi} interface uses SysUtils, Classes; const cCRLF = #13#10; cCR = #13; cLF = #10; // tokens var // Generic tokens Token_unknown : Integer; Token_eof : Integer; Token_ident : Integer; Token_intnumber : Integer; Token_fr...
unit UModelUtil; interface uses Generics.Collections, Classes, SyncObjs; type TStringDictionary<TValue> = class( TObjectDictionary< string, TValue > ) public constructor Create;overload; end; // ×Ö·û´®¹þÏ£½á¹¹ TStringPart = TPair< string, string >; TStringHash = class( TDictionary< string, stri...
unit DBConnection; // ==> settare nelle variabili di compilazione // -- tipo di DB {.$DEFINE DBMSSQL} {.$DEFINE DBSQLITE} {.$DEFINE DBORACLE} {.$DEFINE DBPARSE} // -- tipo di connessione {.$DEFINE REMOTEDB} {.$DEFINE FIREDAC} {.$DEFINE MORMOT} {.$DEFINE PARSE} interface uses Generics.Collections, Classes, IniFil...
unit uTelaHeranca; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.DBCtrls, Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, Vcl.Buttons, Vcl.Mask, Vcl.ComCtrls, Vcl.ExtCtrls, ZAbstractRODataset, ZAbstractD...
unit BaseReportController; interface uses BaseReport, Classes, BaseObjects; type TReportControllerFilter = (rcfUseAll, rcfUseSelected); TBaseReportController = class(TComponent) private FAutoFormat: boolean; FDataMover: TDataMover; FFilter: TReportControllerFilter; FReportingObjects: TIDObject...
{ Import *.sclp bone scales into Armor Addon record Apply to ARMA record } unit FO4ImportSCLP; const bUseDataPath = 0; // 0 - use Edit Scripts folder by default, 1 - use Data folder procedure ImportSCLP(e: IInterface; aGender, aFileName: string); var BoneData, GenderEntry, Bones, Bone, Scales: IInterface; s...
unit TextEditor.Highlighter.Token; interface uses System.Classes, TextEditor.Highlighter.Attributes, TextEditor.Types; type TTextEditorAbstractRule = class(TObject) strict private FTokenType: TTextEditorRangeType; public property TokenType: TTextEditorRangeType read FTokenType write FTokenType; en...
unit uMR; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs, uModApp, uMRGroupReport, System.Generics.Collections, uUnit; type TModMRItem = class; TModMR = class(TModApp) private FBulan: Integer; FGroupReport: TModMRGroupReport; FKeterangan: string; FMR...
unit UnitTests; interface uses DUnitX.TestFramework; type [TestFixture] TTestJSONBr = class public [Setup] procedure Setup; [TearDown] procedure TearDown; // Sample Methods // Simple single Test [Test] procedure TestAddPair_1; [Test] procedure TestAddValue_1; [Test...
unit uSource; interface uses uVect, uColour; type Source = class abstract public function getLightPosition: Vect; virtual; abstract; function getLightColor: Colour; virtual; abstract; end; implementation end.
unit CommonVersionSelectFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Version, ActnList, Buttons; type TfrmSelectVersion = class(TFrame) gbxSelect: TGroupBox; cmbxVersion: TComboBox; edtVSeach: TEdit; actlstVSeach: TActionLi...
{ Program TEST_USBPROG * * Program to test low level USB communication with a USBPROG PIC * programmer. } program test_usbprog; %include 'picprg2.ins.pas'; const max_msg_parms = 2; {max parameters we can pass to a message} var name: {name of device to open, e...
unit BaseForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs; type TFmBase = class(TForm) procedure FormCreate(Sender: TObject); private { Private declarations } protected FParHandle: THandle; {* جلت¾؟ٍ *} procedure Inf...
{ Created by BGRA Controls Team Dibo, Circular, lainz (007) and contributors. For detailed information see readme.txt Site: https://sourceforge.net/p/bgra-controls/ Wiki: http://wiki.lazarus.freepascal.org/BGRAControls Forum: http://forum.lazarus.freepascal.org/index.php/board,46.0.html This li...
{$J+} {Writable constants} unit Excombo1; { This example shows two techniques...one where the string portion (if the user added something not in the list) is temporarily stored in your "database" and the second technique uses a temporary record for the string, and only stores the index in the database. The...
unit uJsonClass; interface uses Winapi.Windows, System.SysUtils; type TStatusItem = class private FGroupName: string; FRowId: Integer; FOrderNo: string; FTaskType: Integer; FRoleId: Integer; FState: Integer; FReason: string; FStock: Integer; FIsMain: Boolean; public //...
unit RRManagerEditSideSubstructureInfoFrame; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, RRManagerBaseObjects, RRManagerObjects, RRManagerBaseGUI; type // TfrmSideSubstructureInfo = class(TFrame) TfrmSideSubstructureInfo = class(TBaseFrame) gbxAll: TGro...
unit mUnit; {$mode objfpc}{$H+} interface uses cmem, ray_header, ray_application, ray_sprite_engine, fgl; type { TGame } TGame = class(TRayApplication) private SpriteEngine: TSpriteEngine; AnimSprite: TAnimatedSprite; protected public procedure LoadingTexture(FileName: string); constructo...
// // Created by the DataSnap proxy generator. // 19/03/2017 23:22:26 // unit uFuncoes; interface uses System.JSON, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBXDBReaders, Data.DBXCDSReaders, aduna_ds_list, Data.DBXJ...
{ Procedure STRING_READIN (S) * * Read the next line from standard input into string S. * All trailing blanks are deleted. * * This is the Unix version of this routine. } module string_readin; define string_readin; %include 'string2.ins.pas'; %include 'string_sys.ins.pas'; procedure string_readin ( ...
{$I ssl.inc} unit ssl_err; interface uses sysutils, ssl_types; var { ERR_add_error_data: procedure(_num: TC_INT; ...); cdecl = nil; ERR_add_error_vdata: procedure(_num: TC_INT; va_list args); cdecl = nil; ERR_load_strings: procedure(_lib: TC_INT; ERR_STRING_DATA str[]); cdecl = nil; ERR_unl...
unit uServices; interface uses GnuGettext, WinSvc, Windows, uTools; type TServiceStatus=(ssError, ssNotFound, ssUnknown, ssRunning, ssStopped); TStartStopService=(ssStart, ssStop); function GetServiceStatus(name: string):TServiceStatus; //function StartStopService(name: string; StartStopService: TStartStopSe...
//******************************************************* // // Delphi DataSnap Framework // // Copyright(c) 1995-2012 Embarcadero Technologies, Inc. // //******************************************************* unit DSRESTConnection; {$IFDEF FPC} {$mode DELPHI} {$IFNDEF WINDOWS} {$modeswitch objectivec2...
unit Auth; interface uses EF.Tree , Kitto.Auth.DB , Kitto.Config , RegularExpressions ; type TTasKittoAuthenticator = class(TKDBAuthenticator) strict private procedure SendResetPasswordEmail(const AUserName, AEmailAddress, APassword: string); protected procedure SetPassword(const AValue: stri...
unit LocalizationUtils; interface uses SysUtils, Classes, Dialogs; type TLocale = class public Code: String; StringIDs: TStringList; Strings: TStringList; function GetString(const stringID: String): String; published constructor Create(const localeCode: String)...
unit ChoosePort; {$MODE Delphi} interface uses {$IFDEF WINDOWS}Windows,{$ENDIF} SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ExtCtrls, Messages, Spin, CheckLst; const // коды ошибок выполнения NO_ERR = 0; // ошибок нет COM_ERR = 1; // ошибка СОМ-порта DEVICE_ERR = 2; // ошибка уст...
Unit PascalCoin.RPC.Client; Interface Uses System.JSON, UC.Net.Interfaces, PascalCoin.RPC.Interfaces; Type TPascalCoinRPCClient = Class(TInterfacedObject, IPascalCoinRPCClient) Private FNodeURI: String; FHTTPClient: IucHTTPRequest; FResultStr: String; FResultObj: TJSONObject; FCallId:...
unit REPCoordinateDefs; interface type // List of supported coordinate types TGSType = (GST_ASVIEW, GST_MGRS, GST_ASDEFINED, GST_WGSBL, GST_GEOREF, GST_UTMWGS); TGeodeticSystem = class StoreGeographic : boolean; SystemType : TGSType; Zone : LongInt; procedure ConvertStoreCoorsToGS(gs :...
unit UFrmWorkerRight; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, uFrmBar, dxSkinsCore, dxSkinsdxBarPainter, dxSkinsDefaultPainters, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, ComCtrls, DB, DBClient, dxBar, cxListView, cxContainer, cxTreeView, ...
{ p_38_1.pas - решение директорской задачи, вариант 3 } program p_38_1; type tSet = set of byte; { объявление типа "множество" } {----- Процедура чтения множества из файла -----} procedure ReadSet(var aFile: text; var aSet: tSet); var k: integer; begin while not Eoln(aFile) do begin { пока не конец ст...
unit TempConverterServiceImplementation; interface uses XData.Server.Module, XData.Service.Common, TempConverterService; type [ServiceImplementation] TTempConverterService = class(TInterfacedObject, ITempConverterService) function GetCelsius( F: double ): double; function GetFahrenheit( C: double )...
unit Directories; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TDirectoriesForm = class(TForm) Label1: TLabel; Label2: TLabel; OutputDirectory: TComboBox; SearchPath: TComboBox; SpeedButton1: TSpeedButton; ...
{ For each selected object that has the specified Papyrus script attached, create a property on that script with the specified name and assign it the specified int array. (If the property already exists, it is set -- a duplicate is not added.) We don't check the new property name against the scri...
unit VCL_Mainform; interface uses DGLopengl, TextStream, Unit_Car, Math, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Menus, ComCtrls; type // Pointer pour le picking (Selection) PSelection = ^TSelection; // TSelection holds infor...
unit gmDataset.Design.DatasetEditor; interface uses DesignEditors, DesignIntf, Classes; type UpdateTableEditProperty = class(TPropertyEditor) private { Private declarations } public { Public declarations } function GetAttributes: TPropertyAttributes; override; procedure GetValues(Proc: TGetStrP...
unit IPStreamSocketMock; interface uses IdWinsock2, AsyncIO, AsyncIO.Net.IP; type TIPStreamSocketMock = class(TInterfacedObject, IPStreamSocket) strict private FConnected: boolean; FLocalEndpoint: IPEndpoint; FPeerEndpoint: IPEndpoint; FService: IOService; public constructor Create(const ...
unit sSpeedButton; {$I sDefs.inc} {.$DEFINE LOGGED} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Imglist, Buttons, sCommonData, sConst, sDefaults, sFade, comctrls, menus {$IFDEF TNTUNICODE}, TntButtons{$ENDIF}; type {$IFDEF TNTUNICODE} TsSpeedButton = class(TTntSp...
unit uProjectFile; interface uses SysUtils, Classes, uSharedGlobals, uVisualMASMFile; type PProjectFile = ^TProjectFile; TProjectFile = class(TVisualMASMFile) private FProjectFileType: TProjectFileType; FPath: string; FContent: string; FSizeInBytes: int64; FModified: boolean; ...
unit VersionInfo; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, TypInfo; type TVersionInfo = class private type TVersionType = (vtCompanyName, vtFileDescription, vtFileVersion,vtInternalName, vtLegalCopyright, vtLegalTrad...
{ Copyright © 1999 by Delphi 5 Developer's Guide - Xavier Pacheco and Steve Teixeira } unit MainFrm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TMainForm = class(TForm) btnCallDLLFunc: TButton; edtSearchStr: TEdit; lblSrchWrd: TLabel; ...
unit uRefactoredDrinks; interface type TCaffeineBeverage = class abstract(TObject) protected procedure Brew; virtual; abstract; procedure AddCondiments; virtual; abstract; procedure BoilWater; procedure PourInCup; public procedure PrepareRecipe; virtual; final; end; TTea = cla...
unit Ecc; interface type HCkPublicKey = Pointer; HCkEcc = Pointer; HCkPrng = Pointer; HCkPrivateKey = Pointer; HCkString = Pointer; function CkEcc_Create: HCkEcc; stdcall; procedure CkEcc_Dispose(handle: HCkEcc); stdcall; procedure CkEcc_getDebugLogFilePath(objHandle: HCkEcc; outPropVal: HCkString); stdcall; proc...
unit session_controller; {$mode objfpc}{$H+} interface uses fpcgi, md5, IniFiles, Classes, SysUtils; const MaxIniCreate = 5; _SESSION_SESSION = 'session'; _SESSION_DATA = 'data'; _SESSION_ACTIVE = 'active'; // Start time of session _SESSION_KEYSTART = 'start'; // Start time of session...
unit iaRTL.Cloud.S3Bucket; interface uses System.Classes, System.SysUtils, Data.Cloud.CloudAPI, Data.Cloud.AmazonAPI, iaRTL.API.Keys, iaRTL.Cloud.S3Object, iaRTL.Cloud.S3Folder; type TOnGetBucketCall = procedure(const BucketName:string; const Parameters:TStrings) of object; TOnGetB...
{ @author(Patrick Michael Kolla-ten Venne [pk] <patrick@kolla-tenvenne.de>) @abstract(Maintains an icon cache in the background.) @preformatted( // ***************************************************************************** // Copyright: © 2018 Patrick Michael Kolla-ten Venne. All rights reserved. // ******...
{***************************************************************************} { } { VSoft.CommandLine } { } { ...
unit MathExpression {v 1.0}; {************************************************ For updates checkout: http://www.cobans.net (C) Alex Demchenko(alex@ritlabs.com) *************************************************} interface uses SysUtils, Math; {Error codes} const C_NOERROR = 0; C_ERR_BRACKE...
program Local_Variales; var a, b, c: integer; procedure display; var a, b, c: integer; begin (* local variables *) a := 10; b := 20; c := a + b; writeln('Within the procedure display...'); writeln('value of a = ', a, ' b = ', b, ' and c = ', c); end; begin (* actual initialization...
unit symbolhandlerstructs; {$mode delphi} interface uses Classes, SysUtils, cvconst, commonTypeDefs; type TUDSEnum=record address: ptrUint; allocsize: dword; addressstring: pchar; //points to the string doNotSave: boolean; end; type symexception=class(Exception); type TDBStructInf...
program BasicReadWrite; procedure ReadLinesToTerminal(var myFile: TextFile); var message: String; number: Integer; begin ReadLn(myFile, message); ReadLn(myFile, number); WriteLn('Text is: ', message, ' Number is: ', number); ReadLn(); end; procedure printArray(lines: array of String); var i: Integer; beg...
unit GBJSON.Interfaces; interface uses System.JSON, System.Generics.Collections; type IGBJSONSerializer<T: class, constructor> = interface ['{F808BE4D-AF1A-4BDF-BF3B-945C39762853}'] procedure JsonObjectToObject(AObject: TObject; Value: TJSONObject); overload; function JsonObjectToObject(Value: TJS...
unit NodeConfigDefs; // Wrapper pro vygenerovany NodeConfig interface uses NodeConfig, XMLIntf, XMLDoc; function GetNodeConfig(Path : string) : IXMLREPType; const NODECONFIG_FILENAME = 'REP.WMSAggregation.xml'; implementation uses ShareTools, WMSServerInfo, SysUtils; function GetNodeConfig(Path : string) : IX...
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 Vide...
unit Classes.ScriptDDL; interface uses System.SysUtils, System.Classes; type TScriptDDL = class strict private class var _instance : TScriptDDL; const NUMBER_VERSION_DB = 1; TABLE_CONFIGURACAO = 'app_configuracao'; TABLE_VERSAO = 'app_versao'; TABLE_USUARIO...
{ ******************************************************************************* Title: T2Ti ERP Description: Janela Lançamento a Receber The MIT License Copyright: Copyright (C) 2016 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation ...
unit BspFile; interface type Vec2f = record x, y : Single; end; Vec3f = record x, y, z : Single; end; TVertex = record tv, lv : Vec2f; pos : Vec3f; end; TPlane = record a, b, c, d : Single; end; TFace = record start, num, id, lid, pad : LongWord; ...
unit FMXMainForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, AppController, Orders, FMX.Layouts, FMX.TreeView, FMX.Grid; type TFMXMainFrm = class(TForm, IView) ButtonAdd: TButton; Butto...
{******************************************************************************* Title: T2Ti ERP Fenix Description: Service relacionado à tabela [FIN_LANCAMENTO_PAGAR] The M...
unit ProductManagerFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, RzButton, ExtCtrls, RzPanel, StdCtrls, Mask, RzEdit, RzLabel, DBClient,MainFrm, ActnList; type TProductManagerForm = class(TForm) rzpnl2: TRzPanel; lbl1: TRzLabel; ...
unit MeterConnect1; interface uses Classes, Controls, Forms, Dialogs, StdCtrls, Buttons, StrUtils, ExtCtrls, inifiles, CPDrv, DBCtrlsEh, Graphics, SysUtils, Math, IdAntiFreeze, IdUDPServer, IdUDPBase, IdUDPClient, IdSocketHandle, IdAntiFreezeBase, IdBaseComponent, IdComponent, Mask; type TMet...
unit dmMenuStru; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, fdac.dmdoc, MemTableDataEh, Db, DataDriverEh, MemTableEh, FireDAC.Comp.Client, VkVariable, VkVariableBinding, VkVariableBindingDialog, uDocDescription, FireDAC.Stan.Intf, FireDAC.Stan.Option, F...
{ ******************************************************************************* Title: T2Ti ERP Description: Janela Cadastro do Plano de Contas Referencial do SPED The MIT License Copyright: Copyright (C) 2016 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software an...
unit FMX.DCDataObject; interface uses System.Generics.Collections, System.Classes, System.UITypes, System.SysUtils, FMX.Controls, aCustomOPCSource, uDCObjects; type TaCustomOPCDataObject = class; TaOPCGraphicDataLink = class(TaCustomDataLink) private FOPCSource: TaCustomOPCDataObject; procedu...
unit AABBTimingTest; {$mode objfpc}{$H+} {$CODEALIGN LOCALMIN=16} interface uses Classes, SysUtils, fpcunit, testregistry, BaseTimingTest, BaseTestCase, native, BZVectorMath, BZVectorMathEx, BZProfiler; type { TAABBTimingTest } TAABBTimingTest = class(TVectorBaseTimingTest) protected {$CODEALIGN ...
unit Unt_FileMove; // Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;Winapi;System;Xml;Data;Datasnap;Web;Soap interface uses Classes; type { TMyApplication } TMyApplication = class(TComponent) private FTitle: string; procedure SetTitle(val: string); public procedure Init; pr...
unit uJxdFtpUpTaskManage; interface uses Windows, Classes, SysUtils, Forms, uJxdFtpUpTask; type {$M+} TUpTaskParam = record UpFileName: string; UpDirPath: string; UserName: string; UserPassWord: string; TaskOwnerName: string; Host: string; Port: Integer; Tag: Integer; end; TO...