text
stringlengths
14
6.51M
unit CustomBaseUI; //////////////////////////////////////////////////////////////////////////////// // // Description: Base Form UI // Author: lksoulman // Date: 2017-12-13 // Comments: // //////////////////////////////////////////////////////////////////////////////// interface uses CommCtrl, Window...
// Sample of how to read matrix of real values from a text file, // create in-memory bitmap, and display in image. // // Convert each real value to a pixel. A radiobox selection determines // whether a shades-of-gray scheme or a color spectrum is used. // // Requires D4 or later for dynamic memory allocation using // ...
(* * TWebBrowserEx Classes * WebBrowser Componet for FireMonkey. * * Copyright (c) 2013, 2015 HOSOKAWA Jun. * * Last Update 2015/10/29 * * Platform: * Windows, OS X, iOS, Android * Delphi / C++Builder XE5, XE6, XE7, XE8, 10 seattle * Appmethod 1.14, 1.15, 1.16, 1.17 * * Contact: * Twitter @pik ...
unit SimpleAbstractPrivateServerSocket; interface uses helpers_winsock, typex, simpleAbstractConnection, classes, better_sockets, sysutils; type ESimpleAbstractPrivateServerSocketException = class(Exception); TSimpleAbstractPrivateServerSocket = class(TSimpleAbstractConnection) strict protected functio...
unit cbConfigModule; interface uses SysUtils, Classes, Variants, DB, ADODB, DBClient, cbClass, cbAppClass; type TConfigModule = class(TDataModule) AccessConnection: TADOConnection; DataReader: TADOQuery; procedure DataModuleCreate(Sender: TObject); procedure DataModuleDestroy(Sender: TObject); ...
{ Armor Stats and Requirements Created by Isvvc From selected armors, this script exports a text file with: * CSV list of crafting ingredients required * quantity, plugin name and FixedFormID, DisplayName * Combined armor rating * The armor type (of the first armor selected) * Calculated level based on type a...
unit mDeviceObserver.Windows; interface uses MakeAllocateHwndThreadsafe, mTypes, mDeviceObserver.Windows.Common, System.SysUtils, System.Classes, WinApi.Messages, WinAPI.Windows, System.Generics.Collections; type TWinDeviceObserver = class(TComponent) private FRegHandles: TDictionary<TGUID, PHa...
program BST; type treenode=^node; node=record key:longint; l,r,p:treenode; end; var root:treenode; function search(x:treenode;k:longint):treenode; begin if (x=nil)or(x^.key=k) then exit(x); if k<x^.key then exit(search(x^.l,k)) else exit(search(x^.r,k)); end; function minnode(x:treenod...
unit ATApp.DEB.UI; interface type TEvtUIQueryTouchModeProc = reference to procedure (ATouch: Boolean); IEvtUIChangeTouchMode = interface ['{A091BDEE-738F-4407-9185-BB62018B5A23}'] function GetEnableTouchMode: Boolean; procedure SetEnableTouchMode(const Value: Boolean); property EnableTouchMode: Boo...
unit XmppUri; interface const XMLNS_STREAM ='http://etherx.jabber.org/streams'; XMLNS_CLIENT ='jabber:client'; XMLNS_SERVER ='jabber:server'; XMLNS_IQ_AGENTS ='jabber:iq:agents'; XMLNS_IQ_ROSTER ='jabber:iq:roster'; XMLNS_IQ_AUTH ='jabber:iq:auth'; XMLNS_IQ_REGISTER ='jabber:iq:registe...
unit EnumDBComboBox; interface uses Windows, SysUtils, Messages, Classes, Controls, Forms, Graphics, Menus, StdCtrls, ExtCtrls, Mask, Buttons, ComCtrls, Db, dbctrls; type TEnumDBComboBox = class(TCustomComboBox) private FDataLink: TFieldDataLink; FPaintControl: TPaintControl; FValues : string; ...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus, ComCtrls, SynEdit, lclintf, StdCtrls, types, ExtCtrls; type { TForm1 } TForm1 = class(TForm) ImageList1: TImageList; MainMenu1: TMainMenu; MenuFiles: TMenuIte...
// systec sistemas ltda unit FunHardware; interface uses Windows, Dialogs, Messages, SysUtils, Classes, Controls, StdCtrls, Graphics, Printers, shellapi, MMSystem; Function TestaPlaca : Boolean; function DiscoNoDrive(const drive : char): boolean; function NumeroSerie(Unidade:PChar):String; // indicar ...
UNIT NetIO; { AUTHOR: Brian Kellogg MIT licensed } {$mode objfpc}{$H+} INTERFACE USES Classes, SysUtils, blcksock, synsock, regexpr, httpsend, strutils; TYPE TNetIO = CLASS PUBLIC PROCEDURE SendIt(ip: AnsiString; port: AnsiString; Output: AnsiString); PROCEDURE WinHTTPGet(Source: String; Dest:...
unit Posix.ffmpeg.libavcodec.jni; (* * JNI public API functions * * Copyright (c) 2015-2016 Matthieu Bouron <matthieu.bouron stupeflix.com> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as pub...
unit Proxy.Books; interface // Generated by Proxy Generator for FireDAC at 2019-09-08 23:23 uses Data.DB, Data.DataProxy, System.Classes, System.SysUtils, FireDAC.Comp.Client, Model.Books; type TBooksProxy = class(TDatasetProxy) private FISBN: TWideStringField; FTitle: TWideStringField; F...
unit UdateTimeu; interface uses Windows, Messages, SysUtils, Classes, Controls ; Type TUdateTime = class public class function GetFormatDateStr(sI_SrcDate, sI_Sep:String; bI_IncludingHeader, bI_ChineseFormat : boolean):String;overload;//傳入 2002/02/02, 傳回 "91年02月02日" class function GetPureDateStr(dI_Dat...
unit UfrmGUIInfo; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Buttons; type TGUIThreadInfoForm = class(TForm) lblFocus: TLabel; lblActive: TLabel; tmrUpdateLabel...
unit ATApp.Consts; interface const cAppCopyright = 'Copyright © 2021 Angelic Technology.'; cAppShortTitle = 'AT Application'; cAppTitle = 'AT Application'; cAppVersion = '2021.3'; cInternalAppName = 'ATApp'; cInetEmailSupport = 'mailto:support@angelictech.com'; cInetPeerForum = 'htt...
unit Unit3; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs; type TMobileResetService = class(TService) procedure ServiceCreate(Sender: TObject); procedure ServiceDestroy(Sender: TObject); private { Private declara...
unit oPKIByteArray; interface uses System.Classes, System.SysUtils, oPKIEncryption, oPKIEncryptionEx; type TPKIByteArray = class(TInterfacedObject, IPKIByteArray, IPKIByteArrayEx) private fByteArray: array of Byte; protected function getPByte: PByte; function getArrayLength: integer; f...
{----------------------------------------------------------------------------- Unit Name: SnowBirdEx Author: Ron Payne Date: 2005/09/27 Revisions: Build Number Date Author -----------------------------------------------------------------------------} unit SnowBirdEx; interface uses Windows, Mes...
unit uFrmLancamentos; interface uses Winapi.Windows,System.UITypes, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, System.Actions, Vcl.ActnList, Data.DB, Vcl.Grids, Vcl.DBGrids, Vcl.DBCtrls, Vcl.Mask, FireDAC.S...
//**************************************************************************** // Unit Name: Vcl.Buttons //**************************************************************************** // This file is auto generated with paxCompiler engine. // Import mode: global import. // ------------------...
unit FrmMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DropGroupPas; const MAXX = 1000; MAXY = 1000; type TMapInfo = record BkImg: word; MidImg: word; FrImg: word; DoorIndex: byte; //$80 (문짝), 문의 식별 인덱스 ...
unit PXL.Canvas.SRT; { This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL). Copyright (c) 2000 - 2015 Yuriy Kotsarenko This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Softw...
unit uObjeto; interface uses Windows, uComunicacaoWindows, Vcl.Graphics; type TObjeto = class private FHandle: THandle; FComunicacaoWindows: TComunicacaoWindows; function PegarClasse: string; function PegarTexto: string; function PegarNomeVCL: string; function PegarCaminh...
{ ************************************* Created by Danilo Lucas Github - https://github.com/dliocode ************************************* } unit DataValidator.Base.Intf; interface uses DataValidator.Types, DataValidator.ItemBase.Intf, System.Generics.Collections, System.Rtti; type IDataValidatorSchem...
unit Communication; interface uses Entity, SkyException; type TRequest = class(TEntity); TRequestClass = class of TRequest; TGenericResponse = class(TEntity); TResponse = class(TGenericResponse); TResponseError = class(TGenericResponse) protected FMessage: string; public ...
unit Win_Ops; {performs non-CRT related operations formerly implemented in CRT_Ops Changes: 9/13/2006-- 1. Change HaltOnError so it gives a ShowMessage, rather than Exit(ing) program. 2. Added a PictureFileFound function. 9/26/2006-- 1. Add code to ExtendedValue() to replace commas wi...
uses GraphABC, ABCObjects, ABCSprites, Timers, System.Net; Const NetSprite : String = 'picture.jpg'; Type TControlledUnit = class selected : Boolean; Side : Word; procedure Select; procedure UnSelect; end; procedure TControlledUnit.Select;begin Selected:=True;end; procedure TControlledUnit.UnSel...
{******************************************************************************* * * * Author: Reonid * * Categoty: vector graphic ...
{******************************************************************************* 作者: dmzn@163.com 2019-01-02 描述: 驱动输出函数 *******************************************************************************} unit UFunctions; interface uses Windows, Classes, SysUtils, USysLoger, UMgrTTCEDispenser; function ...
unit Executors; //////////////////////////////////////////////////////////////////////////////// // // Description£º Executors // Author£º lksoulman // Date£º 2017-9-13 // Comments£º // //////////////////////////////////////////////////////////////////////////////// interface uses Windows, Classes, ...
unit SkyIdList; {$mode objfpc}{$H+} interface uses SkyLists, TypesConsts; type {$Region ' TSkyIdList'} TSkyIdList = class(TSkyInt64List) public procedure AddMultiple(const SomeItems: TIds; const SomeLinks: array of TObject); overload; procedure CopyFrom(AList: TSkyIdList); end; {$End...
{***********UNITE************************************************* Auteur ...... : Créé le ...... : 10/06/2010 Modifié le ... : / / Description .. : Source TOF de la FICHE : BTSAISIEPAGEMETRE () Mots clefs ... : TOF;BTSAISIEPAGEMETRE *****************************************************************} Unit BTSAISIEPA...
{***********UNITE************************************************* Auteur ...... : Créé le ...... : 07/11/2006 Modifié le ... : / / Description .. : Source TOF de la FICHE : BTCONTROLECBT () Mots clefs ... : TOF;BTCONTROLECBT *****************************************************************} Unit BTCONTROLECBT_TOF ...
{*********************************************} { TeeBI Software Library } { TESTS Expression parser and evaluator } { Copyright (c) 2015-2016 by Steema Software } { All Rights Reserved } {*********************************************} unit BI.Tests.Expressions; inte...
unit BoardVoltmeter; interface uses AbstractExtention, Vodopad.EventList, EventBusInterface, mbvg20402Interface, dmBoardVoltmeterInterface; type TBoardVoltmeterExtention = class(TAbstractExtention, IBoardVoltMeter, IEventBus) priva...
unit IFB_FuncoesINI; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} interface uses SysUtils, Classes, IniFiles; type TIFB_FuncoesINI = class private { Private declarations } public function getINIParam(prNameArqINI, prGroupParam, prParam, prParamValue : string ) : string; overload; procedure setINIParam...
unit SMS_TinyXMLs; interface uses Windows; function TiGetNewXMLDocument: Boolean; procedure InitTinyXMLs; procedure FinalizeTinyXMLs; procedure FreeTinyDocument; function TiNewChildElement(pParent: Pointer; stTagName: String): Pointer; function TiSetStrAttribute2(stAttrName, stAttrValue : String): B...
unit mImageHelper; interface uses Vcl.ExtCtrls, Vcl.Graphics, Vcl.StdCtrls, Vcl.GraphUtil, System.Classes, System.SysUtils ; type TImageHelper = class helper for TImage procedure IfEmptyThenAssignBmp(const w: Integer = -1; const h: Integer = -1); end; implementation uses System.Math ; { TImageHe...
{ * PROGRAM: UDR samples. * MODULE: GenRowsProc.pas * DESCRIPTION: A sample external procedure. * * The contents of this file are subject to the Initial * Developer's Public License Version 1.0 (the "License"); * you may not use this file except in compliance with the * License. You may obtain a copy of th...
unit utama; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtDlgs, StdCtrls, ExtCtrls; type { TForm1 } TForm1 = class(TForm) ButtonMeanConvolution: TButton; ButtonMeanCorrelation: TButton; ButtonLoadImage: TButton; EditKernel: TEdit; ImageRes...
unit aksiSave; interface uses tipe; procedure saveInventori(); procedure saveResep(); procedure saveSimulasi(); implementation function convInttoStr (X:longint) : string; {Mengubah tipe integer menjadi string} {I.S. : masukan X yang berupa longint * F.S. : keluaran yang berupa string} {ALGORI...
unit DW.Proximity.Android; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...
unit LoggingMM; interface function InstallMM(const fileName: string): boolean; function UninstallMM: boolean; implementation uses Winapi.Windows, System.SysUtils; var MMIsInstalled: boolean; OldMM: TMemoryManagerEx; LoggingFile: THandle; procedure Write(const s: PAnsiChar); overload; var written: DWOR...
unit uAboutFormController; interface uses SysUtils, Dialogs, Classes, Forms, Controls, uFormController, uAboutForm; type TAboutFormController = class (TFormController) private procedure OnLinkClick(Sender: TObject); protected procedure AfterFormCreated; override; end; var AboutFormController: ...
unit MainFrm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts, FMX.Controls.Presentation, FMX.StdCtrls, FMX.ScrollBox, FMX.Memo, FMX.Memo.Types, DW.NFC; type TfrmMain = class...
unit PXL.Surfaces.GDI; { This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL). Copyright (c) 2000 - 2015 Yuriy Kotsarenko This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Sof...
unit EditTypingCommand; interface uses SysUtils, Classes, StdCtrls, CommandPatternClasses; type //Class to work with characterd being typed into an TEdit TEditTypeCommand = class(TCommand) protected FEdit: TEdit; FEditTitle: string; Character: Char; InsertedPosition: integer; ...
{$i xpc.inc} {$macro on} program lysp; uses gc, ln; {-- lisp data structures --} type _tag = ( t_nil, t_int, t_str, t_sym, t_cel, t_sub, t_exp, t_fsub, t_fexp, t_psub ); pstr = ^string; cell = class; celldata = record case tag : _tag of t_nil : ( ); t_int : ( int : integer ); t_str : ...
{ License: Copyright (c) 2004 Dan Scott All rights reserved. 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 list of conditions and the follo...
{ Copyright (C) 2013-2023 Tim Sinaeve tim.sinaeve@gmail.com Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 Unless required by a...
unit Lemonade.Helpers.StringHelper; interface uses System.StrUtils, System.SysUtils, Lemonade.Types; type TStringHelper = record helper for string /// <returns><c>True</c> if is empty, otherwise <c>False</c>.</returns> function IsEmpty : Boolean; /// <returns>Extract just numbers from Self.Text.</ret...
(****************************************************************************** * Copyright (C) 2023 Tomáš Horák * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, includi...
unit RDTPMailClient; {GEN} {TYPE CLIENT} {CLASS TMailClient} {IMPLIB RDTPMailClientImplib} {TEMPLATE RDTP_gen_client_template.pas} {RQFILE RDTPMailRQs.txt} {END} interface uses RDTPSpamPacketHelpers, packetabstract, betterobject, systemx, genericRDTPClient, variants, packethelpers, debug, typex, exceptions; type...
unit PlugInMgr; //////////////////////////////////////////////////////////////////////////////// // // Description: PlugInMgr Interface // Author: lksoulman // Date: 2017-8-10 // Comments: // //////////////////////////////////////////////////////////////////////////////// interface uses Windows, Clas...
unit UIPSDataTypes; interface uses Windows, UIPSTypes, UIPSModuleTypes; //Defines Interfaces that are implemented //------------------------------------------------------------------------------ type IIPSSendString = interface(IInvokable) ['{79827379-F36E-4ADA-8A95-5F8D1DC92FA9}'] procedure SendText(...
unit DataAggregatorIoC; interface uses DataSource.Intf; function CalculateAverage(const dataSource: IDataSource): real; implementation uses System.SysUtils; function CalculateAverage(const dataSource: IDataSource): real; var sum: integer; total: integer; value: integer; begin if not dataSource.OpenDat...
unit Unit4; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, IniFiles; type TForm4 = class(TForm) ListView1: TListView; Edit1: TEdit; Button1: TButton; B...
unit UserPositionCategoryMgrImpl; //////////////////////////////////////////////////////////////////////////////// // // Description: UserPositionCategoryMgr Implementation // Author: lksoulman // Date: 2018-1-11 // Comments: // //////////////////////////////////////////////////////////////////////////////...
{$MODE OBJFPC} program SEC; type PNode = ^TNode; TNode = record count, tail : Integer; link : array[0..1] of PNode; end; var Trie : PNode; n, m : Integer; procedure Enter; var i : Integer; procedure NewNode(var root : PNode); begin New(root); root^.count := 0; ...
unit issue00035_test; {$mode Delphi}{$H+} interface uses SysUtils, fpcunit; type { TCheckRTLAnsiTest } TCheckRTLAnsiTest= class(TTestCase) private function GetRookKey: string; protected procedure SetUp; override; procedure TearDown; override; published procedure CheckSettings; end;...
unit BIFF_MD4Hash_5; interface uses Classes, Sysutils; type TMD4Hash= class(TObject) protected FInitialized: boolean; LenHi, LenLo: longword; Index: longword; CurrentHash: array[0..3] of longword; HashBuffer: array[0..63] of byte; procedure Compress; public procedure...
unit MainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type //criou uma classe com generic TMyClass<T> = class private FGeneric: T; FDofoo: String; procedure SetDofoo(cons...
unit DW.iOSapi.FBAudienceNetwork; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...
(* ***** 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/ * * Software distr...
unit uFrmPlanos; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.StdCtrls, Vcl.Mask, Vcl.DBCtrls, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids, System.Actions, Vcl.ActnList,uDmPrincipal, FireDAC.Stan.Intf,...
unit frmCharMap; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, JvExGrids, JvCharMap, Menus, ComCtrls; type TMalteJvCharMap = class(TJvCharMap) published property ColCount; property RowCount; end; // these properties are needed in CharMap...
(* Pascal *) (* This is Hello World written in Pascal. *) program Hello; var i: integer; begin for i := 1 to 10 do begin writeln ('Hello, World!') (* Greetings. *) end; end.
unit TestSerializer.Tests; (* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0...
{$DEFINE Debug} UNIT MXResolver; INTERFACE USES StrList, Windows, WinSock; TYPE TMXResolver = CLASS(TObject) PRIVATE DNSAddress : STRING; Domain_Addr : STRING; PROCEDURE Resolve; PROCEDURE GetDNSInfo; FUNCTION DomainToQName(S:STRING) : STRING; ...
unit frmMainU; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ExtCtrls, StdCtrls, ImgList, utlUserInoU, utlUCU; type TfrmMain = class(TForm) pnlCaption: TPanel; stbInfo: TStatusBar; pnlFunc: TPanel; lblUserName: TLabel; lblTime: TLabel; ...
unit UnitMainForm; // ****************************************************************************** // // * Copyright: // (c) Mustangpeak Software 2012. // // The contents of this file are subject to the GNU GPL v3 licence/ you maynot use // this file except in compliance with the License. You may...
unit regsourcen; {$mode Delphi}{$H+} interface uses SysUtils, Classes, Graphics, Controls, Forms, Dialogs, LResources, regconst, regtype; type { TCaptionSettings } TCaptionSettings = class(TCustomCaptionSettings) public property OnChange; published property Section; pro...
{ ****************************************************** USB Disk Ejector Copyright (c) 2006, 2007, 2008 Ben Gorman Http://quick.mixnmojo.com ****************************************************** } { This program is free software; you can redistribute it and/or modify it under the terms of the GNU General P...
unit MainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; Memo1: TMemo; Button3: TButton; procedure Button1...
unit EditConnectionDlg; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, Buttons, StdCtrls, EditBtn, Spin, BaseDlg, ConnectionInfo; type { TEditConnectionDialog } TEditConnectionDialog = class(TBaseDialog) btnTest: TBitBtn; CkbRemoteServer: TCheck...
unit uMsg; interface uses SysUtils, Consts, uTypes; function ReplaceParam(const Text: string; const Param: array of string): string; overload; // function ReplaceParam(const Text: string; const Param: string): string; overload; var MessageLevelStr: array [TMessageLevel] of string; procedure Show...
unit BaiduMapAPI.ViewService.iOS; //author:Xubzhlin //Email:371889755@qq.com //百度地图API 地图服务 单元 //官方链接:http://lbsyun.baidu.com/ //TiOSBaiduMapViewService 百度地图 iOS地图服务 interface uses System.Classes, System.Generics.Collections, FMX.Maps, Macapi.ObjectiveC, FMX.Graphics, Macapi.ObjCRuntime, iOSapi.Core...
unit DW.AssetDelivery.Android; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...
unit MT3DInitConc; interface uses ANE_LayerUnit, SysUtils; const kInitParam = 'Initial Concentration'; kMT3DTopElev = 'Top Elevation'; kMT3DBottomElev = 'Bottom Elevation'; kMT3DPointInitConc = 'MT3D Point Initial Concentration Unit'; kMT3DAreaInitConc = 'MT3D Area Initial Concentration Unit'; type TMT3...
// // Created by the DataSnap proxy generator. // 22/01/2020 10:47:01 // unit ClientClassesUnit1; interface uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBX...
unit GLBase; (********************************************************************** File name: glbase.pas This file is part of: tt3d LICENSE 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...
unit threads; interface uses handles, threadstorage; type TThread = class(TKernelObject) private fStacksize: Ptrint; fStack, fContext, fThreadData: Pointer; fOwner: TObject; fTLS: TTLS; public procedure SetContext(constref Ctx; CtxSize: PtrInt); procedure GetContext(var Ctx; CtxSize: Pt...
unit mDBXCommandHelper; interface uses Data.SqlExpr, Data.DB, Data.DBXCommon, Data.SqlTimSt, System.Classes, System.SysUtils; type // see http://docwiki.embarcadero.com/RADStudio/XE3/en/DbExpress_Data_Type_Mapping_for_Supported_Databases TDBXCommandHelper = class helper for TDBXCommand private public ...
unit SectorPriceHqImpl; //////////////////////////////////////////////////////////////////////////////// // // Description£º SectorPriceHq Implementation // Author£º lksoulman // Date£º 2018-1-17 // Comments£º // //////////////////////////////////////////////////////////////////////////////// interface u...
//////////////////////////////////////////////////////////////////////////// // PaxCompiler // Site: http://www.paxcompiler.com // Author: Alexander Baranovsky (paxscript@gmail.com) // ======================================================================== // Copyright (c) Alexander Baranovsky, 2006-2014. All rig...
unit api_gerencianet; interface uses SynCrtSock, superobject; Type /// <summary> Classe base, pega o token de autorização (Oauth) e tem o metodo request para comunicar com o servidor da gerencianet </summary> TApi_gerencianet_autorizacao = class private fclient_id:string; fclient_secret:string; f...
unit Status; {$V-} interface uses Drivers, Objects, Views, Dialogs, variable; const cmUpdateGauge = 12000; cmResetGauge = 12001; cmAddGauge = 12002; cmUpdateFileInfo = 12003; type PPercentGauge = ^TPercentGauge; TPercentGauge = object(TView) MaxValue: Longint; CurValue: Lo...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1995,2001 Inprise Corporation } { ...
unit ContasPagar; interface uses SysUtils, Contnrs, NotaFiscal, ContaBanco; type TContasPagar = class private Fcodigo :Integer; Fcodigo_nf :Integer; Fdt_documento :TDateTime; Fdt_lancamento :TDateTime; Fnum_documento :Integer; Fcod_fornecedor :Integer; Fstatus :String; Fdesc_stat...
unit HST3DHeatCondLayers; interface uses ANE_LayerUnit; type TThermDifParam = Class(T_ANE_LayerParam) // constructor Create(AParameterList : T_ANE_ParameterList; Index : Integer // {$IFDEF DEFAULTSOK} = -1 {$ENDIF}); // override; function Value : string; override; class Function ANE_ParamName : ...
unit PXL.Displays.PCB8544; { This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL). Copyright (c) 2000 - 2015 Yuriy Kotsarenko This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
unit DW.JsonConfig; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library } { ...
unit test_21_Anonymous_methods; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, OtlCommon, OtlComm, OtlTask, OtlTaskControl, OtlEventMonitor; type TfrmAnonymousMethodsDemo = class(TForm) lbLog: TListBox; btnHello: TButton; OTLMo...
unit ParallelTasksMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Threading, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Samples.Spin, Vcl.ExtCtrls; type TfrmParallelTasks = class(TForm) btnCheckPrimes1: TButton; ...
unit QSort; interface procedure SortExtendedArray(var a: array of extended); procedure SortIntegerArray(var a: array of integer); function MedianOfExtendedArray(var a: array of extended) : extended; {Sorts the array and returns the median value -- either the exact middle value if the number of elements is...
unit BLEX; interface uses typex, stringx, systemx, sharedobject, commandprocessor, system.bluetooth, {$DEFINE SYNC} {$IFDEF SYNC} system.bluetooth.components, {$ELSE} Bluetoothcomponentthreaded, {$ENDIF} classes, betterobject, sysutils, debug; type TBLEEnumerator = class; // forward TBLECharacteristicEv...