text
stringlengths
14
6.51M
unit jclass_methods; {$mode objfpc}{$H+} interface uses Classes, SysUtils, jclass_items, jclass_enum, fgl, jclass_common_abstract; type { TJClassMethod } TJClassMethod = class(TJClassItem) public procedure LoadFromStream(AStream: TStream); override; end; { TJClassMethods } TJClassMeth...
/// Conference Domain unit tests unit DomConferenceTest; interface uses SysUtils, Classes, SynCommons, SynTests, mORMot, DomConferenceTypes, DomConferenceInterfaces, DomConferenceServices, DomConferenceDepend; type TTestConference = class(TSynTestCase) protected published procedure Domain...
unit Controllers.Hospedes; interface procedure Registry; implementation uses Horse, Services.Hospedes, Dataset.Serialize, System.JSON, System.SysUtils, Vcl.Dialogs, Horse.Commons, Services.Connection; procedure DoList(Req: THorseRequest; Res: THorseResponse; Next: TProc); var LService: TServi...
unit ufiles; {$mode objfpc}{$H+} interface uses Classes, SysUtils; function ReadFromFile(Filename: string):String; procedure WriteInFile(Filename, txt: string); function makeDir(path:string):Boolean; procedure DeleteThisFile(Filename: string); implementation procedure DeleteThisFile(File...
unit AbstractFactory.Concretes.ConcreteProductB2; interface uses AbstractFactory.Interfaces.IAbstractProductB, AbstractFactory.Interfaces.IAbstractProductA; type TConcreteProductB2 = class(TInterfacedObject, IAbstractProductB) public function UsefulFunctionB: string; function AnotherUsefulFunctionB(A...
unit unDatabaseAuthentificationForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, unSystemAuthentificationForm, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, StdCtrls, cxButtons, ValidateEditUnit, RegExprValidateEditUnit, ExtCtrls, SystemAuth...
{*******************************************************} { } { X-library v.03.01 } { } { 07.10.97 } { ...
unit QExp; interface //要单独使用本单元,注释掉下面的包含语句 //{$I qdac.inc} //要在独立使用时,启用正则表达式支持,去掉行前的注释 {$WARN SYMBOL_DEPRECATED OFF} //{$DEFINE QEXP_REGEX} uses classes,types,windows,sysutils,fmtbcd,math,dialogs,syncobjs {$IFDEF QEXP_REGEX}//是否启用正则表达式函数支持 ,perlregex {$ENDIF}; (* QDAC表达式计算实现 (c)2013,QDAC swish [版权声明] 本单元隶属于QD...
unit PipeCommThreadUnit; //------------------------------------------------------------------------------ // Основной поток сервиса //------------------------------------------------------------------------------ {$mode objfpc}{$H+} interface uses Classes, SysUtils, TypesUnit, Windows, IniFiles, AtolKKTUnit, Seg...
unit uTelaHeranca; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ExtCtrls, Grids, DBGrids, StdCtrls, Mask, DBCtrls, uDataModuleConexao, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, uEnum, Buttons; type TfrmTelaHeranca = class(TForm) pg...
unit DroneControllerImpl; interface uses DroneControllerInterface, uDrone, DroneServiceInterface, System.Generics.Collections; type TDroneController = class(TInterfacedObject, IDroneController) private FDroneService: IDroneservice; public function Save(const ADrone: TDrone) : IDroneController; ...
unit uDmConexao; interface uses System.SysUtils, System.Classes, Data.DB, Data.SqlExpr, Data.DBXFirebird, IniFiles; type TDmConexao = class(TDataModule) SQLConexao: TSQLConnection; procedure DataModuleCreate(Sender: TObject); private { Private declarations } public { Public declarations } ...
unit uShow; interface uses Classes, SysUtils, Controls, RaApplication, RaBase, RaControlsVCL, Dialogs, StdCtrls; procedure Message(AText: string; aCallBack: TNotifyEvent); procedure MessageBox(AText, ATitulo: string; aButonDefault: Integer); function MessageDlg(const aMsg: string; DlgType: TMsgDlgT...
(*:Parts of DSiWin32 that are bound to VCL namespace. @desc <pre> Free for personal and commercial use. No rights reserved. Maintainer : gabr Contributors : aoven, Creation date : 2020-04-03 Last modification : 2020-04-03 Version : 1.0 </pre>*)(* History: 1.0: 202...
(* Copyright (c) 2011-2013, Stefan Glienke All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions ...
unit BCrypt.Consts; interface uses {$IFDEF FPC}Types{$ELSE}System.Types{$ENDIF}; const BCRYPT_SALT_LEN = 16; BLOWFISH_NUM_ROUNDS = 16; BCRYPT_DEFAULT_COST = 10; PBoxOrg: array [0 .. 17] of DWORD = ( $243f6a88, $85a308d3, $13198a2e, $03707344, $a4093822, $299f31d0, $082efa98, $ec4e6c89, $452821e6, $3...
unit AuxCollectionFunctionsUnit; interface uses Classes, SysUtils; procedure FreeListItems(source: TList); procedure FreeListWithItems(var source: TList); implementation procedure FreeListItems(source: TList); var item: Pointer; begin if not Assigned(source) then Exit; for item in source do begin try ...
program ServerClassModifier; // // Modify the Splunk serverclass.conf // // Version 0.3 // {$mode objfpc} {$H+} uses Crt, SysUtils; type THostRec = record host: AnsiString; end; THostArray = array of THostRec; var //tfOrg: TextFile; fnOrg: AnsiString; paramServerClass: A...
unit Tisk; {$MODE Delphi} interface function InitPrint (var PrnFile: TextFile): Boolean; function PrintLine (S: string; var F: TextFile): Boolean; implementation uses Printers, Graphics, SysUtils, LCLIntf, LCLType, LMessages, Dialogs; //-------------------------------------------------------------...
unit uProduct; interface uses System.SysUtils; type TProduct = class private FPrice: Double; FID: Integer; FDescription: string; public property ID: Integer read FID; property Description: string read FDescription; property Price: Double read FPrice; procedure Loa...
unit DBXFluentSQLConnection; interface uses FluentSQLConnection, Classes, DB, SqlExpr, DBXCommon, Contnrs; type TDBXFluentSQLConnection = class; TDBXFluentSQLQuery = class(TFluentSQLQuery) protected FQuery: TComponent; function AsSQLQuery: TSQLQuery; public function CreateQuery: TComponent; ov...
unit uExtensions; { Sandcat Lua Extension System Copyright (c) 2011-2015, Syhunt Informatica License: 3-clause BSD license See https://github.com/felipedaragon/sandcat/ for details. } interface uses Windows, SysUtils, Classes, Forms, Controls, Dialogs, TypInfo, ExtCtrls, Lua, uUIComponents; type TUserS...
unit Nathan.Tuple.Strings; interface uses DUnitX.TestFramework, Nathan.Tuple; type [TestFixture] TTestNathanTupleStrings = class(TObject) public [Test] [TestCase('ChangeValueF','False')] [TestCase('ChangeValueT','True')] procedure Test_OrdinalType_T1(const ChangeValue: Boolea...
{Hint: save all files to location: C:\lamw\projects\\ColorPicker\jni } { Subj: ColorPicker example for LAMW:Android Author: Ibragimov M. aka maxx Russia Togliatty 03/10/17 } unit unit1; {$mode delphi} interface uses Classes, SysUtils, AndroidWidget, Laz_And_Controls, drawingview, FPima...
unit ouosDataCollector; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LCLType, uos_flat, oDataCollector; type { TuosDataCollector } TuosDataCollector = class(TDataCollector) private FDevice: longint; FChannel: DWord; protected function GetErrorMsg: string; public construc...
program Sprites; uses Crt; type BufferType = Array [0..63999] of Byte; type SpriteRec = record {These indicate the dimensions of the sprite} Width, Height, Total : Word; {This points to the actual sprite data, it may occupy 64000 bytes, which is the same size as the buffer.} Data : ^BufferType; ...
unit PDBLookupCombox; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, stdctrls, dbtables, extctrls, RxCtrls, dbctrls, db, SelectDlg, PLabelPanel, buttons, LookupControls; type TPDBLookupCombox = class(TPLookupControl) private { Private declaratio...
program dos_readargs; {$IFNDEF HASAMIGA} {$FATAL This source is compatible with Amiga, AROS and MorphOS only !} {$ENDIF} {$MODE OBJFPC}{$H+}{$HINTS ON} {$UNITPATH ../../../Base/CHelpers} {$UNITPATH ../../../Base/Trinity} { =========================================================================== Project : dos...
unit ExemploComLSP; interface type IArquivo = interface procedure LerArquivo; end; TArquivoDelimitado = class(TInterfacedObject, IArquivo) protected procedure SetDelimiter; virtual; abstract; public procedure LerArquivo; end; TArquivoCSV = class(TArquivoDelimitado) prote...
program Lillys; uses Crt; const DocTitle = 'LILLYS SURGERY'; ForeCol = White; BarCol = Green; BackCol = Blue; CmdFCol = Yellow; CmdBCol = Red; type TPatient = object Name: string[30]; Address: string[45]; Phone: string[10]; Ailment, Treatment: string[60]; Charge: strin...
(* Copyright (c) 2012-2014, Stefan Glienke All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions ...
unit loDataModelPanel; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls, FPCanvas, fgl; type TloDataModelPanel = class; IloSelectableModelElement = interface(IInterface) ['{2FC51848-40D2-4B76-8A34-FDDD2430C360}'] procedure SelectElement; ...
unit DAO; interface uses Model, FireDAC.Comp.Client, FireDAC.Stan.Param, Singleton.Connection, StrUtils, Generics.Collections, SysUtils, Data.DB; type TDAO = class private FModel: TModel; procedure SetModel(const Value: TModel); function CheckID(AID: Integer): Boolean; function GetNewID: Inte...
unit Rocket; {$mode objfpc}{$H+} interface uses Classes, SysUtils, SizeInfo, MassInfo, RocketEngines, RocketFirstStage, SecondStage, RocketLandingLegs, RocketPotentialPayloadWeight, BaseModel; type IBaseRocket = interface(IBaseModel) ['{06F97F32-2431-4FDE-95C1-D3EF85A5F133}'] function GetActive: Boolean;...
program fodP2E7GenerarEmpresa; const corte = -1; type cliente = record end; fecha = record anio: integer; mes: integer; dia: integer; end; registroMaestro = record codigo: integer; nombre: string; apellido: string; fech: fecha; monto: real; end; maestro = file of registroMaestr...
unit DIOTA.Utils.InputValidator; interface uses System.Classes, Generics.Collections, DIOTA.Model.Transfer, DIOTA.Model.Input; type { * This class provides methods to validate the parameters of different iota API methods. * } TInputValidator = class public { * Determines whether the sp...
unit master_server_connection; //thread based connection to server. can do one action at a time, //returns result via callback {$mode objfpc}{$H+} interface uses Classes, SysUtils,blcksock, synautil, synsock, ssl_openssl, ssl_openssl_lib, master_server_shared,ExtCtrls; const timeout = 120000;//for login /...
unit HTMLWriterIntf; {$REGION 'License'} { ***** 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 Lice...
unit VKDBFCrypt; interface uses Classes, DB, VKDBFGostCrypt; type TCryptMethod = (cmNone, cmXOR, cmGost, cmGost1, cmCustomer); TOnCrypt = procedure(Sender: TObject; Context: LongWord; Buff: Pointer; Size: Integer) of object; {TVKDBFCrypt} TVKDBFCrypt = class(TPersistent) private FActive: boolean; ...
unit Exemplo5; interface uses System.Classes, System.SysUtils; type TFichaUsuario = class; TExportaFichaUsuario = class private FFichaUsuario: TFichaUsuario; public constructor Create(pFichaUsuario: TFichaUsuario); procedure Exportar(pArquivo: string); virtual; abstract; pr...
/////////////////////////////////////////////////////////////////////////// // Project: CW // Program: codedspu.pas // Language: Object Pascal - Delphi ver 3.0 // Support: David Fahey // Date: 01Oct97 // Purpose: This code runs in a seperate thread. It monitors // the MorseKeyButton to d...
{ Delphi Interface for CoolProp Bruce Wernick, 13 December 2015 Notes: All of the char parameters are PAnsiChar, the floating point numbers are Double and the integer types are either LongInt or Integer depending on the type in the dll. Where there is an output string, the calling program must create th...
Unit TSTOProject.Xml; Interface Uses HsXmlDocEx, TSTOCustomPatches.Xml; Type ITSTOXmlMasterFile = interface(IXmlNodeEx) ['{2D01B906-F4F3-4ADE-B385-2F6FD1EA59E2}'] Function GetFileName() : AnsiString; Procedure SetFileName(Value : AnsiString); Function GetNodeName() : AnsiString; Procedure Set...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) btnShowProgress: TButton; procedure btnShowProgressClick(Sender: TObject); procedure FormCreate(Sender: TObject); private { Private declarations } public...
unit szmaster_main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, blcksock, winsock, Synautil, fgl, ssl_openssl, mysql55conn, sqldb, master_server_shared, LCLIntf, ExtCtrls, core_actor_definitions; type eRoomStates = (rsBeforeGame,rsInGame,rsA...
unit win.userRight; interface implementation uses shlobj, Windows; type WELL_KNOWN_SID_TYPE = ( WinNullSid, WinWorldSid, WinLocalSid, WinCreatorOwnerSid, WinCreatorGroupSid, WinCreatorOwnerServerSid, WinCreatorGroupServerSid, WinNtAuthoritySid, WinDialupSid, WinNetworkS...
{***************************************************************************} { } { DUnitX } { } { ...
unit Option; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ComCtrls, ExtCtrls, Dialogs, ExtDlgs, Messages, Menus; type TOptionBox = class(TForm) BitBtnApply: TBitBtn; BitBtnCancel: TBitBtn; BitBtnOK: TBitBtn; CheckBoxShowHintClock: TCheckBox; CheckB...
unit RepositorioDiretorioBackup; interface uses DB, Auditoria, Repositorio; type TRepositorioDiretorioBackup = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; f...
unit RTDisplay; interface uses Windows, SysUtils, Classes, Controls, StdCtrls, Types, Graphics, Dialogs, Messages, Themes, Scale; const NoData = 255; RadarSize = 5; DefaultBoardRange = 500; ScrollBarsSize = 15; Sample_Excluded = $FFFF; Data_Excluded = $FF; DefaultTransparentColor = cl...
program integrala; var S, a, b, h : real; j, i, n : integer; function f(x:real):real; begin f := sqr(x) * x + (2 * x) / (sqr(x) + 1); end; begin a := 2; { Minimul intervalului } b := 4; { Maximul intervalului } n := 100; { Numarul de divizari } S := 0; {...
unit dll; interface uses SysUtils, WinSock; var Count: integer; MACList: array of string; IPList: array of string; FSocket: TSocket; FUdpRemoteAddr: TSockAddrIn; procedure SendMsg(MAC: PChar; buffer: PChar; Len: integer); stdcall; function GetIP(MAC: string): string; implementation procedure InitUDP; v...
unit fmIntuitDemo; interface uses Winapi.Windows , Winapi.Messages , System.SysUtils , System.Variants , System.Classes , Vcl.Graphics , Vcl.Controls , Vcl.Forms , Vcl.Dialogs , Vcl.ExtCtrls , Vcl.ComCtrls , Vcl.Mask , Vcl.StdCtrls , Vcl.FileCtrl , Vcl.Grids , REST.Types , Data.Bin...
unit EnvironmentInfo; { EnvironmentInfo } { Provides information on hardware and software environment} { Partly based on code provided by Mike Thompson, published at} { http://www.lazarus.freepascal.org/index.php/topic,13957.0.html} { (c) J. W. Dietrich, 2007 - 2020 } {$mode objfpc}{$H+} interface u...
program leeter; {$mode objfpc} {$H+} uses Classes, Sysutils; var infile, outfile, stdinput: Text; input_sentence: string; i: integer; { User-defined options } INPUTFILE, OUTPUTFILE, DISPLAY: string; INTERACTIVE, STDIN: boolean; { Program constants } const version = '1.0.0'; help = 'Usage: leeter [FILE] [-o...
unit Settings; { ------------------------------------------------------------------------------ } interface { ------------------------------------------------------------------------------ } uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Com...
unit ProgressShowing; {********************************************** Kingstar Delphi Library Copyright (C) Kingstar Corporation <Unit>ProgressShowing <What>显示长时间操作进度的接口 <Written By> Huang YanLai (黄燕来) <History> **********************************************} { 使用方法: 1、可以调用InstallDefaultProgres...
unit frmSwapOrder_unit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, BaseFrontForm_Unit, ExtCtrls, AdvPanel, AdvSmoothButton, StdCtrls, Generics.Collections, rfOrder_unit, rfUser_unit, Front_DataBase_Unit; type TfrmSwapOrder = class(TBaseFrontFo...
unit frnExportaUsuarioResposta; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, Fire...
{**********************************************************************************} { } { Project vkDBF - dbf ntx clipper compatibility delphi component } { ...
unit TBlokSouctovaHlaska; //definice a obsluha technologickeho bloku Souctova hlaska interface uses IniFiles, TBlok, Menus, SysUtils, Classes, IdContext, Generics.Collections, TOblRizeni, TCPServerOR; type TBlkSHStav = record enabled:boolean; end; TBlkSHSettings = record prejezdy:TList<Integer>; // sez...
{ $HDR$} {**********************************************************************} { Unit archived using Team Coherence } { Team Coherence is Copyright 2002 by Quality Software Components } { } { For further ...
unit URegraCRUDConvenio; interface uses URegraCRUD , URepositorioDB , URepositorioConvenio , UEntidade , UConvenio ; type TRegraCRUDConvenio = class(TRegraCRUD) protected procedure ValidaInsercao(const coENTIDADE: TENTIDADE); override; public constructor Create; override; end; implemen...
unit MainFMX; 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, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, FMX.ScrollBox, FMX.Memo; type TM...
unit SimpleStack; interface type TStack = class strict private fActualCount: Integer; fCount: integer; fArray: array of string; procedure IncrementArray; public function Peek: string; function Pop: string; procedure Push(Value: string); overload; procedure Push(Value: double); ov...
unit jclass_attributes; {$mode objfpc}{$H+} interface uses Classes, SysUtils, jclass_common, jclass_enum, jclass_constants, jclass_common_abstract, fgl; type { TJClassAttribute } TJClassAttribute = class(TJClassLoadable) protected FAttributeNameIndex: UInt16; FClassFile: TJClassFileAbst...
{ Invokable implementation File for TDelphiConference which implements IDelphiConference } unit untDelphiConferenceImpl; interface uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns, untDelphiConferenceIntf; type { TDelphiConference } TDelphiConference = class(TInvokableClass, IDelphiConference...
unit utestupdate; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpcunit, testutils, testregistry, uCheckUpdate; type { TTestUpdate } TTestUpdate= class(TTestCase) private FUpdate: TUpdate; protected procedure SetUp; override; procedure TearDown; override; published procedure Te...
unit NtUtils.ImageHlp; { This module include various parsing routines for Portable Executable format. } interface {$OVERFLOWCHECKS OFF} uses Ntapi.WinNt, Ntapi.ImageHlp, Ntapi.ntmmapi, NtUtils, DelphiApi.Reflection; type TExportEntry = record Name: AnsiString; Ordinal: Word; [Hex] VirtualAddress:...
unit FTextures; interface uses Windows, FOpenGL, Classes, SysUtils, FLogs; var LoadedTextures : TList; BlankGLID : GLuint; TransparentGLID : GLuint; CircleGLID : GLuint; type PTTexture = ^TTexture; TTexture = record Path : string; GLID : GLuint; end; procedure InitTextures...
unit uFormSimpleCrud; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uFormBase, Vcl.ComCtrls, Data.DB, Vcl.Grids, Vcl.DBGrids, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan...
unit PerformanceDiagnostics.Interfaces; interface type IMethodProxy = interface ['{A30FC512-01B1-44FE-8A80-86080BD3F152}'] end; IMethodInterceptor = interface ['{9536B254-CD46-4778-AFBF-9136334E497F}'] end; IPerformanceDiagnostics = interface ['{E206BC61-8D6A-42DC-B89B-EDF21F4762E1...
{ @abstract(This file is part of the KControls component suite for Delphi and Lazarus.) @author(Tomas Krysl) Copyright (c) 2020 Tomas Krysl<BR><BR> <B>License:</B><BR> This code is licensed under BSD 3-Clause Clear License, see file License.txt or https://spdx.org/licenses/BSD-3-Clause-Clear.html. } ...
{$ifdef license} (* Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com ) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this li...
unit frCambioMoneda; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Buttons, StdCtrls, Mask, JvExMask, JvSpin, dmCambioMoneda; type TfCambioMoneda = class(TFrame) lMonedaBase: TLabel; eMonedaValor: TJvSpinEdit; lMonedaNueva: TLabel; sbBuscarBD...
unit blockinfoModel; interface type TblockinfoModel = class public chapter_content_decompress_length12: Cardinal; chapter_file_size13: Cardinal; chapter_index8: Cardinal; chapter_level9: Word; chapter_name10: string; compress_block_size4: Cardinal; compress_type3: Cardinal; datatyp...
unit Mm03; { ULMM03.DPR================================================================ File: MM03.PAS Library Call Demonstrated: cbAInScan() with EXTMEMORY option Purpose: Collect data from A/D to memory board Demonstrates: How to use the EX...
unit U_Main.View; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, U_Intial.View, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, ipwcore, ipwtypes, ipwipmonitor, FMX.StdCtrls, ipwipinfo, U_Adapter...
unit FastGate; // FastDIB v3.9: sourceforge.net/projects/tfastdib // by: gordy <gordy@dynamicsdirect.com> interface // and cmr.Pent <cmr.Pent@gmail.com> // Last update: August 2006 {$R-} { Routines for fast conversion between FastDIB and TGraphic. } uses Windows, FastDIB, Graph...
PROGRAM FirstFamilyFined(INPUT,OUTPUT); { 0) Автор - Чернов Андрей 1)Общими требованиями к лабораторной работе являются: - организовать ввод данных из файла в понятной для пользователя форме; - обеспечить возможность многократных запросов без повторного запуска программы. - организовать в о...
{$MODESWITCH RESULT+} {$GOTO ON} (************************************************************************* Cephes Math Library Release 2.8: June, 2000 Copyright 1984, 1987, 1988, 1992, 2000 by Stephen L. Moshier Contributors: * Sergey Bochkanov (ALGLIB project). Translation from C to pseudocode. ...
{ Функции работы с файлами. Версия: 0.0.2.1 } unit filefunc; {$mode objfpc}{$H+} interface uses {$IFDEF windows} Windows, {$ENDIF} Classes, SysUtils, sysfunc, strfunc, exttypes; { Определить папку домашней директории } function GetHomeDir(): AnsiString; { Домашняя папка в Linux системах } function GetOS...
unit UntMovimentoCaixaVO; interface uses SysUtils; type TMovimentoCaixaVO = Class private // Dados protegidos FMCA_CODIGO : INTEGER; FMCA_DATA : String; FMCA_HORA : String; FMCA_OPERACAO : String; FMCA_HISTORICO : String; FMCA_NUMDOC : String; ...
{$I XLib.inc } Unit TFCProps; Interface Uses Classes, DsgnIntf, XDBTFC, ColnEdit; Type { TInnerComponentProperty } TInnerComponentProperty = class(TPropertyEditor) public function GetAttributes: TPropertyAttributes; override; function GetEditLimit: Integer; override; function GetValu...
unit udetailedgroupform; {$mode objfpc}{$H+} {$DEFINE DEBUG}// Альтернатива -dDEBUG {$C+}// Альтернатива Включить Assert interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, upropertyeditor, Windows, uConfiguratorData, VirtualTrees, uLibrary, uFrameListFact...
unit TadMgr; interface uses FrogObj, Func1D, ReadIn, OutputCals, Numerics, SysUtils; type TTadCals = record mTadpoleCals: TReadIn; mReferenceCals: TReadIn; mOutputCals: TOutputCals; mTestSpecCals: TReadIn; end; TTadpoleAlgorithmManager = class(TFrogObject) private mTadCals: TTadCals;...
unit Iterator.View.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls; type TfrmMain = class(TForm) pnlTop: TPanel; btnGetResult: TButton; mmResult: TMemo; proce...
unit UGlobal; interface uses Windows; const Version = 'f(11.12.2010)'; type TImg = array of boolean; // Один образ TAImages = array of TImg; // Массив образов TSec = array of byte; // Секущая TRSecDigit = record // Один разряд секущей digit: LongWord; value: boolean; end; TExSec = record...
(* === mcIntf === * Ver: 1.0.1 * By: Igor Nunes * Extension/plugin interfaces for Mini Calc. *) {$mode objfpc} unit mcIntf; interface const MAXLIST = 1000; type TMCResultType = (mcBoolean, mcInteger, mcFloat, mcDateTime, mcString); TMCResult = record ResString : WideString; case ResultTyp...
unit TMultiJCDatabase; //////////////////////////////////////////////////////////////////////////////// // TRIDA TMultiJCDb // databaze slozenych jizdnich cest //////////////////////////////////////////////////////////////////////////////// interface uses TechnologieMultiJC, TBlok, IniFiles, SysUtils, Windows, IdCo...
unit sharefile; {$mode delphi} interface uses Classes, SysUtils, And_jni, AndroidWidget; type {Draft Component code by "Lazarus Android Module Wizard" [10/24/2014 21:21:51]} {https://github.com/jmpessoa/lazandroidmodulewizard} {jControl template} jShareFile = class(jControl) private FTransitoryEnvironmen...
{$N+,E+} {*Allow code to use type 'double', run on any iX86 machine *} {$R-} {* Turn off range checking... we violate array of bounds rules *} unit Unit4; interface uses math, Unit1; procedure InisialisasiBobot(var vbobot:array of Tdatabobot; var wbobot:Tdatabobot); procedure LayerIn (prev:array of double; var next...
unit FtiSelectBOMFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ActnList, tiObject, tiFocusPanel, tiPerAwareCtrls, tiVTListView, tiBOMExploration, tiVTAbstract; type TtiSelectBOMFrame = class(TFrame) gbBOM: TGroupBox; cb...
unit DsgTimeUtils; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,dsgnintf,TypInfo,XForms,FrtEndLog; type TStartPropEditor=class private FComponents: TComponentList; FDesigner: IFormDesigner; FPropName: string; FComponent: TComponent; FFilter: TTypeKinds; ...
unit Command.Commands.SimpleCommand; interface uses Command.Interfaces.ICommand; // Some commands can implement simple operations on their own. // Alguns comandos podem implementar simples operações eles mesmos type TSimpleCommand = class(TInterfacedObject, ICommand) private FPayload: string; public ...
unit script_export; interface uses BaseGameData; function Init(dwFlags:cardinal):boolean; implementation const CUIGameCustom__HideActorMenu_offset:cardinal=$47f120; //<NONPORTABLE>// var CUIGameCustom__ShowActorMenu_adapter_ptr:pointer; CUIGameCustom__SwitchActorMenuState_ptr:pointer; procedure CUIGameCusto...
unit ScreenKeyboard; { ------------------------------------------------------------------------------ } interface { ------------------------------------------------------------------------------ } uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Keyboard, ExtCtr...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2015 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of an Embarcadero developer tools product. // This software is considered a Redistributable as ...
unit ServerModuleU; interface uses System.SysUtils, System.Classes, IdBaseComponent, IdComponent, IdCustomTCPServer, IdTCPServer, IdContext; type TServerModule = class(TDataModule) IdTCPServer1: TIdTCPServer; procedure IdTCPServer1Execute(AContext: TIdContext); procedure IdTCPServer1Connect(AContex...
unit Weather; interface uses System.IOUtils; type TWeather = class(TObject) private _tempCurrent: Integer; { Temperatura } _tempMin: Integer; _tempMax: Integer; _humidity: Integer; { Otros datos climatológicos } _windSpeed: Integer; { en KM/H }...