text
stringlengths
14
6.51M
program fibonacci; var n: integer; procedure fib (a, b, i, n: integer); begin if i < n then begin write (a + b); fib (a + b, a, i + 1, n) end end; begin read (n); fib (0, 1, 0, n) end.
unit Cplx; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Math; type Complex = object public // variables re, im: real; // constructor & destructor constructor init(x, y: real); destructor free; // methods function mag: real; function mag2: real; function phs: real; ...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, XPMan; type TForm1 = class(TForm) Edit1: TEdit; Button1: TButton; Edit2: TEdit; Edit3: TEdit; Edit4: TEdit; Label1: TLabel; Label2: TLabel; Label3: ...
unit WizMain; interface uses Windows, ToolsAPI, Forms, Dialogs, FrmMain, SysUtils, Graphics; type TMenuIOTATest = class(TNotifierObject, IOTAWIzard, IOTAMenuWizard) public function GetMenuText: string; function GetIDString: string; function GetName: string; function GetState: TWizardState; ...
unit JD.Weather.Services.OnPOINT; interface {$R 'OnPointRes.res' 'OnPointRes.rc'} uses System.SysUtils, System.Classes, System.Generics.Collections, IdHTTP, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL, JD.Weather.Intf, JD.Weather.SuperObject; const SVC_CAPTION = 'We...
(* HashProbing: SWa, modified by MM 2020-03-11 *) (* ------------ *) (* Fun with hashing and linear probing. *) (* ========================================================================= *) ...
unit xElecLineBox; interface uses xElecLine, xElecPoint, System.Classes, System.SysUtils; type /// <summary> /// 联合接线盒-电压 /// </summary> TLineBoxVol = class private FIsON: Boolean; FInLineVol: TElecLine; FOutLineVol: TElecLine; FOnChange: TNotifyEvent; procedure SetIsO...
unit UI.FontGlyphs.Android; interface uses FMX.FontGlyphs, FMX.FontGlyphs.Android, Androidapi.JNI.GraphicsContentViewText; type TAndroidFontGlyphManagerFMXUI = class(TAndroidFontGlyphManager) protected procedure LoadResource; override; end; implementation uses UI.Base, System.IOUtils, System.Ty...
unit CONFIG_RESTAURANTE; interface uses Classes, DB, SysUtils, Generics.Collections, ormbr.mapping.attributes, ormbr.types.mapping, ormbr.types.lazy, ormbr.types.nullable, ormbr.mapping.register; type [Entity] [Table('CONFIG_RESTAURANTE','')] [PrimaryKey('ID', AutoInc, NoSort, True, 'Chave pr...
unit LazUTF8; { LLCL - FPC/Lazarus Light LCL based upon LVCL - Very LIGHT VCL ---------------------------- This file is a part of the Light LCL (LLCL). This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not...
unit JD.Weather.NOAA; interface uses System.Classes, System.SysUtils, System.Generics.Collections, Vcl.Graphics, Vcl.Imaging.Jpeg, Vcl.Imaging.PngImage, Vcl.Imaging.GifImg, JD.Weather, JD.Weather.Intf, SuperObject; type TNOAAEndpoint = (noeDatasets, noeDataCategories, noeDataTypes, noeLocationCategories, ...
unit class_ctor_2; interface uses System; type TC1 = class F: int32; constructor Create; destructor Destroy; override; end; implementation var GA, GF: Int32; constructor TC1.Create; begin F := 11; end; destructor TC1.Destroy; begin GF := 12; end; procedure Test; v...
1 unit procs; 2 { Etienne van Delden, 0618959, 03-11-2006 } 3 4 interface 5 6 //**CONSTANT DEFINITION ********** 7 8 const 9 MaxSa = 1000; // maximale sprongafstand 10 MaxSk = 1000; // maximale sprongkosten 11 MaxLen = 10000; //...
{*******************************************************} { } { Borland Delphi Visual Component Library } { XML Schema Tags } { } { Copyright (c) 2000-2001 Bor...
{------------------------------------------------------------------------------- // EasyComponents For Delphi 7 // 一轩软研第三方开发包 // @Copyright 2010 hehf // ----------------------------...
{*************************************************************************** * * Orion-project.org Lazarus Helper Library * Copyright (C) 2016-2017 by Nikolay Chunosov * * This file is part of the Orion-project.org Lazarus Helper Library * https://github.com/Chunosov/orion-lazarus * * This Library is free soft...
unit TabSetImpl1; interface uses Windows, ActiveX, Classes, Controls, Graphics, Menus, Forms, StdCtrls, ComServ, StdVCL, AXCtrls, DelCtrls_TLB, Tabs; type TTabSetX = class(TActiveXControl, ITabSetX) private { Private declarations } FDelphiControl: TTabSet; FEvents: ITabSetXEvents; procedure C...
unit Ledger; interface uses System.Rtti; type TLedger = class private FDebit: currency; FPrimaryKey: string; FPostingId: string; FRefPostingId: string; FEventObject: string; FValueDate: TDateTime; FCredit: currency; FCaseType: string; FCurrentStatus: string; FNewStatus: ...
{ $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 rights reserv...
namespace CirrusTrace; interface type // Aspect declared in CirrusTraceAspectLibrary is applied to this class // Build and start the application to see how it will affect the behaviour of // Sum and Multiply methods [CirrusTraceAspectLibrary.Trace] WorkerClass = class public method Sum(aVa...
{******************************************} { TPolarSeries Editor Dialog } { Copyright (c) 1996-2004 by David Berneda } {******************************************} unit TeePolarEditor; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, Messages, {$ENDIF} SysUtils, Classes, {$...
{ ledger Copyright (c) 2018 mr-highball 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, including without limitation the rights to use, copy, modify, merge, publish...
unit UDbfCommon; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Db, ExtCtrls, DBCtrls, Grids, DBGrids, Menus, Buttons, ComCtrls; type TDbfFieldType = char; {$I _DbfCommon.inc} {$ifndef DELPHI_5} procedure FreeAndNil(var v); {$endif} procedure FileCopy(so...
{ Double Commander ------------------------------------------------------------------------- Multi-Rename path range selector dialog window Copyright (C) 2007-2020 Alexander Koblov (alexx2000@mail.ru) This program is free software; you can redistribute it and/or modify it under the terms of the GNU ...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLFileHDR<p> HDR File support for GLScene. <b>History : </b><font size=-1><ul> <li>04/11/10 - DaStr - Added Delphi5 and Delphi6 compatibility <li>23/08/10 - Yar - Replaced OpenGL1x to OpenGLTokens <li>08/0...
unit UFormCadastro; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, FireDAC.Comp.Client, Data.DB, Vcl.Buttons, UBarraBotoes, Vcl.DBCtrls, UDBCampoCodigo; type TFFormCada...
unit TestUsesReturns; {(*} (*------------------------------------------------------------------------------ Delphi Code formatter source code The Original Code is TestUsesReturns, released Sept 2003. The Initial Developer of the Original Code is Anthony Steele. Portions created by Anthony Steele are Copyrigh...
unit mystruct_i; {This file was generated on 11 Aug 2000 20:16:58 GMT by version 03.03.03.C1.06} {of the Inprise VisiBroker idl2pas CORBA IDL compiler. } {Please do not edit the contents of this file. You should instead edit and } {recompile the original IDL which was located in the file mys...
unit ResizerConstsUnit; /////////////////////////////////////////////////////////////////////////////// // // Description: Constants, string or otherwise, useful to Resizer // /////////////////////////////////////////////////////////////////////////////// interface const // Extensions EXTENSION_BMP =...
unit cls_TClients; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs; type TClients = class private { Private declarations } userName : string ; clientName : string ; clientSurname : string ; public { Public declarations } Cons...
// // This unit is part of the GLScene Project, http://glscene.org // {: Q3MD3<p> Helper classes and methods for Quake3 MD3 actors<p> History : 14/04/03 - SG - Streamlined the TMD3TagList.LoadFromStream a little 04/04/03 - SG - Changes made to LoadQ3Skin procedure (as suggested by Mrqzzz) ...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit uLembrete; interface uses System.SysUtils; Type TLembrete = class private FTitulo: String; FDataHora: TDateTime; FDescricao: String; FIDLembrete: Integer; procedure SetDataHora(const Value: TDateTime); procedure SetDescricao(const Value: String); procedure SetIDLembrete(const V...
unit MainForm; interface uses DAOTest, ListeningForm, SpeakingForm, SpeakingSQLUnit, WritingForm, ReadingForm, MainSQLUnit, TestClasses, JoanModule, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls, Generics.Collections; // type T...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
(* * <Diff Match and Patch> partial port to Object Pascal by Lin Ling. * * Original license: * * Copyright 2008 Google Inc. All Rights Reserved. * Author: fraser@google.com (Neil Fraser) * Author: mikeslemmer@gmail.com (Mike Slemmer) * * Licensed under the Apache License, Version 2.0 (the "License"); * you ma...
unit SpinEditImpl1; interface uses Windows, ActiveX, Classes, Controls, Graphics, Menus, Forms, StdCtrls, ComServ, StdVCL, AXCtrls, DelCtrls_TLB, Spin; type TSpinEditX = class(TActiveXControl, ISpinEditX) private { Private declarations } FDelphiControl: TSpinEdit; FEvents: ISpinEditXEvents; p...
{ Invokable implementation File for TUsers which implements IUsers } unit UsersImpl; interface uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns, Soap.encddecd, System.IOUtils, FMX.Dialogs, FMX.Forms, Classes, SysUtils, System.UITypes, System.Variants, FMX.Graphics, Data.DB, Data.DbxSqlite, Data...
unit frmTarifaMensual; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, DateUtils, Grids, DBGrids, ExtCtrls, DBCtrls, ZAbstractRODataset, ZAbstractDataset, ZAbstractTable, ZDataset, NxScrollControl, NxCustomGridControl, NxCustomGrid, NxDBGrid, frm_Connec...
unit PayPosTermProcess; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorDialog, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, Vcl.Menus, Vcl.ExtCtrls, Vcl.StdCtrl...
//////////////////////////////////////////////////////////////////////////////// // // // FileName : SUIPopupMenu.pas // Creator : Shen Min // Date : 2002-09-01 // Comment : // // Copyright (c) 2002-2003 Sunisoft // http://www.sunisoft.com // Email: support@sunisoft.com // ///////////////...
unit classe.disciplina; interface Uses TEntity, AttributeEntity, SysUtils; type [TableName('DISCIPLINA')] TDisciplina = class(TGenericEntity) private FIdDisciplina:integer; FDescricao:string; procedure setIdDisciplina(const Value: integer); procedure setDescricao(value:string); public ...
unit URegraCRUDTodasVacinas; interface uses URegraCRUD , URepositorioDB , URepositorioTodasVacinas , UEntidade , UTodasVacinas ; type TRegraCRUDTodasVacinas = class(TRegraCRUD) protected procedure ValidaInsercao(const coENTIDADE: TENTIDADE); override; public constructor Create; override; ...
unit UTransform; {$mode objfpc}{$H+} interface uses Classes, UFloatPoint; type ArrayOfPoints = array of TPoint; function WorldToScreen(APoint: TFloatPoint): TPoint; function WorldToScreenX(AX: Single): Integer; function WorldToScreenY(AY: Single): Integer; function WorldToScreen(Points: array of TFloatPoint): ...
unit Win95pie; interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, Menus; type TWin95PieChart = class(TCustomPanel) private { Private declarations } FValue, FMaximum, FDepth: integer; FUsedColor, FUsedShadowColor, FFreeColor, FFreeShadowCo...
unit AnswerSQLUnit; interface uses JoanModule, TestClasses, SysUtils, Generics.Collections, Classes, Contnrs; procedure InsertAnswerData(AnswerData: TAnswer); procedure ModifyAnswerData(AnswerData: TAnswer); procedure DeleteAnswerData(AnswerData: TAnswer); function GetAnswerData(TestIndex: integer): TObjectLis...
unit DImageCollections; interface uses System.SysUtils, System.Classes, IconFontsImageCollection, //Vcl.BaseImageCollection, //If you are compiling with a versione older than 10.3 remove this line SVGIconImageCollection; type TIconsType = (itIconFonts, itSVGIcons); TImageCollectionDataModule =...
unit testschurunit; interface uses Math, Sysutils, Ap, hblas, reflections, creflections, sblas, ablasf, ablas, ortfac, blas, rotations, hsschur, schur; function TestSchur(Silent : Boolean):Boolean; function testschurunit_test_silent():Boolean; function testschurunit_test():Boolean; implementation procedure...
unit ClassScoreBoard; interface uses Windows, Graphics, ExtCtrls, Controls; const CInterval = 3000; type TState = ( sTitle , sPl1 , sPl2 ); TPlyr = ( pComp1 , pComp2 , pComp3 , pPl1 , pPl2 ); TScoreBoard = class private FImage : TImage; FTitle : TBitmap; FState :...
unit generic_darrays_1; interface implementation type TDArray<T> = array of T; var A: TDArray<Int32>; G1, G2, G3: Int32; procedure Test; begin SetLength(A, 3); A[0] := 11; A[1] := 12; A[2] := 13; G1 := A[0]; G2 := A[1]; G3 := A[2]; end; initialization Test(); finalization A...
{$F-,A+,O+,G+,R-,S+,I+,Q-,V-,B-,X+,T-,P-,D-,L-,N-,E+} unit Config; interface uses Global; const maxItem = 56; cfgTop = 4; var numItem : Byte; cfgBot : Byte; cfgCol : Byte; cfgLn : Byte; cfgSel : Byte; cfgKey : Char; cfgD...
// // Copyright (c) 2009-2010 Mikko Mononen memon@inside.org // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for any purpose...
unit salsa20; {Salsa20 stream cipher routines} interface {$i STD.INC} {$ifdef BIT32} {.$define ChaChaBasm32} {Use EddyHawk's BASM version of chacha_wordtobyte} {$endif} (************************************************************************* DESCRIPTION : Salsa20 stream cipher routine...
unit Mods; interface uses System.Classes; type TMods = class(TObject) private const Default = 'elvion'; private FSL: TStringList; FCurrent: string; function GetCurValue(const Name: string; DefValue: string): string; overload; function GetCurValue(const Name: string; DefValue: Integer): In...
unit uRandom; interface function RandomChar: Char; function RandomString(l: byte): string; implementation function RandomChar: Char; begin Result:=Char(Random(256)) end; function RandomNChar: Char; type TCS = Set of Char; Const chars:TCS=['!'..'ÿ']-['\','|','/','*','<','>']; begin repeat ...
{*********************************************} { TeeBI Software Library } { TDataItem Export Dialog } { Copyright (c) 2016 by Steema Software } { All Rights Reserved } {*********************************************} unit VCLBI.Editor.ExportData; i...
{********************************************************************* * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Autor: Brovin Y.D. * E-mail: y.brovin...
unit RProrataWorksheets; interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DBCtrls, DBTables, DB, Buttons, Grids, Wwdbigrd, Wwdbgrid, ExtCtrls, Wwtable, Wwdatsrc, Menus, RPCanvas, RPrinter, RPDefine, RPBase, RPFiler, locatdir, Mask, CheckLst, PASType...
namespace RemotingSample.Implementation; interface uses System, RemotingSample.Interfaces; type { RemoteService } RemoteService = public class(MarshalByRefObject, IRemoteService) private protected method Sum(A, B : Integer) : Integer; public end; implementation method Remote...
{ Private include file for the GUI library. } %include 'sys.ins.pas'; %include 'util.ins.pas'; %include 'string.ins.pas'; %include 'file.ins.pas'; %include 'img.ins.pas'; %include 'math.ins.pas'; %include 'vect.ins.pas'; %include 'rend.ins.pas'; %include 'gui.ins.pas'; type gui_win_childpos_t = record {po...
{----------------------------------------------------------------------------- Author: Roman Fadeyev Purpose: Соединение, использующее для источника данных историю котировок (IStockDataStorage) History: -----------------------------------------------------------------------------} unit FC.StockDat...
unit Getter.PhysicalDrive.NCQAvailability; interface uses Windows, OSFile.Handle, OSFile.IoControl, OS.Handle; type TNCQAvailability = (Unknown, Disabled, Enabled); TNCQAvailabilityGetter = class sealed(TIoControlFile) public constructor Create(const FileToGetAccess: String); override; functio...
unit PortUnitTest; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, WiseHardware, WiseDaq, WisePort, WiseStatusLine, ExtCtrls, DateUtils, CheckLst, cbw, ComCtrls; type TForm1 = class(TForm) MainTimer: TTimer; PortGroupBox: TGr...
{----------------------------------------------------------------------------- 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/MPL-1.1.html...
unit BodyDataQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.I...
{$MODE DELPHI} Program Week9; Type Text = array Of String; Var T1: Text; Function isPalindrome(w: String) : boolean; Var i: Integer; Begin result := true; For i := 1 To length(w) Div 2 Do If w[i] <> w[length(w)-i+1] Then result := false; End; Procedure input(Var T1: Text); Var n, err: Intege...
{**********************************************} { TCustomChart (or derived) Editor Dialog } { Copyright (c) 1996-2004 by David Berneda } {**********************************************} unit TeeEdiGene; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, Messages, {$ENDIF} SysUtils, Clas...
unit fpeMakerNoteEpson; {$IFDEF FPC} {$MODE DELPHI} //{$mode objfpc}{$H+} {$ENDIF} interface uses Classes, SysUtils, fpeTags, fpeExifReadWrite; type TEpsonMakerNoteReader = class(TMakerNoteReader) protected procedure GetTagDefs({%H-}AStream: TStream); override; end; implementation procedure Buil...
{ Initial map viewer library: Copyright (C) 2011 Maciej Kaczkowski / keit.co Extensions: (C) 2014 ti_dic@hotmail.com (C) 2019 Werner Pamler (user wp at Lazarus forum https://forum.lazarus.freepascal.org License: modified LGPL with linking exception (like RTL, FCL and LCL) See the file COPYING.modif...
unit Ths.Erp.Database.Table.SysGridColWidth; interface {$I ThsERP.inc} uses SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils, FireDAC.Stan.Param, System.Variants, Data.DB, Ths.Erp.Database, Ths.Erp.Database.Table; type TSysGridColWidth = class(TTable) private FTableName: TField...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit ErrorMsgFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, AppEvnts; type TErrorMsgForm = class(TForm) memoErrorText: TMemo; btnAppQuit: TBitBtn; btnCancel: TBitBtn; ApplicationEvents1: TApplicationEvents;...
{DELPHI IMPLEMENTATION OF TWAIN INTERFACE} {december 2003®, initially created by Gustavo Daud} {This is my newest contribution for Delphi comunity, a powerfull} {implementation of latest Twain features. As you know, twain is } {the most common library to acquire images from most acquisition} {devices such as Sca...
{(*} (*------------------------------------------------------------------------------ Delphi Code formatter source code The Original Code is frClarify.pas, released April 2000. The Initial Developer of the Original Code is Anthony Steele. Portions created by Anthony Steele are Copyright (C) 1999-2008 Anthony S...
unit xSimpleInfoControl; interface uses SysUtils, Classes, xDBActionBase, FireDAC.Stan.Param, xFunction ; type /// <summary> /// 信息 /// </summary> TSimpleInfo = class private FSIRemark1: string; FSIID: Integer; FSIName: string; FSIRemark2: string; public constructor...
unit ctrU1; interface uses Math, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, ElAES; type TForm1 = class(TForm) edtKey: TLabeledEdit; memCipher: TMemo; lblCipherText: TL...
unit FormMain; {$mode objfpc}{$H+} {$Codepage utf8} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, Menus, PythonEngine, PythonGUIInputOutput; type { TfmMain } TfmMain = class(TForm) mnuHelpAbout: TMenuItem; Panel1: TPanel; PythonEngine: TPythonEngine; ...
{ Copyright (C) 2014, 2020 Matthias Bolte <matthias@tinkerforge.com> Redistribution and use in source and binary forms of this file, with or without modification, are permitted. See the Creative Commons Zero (CC0 1.0) License for more details. } unit BrickDaemon; {$ifdef FPC}{$mode OBJFPC}{$H+}{$endif} inte...
unit classesGeraeteAusgabe; interface uses System.SysUtils, System.StrUtils, Vcl.Dialogs, System.UITypes, classesPersonen, classesTelefonie, classesArbeitsmittel, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Asyn...
unit BrickCamp.Model.TUser; interface uses Spring, Spring.Persistence.Mapping.Attributes, BrickCamp.Model.IProduct; type [Entity] [Table('CUSER')] TUser = class private [Column('ID', [cpRequired, cpPrimaryKey, cpNotNull, cpDontInsert], 0, 0, 0, 'primary key')] [AutoGenerated] FId: Integer; ...
{----------------------------------------------------------------------------- Author: Roman Fadeyev Purpose: Реализация IStockDataSource для файлов формата CSV History: -----------------------------------------------------------------------------} unit FC.StockData.CSV.StockDataSource; {$I Compiler.inc} int...
unit Unit2; interface uses UI.SizeForm, UI.Ani, UI.Frame, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, UI.Base, UI.Standard, FMX.Effects, FMX.Controls.Presentation, FMX.StdCtrls; type TForm2 = class(TSizeForm)...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
(* **************************************************************** *) (* Copyright (C) 1999-2010, Jon Gentle, All right reserved. *) (* **************************************************************** *) (* This program is free software; you can redistribute it under the *) (* terms of the Artistic License, as...
unit caBaseDataset; {$INCLUDE ca.inc} interface uses // Standard Delphi units Classes, SysUtils, Windows, Forms, DB, caLog; type //---------------------------------------------------------------------------- // TcaRecordInfo   //----...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1996,99 Inprise Corporation } { ...
{**********************************************} { TCustomChart (or derived) Editor Dialog } { Copyright (c) 1996-2004 by David Berneda } {**********************************************} unit TeeEdiPage; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, Messages, {$ENDIF} SysUtils, Clas...
unit TestCase1; {$mode objfpc}{$H+} interface uses chocolatey, Classes, SysUtils, fpcunit, testutils, testregistry; type { TTestCase1 } TTestCase1= class(TTestCase) private FChoco: TChocolatey; protected procedure SetUp; override; procedure TearDown; override; published procedure Searc...
unit HGM.GraphQL.Method; interface uses System.Generics.Collections, System.SysUtils, HGM.GraphQL.Types, HGM.GraphQL.Fields; type TGraphMethod = class private FName: string; FFields: TGraphFields; FArgs: TGraphArgList; procedure SetArgs(const Value: TGraphArgList); procedure SetFields(const...
unit AsciiImage.RenderContext.Types; interface uses Graphics, {$if CompilerVersion > 22} System.Types, System.UITypes; {$Else} Types; {$IfEnd} {$If declared(TGraphic)} const Framework = 'VCL'; {$Else} const Framework = 'FM'; const clNone = TAlphaColorRec.Null; const clBlack = ...
object ViewDefault: TViewDefault Left = 0 Top = 0 Align = alClient BorderStyle = bsNone Caption = 'ViewDefault' ClientHeight = 497 ClientWidth = 779 Color = clWhite Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'Tahoma' Font.Style = [] OldC...
{$i deltics.unicode.inc} unit Deltics.Unicode.Class_; interface uses Deltics.Unicode.Types; type Unicode = class public class function AnsiCharToWide(const aChar: AnsiChar): WideChar; class procedure CodepointToSurrogates(const aCodepoint: Codepoint; var aHiSurrogate, aLoSurrogate: ...
unit Form.MainView; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Form.BaseForm, dxSkinsCore, dxSkinMetropolis, System.ImageList, Vcl.ImgList, cxGraphics, cxClasses, cxLookAndFeels, dxSkinsForm, cxControls,...
unit Player.AudioOutput.HH; interface uses Windows,SysUtils,Classes,Graphics,SyncObjs, Player.AudioOutput.Base,HHDecoder,HHCommon,MediaProcessing.Definitions; type TAudioOutputDecoder_HH = class (TAudioOutputDecoder) private FAudioDecoder : THHAudioDecoder; public function DecodeToPCM(const aFormat:...
unit MobileDays.ListVertFrame.Mobile.Controller.SMImage; interface uses System.Classes, System.Net.HttpClient, System.IOUtils, System.Net.HttpClientComponent, System.SysUtils; type TSMImage = class private { private declarations } protected { protected declarations } public class procedur...
unit eComm; interface {$IFDEF OS2}uses use32, os2def, os2base;{$ENDIF} var activeComPort: word; b: byte; {$IFDEF OS2} portHandle: hfile; wrote: ulong; eHandle: hfile; eHandleActive: boolean; const {for modem stuff} IOCTL_ASYNC = $0001; ASYNC_GETINQUECOUNT = $0068; type rxqueue = ...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 2000-2001 Borland Software Corp. } { ...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit GridRef; interface uses LatLon; type TOSGridRef = record private fEasting : double; fNorthing : double; public constructor Create(const easting: double; const northing: double); class function LatLongToOSGrid(const point : TLatLon) : TOSGridRef; static; class function OS...
unit FMX.RESTLight; { author: ZuBy http://rzaripov.kz 2016 } interface uses System.Types, System.SysUtils, System.Classes, System.Net.HTTPClient, System.Net.HTTPClientComponent, System.Net.URLClient, System.Net.Mime, FMX.RESTLight.Types; type TRESTLight = record class function AccessTokenURL(con...