text
stringlengths
14
6.51M
unit uNumberClassificationTypes; interface type TNumberClassification = (Perfect, Abundant, Deficient); implementation end.
unit RepositorioConfiguracoesNF; interface uses DB, Repositorio; type TRepositorioConfiguracoesNF = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; function GetIdentifi...
unit MQTT; interface uses System.SysUtils, System.Types, System.Classes, Vcl.ExtCtrls, Generics.Collections, System.SyncObjs, IdTCPClient, MQTTHeaders, MQTTReadThread; type TMQTT = class private FClientID: string; FHostname: string; FPort: integer; FMessageID: integer; FIsConnected: boo...
Unit DirectoryEdit; // An edit box that will act as a directory // changer, with tab completion and enter // selecting a dir. Interface Uses Classes, Forms, StdCtrls, SysUtils; Type TNotifyDirChange = procedure( NewDir: string ) of object; TDirectoryEdit=Class(TEdit) Protected FCompletionIndex: longint; ...
unit UCL.TUForm; interface uses UCL.Classes, UCL.TUThemeManager, System.Classes, Winapi.Windows, Winapi.Messages, VCL.Forms, VCL.Controls, VCL.ExtCtrls, VCL.Graphics; type TUForm = class(TForm, IUThemeControl) const BorderColorDefault = $707070; private FThemeManager: T...
unit DIOTA.Dto.Request.AttachToTangleRequest; interface uses System.Classes, REST.Client, System.JSON.Builders, DIOTA.IotaAPIClasses; type TAttachToTangleRequest = class(TIotaAPIRequest) private FTrunkTransaction: String; FBranchTransaction: String; FMinWeightMagnitude: Integer; FTrytes: ...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC....
unit ConfigUnit; interface uses IniFiles, System.SysUtils; type TCustomConfig = class private FIniFile: TIniFile; public constructor Create(APathToConfig: string); destructor Destroy; override; procedure Apply; virtual; abstract; procedure Load; virtual; abstract; property IniFile: TI...
{**********************************************************************} { } { "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 comp...
unit UnitLog; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DateUtils; type TFLog = class(TForm) MLog: TMemo; procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } ...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
unit View.TownEdit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, View.TemplateEdit, Data.DB, JvComponentBase, JvFormPlacement, Vcl.StdCtrls, Vcl.ExtCtrls, JvExControls, JvDBLookupTreeView, Vcl.Mask, Vcl.DB...
(* Linux ALSA audio This file is a part of Audio Components Suite. Copyright (C) 2002-2005 Andrei Borovsky. All rights reserved. See the license file for more details. This is the ACS for Linux version of the unit. *) { Status: 24 bit PCM works wrong } unit acs_alsaaudio; interface {$ifdef LINUX} ...
unit CustomCollection; interface type TRefPoint = packed record description: string[255]; unitValue: integer; //теперетура в отсчётах для Т , температура в градусах для ДТ и теплоты realValue: single; //температура в градусах для Т, калибровочный коэфф для ДТ и теплоты constructor Create( aUnitValue: inte...
unit uTools; interface uses sysutils, dateutils; function PrimeiroDiaUtil(Data: TDateTime): TDateTime; function ProximoDiaUtil(dData: TDateTime): TDateTime; Function DiasUteisPeriodo(DataI, DataF: TDateTime): Integer; Function DiasUteisMes(DataI: TDateTime): Integer; implementation function Primei...
unit qAcumuloNotasFaltas; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, qListaAtrasos, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, kbmMemTable, QRPDFFilt, QRCtrls, QuickRpt, JvExControls, JvXPCore, JvXPButtons, StdCtrls, ComCtrls, uFramePeriodo, uFram...
{ Sobre o autor: Guinther Pauli Delphi Certified Professional - 3,5,6,7,2005,2006,Delphi Web,Kylix,XE Microsoft Certified Professional - MCP,MCAD,MCSD.NET,MCTS,MCPD (C#, ASP.NET, Arquitetura) Colaborador Editorial Revistas .net Magazine e ClubeDelphi MVP (Most Valuable Professional) - Embarcadero Technologies - U...
{ Copyright (c) 2013 Bruno Barbieri All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the foll...
(* Copyright (c) 2012-2014, Stefan Glienke All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions ...
unit EntityDto; interface uses SysUtils, Classes; type TEntityDto = class protected FId: Variant; function GetId: Variant; virtual; procedure SetId(const Value: Variant); virtual; public constructor Create; virtual; property Id: Variant read GetId write SetId; e...
unit uRestorePoint; {$mode objfpc}{$H+} interface uses Classes, SysUtils, windows, Forms, controls, Dialogs, ComCtrls, variants, activex, ComObj; const // Type of Event BEGIN_SYSTEM_CHANGE = 100; END_SYSTEM_CHANGE = 101; // Type of Restore Points APPLICATION_INSTALL = 0; MODIFY_SETTINGS = 1...
unit DesktopPrefsForm; { Simple demo of the TApplePreferencesIniFile class. Uses TMemIniFile instead when targeting Windows. NB - you may have to manually delete uses clause entries for FMX.StdCtrls and/or FMX.Controls.Presentation to compile in older versions. } interface uses System.SysUtils, S...
unit MailCheck; interface //{$DEFINE DEBUG} uses SysUtils, Windows, Messages, Winsock; const CM_SOCKETMESSAGE = WM_USER + 100; CM_GETHOSTNAME = WM_USER + 101; CRLF = #13#10; type TCMSocketMessage = record Msg: Cardinal; Socket: TSocket; SelectEvent: Word; SelectError: Word; Result: Longi...
unit Forms.CustomerList; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Aurelius.Bind.Dataset, Aurelius.Engine.ObjectManager, Vcl.ExtCtrls, Vcl.DBCtrls, Vcl.Grids, Vcl.DBGrids, Entities, ...
unit PashaLibrery; interface type TVector = array [1..3] of Extended; TMatrix = array [1..3,1..3] of Extended; //------------------------------ function KosoSemetrMatrix(v : TVector):TMatrix; //------------------------------ function VV(V1,V2:TVector):Extended; // Скалярное произв...
unit ufrmExportFileSettings; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Types, System.IOUtils, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.FileCtrl; type TfrmExportFileSettings = class(TForm) btnOK: TButton; rbOne...
unit EventLogTest; interface type TEventLogTest = class private FEventLogHandle: THandle; FSource: String; procedure Write(AEntryType: Word; AEventId: Cardinal; AMessage: string); procedure CheckEventSourceHandle; public constructor Create(ASource: string); destructor Destroy; override; ...
unit ULogSistema; interface Uses SysUtils, Classes; type TCLogSistema = class private VcLogTexto : TextFile; Function NomeArquivoLog : String; Function InicioLinhaLog : String; { private declarations } protected { protected declarations } public Procedure CriarArquivoLog; P...
unit AbstractSystemAuthentificationFormViewModelPropertiesStorage; interface uses PropertiesIniFileUnit, IObjectPropertiesStorageUnit, SystemAuthentificationFormViewModel, SysUtils, Classes; type TAbstractSystemAuthentificationFormViewModelPropertiesStorageException = class (Exception) end; ...
{$ifdef license} (* Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com ) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this li...
{ $OmniXML: OmniXML/OmniXML_Dictionary.pas,v 1.5 2008/09/12 11:25:17 mremec Exp $ } (******************************************************************************* * 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 t...
unit uAtrasosRel; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, q_RelPadrao, QRPDFFilt, JvExControls, JvXPCore, JvXPButtons, StdCtrls, ExtCtrls, QRCtrls, QuickRpt, Mask, JvExMask, JvToolEdit, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, uFrameAluno, uF...
unit WydrukZUS3; interface uses Database, dialogs, classes, sysUtils; type TosWydrukZUS3 = class(TObject) private Fid: Integer; function PrzygotujRaport: TresultHandle; public constructor Create(Aid: Integer); procedure PokazWydruk; procedure EksportujWydruk; end; implemen...
unit DW.VKVertScrollbox; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platform Library } { ...
{==============================================================================* * Copyright © 2020, Pukhkiy Igor * * All rights reserved. * *============================================================================...
{$ifdef license} (* Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com ) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this li...
// ============================================================================= // Module name : $RCSfile: MtxUSB.pas,v $ // description : This unit defines a class, which implements methodes and // properties for communication with Metronix USB-device. // Compiler : Delphi 2007 // Author : ...
unit Grupo; interface uses SysUtils, Contnrs; type TGrupo = class private Fcodigo: integer; Fdescricao: String; procedure Setcodigo(const Value: integer); procedure Setdescricao(const Value: String); public property codigo :integer read Fcodigo write Setcodigo; property descric...
unit uStatusSaxParser; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Windows, SAX, SAX_XML, uStatus; type {$REGION SaxHandler} { TSaxHandler } TSaxHandler = class protected fStatus: TStatus; fCurrentTagName: String; fName: String; fValue: Integer; fShortDescription: Str...
unit ProductionSeparateTest; interface uses dbTest, dbMovementTest, ObjectTest; type TProductionSeparateTest = class (TdbMovementTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TProductionSeparate = class(TMovementTest) private function InsertDefault: inte...
PROGRAM FirstFamilyFined(INPUT,OUTPUT); { 0) Чернов Андрей, 1) Программа ищет в текстовом файле строку с первой в алфавитном порядке фамилией, 2) определяет номер байта первой буквы этой фамилии 3) заменяет буквы фамилии на *} TYPE FamilyRecord = RECORD NumOfFstCh : WORD; F...
{$IFDEF FPC} {$MODE DELPHI} {$ENDIF} unit archivos; interface uses Sysutils; function abrirArchivo(var archivo:TextFile; ruta:string):boolean; procedure cerrarArchivo(var archivo:TextFile); function leerCaracter(var archivo:TextFile):char; implementation function abrirArchivo(var archivo:TextFile; ruta:strin...
unit Unit_WhiteNoise; interface type TNoiseType = record s : Extended; b : Extended; r : Extended; bd : Extended; a1 : Extended; a2 : Extended; alfa1 : Extended; alfa : Extended; alfa0 ...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, AbilityManager, Buttons, Menus; type TForm1 = class(TForm) MainMenu1: TMainMenu; Menu1: TMenuItem; BitBtn1: TBitBtn; CheckBox1: TCheckBox; CheckBox2: TCheckBox; CheckBox3: TChe...
unit SAPMaterialReader2; interface uses Classes, SysUtils, ComObj, CommUtils, ADODB, SAPMaterialReader; type (* TSAPMaterialRecord = packed record sNumber: string; sName: string; dRecvTime: Double; sMRPType: string; // PD mrp, 外购 M0 mps 自制半成品 dSPQ: Double; // = '舍入值'; dLT_PD...
unit Rationals; interface uses Naturals, checkError; type (* * Рациональное число со знаком * Numerator - числитель * Denominator - знаменатель * Всегда верно, что НОД(числитель, знаменатель) = 1 * Если число равно нулю, то числитель равен нулю, а * знаменатель равен единице...
{ TProcessInfo Component Version 1.1 - Suite GLib Copyright (©) 2009, by Germán Estévez (Neftalí) Representa los procesos ejecutandose en un sistema Windows. Utilización/Usage: Basta con "soltar" el componente y activarlo. Place the component in the form and active it. MSDN Info: htt...
{==============================================================================| |Проект: Google API в Delphi | |==============================================================================| |unit: GFeedBurner ...
unit OAuth2.Contract.Entity.Token; interface uses OAuth2.Contract.Entity.Client, OAuth2.Contract.Entity.Scope; type IOAuth2TokenEntity = interface ['{49556B7D-EC4C-45AD-9A5B-1EBBF1A0644B}'] function GetIdentifier: string; procedure SetIdentifier(AIdentifier: string); function GetExpiryDateTime...
unit SortedList; interface type TSortedListIterator = class; TElem = class private value: double; next: TElem; end; TSortedList = class private size: integer; list: TElem; public constructor Create; destructor Destroy;override; procedure Add(value: double); function It...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, TCaptureXLib_TLB, TSelectionLib_TLB, UIElementLib_TLB; type TForm1 = class(TForm) btnSelWnd: TButton; Label1: TLabel; txtHandle: TEdit; Label2: TLabel; txtID: TMemo; ...
unit SimpleDataSetFilterBuilderUnit; interface uses SysUtils, Classes, DB, Variants; type TFilterCondition = ( fcDefault, fcEqual, fcNotEqual, fcLess, fcGreater, fcLessOrEqual, fcGreaterOrEqual, fcContains ); TSimpleDataSetFilterBuilder ...
unit Departments.Model; interface uses System.SysUtils, Data.DB, Data.SqlExpr, Data.DBXCommon, Common.Types, Database.Model, Database.Types, Departments.Classes, Departments.DataModule; type TDepartmentModel = class private FDepartment: TDepartment; FDatabaseModel: TDatabaseModel; FDataModu...
unit SrvUtils; {********************************************** Kingstar Delphi Library Copyright (C) Kingstar Corporation <Unit>SrvUtils <What>编写Service程序的工具 <Written By> Huang YanLai (黄燕来) <History> 1.0 来源于Borland的ScktSrvr.dpr **********************************************} interface uses...
// ============================================================================= // ============================================================================= // // Module name : $RCSfile: u_mtx_db.pas,v $ // Short description : Klasse für Variantenverwaltung für Prüfplätze // ...
unit ClipbrdUtils; interface uses Classes; function ReadClipboardText : string; procedure WriteClipboardText( const s : string ); procedure ReadClipboardToMemoryStream( ClipboardFormat : Word; Stream : TMemoryStream ); procedure WriteMemoryStreamToClipboard( ClipboardFormat : Word; Stream : TMemo...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ComCtrls; type TVector = record x,y,z:Integer; end; TForm1 = class(TForm) tmr1: TTimer; lbl1: TLabel; Timer1: TTimer; procedure Ti...
unit toolbar_brushes; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, Buttons, ShellCtrls, core_types, core_editor, VectorGeometry, core_render, core_block_brush, VectorTypes, core_utils, core_chunk, core_terrain_generator, ComCtrls, Menus,menu_br...
unit OAuth2.Exception.ServerException; interface uses System.Generics.Collections, System.JSON, System.SysUtils, Web.HTTPApp; type EOAuth2ServerException = class(Exception) private { private declarations } FHttpStatusCode: Integer; FErrorType: string; FHint: string; FRedirectUri: str...
unit AqDrop.Core.Helpers.Exception; interface uses System.SysUtils, AqDrop.Core.Helpers; type TExceptionHelper = class helper for Exception public procedure ForThisAndInnerExceptions(const pHandler: TProc<Exception>); function ConcatFullMessage(const pBetweenMessages: string = string.Line...
unit AqDrop.Core.Exceptions; interface uses System.SysUtils; type /// ------------------------------------------------------------------------------------------------------------------ /// <summary> /// EN-US: /// Base class for exceptions raised in Aquasoft packages. /// PT-BR: //...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
unit UAgeDialog; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ExtCtrls; type TAgeDialog = class(TForm) OKBtn: TButton; Bevel2: TBevel; Edit1: TEdit; Label1: TLabel; private { Private declarations } function GetAge(): string; public { P...
unit UsbScanThread; interface uses Windows, Classes, Extctrls, Graphics, SysUtils, Forms, IniFiles, ADC_Const, IADCDevice, DllClient, IFactory, VT_Drivers, ADCUtility, MainWindow, DataClass, Procs, CommonScanThread, CommonTypes, UsbDeviceUtils; const BOARD_NAME = 'LA20USB'; //для La2m3 - "LAVP" DRQ_NUMBER =...
unit SORM.Model.DAOGeneric; interface uses System.JSON, REST.Json, SORM.Model.Conexao.Firedac.Conexao, SimpleInterface, SimpleDAO, SimpleAttributes, SimpleQueryFiredac, Data.DB, SORM.Model.Conexao.Interfaces, DataSetConverter4D, DataSetConverter4D.He...
unit Landpad; {$mode objfpc}{$H+} interface uses Classes, SysUtils, BaseModel, JSON_Helper; type IBaseLandpad = interface(IBaseModel) ['{02F620CC-2902-4A22-9F91-7B563274523E}'] function GetDetails: string; function GetFullName: string; function GetId: string; function GetLandingAttempts: LongWo...
program consp; { ACS Console audio player } {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, CustApp, acs_file, acs_audio, // audio in/out, file in/out acs_allformats, // all files formats acs_stdaudio, laz_acs_lib; // standard audio dr...
Unit AdvancedCrtControl; {Advanced Graphics in Crt Mode} {Information * Code Size = 7858 * Data Size = 4 * StackSize = 0 * Number of Lines = 822} Interface Uses KeyboardControl; Type ButtonCaption=String[16]; ExitMode=(NormalExit,CancelExit,TabExit,Working,ByPassed); DataType=(Numeric,TextOnly...
(* Output: old a : 100.0 old b : 200.0 new a = 30.0 new b = 250.0 *) program Test21; procedure high(num1, num2: real); var num1, num2, num: real; begin num1 := 9; num2 := 2; a := 30; b := 250; writeln('new a = ', a); writeln('new b = ', b); end; var a, b, ret : real; begin a := 100; b...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2015 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of an Embarcadero developer tools product. // This software is considered a Redistributable as ...
unit OrderXML; interface uses xmldom, XMLDoc, XMLIntf; type { Forward Decls } IXMLORDERType = interface; IXMLHEADType = interface; IXMLPOSITIONType = interface; IXMLPOSITIONTypeList = interface; IXMLCHARACTERISTICType = interface; { IXMLORDERType } IXMLORDERType = interface(IXMLNode) ['{1D471CDB-...
(* Copyright (c) 2011, Stefan Glienke All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and t...
// Fit4Delphi Copyright (C) 2008. Sabre Inc. // 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 2 of the License, or (at your option) any later version. // // This program ...
{----------------------------------------------------------------------------- Unit Name: DUFileUtils Author: Sebastian Hütter Date: 2006-08-01 Purpose: Routines for file information History: 2006-08-01 initial release 2006-10-08 fixed GetOpen/SaveFileName ---------------------------------...
unit ULicConfirmation; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 2018 by Bradford Technologies, Inc. } { This unit communitates with AppraisalWorld to confirm a user's } { software license privileges an...
unit Utils; {$MODE Delphi} interface uses Classes, sysutils, Math, graphics, Grids, GLVectorGeometry, dynmatrix; //function strtofloatDef(s: string; def: double): double; procedure ParseString(s,sep: string; sl: TStrings); procedure LoadGridFromfile(SG: TStringGrid; fname: string); procedure SaveGridTofi...
unit AT.XPlatform; interface uses System.UITypes, System.UIConsts, FMX.Graphics; type TATAppFramework = (fwkNone, fwkVCL, fwkFMX, fwkIW14); TATAppArchitecture = (archUnknown, archMacOS32, archMacOS64, archAndroid, archIOS, archWin32, archWin64); function ColorToHTMLColor(AColor: TAlphaColor): String; ove...
{============================================================================== Iris Model Editor - Copyright by Alexander Oster, tensor@ultima-iris.de The contents of this file are used with permission, subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in ...
{******************************************************************************* Copyright (C) Christian Ulrich info@cu-tec.de This source 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 2 ...
unit SerializableAttrTests; interface uses DUnitX.TestFramework, DelphiJSON; type TNoAttr = class public [DJValue('value')] value: String; end; [DJSerializableAttribute] TAttr = class public [DJValue('value')] value: String; end; [TestFixture] TSerializableAttrTests = class(TOb...
program JurusanCheck; //Program untuk mengecek jurusan mahasiswa dari nim. (* DICTIONARY *) var Nama : string; Nim : string; Jurusan : string; nimHead : string; (* MAIN PROGRAM *) Begin //Input write('Masukkan Nama : '); readln(nama); write('Masukkan NIM : '); readln(nim); //Proses //Mendapatkan tiga...
unit USummaryInfo; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, UzLogConst, UzLogGlobal, UzLogQSO; type TSummaryInfo = class(TForm) CategoryEdit: TEdit; Label1: TLabel; Label2: TLabel; Label3: TLabel; NameEdit: TEdit; Label4: TLabel;...
unit UntypedDatagram; {$mode objfpc}{$H+} interface uses Classes, CustomUtils, IdGlobal, variants, arraymanager, SysUtils; type { TUntypedDatagram } TUntypedDatagram = class private A: array of variant; N: array of string[16]; Count1: integer; Position1: integer; Buffer1: integer; TBuf...
unit IdTestFtpServer; //todo test commands return 'not logged in' error correctly interface uses IdGlobal, IdSys, IdObjs, IdTest, IdTcpClient, IdFTPListOutput, IdIOHandlerStack, IdLogDebug, IdFtp, IdThreadSafe, IdFtpServer; type TIdTestFtpServer = class(TIdTest) priv...
{***************************************************************************} { } { DUnitX } { } { ...
(* Copyright (c) 2011, Stefan Glienke All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and t...
unit HTMLWriterUtils; {$REGION 'License'} { ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the Licens...
unit uMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, uAlgorithms; type TfrmMain = class(TForm) mmMenu: TMainMenu; Chapter11: TMenuItem; Chapter21: TMenuItem; Chapter31: TMenu...
(* Copyright (c) 2012-2014, Stefan Glienke All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions ...
unit OAuth2.Contract.Repository.RefreshToken; interface uses OAuth2.Contract.Entity.RefreshToken; type IOAuth2RefreshTokenRepository = interface ['{3AF5AB3C-2331-4545-AFDF-569BD048B2FC}'] function GetNewRefreshToken: IOAuth2RefreshTokenEntity; procedure PersistNewRefreshToken(ARefreshTokenEntity: IO...
unit uExtratorImagemDfm; interface uses Generics.Collections, System.Classes, System.SysUtils, Vcl.Graphics, Vcl.Buttons, Vcl.Controls; type TComponentConvert = class public class function StrToComp(Value: string): TComponent; class function CompToStr(Value: TComponent): string; end;...
unit UnitFirebird.Driver; interface uses System.Classes, System.Generics.Collections, UnitMigrations.Model, UnitMigration4D.Interfaces; type TFirebirdDriver = class(TInterfacedObject, iDriver) private function GetNextId(TableName: string; ColumnName: string): integer; public constructor Create;...
unit ThreadbtnEqualizationUnit; interface uses System.Classes, System.SysUtils, System.DateUtils, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, ZAbstractConnection, ZConnection; type TOnFinish = procedure(AError: String) of object; TOnMessage = procedure(AText: string) of object; // Поток для урав...
unit Dejavu.WaitableTimer; interface uses System.Classes, System.SysUtils, System.DateUtils, System.SyncObjs, System.Generics.Collections, Winapi.Windows; type TOnTimer = procedure(lpArgToCompletionRoutine: Pointer; dwTimerLowValue: DWORD; dwTimerHighValue: DWORD); stdcall; TWaitableTimer = class(TThr...
program iconexample; {$IFNDEF HASAMIGA} {$FATAL This source is compatible with Amiga, AROS and MorphOS only !} {$ENDIF} { Project : iconexample Topic : Workbench icon startup, creation, and parsing example Source : RKRM Note : Source adjusted to match FPC and updated tagnames to b...
unit MLP.Contract.NeuronTrainer; interface uses MLP.Contract.Neuron, MLP.Concret.Matrix, MLP.Contract.Activation; type INeuronTrainer = interface ['{9E56BF8F-A276-4E0C-B53A-3E651F977A6C}'] function SetLearningRate(ALearningRate: Single): INeuronTrainer; function SetActivation(AActivation: IActivatio...
// ****************************************************************** // // Program Name : AT Library // Program Version: 1.00 // Platform(s) : OSX // Framework : FireMonkey // // Filename : AT.FMX.MacOS.Forms.pas // File Version : 1.10 // Date Created : 15-AUG-2015 // Author : Matthew S. Ve...
(* Copyright (c) 2011, Stefan Glienke All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and t...
unit AT.OTA.Repository.Wizard.Creator.Project; interface uses ToolsAPI; type TATOTACustomProjectFile = class(TInterfacedObject, IOTAFile) // IOTAFile strict protected function GetSource: string; function GetAge: TDateTime; public property Source: string read GetSource; property Age: TDate...
{ This is part of Vortex Tracker II project Version 2.0 and later (c)2017-2021 Ivan Pirog, ivan.pirog@gmail.com https://github.com/ivanpirog/vortextracker } unit ExportWavOpts; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls, AY; ty...