text
stringlengths
14
6.51M
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit frmHousingUseCase; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.Base, FMX.ListView, FMX.Controls.Presentation, FMX.StdCtrls;...
program chapter6assignment(INPUT,OUTPUT); { Alberto Villalobos February 19, 2014 Chapter 6 assignment Description: A use enters space separated values in pairs and the program must read those pairs, one being class id and the other being class size. Then, the program identifies the smallest sized class and the ...
unit OptimizationActionsUnit; interface uses SysUtils, BaseActionUnit, DataObjectUnit, OptimizationParametersUnit, RouteParametersQueryUnit, AddOrderToOptimizationRequestUnit; type TOptimizationActions = class(TBaseAction) public function Run(OptimizationParameters: TOptimizationParameters; out E...
unit uFuncoes; interface uses System.Classes, Firedac.Comp.Client, System.SysUtils, System.MaskUtils, Firedac.Stan.Param, System.IniFiles, uDM, Horse; function DataSql(Data1, Data2: TDateTime): string; overload; function DataSql(Data: TDateTime): string; overload; function Formatar(Texto: string; Ta...
unit Unit1; interface uses System.Generics.Collections, Unit2, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm1 = class(TForm) Memo1: TMemo; BtnAdd: TButton; BtnDel: TButton; BtnFin...
unit l3ProcessMessagesManager; {* Список окон, которым надо обрабатывать сообщения в длинных процессах. Используется в случаях, когда afw.ProcessMessages приводит к проблемам. } // Модуль: "w:\common\components\rtl\Garant\L3\l3ProcessMessagesManager.pas" // Стереотип: "SimpleClass" // Элемент модели: "Tl3ProcessMessa...
unit zsMainWindow; interface uses Windows, Messages, Graphics, zsAttach, zsProcess; function FindZSMainWindow(AZsDealSession: PZsDealSession): Boolean; procedure CheckZSMainWindow(AMainWindow: PZSMainWindow); procedure CheckZSOrderWindo...
unit uPduProtocol; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Registry; function GetCommNames(): string; function ExchangeCode(AStr:string): string; function Encode7bit(AStr: string): string; function Decode7bit(AStr: string): string; function Enco...
{-------------------------------------------------- Progressive Path Tracing --------------------------------------------------- This unit implements the Mersenne Twister pseudorandom number generator, in a class (to make it thread-safe). This PRNG is very fast and has excellent pseudorandom statistical properties,...
unit nsbQueryUtils; { Начал: Инишев Дмитрий, Морозов Михаил } { Модуль: lgQueryUtils - } { Начат: 21.01.2005 16:51 } { $Id: nsbQueryUtils.pas,v 1.2 2016/08/04 12:07:51 lulin Exp $ } // $Log: nsbQueryUtils.pas,v $ // Revisio...
unit cLevel; interface uses contnrs, cenemy, sysutils, bytelist, cspecobj, OffsetList, cPatternTableSettings, ROMObj; type TPPUSettings = record Offset : Integer; Size : Integer; PPUOffset : Integer; end; TLevel = class private _TSAOffset : Integer; _AttributeOffset : Integer; _RoomO...
unit BuyAdsTask; interface uses Tasks, Kernel, Accounts, CacheAgent, BackupInterfaces, MathUtils, BasicAccounts; type TMetaBuyAdsTask = class(TMetaTask) private // >> public // >> end; TBuyAdsTask = class(TAtomicTask) public fun...
unit Main; { $Id: Main.pas,v 1.1 2005/09/26 14:23:36 step Exp $ } // $Log: Main.pas,v $ // Revision 1.1 2005/09/26 14:23:36 step // занесено в cvs // interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, HT_Const, HT_Dll, Mask, ToolEdit, ComCtr...
unit atControlStatusConverter; // Модуль: "w:\quality\test\garant6x\AdapterTest\AdapterHelpers\atControlStatusConverter.pas" // Стереотип: "SimpleClass" // Элемент модели: "TatControlStatusConverter" MUID: (504F47A401F7) interface uses l3IntfUses , atStringToBitMaskConverterBase ; type TatControlStatusConverter ...
unit a2bMain; // реализация бизнес-объекта главной формы { $Id: a2bMain.pas,v 1.18 2016/08/11 10:41:53 lukyanets Exp $ } // $Log: a2bMain.pas,v $ // Revision 1.18 2016/08/11 10:41:53 lukyanets // Полчищаем dt_user // // Revision 1.17 2016/07/12 13:26:26 lukyanets // Пересаживаем UserManager на новые рельсы // // R...
unit RoomMod; {$mode objfpc}{$H+} interface Type TRoomD=Object length,width:real; {поля и ширина комнаты} function Square:real; virtual; {метод определения площади} constructor Init(l,w:real); {конструктор} end; Type TVRoomD=object(TRoomD) height:real; {дополнительное поле кл...
unit Main; interface uses Windows, Messages, SysUtils, Classes, SvcMgr, Variants, xClasses, xLog, DB, DBClient, ssClientDataSet, MConnect, SConnect, ssSocketConnection, ExtCtrls; type TsvcBackup = class(TService) tmrMain: TTimer; SConn: TssSocketConnection; cdsDB: TssClientDataSet; ...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit dac; interface uses {$ifdef windows}windows,{$else}main_engine,{$ENDIF}sound_engine; type dac_chip=class(snd_chip_class) constructor Create(amp:single=1;internal:boolean=false); destructor free; public procedure update; procedure reset; procedure data8_w(data:byte); proc...
{ Clever Internet Suite Copyright (C) 2017 Clever Components All Rights Reserved www.CleverComponents.com } unit clCryptEncoder; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, Windows, {$ELSE} System.Classes, System.SysUtils, Winapi.Windows, {$ENDIF} clUtils, clConfig, clCryptDat...
unit viewer_ipro; {$mode delphi} interface uses Classes, SysUtils, // fpreadgif, fpimage, fpwritebmp, // LCL Graphics, Forms, Controls, LCLProc, // browserviewer, IPHtml, Ipfilebroker, IpMsg; type { TMyIpHtmlDataProvider } TMyIpHtmlDataProvider = class(TIpHtmlDataProvider) protected funct...
{ dbdateedit unit Copyright (C) 2005-2010 Lagunov Aleksey alexs@yandex.ru and Lazarus team original conception from rx library for Delphi (c) 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 Fo...
{======================================================================================================================= RkDBAddress_Common Unit RK Components - Support Source Unit This unit defines common types used by the various TRkAddress*** compound components. Copyright © 1995-2003 by Ray Ko...
program ejercicio5; { suma los números entre a y b, y retorna el resultado en c } procedure sumar(a, b, c : integer) // No recibe result como parámetro var suma :integer; begin for i := a to b do // La variable i no está declarada suma := suma + i; c := c + s...
unit caTabledQuery; // Модуль: "w:\common\components\rtl\Garant\ComboAccess\caTabledQuery.pas" // Стереотип: "SimpleClass" // Элемент модели: "TcaTabledQuery" MUID: (56C6DB730289) {$Include w:\common\components\rtl\Garant\ComboAccess\caDefine.inc} interface {$If Defined(UsePostgres) AND Defined(TestComboAccess)} us...
{************************************************************************************************************************** * Classe/Objeto : TAbrangenciaExpressas * Finalidade : pesquisa, alteração, exclusão e inclusão de dados na tabela sistema_abrangencia_expressas * Nível : Model * Autor : Celso ...
unit NotificationService; interface uses JunoApi4Delphi.Interfaces, EventType, Webhook, System.Generics.Collections, System.JSON, RESTRequest4D, System.SysUtils, REST.Types, REST.Json; type TNotificationService = class(TInterfacedObject, iNotificationService) private FParent : iJu...
program allSearchingAlgorithms; (*Binary Search | Linear Search*) const size = 20; type arr = array[1..size] of integer; var list : arr; found : boolean; data, pos : integer; procedure insertionSort(var a : arr); var i : integer; position : integer; num : integer; begin for i := 2 to size do be...
unit XueQiuInfoAppWindow2; interface uses Windows, Messages, BaseFloatWindow, BaseApp, win.thread; type PRT_FloatWindow = ^TRT_FloatWindow; TRT_FloatWindow = record BaseFloatWindow: TRT_BaseFloatWindow; DrawBuyStockCode: AnsiString; BuyStockCode: AnsiString; BuyPrice: AnsiS...
unit UnaInstancia; { Taken from Delphi 2 Developers Guide by Pacheco and Teixeira With heavy Modifications. Usage: In the Project source change to the following if InitInstance then begin Application.Initialize; Application.CreateForm(TFrmSelProject, FrmSelProject); Application.Run; end; ...
unit uProgressForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls; type TProgressForm = class(TForm) lblProgressText: TLabel; pb1: TProgressBar; btn1: TButton; procedure btn1Click(Sender: TObject); private FAbortFlag:...
{$MODE OBJFPC} {$M 30000000} {$DEFINE RELEASE} {$R-,Q-,S-,I-} {$OPTIMIZATION LEVEL2} {$INLINE ON} program Traffic; const InputFile = 'TRAFFIC.INP'; OutputFile = 'TRAFFIC.OUT'; maxN = Round(1E5); maxM = Round(2E5); type TEdge = record x, y: Integer; link: Integer; end; TMarkArr = array[1..maxN] of...
unit Exceptions.EFieldNameMustBeUniqueException; interface uses System.SysUtils; type EFieldNameMustBeUniqueException = class(Exception) const FIELD_NAME_MUST_BE_UNIQUE_MESSAGE = 'Field Name must be unique'; end; implementation end.
namespace Sugar; interface uses Sugar.IO; type TargetPlatform = public enum(Net, Java, macOS, OSX = macOS, iOS, tvOS, watchOS, Android, WinRT, WindowsPhone); CompilerMode = public enum(Echoes, Toffee, Cooper, Island); CompilerSubMode = public enum(NetFull, NetCore, WinRT, WindowsPhone, macOS, iOS, tvOS, wat...
{ rxconst unit Copyright (C) 2005-2010 Lagunov Aleksey alexs@hotbox.ru and Lazarus team original conception from rx library for Delphi (c) 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 Found...
unit db_dealclass; interface uses BaseDataSet, define_dealclass, QuickList_DealClass; type TDBDealClassDictionary = class(TBaseDataSetAccess) protected fDealClassList: TDealClassList; function GetRecordCount: Integer; override; function GetRecordItem(AIndex: integer): Pointer; ove...
unit MarkAddressAsDetectedAsDepartedUnit; interface uses SysUtils, BaseExampleUnit; type TMarkAddressAsDetectedAsDeparted = class(TBaseExample) public procedure Execute(RouteId: String; RouteDestinationId: integer; IsDeparted: boolean); end; implementation procedure TMarkAddressAsDetectedAsDepar...
unit adMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, l3StringList, l3Types, adEngine, OvcBase, afwControlPrim, afwBaseControl, afwControl, afwInputControl, vtLister, StdCtrls, l3Interfaces, ComCtrls; type TMainForm = class(TForm) btnAdd:...
unit uTransferAntarCabang; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs,uModel, uAppUtils, System.Generics.Collections, uTAGRequests; type TTransferAntarCabangKirim = class; TTransferAntarCabangTerima = class; TTransferAntarCabangTerimaItem = class(TAppObjectItem...
unit GetTerritoryUnit; interface uses SysUtils, BaseExampleUnit; type TGetTerritory = class(TBaseExample) public procedure Execute(TerritoryId: String); end; implementation uses TerritoryUnit; procedure TGetTerritory.Execute(TerritoryId: String); var ErrorString: String; Territory: TTerritory;...
{******************************************************************* * General Turbo Circuit file structure: * * Offset Length Description * * 0 len Identification string: STR_TCFILE_IDENTIFIER * len var Sequence of records * * Description of a tipical record: * * 0 1 R...
unit CRILoggerImpl; interface uses pi, pi_int, orbtypes; type TCRILoggerImpl = class(TClientRequestInterceptor) private FCDRCodec: ICodec; FSlotId: TSlotId; function Level(ri: IClientRequestInfo): Integer; procedure DisplayClientRequestInfo(ri: IClientRequestInfo; level: short); protected p...
unit fAdvancedEnemyManagement; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, gr32, cenemy, Menus, StrUtils, cMegaROM, cConfiguration; type TfrmAdvancedEnemyInfo = class(TForm) grpCheckPointInfo: TGroupBox; lblCheckpoint1Screen: TL...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit nsHistoryTree; {* Содержит поля и методы общие для деревьев содержащих последние открытые документы и запросы } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Common\nsHistoryTree.pas" // Стереотип: "SimpleClass" // Элемент модели: "TnsHistoryTree" MUID: (490AE2C7034B) {$Include w:\garant6x\implementa...
program hw3q3c; type TAGTYPE = (i, r, b); IRB = record case kind: TAGTYPE of i: (IFIELD: integer); r: (RFIELD: real); b: (BFIELD: Boolean); end; var Vtype : char ; Vval : string ; Vint : integer ; Vreal : real ; V...
unit kwMain; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "ScriptEngine" // Автор: Люлин А.В. // Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwMain.pas" // Начат: 10.05.2011 13:49 // Родные Delphi интерфейсы (.pas) /...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
unit ntvUtils; {** * This file is part of the "Mini Library" * * @url http://www.sourceforge.net/projects/minilib * @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html) * See the file COPYING.MLGPL, included in this distribution, * @author Belal Alhamed <belalham...
{====================================================} { } { EldoS Visual Components } { } { Copyright (c) 1998-2003, EldoS Corporation } { ...
program TESTRND ( OUTPUT ) ; (********) (*$A+ *) (********) var R : REAL ; I : INTEGER ; local procedure DUMP ( PVON : VOIDPTR ; PBIS : VOIDPTR ) ; (*********************************************************) (* Speicherbereich von PVON bis PBIS hexadezimal *) (* ausgeben ...
{ Inno Setup Preprocessor Copyright (C) 2001-2002 Alex Yackimoff $Id: IsppStacks.pas,v 1.1 2004/02/26 22:24:19 mlaan Exp $ } unit IsppStacks; interface uses Classes; type { Borrowed from Delphi 5 Contnrs unit } { TOrdered class } TOrderedList = class(TObject) private FList: TList; protected p...
(* ***** 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/ * * Softwa...
unit udmDBBackupAndRecovery; interface uses SysUtils, Classes,Forms; type TdmDBBackupAndRecovery = class(TDataModule) private { Private declarations } Function InsertIntoTB_DEVICE_Value(aFieldName,aData:string):Boolean; Function InsertIntoTB_DOORSETTINGINFO_Value(aFieldName,aData:string):Boolean; ...
unit atOperationEnv; // Модуль: "w:\quality\test\garant6x\AdapterTest\OperationsFramework\atOperationEnv.pas" // Стереотип: "SimpleClass" // Элемент модели: "TatOperationEnv" MUID: (5396EA3E0230) interface uses l3IntfUses , Classes ; const ENV_CURRENT_FILE_PATH: AnsiString = '%CURRENT_FILE_PATH%'; ENV_CURRENT_F...
unit OutputSearch; interface uses Classes, SysUtils, FluidLinks, CacheCommon; type TOutputLink = class; // Temporal object to store an output TOutputSearchResult = class; // List of the resulting best outputs TOuputSearch = class; // Performs a query to find the best group of outpu...
unit Eagle.Alfred.MigrateCommand; interface uses Eagle.ConsoleIO, Eagle.Alfred.Command; type TMigrateCommand = class(TInterfacedObject, ICommand) private FConsoleIO: IConsoleIO; public constructor Create(const AppPath: string; ConsoleIO: IConsoleIO); procedure Execute; procedur...
(******************************************************************) (* SFX for DelZip v1.9 *) (* Copyright 2002-2004, 2008 *) (* *) (* written by Markus Stephany ...
unit UninstSharedFileForm; { Inno Setup Copyright (C) 1997-2004 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. "Remove Shared File" form $jrsoftware: issrc/Projects/UninstSharedFileForm.pas,v 1.5 2007/12/04 04:34:30 jr Exp $ } interface uses Windows, ...
{ lzRichEdit Copyright (C) 2010 Elson Junio elsonjunio@yahoo.com.br 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, or (at your option) any later version wit...
unit MFichas.Controller.Usuario.Operacoes.PedirSenha; interface uses MFichas.Controller.Usuario.Operacoes.Interfaces, MFichas.Controller.Types; type TControllerUsuarioOperacoesPedirSenha = class(TInterfacedObject, iControllerUsuarioOperacoes, iControllerUsuarioOperacoesPedirSenha) private FTitle : S...
unit UserTests; {$mode objfpc}{$H+} interface uses Classes, SysUtils, ChannelList, fpcunit, testutils, testregistry; type { TUserTests } TUserTests = class(TTestCase) private FSUT: TUser; published procedure RemoveOPVoiceChars; procedure MaintainOpVoicePrefixInChannel; end; implem...
unit ClientModule; interface uses System.SysUtils, System.Classes, ClientClassesUnit, IPPeerClient, Datasnap.DSClientRest, uModel, cxStyles, cxClasses, uSettingApp; type TClientDataModule = class(TDataModule) DSRestConnection: TDSRestConnection; cxStyleRepTrans: TcxStyleRepository; cxstylGridHeade...
unit m_memo; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls; type { TMariaeMemo } TMariaeMemo = class(TMemo) private FChanged: Boolean; procedure SetChanged(AValue: Boolean); protected public constructor Create(MOwner: T...
unit SortArray; interface procedure QuickSortArray(var aData: array of string; aLo, aHi: integer); implementation procedure QuickSortArray(var aData: array of string; aLo, aHi: integer); var iLo: integer; iHi: integer; iPivot: string; function Value(aIndex: integer): string; begin Res...
unit kwVcmHistoryDeleteBackItem; {* Удаляет один элемент истории из списка Back. *Пример:* [code] моп::Поиск_Поиск_лекарственного_средства 'AT_PHARM_NAME' 'Аргинин' Search:SetAttribute 'AT_PHARM_ATC' 'A. Пищеварительный тракт и обмен веществ' Search:SetAttribute 'AT_PHARM_ATC' 'B. Препараты влияющие на кроветворе...
unit Led; interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs; type TLEDState=(LEDOn,LEDOff); TLEDColor=(LEDRed,LEDGreen,LEDBlue,LEDYellow,LEDMagenta,LEDCyan,LEDGray); TLED = class(TGraphicControl) private protected FState:TLEDState; ...
unit evPhoneEdit; // Модуль: "w:\common\components\gui\Garant\Everest\qf\evPhoneEdit.pas" // Стереотип: "SimpleClass" // Элемент модели: "TevPhoneEdit" MUID: (48D25DD8039D) {$Include w:\common\components\gui\Garant\Everest\evDefine.inc} interface uses l3IntfUses , evEditControl , evQueryCardInt ; type TevPhone...
unit Model.InsumosTransportes; interface type TInsumosTransportes = class private var FID: Integer; FDescricao: String; FUnidade: String; FLog: String; public property ID: Integer read FID write FID; property Descricao: String read FDescricao write FDescricao; ...
unit parser; interface uses Classes, SysUtils, FastStrings; type PHTMLParser_Attribute = ^THTMLParser_Attribute; THTMLParser_Attribute = record Name: String; Value: String; end; THTMLParserTagType = ( pttNone, pttStartTag, pttEndTag, pttEmptyTag, pttContent, ...
program dictionary(output); type colour = (RED, GREEN, BLUE, WHITE); palette = array[colour] of integer; var ross : palette; i : colour; begin ross[RED] := 1; ross[GREEN] := 2; ross[BLUE] := 3; ROSS[WHITE] := 4; for i := RED to WHITE do write(ross[i], ' '); writeln; end.
algo : garage automobile BUT : cet algorithme trie des voitures dans deux garages ENTREE : les paramètres des voitures et des garages SORTIE : les donnée des voitures et des garages type garage= enregistrement nom :chaine num :entier adresse :chaine CP :entier ville :chaine pays :chaine tel :entier email :...
{$REGION 'Copyright (C) CMC Development Team'} { ************************************************************************** Copyright (C) 2015 CMC Development Team CMC is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software ...
unit MVCBr.DatabaseModel; interface uses System.Classes, System.SysUtils, MVCBr.Interf, MVCBr.DatabaseModel.Interf, Data.DB, MVCBr.PersistentModel; type IDatabaseModel = MVCBr.DatabaseModel.Interf.IDatabaseModel; // TQueryModelFactory<T: Class> É o construtor de Query // Generic: T:Class É a classe dec...
{ Subroutine SST_W_C_NAME_COM_VAR (SYM) * * Set the output name of a variable in a common block. It is an error if * the output name is already set. * * In the C language, common blocks are emulated with variables that are * STRUCTs, and declared globally known. Each variable in the common block * becomes...
unit IBSystem; interface uses Classes, Collection, InterfaceCollection, Persistent, BackupInterfaces, MapStringToObject, SyncObjs, ClassStorageInt, MetaInstances, ClassStorage; const tidMetaMissionFamily = 'tidMetaMissionFamily'; tidMetaActionFamily = 'tidMetaActionFamily'; tidMetaHistoryF...
{$I ok_sklad.inc} unit MetaBusinessPartner; interface uses MetaClass, MetaAddress, XMLDoc, XMLIntf, Classes; type MetaBPTypes = (MetaBPTypeCompany = 0, MetaBPTypePerson = 1, MetaBPTypeEmployee = 2, MetaBPTypeOwned = 3); MetaBPKinds = (MetaBPKindSupplier = 0, MetaBPKindClient = 1, MetaBPKindBarter ...
unit BaiduMapAPI.RoutePlanSearchService.Android; //author:Xubzhlin //Email:371889755@qq.com //百度地图API 线路规划服务 单元 //官方链接:http://lbsyun.baidu.com/ //TAndroidBaiduMapPoiSearchService 百度地图 安卓线路规划服务 interface uses System.Classes, System.Types, FMX.Maps, Androidapi.JNI.JavaTypes, Androidapi.JNI.Embarcadero, Androidapi.J...
unit fmuPrintTest; interface uses // VCL Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, // This untPages, untDriver, Spin; type { TfmLock } TfmPrintTest = class(TPage) grpPrintLock: TGroupBox; lblRepCount2: TLabel; lblRepCount: TLabel; l...
namespace Sugar.Test; interface uses Sugar, Sugar.Data.Json, RemObjects.Elements.EUnit; type JsonTokenizerTest = public class (Test) private Tokenizer: JsonTokenizer := nil; method SkipTo(Token: JsonTokenKind); method Expect(Expected: JsonTokenKind); method Expect(ExpectedToken: JsonTo...
{ DBAExplorer - Oracle Admin Management Tool Copyright (C) 2008 Alpaslan KILICKAYA This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at...
{*************************************************************** * Unit Name: GX_Bookmarks * Authors : Thomas Mueller http://blog.dummzeuch.de ****************************************************************} unit GX_Bookmarks; {$I GX_CondDefine.inc} interface uses SysUtils, Classes, Control...
unit Quick.Serializer.Intf; interface uses SysUtils, {$IFNDEF FPC} rtti; {$ELSE} Rtti, rttiutils; {$ENDIF} type TSerializerOptions = class private fUseEnumNames : Boolean; fUseJsonCaseSense : Boolean; fUseBase64Stream : Boolean; fUseNullStringsAsEmpty : Boolean; fUseGUIDWithBrac...
unit UPRT_COMPORT; interface uses UPRT, Windows; type TPRT_COMPORT = class(TPRT_ABSTRACT) protected FComName:String; hCom:THandle; FBaudRate:Cardinal; RxQue,TxQue:Integer; private procedure SetBaudRate(const Value: Cardinal); procedure RebuildDCB; procedure SetComName(const Value:...
unit frmInIOCPFileServer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, fmIOCPSvrInfo, iocp_base, iocp_clients, iocp_server, iocp_sockets, iocp_managers, iocp_msgPacks; type TFormInIOCPFileServer = class(TForm) Memo1: TMemo; InIOCPServer1...
unit uMainDataSet; interface uses System.Classes, Datasnap.DBClient; type TMainDataSet = class(TClientDataSet) procedure CheckBrowseMode; procedure CheckEditMode; public constructor Create(AOwner: TComponent); override; class procedure CopyDataSet(const aSourceMainDataSet: TMainDataSet; v...
unit LogDll; interface uses SocketComp; procedure Log(LogId, Info : string); procedure InitSocket(id : string; aSocket : TClientSocket); implementation uses Windows, SysUtils, FileCtrl, Classes, SyncObjs, Registry; const LogsKey = '\Software\Oceanus\Five\logs\'; var LogLock : TCri...
{ Subroutine SST_STRH_INFO (STR_H,FNAM,LNUM) * * Get the source file name and line number of the first character indicated * by the source string handle STR_H. FNAM is the returned file name, and LNUM * is the returned line number within that file. } module sst_STRH_INFO; define sst_strh_info; %include 'sst2.i...
unit MultipleDepotMultipleDriverWith24StopsTimeWindowTestDataProviderUnit; interface uses SysUtils, BaseOptimizationParametersProviderUnit, AddressUnit, RouteParametersUnit, OptimizationParametersUnit; type TMultipleDepotMultipleDriverWith24StopsTimeWindowTestDataProvider = class(TBaseOptimizationParametersP...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clCryptRandom; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, {$ELSE} System.Classes, {$ENDIF} clUtils, clCryptUtils, clConfig, clCryptAPI, clWUtils; type TclRandom = class(T...
unit KM_CommonTypes; interface type TKMByteSet = set of Byte; TByteSet = set of Byte; //Legasy support for old scripts TBooleanArray = array of Boolean; TBoolean2Array = array of array of Boolean; TKMByteArray = array of Byte; TKMByte2Array = array of TKMByteArray; TKMByteSetArray = array of TKMByteSet;...
unit FiveTypes; interface uses Controls, Graphics, Protocol, GameTypes; // Accidents type PLandAccidentInfo = ^TLandAccidentInfo; TLandAccidentInfo = record vclass : integer; img : TGameImage; end; // Extended selections type TFiveObjKind = (okBuilding, okR...
unit Demo; {$IFDEF FPC} {$mode delphi} {$ENDIF} interface uses Classes, SysUtils, tfBytes; procedure RunDemo; implementation procedure RunDemo; var A1, A2, A3: ByteArray; P: PByte; I, L: Integer; Sum: Integer; B: Byte; begin // initialization examples A1:= ByteArray(1); ...
unit Location; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Sensors, System.Sensors.Components, FMX.TabControl, FMX.StdCtrls, FMX.Layouts, FMX.ListBox, FMX.WebBrowser, FMX.Memo; type TF...
unit Image_on_demand; interface uses windows,classes,streaming_class_lib, syncObjs, pngImage, command_class_lib,graphics, IGraphicObject_commands, ExtCtrls, Types, pngimageAdvanced; type TLogProc = procedure (text: string); TGetImageProc = function: TExtendedPngObject of object; IGetPngThread = interface ['{372...
unit ObjectUtils; interface uses SysUtils, TypInfo, CoreTypes, Transfer; type EInvalidProperty = class(Exception); type IEnumFieldNames = IEnumNames; IEnumPropertyNames = IEnumNames; IEnumMethodNames = IEnumStrings; type TEnumFieldNames = class(TInterfacedObject, IEnumFieldNames) public ...
unit uConfiguracao; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uTDPNumberEditXE8, Vcl.StdCtrls, Vcl.Mask, Vcl.Buttons, uCRUDConfiguracao, Data.DB, Vcl.Grids, Vcl.DBGrids; type TFConfiguracao =...
{ ******************************************************************************* Copyright (c) 2004-2010 by Edyard Tolmachev IMadering project http://imadering.com ICQ: 118648 E-mail: imadering@mail.ru ******************************************************************************* } unit ShowCert...
{ Copyright © 1999 by Harris Software Ltd Author:Kyley Harris Kyley@HarrisSoftware.com ------------------------------------------------------------------------------} unit uHssStringList; interface uses SysUtils, Classes; type THssStringList = class(TStringList) private FAppendStringsIndex: integer...