text
stringlengths
14
6.51M
unit uOrdProdXOcorr; interface uses DB, StrUtils, SysUtils, CmObjNegocio, CmConexaoBcoDados, uConexaoBcoDadosPituka, uTiposBasicosPTK; type TOrdemProdXOcorrencias = class(TObjetoNegocio) private FNumOP : Integer; FDataInicio : TDatetime; FDataTermino : TDatetime; FUsuari...
unit InliningMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TfrmInlining = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; procedure Button1Click(Se...
unit DW.iOSapi.EventKit; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...
unit ySouche_abs; // Déclaration de l'interface des souches interface type IySouche = interface ['{AAEAFF33-372E-4C94-889A-D6A77523CB35}'] procedure CreateFirst(const Prefixe: String; const Contexte: String; iNumero : integer); function ReadCurrent(const Prefixe: String; const Contexte: String) : integer...
unit DW.Location; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library } { ...
{ 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...
unit VisaCenterSelFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, DBTables, Buttons, Grids, ActnList, StdCtrls, ExtCtrls,IBQuery, IBStoredProc, IBCustomDataSet, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, dxSkinsCore, d...
unit EntityManyContainer; interface uses EntityContainer, EntityService, Entity, TypesConsts, SkyLists; type TEntityManyContainer = class(TEntityContainer) private FConnection: TObject; function GetLinks(AIndex: Integer): TEntityService; function GetCount: Integer; procedure Appl...
{*********************************************************} {* VPADVDS.PAS 1.03 *} {*********************************************************} {* ***** BEGIN LICENSE BLOCK ***** *} {* Version: MPL 1.1 ...
unit frmContextMenu; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Generics.Collections, ExtCtrls; type TfrmMenu = class(TForm) lbMenu: TListBox; pCaption: TPanel; Bevel1: TBevel; procedure FormShow(Sender: TObject); procedur...
unit WriteGWM_DecisionVariables; interface uses SysUtils, Classes, Forms, Contnrs, AnePIE, OptionsUnit, WriteModflowDiscretization; type TGWM_LayerParameters = record VariableNameIndex: ANE_INT16; FluxTypeIndex: ANE_INT16; FluxStatIndex: ANE_INT16; FluxVariableRatioIndex: ANE_INT16; MinIndex:...
unit NumberGuesser; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, ComCtrls, Math; const HIGHSCOREMAX = 10; function NumberGenerator(iLevel: integer): integer; function QuestionGenerator(iNumber: integer): string; function CheckAns...
unit glunit; {$mode objfpc}{$H+} interface uses gl_core_utils,Dialogs, Classes, SysUtils, glcorearb, OpenGLContext; type TViewGPU = class(TOpenGLControl) procedure InitGL(var GLcontrol: TViewGPU); procedure MyPaint(Sender: TObject); end; var gOffsetXY : TPoint = (x:0; y:0); gSize : single = 100;...
unit Tools; interface uses Sysutils; type {$IFDEF VER120} dword= longword; {$ELSE} dword= longint; {$ENDIF} function LRot16(X: word; c: integer): word; assembler; function RRot16(X: word; c: integer): word; assembler; function LRot32(X: dword; c: integer): dword; assemble...
unit UtilityFunctions; interface {UtilityFunctions defines a number of commonly used functions that are called from a variety of different units.} uses Windows, Messages, SysUtils, Classes, stdctrls, Graphics, AnePIE; function GetLayerHandle(const funHandle : ANE_PTR; const LayerName : string) : ANE_PTR; function...
////////////////////////////////////////////////////////////////////////////// // // Unit: xlscf // // Description: Conditional formatting // ////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2004-2011 NikaSoft. All rights reserved. // ...
unit uServer; interface uses Iocp, iocp.Utils.Hash, iocp.Http, iocp.Http.Websocket, Windows, SysUtils, Classes, SyncObjs; type /// <summary> /// 日志信息类型 /// </summary> TXLogType = (log_Debug, {调试信息} log_Info {信息}, log_Warning {警告}, log_Error {错误}); type /// <summary> /// 日志写入处理 /// </summary>...
unit db.VerInfo; {$IFDEF SUPPORTS_WEAKPACKAGEUNIT} {$WEAKPACKAGEUNIT ON} {$ENDIF SUPPORTS_WEAKPACKAGEUNIT} {$WARN SYMBOL_DEPRECATED OFF} interface uses Windows, SysUtils; type TVersionLanguage = ( { } vlArabic, { } vlBulgarian, { } vlCatalan, { } vlTraditio...
unit DW.OSDevice.Win; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library } ...
unit TimeSeriesChart; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, TeeProcs, TeEngine, Chart, StdCtrls, Buttons, Series, ComCtrls, Printers, Grids, ArgusDataEntry, DataGrid, Menus, clipbrd, CheckLst; type TfrmTimeSeries = class(TForm) Panel1: TPan...
(* * 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 MainForm; interface uses Classes, Controls, Forms, StdCtrls, ExtCtrls; type TfrmMain = class(TForm) Label1: TLabel; Label2: TLabel; lblParsedMb: TLabel; lblReadPages: TLabel; Label3: TLabel; lblTotalMb: TLabel; Timer1: TTimer; Label4: TLabel; lblParsedSec...
unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Actions, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Layouts, FMX.ListBox, FMX.ActnList, DW.AudioPlayer; type TAudioPlaye...
unit UMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Ils.Kafka, JsonDataObjects, Data.DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, ZAbstractConnection, ZConnection, I...
unit devicetypes; interface uses hal; type // Storage PMediaStatus = ^TMediaStatus; TMediaStatus = packed record Inserted: boolean; BlockCount, BlockSize: int64; end; PStorageDevDescriptor = ^TStorageDevDescriptor; TStorageDevDescriptor = packed record Info: TDeviceDescriptor; //...
unit Importer.Framework.Interfaces; interface type IValidationRule = interface(IInterface) ['{884BB8E4-AD12-458B-BC41-3AEFF1692B84}'] function GetAcceptEmpty: Boolean; procedure SetAcceptEmpty(const Value: Boolean); function GetMaxLength: Integer; procedure SetMaxLength(const Value: Integer); ...
unit rPDMP; interface uses System.classes, ORNET, ORCtrls; /// <summary> Function is called when the user finishes reviewing </summary? /// <summary> the report to generate the note</summary> /// <summary> Result format - the same as pieces 2-4 of the 0 node of STRTPDMP:</summary> /// <summary> NOTE IEN^Change Log...
unit uCtrlCliente; interface uses uCtrlObject, Datasnap.DBClient, System.Classes, System.SysUtils, uDbAnimal, uDbCliente, uDbObject, FRestConsultaEndereco, Vcl.Forms; type TFiltroCliente = class private Frg: string; Fcpf: string; Fnome: string; FnomeAnimal: string; procedure Setcpf(const V...
{******************************************************************************* 用于程序中的错误调试 创建人:TJH 创建日前:2009-11-26 描述:... *******************************************************************************} unit CaptureDebug; interface {$define DEBUG} uses Windows, Classes, SysUtils, Forms; Type TDebug = cl...
unit Spider.SQLiteDB; interface uses System.Contnrs, System.SysUtils, System.Classes, System.Types, System.Sqlite, Spider.RWLock; type HSQLCONTEXT = Pointer; HSQLDB = Pointer; HSQLQUERY = Pointer; HSQLVALUE = Pointer; TSQLBase = class; TSQLColumnType = (sctUnknown = 0, sctInteger = ...
////////////////////////////////////////////////////////////////////////////// // // Unit: xlshash // // // Description: Fast access by string index // ////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2004-2011 NikaSoft. All rights reserved. ...
unit huestogram; interface uses typex, easyimage, graphics, betterobject, fastbitmap, classes, sysutils, colorconversion, colorblending, helpers_stream, graphicsx; type THueFloat = double; THuestogramRecord = packed record comparator: TColor; count: Thuefloat; end; THuestogram = class(TBetterObj...
unit uSmartPtr; interface // SmartPointer implementation with anonymous method type ISmartPointer<T> = reference to function: T; TSmartPointer<T: class, constructor> = class(TInterfacedObject, ISmartPointer<T>) private FValue: T; function Invoke: T; public constructor Create; overload; const...
{ 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 applicable...
unit WriteSensitivityUnit; interface uses Sysutils, Forms, contnrs, WriteModflowDiscretization; type TSensRecord = record Name : string[10]; ISENS : integer; LN : integer; B : double; BL : double; BU : double; BSCAL : double; end; TSensList = class; TSensitivityWriter = class(TM...
unit RepositorioAliqInternaIcms; interface uses DB, Auditoria, Repositorio; type TRepositorioAliqInternaIcms = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; function ...
(* ***** 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 cbp30Module; interface uses WinApi.Windows, WinApi.Messages, System.Classes, CustomBoardProcess, LoggerInterface, ChipPluginManager, StpProcessTypes, AbstractExtention, AbstractStpMethod; type TBoardStpExtentionManager = class(TAbstractExtention) private FWindowHandle: HWND; fBoard, ...
{***********UNITE************************************************* Auteur ...... : JL Créé le ...... : 16/12/2004 Modifié le ... : / / Description .. : Source TOF de la FICHE : PGMUL_AUGMENTATION () Mots clefs ... : TOF;saisie des augmentations de salaires ***********************************************************...
program arrayprog(input,output); (*** Demonstrate array usage. ***) type array1D = array [1..5] of integer; array3D = array [1..5,2..3,0..2] of integer; var a: array3D; b: array [0..3] of array1D; i,j,k: integer; begin for i := 1 to 5 do for j := 2 to 3 do for k :...
unit Posix.ffmpeg.libavcodec.vdpau; (* * The Video Decode and Presentation API for UNIX (VDPAU) is used for * hardware-accelerated decoding of MPEG-1/2, H.264 and VC-1. * * Copyright (C) 2008 NVIDIA * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under ...
{ - - - - - - - - - - - - - - ZSIMAGE auteur : ThWilliam date : 26/02/2010 - - - - - - - - - - - - - - } unit ZSImage; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Menus, Typinfo, Math, Jpeg; type TzsiSelectionForm = (sfRect...
unit WriteMT3D_Basic; interface uses Classes, Forms, AnePIE, WriteModflowDiscretization; type TMT3DObservation = class(TObject) Layer : integer; Row : integer; Column : integer; end; TMT3DCustomWriter = class(TListWriter) public procedure RealArrayHeader(Const IPRN : integer); procedure ...
{ ***************************************************************************** * * * This file is part of the iPhone Laz Extension * * * *...
unit uConfiguracao; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, NxScrollControl, NxInspector, ComCtrls, NxCollection, ExtCtrls, RzPanel, RzDlgBtn, NxPropertyItems, NxPropertyItemClasses, ActnList, ImgList, RzButton, uDados, FMTBcd, DB, DBClient, Provider,...
unit Customer; interface uses Company; type TPersonalInfo = record private class var LastID: integer; public ID: integer; Name: string; Address : string; constructor Create(const AName, AAddress: string); end; ICustomer = interface ['{1AE32361-788E-4974-9366-94E62D980234}'] funct...
{ Copyright 2019 Ideas Awakened Inc. Part of the "iaLib" shared code library for Delphi For more detail, see: https://github.com/ideasawakened/iaLib 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 Licens...
unit RepositorioTabelaPreco; interface uses DB, Auditoria, Repositorio; type TRepositorioTabelaPreco = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; function Ge...
{============================================================================== _ ve'va'CHe __ _(_)_ ____ _ ___ ___ ™ \ \ / / \ \ / / _` |/ __/ _ \ \ V /| |\ V / (_| | (_| __/ \_/ |_| \_/ \__,_|\___\___| game toolkit Copyright © 2020 tinyBigGAMES™ LLC All rights res...
unit uTitleSearch; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Grids, DBGrids, DB, ADODB, DBClient, Buttons, ExtCtrls,cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdi...
unit TeamRelations; {$include opts.inc} interface uses USystem, UMath, Algo, UClasses, Script, Utils {$ifdef use_serialization}, Streams {$endif} {$ifdef Debug}, ULog {$endif}; type // TODO: сделать как в PhysMaterialDB pSquads = ^Squads; Squads = object(&Object) public const AllyThreshold = 3...
unit unUtilsLegales; interface uses Controls; procedure EnableControls(AControl: TWinControl; AEnabled: Boolean = True); procedure LockControls(AControls: Array of TControl; ALocked: Boolean{$IFNDEF VER130} = True{$ENDIF}); implementation uses VclExtra; procedure EnableControls(AControl: TWinControl; AEnabled: B...
unit GenderListFormUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DataLinkReflectorUnit, DataAwareControlControllerUnit, DB, Grids, DBGrids, StdCtrls, ExtCtrls, ORMListBaseFormUnit, GenderDetailFormUnit; type TGenderListForm = class(TORMList...
{ ---------------------------------------------------------------------------- } { } { CableSoft Copyright (c) 2002-2003 } { Unit: Popup Date Form ...
unit RDTPVideoDisplayServerImplib; {GEN} {TYPE IMPLIB} {SERVICENAME VideoDisplay} {RQFILE RDTPVideoDisplayRQs.txt} {END} {$DEFINE DIRECT} interface uses RDTPVideoDisplayServer, RDTPSocketServer, forms, windows, videomarshall,miscroutines; type TVideoDisplayServer = class(TVideoDisplayServerBase) private prote...
unit AsyncAwaitMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TfrmAsyncAwait = class(TForm) btnLongTask: TButton; btnLongTaskAsync: TButton; btnLongTaskAsync2: TButton; ...
unit Unit1; // Demo 3 // // Demonstrate potential pitfall when using automatic reference counting // Parent and child objects are not destroyed because they retain references to each other interface uses System.Classes, Vcl.Controls, Vcl.Forms, Vcl.StdCtrls; type TParent = class(TInterfacedObject) ...
unit BIFF_Autofilter5; {- ******************************************************************************** ******* XLSReadWriteII V6.00 ******* ******* ******* ******* Copyright(C) 1999,2017 Lars Arvidsso...
unit DW.IOUtils.Helpers.Posix; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...
{******************************************************************************} { } { SE Network Development Framework } { ...
program CreateFile; uses Sysutils; Type persona = record apellido: string[25]; nombre: string[25]; fecNac: LongInt; end; const C_FNAME = 'textfile.txt'; var tfOut: TextFile; // tipo fichero de salida. p:persona; begin // Establece el nombre del fichero que vamos a crear ...
unit FMX.CallUIThread.Helper.Android; //安卓 CallInUIThreadAndWaitFinishing 修复 等待卡死的问题 //感觉 老猫 interface uses System.Classes, System.SyncObjs, FMX.Forms, FMX.Helpers.Android; procedure CallInUIThreadAndWaitFinishingFix(AMethod: TMethodCallback); overload; procedure CallInUIThreadAndWaitFinishingFix(AMetho...
{ ************************************* Created by Danilo Lucas Github - https://github.com/dliocode ************************************* } unit DataValidator.Values.Intf; interface uses DataValidator.Base.Intf, DataValidator.Result.Intf, DataValidator.ItemBase.Intf; type IDataValidatorValues = interfa...
unit Xmpp.extensions.bytestreams; interface uses Jid,XmppUri,Element,SysUtils,Generics.Collections,Xmpp.Client.IQ,System.Classes; type TStreamHost=class(TElement) const TagName='streamhost'; private function FGetPort:integer; procedure FSetPort(value:Integer); function FGetHost:string; proced...
unit BIFF_ICompoundStream5; {- ******************************************************************************** ******* XLSReadWriteII V6.00 ******* ******* ******* ******* Copyright(C) 1999,2017 Lars Arv...
unit RekGraph; interface uses Crt,Graph; const skier_del:integer=0; haken_del:integer=0; quadrat_del:integer=0; spirale_del:integer=0; var globangle: integer; procedure TLeft(var angle: integer); procedure TRight(var angle: integer); procedure Forwd(len: integer); proc...
{$MODE OBJFPC} program KDEL; uses SysUtils; var stack, s : AnsiString; n, k, top : Integer; procedure Enter; begin ReadLn(n, k); end; procedure Init; const k = 3; var i, t : Integer; function Power(a, d, n : Integer) : Integer; begin if d = 0 then Exit(1); result := Po...
unit DataProcessing.ClassParams; interface uses DataProcessing.Reader, DataProcessing.Writer; type TDataProcessor = class strict private FReader: IReader; FWriter: IWriter; public constructor Create(const AReader: IReader; const AWriter: IWriter); procedure ProcessData; end; implementati...
{=============================================================================== RzBorder Unit Raize Components - Component Source Unit Copyright ?1995-2015 by Raize Software, Inc. All Rights Reserved. Components ------------------------------------------------------------------------------ TRzBorder ...
unit GLHelpers; (********************************************************************** File name: glhelpers.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 ...
unit PXL.Surfaces.LCL; { 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 PacketHelpers_VirtualDisk; interface uses virtualdisk_advanced, packet, systemx, typex, virtualdisk_status, virtualdiskparams; procedure GetTVirtualDiskPayloadConfigurationFromPacket(packet: TRDTPPacket; out td: TVirtualDiskPayloadConfiguration); procedure WriteTVirtualDiskPayloadConfigurationToPacket(packet...
unit Posix.ffmpeg.libavutil.macros; (* * 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 published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later...
unit TelnetProcessor; interface uses sysutils, better_sockets, sharedobject, ipclientwrapper, classes, stringx, stringx.ansi, betterobject; type TTElnetSession = class; TTelnetProcessor = class(TSharedObject) private FEOL: ansistring; FInteractiveMode: boolean; FHistory: TStringlist; functi...
unit ServerCfgImpl; //////////////////////////////////////////////////////////////////////////////// // // Description£º ServerCfg Implementation // Author£º lksoulman // Date£º 2017-8-10 // Comments£º // //////////////////////////////////////////////////////////////////////////////// interface uses Wi...
unit ClientManager; interface uses System.SysUtils, System.Classes, System.Generics.Collections, IdTCPServer, IdCustomTCPServer, IdTCPConnection, IdYarn, IdContext, IdGlobal, IdThreadSafe, IdBuffer, PacketManager, WorldManager, Log; type Vector3D = record X: Int16; Y: Int16; ...
unit uKeys; interface uses Classes; procedure Keys(var Key: Word); overload; procedure Keys(var Key: Char); overload; procedure Keys(var Key: Word; Shift: TShiftState); overload; implementation uses uConst, uMenu, uName, uRace, uClass, uHelp, uSplash, uGame, uInv, uChar, uMsg, uCellItems, uItem, uTy...
unit Numbers; interface procedure Negativate(var bin: string); function Dec2Hex(dec: longint): string; function Hex2Dec(hex: string): longint; function Bin2Dec(bin: string): longint; function FPBin2Dec(bin: string): extended; function Dec2Bin(dec: longint): string; function Dec2FPBin(dec: real):...
unit lplclprocess; {$mode objfpc}{$H+} interface uses Classes, SysUtils, lpCompiler, lpTypes, ulpClassHelper; procedure RegisterLCLProcess(Compiler: TLapeCompiler); implementation uses lplclcontrols, lplclsystem, Process, Pipes; type PProcess = ^TProcess; //PRect = ^TRect; PHandle = ^THandle; PProces...
unit PXL.Devices.GL.X; { 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...
{ @abstract(Base types unit) The unit contains common types @author(George Bakhtadze (avagames@gmail.com)) } unit g3types; {$I g3config.inc} interface uses SysUtils, g3message; const // Index of first character in strings STRING_INDEX_BASE = 1; // Number of bits per byte BITS_IN_BYTE = 8; // Sign bit ...
unit UTestOperators; interface uses DUnitX.TestFramework; type [TestFixture] TTestOperators = class public [Test] procedure Add; [Test] procedure Factorial; end; implementation { TTestOperators } uses UOperators, UIOperator; procedure TTestOperators.Add; var FAdd: IOperator; begin ...
unit FMX.CalendarControl; interface uses System.Classes, System.SysUtils, System.Types, System.UITypes, System.DateUtils, FMX.Platform, FMX.Controls, FMX.Layouts, FMX.Types, FMX.Calendar, FMX.ListView, FMX.ListView.Types, FMX.CalendarItemAppearance; const TWeeks: array [0 .. 6] of string = ('周日', '周一', '...
unit FavFilter; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, CoordinatesRanges, Languages, OGame_Types, iniFiles, prog_unit; const FilterSection = 'FavFilter'; type TPlanetRange = TCoordinatesRangeList; TPlanetRangeL...
unit UnitController.OrdensServicos; interface uses Horse, Horse.Commons, Classes, SysUtils, System.Json, System.StrUtils, DB, UnitConnection.Model.Interfaces, UnitOcorrencia.Model, UnitFuncoesComuns, UnitConstantes, UnitHistoricoPrazoEntrega.Model; type TControllerOrdensServicos = class publi...
UNIT Mod_IO; INTERFACE PROCEDURE Header(s: STRING); PROCEDURE SingleSeparator; IMPLEMENTATION CONST m = 50; PROCEDURE SingleSeparator; VAR i: INTEGER; BEGIN FOR i := 1 TO m DO Write('-'); WriteLn; END; PROCEDURE DoubleSeparator; VAR i: INTEGER; BEGIN ...
{ Функции v0.0.6 (3/10/06) } unit SUtils; interface uses Windows, Graphics, Classes, Messages; { procedures } function IsNumeric(c: char): Boolean; // определение символа как числа function IsFlag(Value: WORD; Flag: WORD): boolean; // опр-ние уст-ки флага(битов) // name=value;tag function GetName(const s: ...
unit SkyException; interface uses GenericEntity, SysUtils, MessageInfoData, TypesConsts; type ESkyException = class; ESkyExceptionClass = class of ESkyException; ESkyException = class(Exception) private class var FExceptionManager: TObject; function GetParams: TGenericEntity; ...
{ 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...
unit PointInsideContourUnit; interface uses ANEPIE, SysUtils, Classes, Math; function GContourArea(ListIndex: integer): double; function GPointInsideContour(ListToUse: ANE_INT32; X, Y: ANE_DOUBLE): boolean; procedure GPointInsideContourMMFun(const refPtX: ANE_DOUBLE_PTR; const refPtY: ANE_DOUBLE_PTR; numParams...
unit DW.AdMob.Android; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library } ...
unit Lists; interface const VendorsString = 'ACER' + sLineBreak + 'ADAPTEC' + sLineBreak + 'ASMEDIA' + sLineBreak + 'ASIX' + sLineBreak + 'ASUS' + sLineBreak + 'ATHEROS' + sLineBreak + 'AVERMEDIA' + sLineBreak + 'BIXOLON' + sLineBreak + 'BROADCOM' + sLineBreak + 'BROTHER' + s...
namespace Moshine.Api.Weather; uses CoreLocation, Foundation, Moshine.Api.Weather.Models, Moshine.Api.Weather.Models.WeatherUnderground, Moshine.Foundation.Web, RemObjects.Elements.RTL; type WeatherUndergroundApi = public class private _apiKey:String; _proxy:WeatherUndergrou...
unit MyIntf; interface uses System.SysUtils, System.Types, System.Classes; type IMyTest = interface ['{6CCACE8D-9817-4561-9272-D3743B1090AC}'] procedure Hello(Sender: TObject); end; implementation end.
{***********UNITE************************************************* Auteur ...... : FC Créé le ...... : 23/03/2007 Modifié le ... : / / Description .. : Source TOF de la FICHE : UTOFPGHISTOCUMULS () Historique des cumuls depuis le menu Zoom de la saisie du bulletin Mots clefs ... : TOF;UTOFPGHISTOCU...
{ Unité : Source TOF de la FICHE : LANCEETAT -------------------------------------------------------------------------------------- Version | Date | Qui | Commentaires -------------------------------------------------------------------------------------- 30/01/02 BT Création de l'unité 6.20...
unit UnquoteString.State; interface function Unquote(const s: string): string; implementation uses System.SysUtils, System.Classes; type TState = (stStart, stNormal, stQuote, stEnd); TUnquoteState = class strict private FState: TState; protected procedure RaiseInvalidString; public const...
unit uFileSetImpl; interface uses uFileSetApi; function newFileSet: IFileSet; implementation uses Classes, SysUtils; type TFileSetImpl = class(TInterfacedObject, IFileSet) private FFileSetName: string; FFileNames: TStringList; function GetCount: Integer; function GetFileName(Index: Integer):...
unit CCRC32; {$WEAKPACKAGEUNIT ON} interface const CRC32_STDPOLY = $EDB88320; // widely used CRC32 Polynomial function GetCRC32Of(const Buffer: pointer; const Size: integer; const initValue: Cardinal = 0): Cardinal; overload; function GetCRC32Of(const b: byte; const initCRC32Value: Cardinal = 0): Cardinal; overload;...
unit RDTPBeeperClient; {GEN} {TYPE CLIENT} {CLASS TRDTPBeeperClient} {TEMPLATE RDTP_gen_client_template.pas} {SERVICENAME BEEPER} {RQFILE RDTPBeeperRQs.txt} {END} interface uses packetabstract, betterobject, systemx, genericRDTPClient, variants, packethelpers, debug, typex, exceptions; type TRDTPBeeperClien...