text
stringlengths
14
6.51M
unit ncDebug; { ResourceString: Dario 12/03/13 } interface uses SyncObjs, SysUtils, Dialogs; var AbriuArqDebug : Boolean = False; DebugAtivo : Boolean = False; arqDebug : TextFile; debugCS : TCriticalSection = nil; nomearqdebug : String = 'debug.txt'; // do not localize procedure DebugMsg(S...
unit Main; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, FileCtrl, ExtCtrls, Monkey; type TMainForm = class(TForm) DriveList: TDriveComboBox; FolderList: TDirectoryListBox; FileList: TFileListBox; CloseButton: TButton; InfoB...
unit xProtocolSendScreen; interface uses System.Types,System.Classes, xFunction, system.SysUtils, xUDPServerBase, xConsts, System.IniFiles, Winapi.WinInet, winsock, Graphics, xProtocolBase, System.Math; const C_SEND_SCREEN = 1; // 发送屏幕 const C_SEND_PACKS_COUNT = 8000; // 每条命令发送包长度 type ...
{*******************************************************} { } { Delphi FireMonkey Platform } { } { Copyright(c) 2011-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit frContact; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, frameBase, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, frListBase, frPhones, cxDBEdit, cxTextEdit, cxMas...
program final_2017; const DIM1=4; DIM2=4; type Tmat = array[1..DIM1,1..DIM2] of Longint; procedure CargarMatriz(var M: Tmat); var i,j,f,k,c,fac: Longint; begin for i := 1 to DIM1 do begin for j:=1 to DIM2 do begin f:=i+j; fac:=1; c:=1; for k:=1 to f do begin fac:=fac*...
program DATEKILL; { deletes Fidomail BBS messages by date } uses FileOps; CONST rootpath = 'c:\msg\'; ValidChars : set of 0..127 = [32..127]; CutOffDay = 16; CutOffMonth = 'Oct'; VAR Dir : POINTER; filename : string; infile : file; {---------------------------------------------------------} PROCED...
unit BrickCamp.Model; interface type TResourceType = (rProduct, rUser, rQuestion, rAnswer); const RESOURCESTRINGS: array[TResourceType] of string = ('/product', '/user', '/question', '/answer'); GET_GENERIC_GETONE: string = '/getone'; GET_GENERIC_GETLIST: string = '/getlist'; POST_GENERIC: string = ''; ...
unit UTimeFutebol; interface uses UCampeonato,System.Generics.Collections; type TTimeFutebol = class private FId : Integer; FNome : String; FQuantidadeTorcida : double; FTitulos : TObjectList<TCampeonatos>; function getId : Integer; function getNome...
unit WatchDog.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs, IniFiles, Threads.Base, Generics.Collections, GMGenerics, GMGlobals, Connection.Base, Connection.TCP, WinApi.WinSvc, ShellAPI, StdRequest, StdResponce, GMCons...
unit search_drive; {$mode objfpc}{$H+} interface uses Classes, SysUtils, windows; function ssss(i:integer):string; implementation function ssss(i:integer):string; var C: string; DType: Integer; //DriveString: string; begin { Loop from A..Z to determine available drives } C := chr(...
unit uFrmContador; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, uReduxStore, System.Generics.Collections; type TActionType = (INCREMENT = 0,DECREMENT = 1); TFrmContador = class(TForm) ...
{$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 47 O(1) Box Intersect and Turn Left Alg. } program TwoSegmentsIntersectSegment; const Epsilon = 1E-5; type TPoint = record X, Y : Extended; end; TSegment = record ...
unit AppSettings; interface uses System.SysUtils, System.Classes, BaseDocked, Vcl.Controls, Vcl.StdCtrls, RzLabel, Vcl.ExtCtrls, RzPanel, Vcl.Mask, RzEdit, RzDBEdit, RzButton, RzRadChk, System.UITypes, StrUtils, SaveIntf, Vcl.ComCtrls, RzDTP; type TfrmAppSettings = class(TfrmBaseDocked,ISave) RzGroupBo...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
{ ******************************************************************************* Title: T2Ti ERP Description: DataModule The MIT License Copyright: Copyright (C) 2015 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation fil...
1 unit Lists; 2 { Oktober 2003; Tom Verhoeff; versie 1.0 } 3 { unit om lijsten te manipuleren } 4 { Oefenversie zonder implementatie van Find } 5 6 interface 7 8 const 9 MaxListLen = 24; { maximum lengte van een lijst, 1 <= MaxListLen } 10 MinEntry = 0; { kleinste waarde in een lijst } 1...
(* AbsTreeTest: MM, 2020-05-01 *) (* ------ *) (* Program to test the Abstract Syntax Tree *) (* ========================================================================= *) ...
{ InternetExpress sample application. The InetXCenter sample application displays information about various InternetExpress components. This information is stored in a local file created by TClientDataSet. This application is used to edit the information in the local file. ClientDataSet1.FileName...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLSMWaveOut<p> Basic sound manager based on WinMM <p> <b>History : </b><font size=-1><ul> <li>17/11/09 - DaStr - Improved Unix compatibility (thanks Predator) (BugtrackerID = 2893580) <li>25/0...
{ *************************************************************************** } { } { Delphi and Kylix Cross-Platform Visual Component Library } { } ...
unit pFIBRepositoryOperations; interface {$i ..\FIBPlus.inc} uses pFIBInterfaces; procedure AdjustFRepositaryTable(DB:IFIBConnect); procedure CreateErrorRepositoryTable(DB:IFIBConnect); procedure CreateDataSetRepositoryTable(DB:IFIBConnect); implementation uses pFIBEditorsConsts; {const qryCreateTab...
unit p2_baseless_VCL_orderbook_example_main; interface uses Windows, SysUtils, Classes, ActiveX, Forms, Controls, StdCtrls, Grids, P2ClientGate_TLB, p2_orderbook_collector, ExtCtrls; const INI_FILE_NAME = 'P2ClientGate.ini'; STREAM_INFO_NAME = 'FORTS_FUTINFO_REPL'; STREAM_AGGR_NAME = 'FORTS_FUT...
unit Main; interface uses System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ExtDlgs, Vcl.Imaging.Jpeg, //GLScene GLScene, GLObjects, GLTexture, GLWin32Viewer, GLMaterial, GLCoordinates, GLCrossPlatform, GLBaseClasses, GLUtils;...
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 65520,0,0} { by Behdad Esfahbod Algorithmic Problems Book August '1999 Problem 39 BackTrack Method } program DegreeBoundedSpanningTree; const MaxN = 170 + 1; var N, K : Integer; G : array [1 .. MaxN, 1 .. MaxN] of Integer; Mark : array [1 .. MaxN...
Unit UnCondicaoPagamento; Interface Uses Classes, UnDadosCR,SQLExpr, tabela, SysUtils; //classe funcoes Type TRBFuncoesCondicaoPagamento = class private Cadastro : TSQL; Tabela, Aux : TSqlQuery; function RCodCondicaoPagamentoDisponivel : Integer; function GravaDParcelas(VpaDCondica...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2015-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Edit; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; Edit1: TEdit;...
{**********************************************************************} {* Иллюстрация к книге "OpenGL в проектах Delphi" *} {* Краснов М.В. softgl@chat.ru *} {**********************************************************************} unit frmMain; interface u...
{*********************************************} { TeeChart Gauge Series Types } { Copyright (c) 2002-2004 by David Berneda } { All Rights Reserved } {*********************************************} unit TeeGauges; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, ...
unit class_props_0; interface implementation uses System; type TNested = class private FCnt: Int32; function GetCnt: Int32; public property Cnt: Int32 read GetCnt; end; TRoot = class private FNested: TNested; public property Nested: TNested read FNested; constructor Create;...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
{*********************************************} { TeeGrid Software Library } { VCL TTextFormat Editor } { Copyright (c) 2016 by Steema Software } { All Rights Reserved } {*********************************************} unit VCLTee.Editor.Format.Text; ...
unit junor2; interface implementation Function FreeSel; begin GlobalUnlock(gwFrameBufSel); if FreeSelector(gwFrameBufSel) = 0 then result:=TRUE else result:=FALSE; end; {************************************************************************ * SetConfiguration * * This routine is responsible for ...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit PrintPreviewFrame; interface uses SysUtils, Forms, ExtCtrls, ToolWin, Preview, Controls, ComCtrls, Classes, Windows, ActnList, Graphics, ItemsDef, Types, Contnrs, Printers, StdCtrls, Core; type TfrmPrintPreview = class(TFrame) tlbPrintPreview: TToolBar; panPrintPreview: TPanel; btn...
unit efatt.xmlwriter; {$mode objfpc}{$H+} interface uses Classes, SysUtils , uefattura , DOM, XMLWrite ; type { TEFattXmlWriter } TEFattXmlWriter = class(TObject) private FeFattura: TEFattura; FFormatSettings: TFormatSettings; function GetXmlFileName: string; ...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC SAP SQL Anywhere driver } { } { Copyright(c) 2004-2018 Embar...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit ufrmMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ActnList, diocp.tcp.server, ExtCtrls, ComCtrls, utils.safeLogger, diocp.ex.server; type TfrmMain = class(TForm) edtPort: TEdit; btnOpen: TButton; actlstMain: TActionList; ...
// HRParser v1.0.1 (25.Sep.2000) // Simple and fast parser classes. // by Colin A Ridgewell // // Copyright (C) 1999,2000 Hayden-R Ltd // http://www.haydenr.com // // 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 t...
{ This unit defines a custom Gauge descendant which improves the visibility of the state of the test run. Instead of setting the background color, the progress bar is painted in the test state color itself. Copyright (c) 2011 by Graeme Geldenhuys All rights reserved. } unit CustomGauge; {$mode objfpc}{$H+...
{ *************************************************************************** } { SynWebReqRes.pas is the 2nd file of SynBroker Project } { by c5soft@189.cn Version 0.9.2.1 2018-6-7 } { *************************************************************************** } ...
{*******************************************************} { } { Delphi LiveBindings Framework } { } { Copyright(c) 2011 Embarcadero Technologies, Inc. } { ...
{*********************************************************************************************************************** * * TERRA Game Engine * ========================================== * * Copyright (C) 2003, 2014 by Sιrgio Flores (relfos@gmail.com) * ***************************************************...
// The caching is very primitive, and probably won't even help all that much in a real // world situation. Enhancing the caching mechanism is left as an exercise for the user. {$DEFINE DEBUG} unit VMMain; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtr...
unit TestPombo; interface uses TestFramework, System.SysUtils, VooDaPomba, DuckClass, Pruu, Pomba; type TestTPomba = class(TTestCase) strict private FPomba: TPomba; protected procedure SetUp; override; procedure TearDown; override; published procedure ClassTest_TipoPombo_TPomba; procedu...
unit uMarca; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, uDmMarca, Mask, DBCtrls, Grids, DBGrids, SMDBGrid, db, Forms, StdCtrls, Buttons, ExtCtrls, Dialogs, RzTabs; type TfMarca = class(TForm) RzPageControl1: TRzPageControl; TS_Consulta: TRzTabSheet; TS_Cadast...
unit adot.Strings; { Definition of classes/record types: TReplace = record we translate all comands to sequence of "replace" TStr = class string utils. TStringEditor = record List of string edit commands (insert/delete/replace). Can be applied to any string. Any operation is applied to initia...
unit WebPageLookMod; interface uses Windows, Messages, SysUtils, Classes, HTTPApp, WebModu, HTTPProd, CompProd, PagItems, SiteProd, WebAdapt, WebComp, MidItems, WebForm; type TWebPageLookModule = class(TWebPageModule) AdapterPageProducer1: TAdapterPageProducer; PicturesIterator: TPagedAdapter; T...
unit Bullets; interface uses Points, EngineTypes, Level; procedure CreateBullet (B: PBullet); procedure CreateWeapon (W : PWeapon; ItemModel : PItemModel; M : PMonster); procedure ProcessBullets (dt : float); procedure Shot(M : PMonster; WPModel : PItemModel; Dx : float); var CActiveBullets : inte...
unit SIP_Library; interface uses Classes,SIP_Script; type TSIPLibrary=class(TStringList) private function GetScript(ID:Integer): TSipScript; function GetScriptText(ID:Integer): String; procedure SetScriptText(ID:Integer; const Value: String); function GetScriptName(ID: Integer): String; proced...
unit ResourceStrings; interface resourcestring rsAbout = 'About'; rsAreYouSureToPermanen = 'Are you sure to permanently delete this file?'; rsCannotDeleteFileS = 'Cannot delete file: %s.'; rsChineseZh_CN = 'Chinese (zh_CN)'; rsCouldNotDeleteFileS = 'Could not delete file: %s'; rsCreateNewFolder = 'Create ...
{*******************************************************} { } { XMLIniFile Unit ver 1.02 } { } { Copyright(c) 2010-2012 DEKO } { ...
unit BCEditor.Editor.ActiveLine; interface uses Classes, Graphics, BCEditor.Editor.Glyph, BCEditor.Consts; type TBCEditorActiveLine = class(TPersistent) strict private FColor: TColor; FIndicator: TBCEditorGlyph; FOnChange: TNotifyEvent; FVisible: Boolean; procedure DoChange(Se...
unit IWCompCheckbox; {PUBDIST} interface uses Classes, IWHTMLTag, IWControl, IWTypes, IWScriptEvents; type TIWCustomCheckBoxStyle = (stNormal, stCool); TIWCustomCheckBox = class(TIWControl) protected FChecked: Boolean; FStyle: TIWCustomCheckBoxStyle; // procedure HookEvents(AScriptEvents: ...
unit AbstractView; interface uses System.SysUtils, InterfaceRecursos; type TView = class Recursos: IRecursos; constructor Create(Recursos: IRecursos); function Exibir(Artista: string): string; virtual; abstract; end; implementation { TView } constructor TView.Create(Recursos: IRecursos); begin ...
unit MyTitles; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,jpeg; type TForm1 = class(TForm) Button1: TButton; Label1: TLabel; Button2: TButton; procedure Button1Click(Sender: TObject); procedure FormCanResize(Sender: TObject; ...
unit Recipient; interface uses Entity, ADODB, DB; type TRecipient = class(TEntity) private FName: string; public procedure Add; override; procedure Save; override; procedure Edit; override; procedure Cancel; override; property Name: string read FName write FName; constructor Cre...
unit uPaperInfoBase; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ComCtrls, StdCtrls, xPaperAction; type TfPaperInfoBase = class(TForm) pnl1: TPanel; btnCancel: TButton; btnSave: TButton; btnPrint: TButton; pnlMai...
unit UnFornecedorListaRegistrosView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGrids, StdCtrls, JvExControls, JvButton, DB, JvTransparentButton, ExtCtrls, { Fluente } Util, DataUtil, UnModelo, UnFornecedorListaRegistrosModelo, Componentes, ...
unit fConsMedRslt; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ORCtrls, ORfn, ExtCtrls, fAutoSz, ORDtTm, fConsultAlertTo, fRptBox, VA508AccessibilityManager, Vcl.ComCtrls, Vcl.ImgList; type TMedResultRec = record Action: string; ResultPtr: string; DateT...
{ Convex Hull - Shortest Polygon Jordan Gift Wrapping Algorithm O(N.K) Input: N: Number of points P[I]: Coordinates of point I Output: K: Number of points on ConvexHull C: Index of points in ConvexHull Note: It finds the shortest ConvexHull (In case of many points on a line) Reference: Creative ...
{ Tools for serializing and deserializing TForm position on screen. @author(Tomáš Borek <tomas.borek@post.cz>) } unit UFormSettings; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, IniFiles; type { Manages form settings shared data. } { TFormSettingsManager } TFormSettingsManager = clas...
unit v.main; interface uses mvw.vForm, Spring.Collections, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, RzPanel, RzSplit; type TvMain = class(TvForm) Splitter: TRzSplitter; Panel1:...
unit account_impl; {This file was generated on 13 Jun 2000 21:12:13 GMT by version 03.03.03.C1.04} {of the Inprise VisiBroker idl2pas CORBA IDL compiler. } {Please do not edit the contents of this file. You should instead edit and } {recompile the original IDL which was located in the file a...
//////////////////////////////////////////// // Формирование запросов к приборам // Поток опроса приборов по RS485 через Геомер //////////////////////////////////////////// unit GM485; interface uses Windows, Classes, SysUtils, GMGlobals, Math, StrUtils, ADODB, DB, ActiveX, Forms, GMConst, GMSqlQuery, Generics.C...
{*******************************************************} { } { Delphi Visual Component Library } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit glslang.ResourceLimits; interface //#################################################################### ■ // //Copyright (C) 2002-2005 3Dlabs Inc. Ltd. //Copyright (C) 2013 LunarG, Inc. // //All rights reserved. // //Redistribution and use in source and binary forms, with or without //modification, are permit...
unit ADemosntrativoFaturamento; { Autor: Rafael Budag Data Criação: 19/05/1999; Função: Consultar as notas fiscais. } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios, StdCtrls, Componentes1, ExtCtrls, PainelGradiente, Localiza...
{ Copyright (C) 1998-2018, written by Shkolnik Mike, Scalabium E-Mail: mshkolnik@scalabium.com mshkolnik@yahoo.com WEB: http://www.scalabium.com } unit SMCalendar; interface {$I SMVersion.inc} uses Windows, Messages, Classes, Graphics, Grids, Calendar; type TGetCellParams = procedure...
unit AMotivoInadimplencia; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios, Componentes1, ExtCtrls, PainelGradiente, Grids, DBGrids, Tabela, DBKeyViolation, StdCtrls, Localizacao, Mask, DBCtrls, Db, DBTables, CBancoDados, BotaoCadastro, Buttons, DBC...
unit ExtendedAdapterObj; interface uses Classes, Sample_TLB, SiteComp, HTTPProd, WebAdapt, DBAdapt, AutoAdap; type IGetSampleValue = interface ['{88139B17-B93F-4CF2-9C5D-23A4B39C0F77}'] function GetSampleValue: string; end; TExtendedAdapter = class(TAdapter, IGetSampleValue) private FSampleValue:...
unit uJSONUtil; interface uses REST.Json, System.JSON, System.SysUtils; const cJsonOptions : TJsonOptions = [joIgnoreEmptyStrings, joIgnoreEmptyArrays, joDateFormatISO8601]; type TJSONUtil = class public class function objectToJsonObject(AObject: TObject): TJSONObject; class function objectToJsonString(A...
unit HKModel; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpjson, LResources, Forms, Controls, Graphics, Dialogs, HKConnection, HKStringGrid, Requester; type TOnFilteringData=procedure(Sender:TObject; aRow:TJSONObject; Query:String; var aResult:Boolean)of object; { THKModel } THKModel = cla...
unit Frm_CompressionRatio; interface uses Windows, Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Dialogs, Vcl.StdCtrls, GLVfsPAK; type TFrmCompressionRatio = class(TForm) BtnForOk: TButton; BtnForCancel: TButton; CbForRatio: TComboBox; proced...
unit ncaFrmConfigPrecoAuto; { ResourceString: Dario 11/03/13 Nada para para fazer } interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ncaFrmBaseOpcaoImgTxtCheckBox, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, Menus,...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, MQTT; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; Button4: TButton; GroupBox1: TGroupBox; Memo1: TMemo...
unit MainUnit; (* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
unit MediaProcessing.Processor.VA.Any; interface uses SysUtils,Windows,Classes, MediaProcessing.Definitions,MediaProcessing.Global, MediaProcessing.VideoAnalytics.Definitions; type TScheduleItem = packed record From: TTime; To_: TTime; end; TMediaProcessor_VA_Any=class (TMediaProcessor,IMediaProce...
unit TestOSFile; { 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, SysUtils, OSFile, Windows, Dial...
(* * This code was generated by the TaskGen tool from file * "TASM32Task.xml" * Version: 16.0.0.0 * Runtime Version: v2.0.50727 * Changes to this file may cause incorrect behavior and will be * overwritten when the code is regenerated. *) unit TasmStrs; interface const sTaskName = 'tasm32'; // Directori...
program fixlp; uses SysUtils, Classes, FileUtil, laz2_xmlread, laz2_xmlwrite, laz2_dom; const PARENTS_OF_NUMBERED_NODES: array[0..9] of string = ( 'BuildModes', 'RequiredPackages', 'RequiredPkgs', 'Files', 'Units', 'Exceptions', 'JumpHistory', 'Modes', 'HistoryLists', 'OtherDefines' ); { Rename the giv...
unit FC.Trade.LiveDialog; {$I Compiler.inc} interface uses BaseUtils, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufmDialogClose_B, StdCtrls, ExtendControls, ExtCtrls, ActnList, TeEngine, Series, TeeProcs, Chart, ComCtrls, Spin, ToolWin, JvComponentBase, JvCaptionButton...
// Ported CrystalDiskInfo (The MIT License, http://crystalmark.info) unit SMARTSupport.WD; interface uses BufferInterpreter, Device.SMART.List, SMARTSupport, Support; type TWDSMARTSupport = class(TSMARTSupport) public function IsThisStorageMine( const IdentifyDevice: TIdentifyDeviceResult; cons...
{ InternetExpress sample application component. TInetXCenterProducer is a custom TMidasPageProducer that implements standard behavior for pages in the INetXCenter sample application. Creating a custom producer has benefits: 1) Can create customized, common appearance for web pages. Easy to change appear...
{ Trapping runtime errors The Trap unit allows you to trap runtime errors, so a runtime error will not abort the program, but pass the control back to a point within the program. The usage is simple. The TrapExec procedure can be called with a function (p) as an argument. p must take a Boolean argument. p ...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit uEngine; {$ZEROBASEDSTRINGS OFF} interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Math.Vectors,System.JSON, DateUtils, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,FMX.Objects, uEngine2DModel, uEngine2DSprite, uEngineUtils, uEngineThread...
unit u_SolidWastte_Upload; interface uses Classes, SysUtils, Math, SolidWasteService, Json, StrUtils; Function SolidWastte_Upload(const Info: String): Integer; function SolidWastte_Desc(RetCode: Byte): String; implementation uses u_Log; var g_Intf: ISolidWasteService; g_RetPaire: JSon.TJSONObject; Fun...
unit ForestConsts; interface uses Classes; const // Numbers I_FILE_INDEX = $FFFFFFFF; I_DEFAULT_COL_WIDTH = 64; I_COL_COUNT = 68; I_MIN_HEIGHT = 50; I_NORMAL_HEIGHT = 300; I_COLS_TO_FIND_LAST_ROW = 11; I_WEIGHT_TO_FIND_LAST_ROW = 6; // Settings and params S_REG_KEY: AnsiString = 'Software\Nefe...
unit osLogin; interface uses Windows, SysUtils, osSQLDataSet, acCustomSQLMainDataUn, Controls, Dialogs, osCustomLoginFormUn; type TLoginUsuario = class private FDefaultUserName: string; FNome: string; FIDUsuario: integer; FStatus: string; FApelido: string; function G...
unit ClearStorehouseProductsQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseFDQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,...
//****************************************************************// //****** Author - Kucher Alexander <a7exander@gmail.com> *********// //************************* (С) 2018 *****************************// //****************************************************************// unit A7Rep; interface uses SysUtils, Cla...
unit MasterMind.ConsoleUtils.Tests; {$IFDEF FPC}{$MODE DELPHI}{$ENDIF} interface uses Classes, SysUtils, fpcunit, testregistry, MasterMind.API; type TTestMasterMindConsoleUtils = class(TTestCase) published procedure TestTryStringToCodeWithInvalidCode; procedure TestTryStringToCodeWithValidCode; end;...
unit GenericDao; interface Uses Db, StrUtils, Rtti, AttributeEntity, TypInfo, SysUtils, Dados.Firebird, Generics.Collections,FireDAC.Comp.Client, FireDAC.Comp.DataSet; type TGenericDAO = class private class function GetTableName<T: class>(Obj: T): String; public class function Insert<T: class>(...
{*************************************************************************** * * 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 free soft...
unit Vigilante.Build.Observer.Impl; interface uses System.TypInfo, System.Generics.Collections, Vigilante.Build.Model, Vigilante.Build.Observer; type TBuildSubject = class(TInterfacedObject, IBuildSubject) private FObservadores: TList<IBuildObserver>; public constructor Create; destructor Destr...
unit Ths.Erp.Database.Table.MusteriTemsilciGrubu; 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 TMusteriTemsilciGrubu = class(TTable) private FTemsilc...
unit h_Checks; interface uses SysUtils, Variants, h_Functions, system.Math; Type TChecks = class(TObject) public class function CPF(const CPF: string): string; // class function CNPJ(const CNPJ: string): string; // class function CanStrToNumber(const strValue: string): boolean; // Valor contém apenas...