text
stringlengths
14
6.51M
{ "anchors": { "anchorOrder": [ ] }, "backgroundName": "blueprint_grey_tiled.jpg", "blocks": [ { "focused": false, "height": 115, "internalState": { "chanNumber": 15, "group": "", "guiItemHidden":...
unit VariantUtils; interface uses Variants, SysUtils; function VarToStringDef(Value: Variant; default: String = ''): string; function VarToInt(Value: Variant): int64; function VarToIntDef(Value: Variant; default: int64 = 0): int64; function VarToIntf(Value: Variant): IUnknown; function VarToBool(Value: Variant): Bo...
unit CompressIntf; interface uses Windows, FIFOIntf; type ICompressor = interface['{55624380-6518-11d3-B638-00400566F3E8}'] function SetOutputFIFO(const aFIFO : IFIFO) : hResult; stdcall; function GetOutputFIFO(out aFIFO : IFIFO) : hResult; stdcall; function Reset : hRe...
unit Entidade.Fornecedor; interface uses SimpleAttributes; type TFORNECEDOR= class private FBAIRRO: string; FEMAIL: string; FUSUARIO_CADASTRO: string; FUF: string; FDATA_CADASTRO: TDateTime; FCEP: string; FCPFCNPJ: string; FID: Integer; FNUMERO: string; FNOMERAZAO: string; ...
unit UDemo; interface uses SysUtils, Types, UITypes, Classes, Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TMSBaseControl, FMX.TMSGridOptions, FMX.TMSGridData, FMX.TMSGrid, FMX.GridExcelIO, FMX.TMSBitmapContainer, FMX.TMSGridCell, FMX.TMSXUtil, UIConsts, FMX.TMSCustomGrid, FMX.StdCtrls; t...
program pcibil; {============================================================================== Kodlayan: Fatih KILIÇ Telif Bilgisi: haklar.txt dosyasına bakınız Program Adı: pcibil.lpr Program İşlevi: pci aygıtları hakkında bilgi verir Güncelleme Tarihi: 15/05/2013 ======================================...
{--------------------------------------------------------------} { Unit Declaration } unit pastemyst; {--------------------------------------------------------------} { switches } {$mode delphi} {==============================================================} { Public Interface } interface {--------------------...
unit fSpriteChange; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, GR32_Image, gr32,DanHexEdit, Spin, gr32_layers, cMegaROM, cConfiguration; type TfrmSpriteChange = class(TForm) lbl80: TLabel; lbl90: TLabel; lblA0: TLabel; lblBO: T...
unit UCloudAdapterDemo; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.TMSBaseControl, FMX.TMSPlannerBase, FMX.TMSPlannerData, FMX.TMSPlanner, FMX.TMSCloudCustomLive, FMX.TMSCloudL...
program ManageFlexArrays; {$MODE DELPHI} uses SysUtils, Quick.Commons, Quick.Console, Quick.Arrays; type TUser = class private fName : string; public property Name : string read fName write fName; end; var flexarray : TFlexArray; user : TUser; begin try flexarray.Add(10); flex...
unit DAO.TipoCadastro; interface uses DAO.Base, Model.TipoCadastro, Generics.Collections, System.Classes; type TTipoCadastroDAO = class(TDAO) public function Insert(aTipo: Model.TipoCadastro.TTipoCadastro): Boolean; function Update(aTipo: Model.TipoCadastro.TTipoCadastro): Boolean; ...
unit msmSomeModelElementsList; // Модуль: "w:\common\components\gui\Garant\msm\msmSomeModelElementsList.pas" // Стереотип: "SimpleClass" // Элемент модели: "TmsmSomeModelElementsList" MUID: (57E54DCD0141) {$Include w:\common\components\msm.inc} interface uses l3IntfUses , l3CProtoObject , msmElementViews {$If N...
// *************************************************************************** // // FMXComponents: Firemonkey Opensource Components Set // // Copyright 2017 谢顿 (zhaoyipeng@hotmail.com) // // https://github.com/zhaoyipeng/FMXComponents // // *************************************************************************** /...
unit GX_AboutExperimental; {$I GX_CondDefine.inc} interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, GX_About, ExtCtrls, StdCtrls; type TfmAboutExperimental = class(TfmAbout) l_CreatedBy: TLabel; l_DummzeuchDe: ...
unit LogSpecificMessageUnit; interface uses SysUtils, BaseExampleUnit; type TLogSpecificMessage = class(TBaseExample) public function Execute(Message, RouteId: String): boolean; end; implementation function TLogSpecificMessage.Execute(Message, RouteId: String): boolean; var ErrorString: String; beg...
unit UFrmPadraoCadastro; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.ImgList, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.PlatformDefaultStyleActnCtrls, Vcl.ActnList, ...
unit ATxImageProc; interface uses Windows, Graphics, ExtCtrls; type TATImageEffect = ( aieCorrectOnly, aieRotate90, aieRotate270, aieRotate180, aieGrayscale, aieSepia, aieNegative, aieFlipVertical, aieFlipHorizontal ); function PictureEffect( APicture: TPicture; AEffe...
unit TTSDirectLenderSession; interface uses TCWODT, TTSLoanTable, TTSNcolTable, Ticklertypes, TTSTitmTable, TTSCollTable, TTSCitmTable, TTSTrakTable, TTSGuarTable, classes, dbisamtb, TTSInterface, TTSNmsrTable, TTSTDocTable, TTSHitmTable, TTSLNotTable, TTSPLDGTable, TTSLDocTable, TTSDiviTable, TTSOfcrTa...
unit uSimpleCom; interface uses Windows, SysUtils, Classes; type BString = string; //OK 代表成功 否则为出错原因 DString = AnsiString; //内存Bin TComParam = record ComPort: string; BaudRate: DWORD; ByteSize: Byte; StopBits: Byte; Parity: Byte; end; TSimpleCOM = class private FComHandle: THandl...
unit frmInIOCPCertifyServer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, fmIOCPSvrInfo, iocp_base, iocp_clients, iocp_server, iocp_managers, iocp_sockets, ExtCtrls; type TFormInIOCPCertifyServer = class(TForm) Memo1: TMemo; InIOCPServer...
program Ch2; {$mode objfpc} uses SysUtils,GVector; type TIntVec = specialize TVector<Integer>; function PrimeFactors(N:Integer):TIntVec; var C:Integer; begin Result := TIntVec.Create; C := 2; repeat if N mod C = 0 then begin Result.PushBack(C); N := N div C; end else Inc(C);...
{Компонент выводит двумерные графики функций f(X,Y). Вид графиков - линейный. Альтернатива TChart - как примитивный и от того простой компонент без наворотов. Кривых на графике может быть более одной. Кривые выводяться только в run-time. В design-time - доступны нижеприведенные свойства. свойства (могут уста...
unit ZMDrv19; (* ZMDrv19.pas - drive details Copyright (C) 2009, 2010 by Russell J. Peters, Roger Aelbrecht, Eric W. Engler and Chris Vleghert. This file is part of TZipMaster Version 1.9. TZipMaster is free software: you can redistribute it and/or modify it under the terms of the GN...
{ Version 1.0 - Author jasc2v8 at yahoo dot com This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by an...
unit umMainData; interface uses Generics.Collections, umTileData, ZConnection, ZDataset; type TAddTileProc<D> = procedure (aTileData : D) of object; TTilesDataList<D : TTileDataModel, constructor> = class private fTilesList : TObjectList<D>; ZConnectionDb: TZConnection; ZQueryTiles: TZQuery; f...
unit Unit2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, IniFiles; type TSelectWnd = class(TForm) ListBox: TListBox; OkBtn: TButton; ResolutionsCB: TComboBox; ResolutionsLbl: TLabel; CancelBtn: TButton; AutoCB: TCheckBox; ...
unit CrimeProtocol; interface // Error codes const CRIME_NOERROR = 0; CRIME_ERROR_Unknown = 1; CRIME_ERROR_GetCriminals = 2; CRIME_ERROR_GetCityList = 3; CRIME_ERROR_WrongLeaderName = 4; CRIME_ERROR_WrongTeamName = 5; CRIME_ERROR_WrongCri...
{$I ACBr.inc} unit pciotViagens; interface uses SysUtils, Classes, pcnAuxiliar, pcnConversao, pcnLeitor, pcnGerador, pciotCIOT; type TGeradorOpcoes = class; TViagensR = class(TPersistent) private FLeitor: TLeitor; FSucesso: Boolean; FMensagem: String; FQTPagamentos: integer; FDocument...
unit evPersistentDataObject; // Модуль: "w:\common\components\gui\Garant\Everest\evPersistentDataObject.pas" // Стереотип: "SimpleClass" // Элемент модели: "TevPersistentDataObject" MUID: (48F4732803C8) {$Include w:\common\components\gui\Garant\Everest\evDefine.inc} interface uses l3IntfUses , l3Memory , l3Inter...
{9. Realizar un programa que lea un carácter, que puede ser “+” (suma) o “-” (resta); si se ingresa otro carácter, debe informar un error y finalizar. Una vez leído el carácter de suma o resta, deberá leerse una secuencia de números enteros que finaliza con 0. El programa deberá aplicar la operación leída con la secuen...
unit FavoritesCollection; interface uses Classes, RegFavorites; type TFavoritesCollectionItem = class (TCollectionItem) private FRegFavorite : TRegFavoritesFile; procedure SetRegFavorite(const Value: TRegFavoritesFile); public procedure Assign (aSource : TPersistent); override;...
PROGRAM Prime(INPUT, OUTPUT); CONST Min = 2; Max = 100; VAR Sieve: SET OF Min .. Max; NextNumber, TotalNumber: INTEGER; BEGIN {Prime} Sieve := [Min .. Max]; NextNumber := Min; TotalNumber := Min; WRITE('Простые числа в диапазоне до ', Max, ' будут '); WHILE NextNumber <= Max DO BEGIN ...
{--------------------------------------------------------------------------- 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/NPL/NPL-1_1Fin...
unit BasicCurriculum; interface uses Kernel, BackupInterfaces, Languages; type TOpenItem = class( TCurriculumItem ) public constructor Create( anId : string; aKind : integer; aDesc : TMultiString; anImportance : integer; aPrestige : TPrestige ); private fDesc_MLS...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
{ *************************************************************************** Copyright (c) 2016-2019 Kike Pérez Unit : Quick.MemoryCache.Compressor.LZO Description : Compress Cache data Author : Kike Pérez Version : 1.0 Created : 15/07/2019 Modified : 22/09/2019 This file is p...
unit CantoolsMemorySnap; (************************************************************** Cantools Memory Snap utility Instructions on Appendix A, Mastering Delphi 7 Released under LGPL license, distribute but keep this copyright notice. Please forward bug fixes and modifications to the ...
//**************************************************************** // // Admin // // Copyright (c) 2006 Failproof Manufacturing Systems. // //**************************************************************** // // 02/17/2006 David Verespey Initial creation unit HolidayOvertime; interface us...
unit RemoveUserUnit; interface uses SysUtils, BaseExampleUnit, UserParametersUnit; type TRemoveUser = class(TBaseExample) public procedure Execute(MemberId: integer); end; implementation procedure TRemoveUser.Execute(MemberId: integer); var ErrorString: String; begin Route4MeManager.User.Remove(M...
unit vulkan.util; (* * Vulkan Samples * * Copyright (C) 2015-2016 Valve Corporation * Copyright (C) 2015-2016 LunarG, Inc. * Copyright (C) 2015-2016 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
{ $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...
unit mivLauncher_Unit; interface uses MobileInternetVersionMenuForm_Unit, SysUtils; type ELauncherError = class(Exception); TmivLauncher = class(TObject) private f_LauncherMenuForm: TMobileInternetVersionMenuForm; function MakeCommandString: String; function NeedShowMenu: Boolean; procedure Sho...
unit WpcCommonTypes; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TWpcTimeMeasurementUnits = (MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS); { TWPCImage } TWpcImage = class(TObject) public constructor Create(Path : String); private Path : String; public function GetPath() ...
{ Author: Jarl K. Holta License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html) Runtime datatype representations } unit xpr.bool; {$I express.inc} interface {$I objh.inc} uses SysUtils, xpr.express, xpr.objbase; type TBoolObject = class(TEpObject) value: Boolean; constructor Cr...
unit MazeSave; interface uses MazeMain; const ProgDir = 'Maze\'; TypeFileAddr = 'MazeHistory.ini'; TextFileDir = 'Mazes\'; Procedure SaveMazeToFile(Const MazeToSave: TMaze; const MazeStat: TMazeStat); Procedure SaveMazeToTypeFile(Const MazeStat: TMazeStat; const FileAddr: String); Function GetR...
unit untTypes; interface type { TIntParam } TIntParam = record Name: string; Value: Integer; end; const CashRegisterName: array[0..$FC] of string = ( {0} 'продаж в 1 отдел в чеке', 'покупок в 1 отдел в чеке', 'возврата продаж в 1 отдел в чеке', 'возврата покупок в 1 отдел в чеке', ...
{$I ATViewerOptions.inc} unit ATxUtils; interface uses Windows, Graphics, Controls, Forms; function IsWindowsVista: Boolean; procedure SSetFont(AFont: TFont; S: string); function SFontToString(AFont: TFont): string; procedure FixFormFont(AFont: TFont); procedure FixImageList32Bit(ImageList: TImageList); procedu...
unit InstancePool; interface uses classes, SysUtils; type List = TList; TInstanceMemoryPool = class private FInstanceSize: Integer; FList: Pointer; FCapacity, FCount: integer; procedure SetCapacity(NewCapacity: Integer); public constructor Create(instanceSize: Integer); ...
unit uTestSqlite; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,SQLiteTable3, ExtCtrls, jpeg; type TForm1 = class(TForm) btnTest: TButton; memNotes: TMemo; Label1: TLabel; Label2: TLabel; ebName: TEdit; Label3:...
PROGRAM Ahorcado; USES CRT; CONST INI = 1; ERRORES = 10; TOPE = 40; TYPE TCadena = STRING [TOPE]; TAyuda = ARRAY [INI..ERRORES] OF char; PROCEDURE LeerCadena (VAR c: TCadena); VAR i: integer; BEGIN writeln ('Dame la cadena a ocultar'); readln (c); FOR i:= 1 TO length(c...
program TESTSET3 ( OUTPUT ) ; (********) (*$A+ *) (********) type CHAR32 = array [ 1 .. 32 ] of CHAR ; SYMB = ( SYMB_EOF , SYMB_UNKNOWN , EOLCHAR , SEPARATOR , COMMENT1 , COMMENT2 , COMMENT3 , COMMENT4 , COMMENT5 , STRINGCONST , HEXSTRINGCONST , BINSTRINGCONST , INTCONST , REALCONST ,...
unit uFTPFirmware; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdBaseComponent, IdComponent, IdTCPServer, IdFTPServer, StdCtrls, RzLstBox, Gauges, Buttons, RzButton, RzLabel, IdFTPList,IdGlobal,IdHashCRC,iniFiles,FileInfo, LMDCustomComponent, LMDIniCtrl...
unit Scroller; interface uses Classes,Windows,Graphics,Controls,Messages,Forms,Misc; type TBufferedScroller=class; TRenderBufferedScrollerEvent=procedure(BS:TBufferedScroller) of object; TGetRegionRectEvent=function( BS:TBufferedScroller; RegionNum:Integer; var dx,dy:Integer; var R:TRect ):Integer of...
unit RangeStrUtils; interface // const rngIncluded = 0; rngUnderflow = -1; rngOverflow = MaxInt; type TRange = record rLow, rHigh : integer; end; type PRanges = ^TRanges; TRanges = record Count : integer; Items : array[0..50] of TRange; ...
{ Helper function that implements synchronous TLS handshake by means of Windows SChannel. The function is transport-agnostic so it could be applied to any socket implementation or even other transport. Inspired by [TLS-Sample](http://www.coastrd.com/c-schannel-smtp) Uses [JEDI API units](https://jedi-apil...
{ Subroutine SST_R_PAS_ROUTINE (STR_ROUT_H,V,ARGS_HERE,PROC_P) * * Create a complete routine descriptor. STR_ROUT_H is the string handle to the * whole call. V is the "variable" descriptor * for the routine name. This is either directly a routine name or a variable * with the routine data type. If TRUE, A...
unit xdg_output_unstable_v1_protocol; {$mode objfpc} {$H+} {$interfaces corba} interface uses Classes, Sysutils, ctypes, wayland_util, wayland_client_core, wayland_protocol; type Pzxdg_output_manager_v1 = Pointer; Pzxdg_output_v1 = Pointer; Pzxdg_output_manager_v1_listener = ^Tzxdg_output_manager_v1_listen...
unit BFixer; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Path: TEdit; Label1: TLabel; Forums: TListBox; Label2: TLabel; Search: TButton; Fix: TButton; procedure SearchClick(Sender: TObject); proced...
unit u_Principal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.Menus, u_Usuario, u_Empresa, u_Cliente, u_Fornecedor, u_Produto, u_FormaPgto, u_Compra; type T...
unit jc.DateUtils; interface uses Windows, Messages, SysUtils, Classes, DateUtils; function DateToText(ADate: TDateTime): string; Function DateTimeToText(ADateTime: TDateTime): string; function TextToDate(ADate: string): TDateTime; implementation function DateToText(ADate: TDateTime): string; begin if AD...
{ Copyright (C) 2013-2019 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 DataObjectUnit; interface uses REST.Json.Types, System.Generics.Collections, SysUtils, Generics.Defaults, JSONNullableAttributeUnit, EnumsUnit, AddressUnit, RouteParametersUnit, DirectionUnit, CommonTypesUnit, NullableBasicTypesUnit, LinksUnit, TrackingHistoryUnit, DirectionPathPointUnit; type TDataOb...
unit vg_dsgn_styles; interface uses {$IFDEF WIN32} Registry, {$ENDIF} {$IFNDEF FPC} Windows, {$ELSE} LCLType, {$ENDIF} SysUtils, Classes, Graphics, Controls, Forms, TypInfo, Dialogs, vg_scene, vg_layouts, vg_inspector, vg_treeview, vg_controls, vg_objects, vg_dsgn, ExtCtrls, StdCtrls, vg_listbox...
program skipblanks(input, output); const BLANK = ' '; var ch : char; procedure skipblanks; begin repeat read(ch) until ch <> BLANK; end; begin skipblanks; writeln(ch); end.
unit G2Mobile.Model.TitulosCliente; interface uses FMX.ListView, uDmDados, uRESTDWPoolerDB, System.SysUtils, IdSSLOpenSSLHeaders, FireDAC.Comp.Client, FMX.Dialogs, FMX.ListView.Appearances, FMX.ListView.Types, System.Classes, Datasnap.DBClient, FireDAC.Comp.DataSet, Data.DB, FMX.Objects, ...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit CommunicationTypes; interface uses Generics.Collections, Classes, Rtti, BaseObject; type {$METHODINFO ON} TObjectStruct = class(TBaseObject) private fObjectClass: String; fObjectName: String; published property ObjectName :String read fObjectName write fObjectName; ...
unit ComplexScrollByLines; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "TestFormsTest" // Модуль: "w:/common/components/gui/Garant/Daily/ComplexScrollByLines.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model...
unit udmNFe; interface uses Windows, Forms, Messages, SysUtils, Variants, Classes, Graphics, Controls, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS, DBClient,LibGeral, uMatVars, ACBrNFeDANFEClass, ACBrNFe, pcnConversao, ACBrNFeDANFEFR, ACBrBase, ACBrDFe, pcnConversaoNFe, ACBrNFeDANFEFRDM, blcksock, ACBrDF...
{---------------------------------------------------------------------------- esdsound.pas ESound non-visual component for Lazarus Writte...
unit LIB.Material; interface //#################################################################### ■ uses System.Classes, System.UITypes, System.Math.Vectors, System.Messaging, FMX.Graphics, FMX.Types3D, LUX, LUX.FMX.Material; type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$...
unit HideForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) procedure Button1Click(Sender: TObject); procedure Edit1Change(Sender: TObject); procedure FormCreate(Sender: TObject); private Button1: TButton; Ed...
program BINTREEDEMO; type Tree = ^TreeNode; TreeNode = record weight : integer; count : integer; left : Tree; right : Tree end; var root : Tree; var tn : Tree; var gw, trh : integer; procedure MkTreeNode(w : integer; var t : Tree); var pp : Tree; begin new(pp); with pp^ do begin weight := w; cou...
unit DataDriverPing; interface uses Classes, SysUtils, XSuperObject, GlobalTypes, IdHTTP, IdGlobal, IdMultipartFormData, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL; type TPinger = class(TThread) public HTTPClient: TIdHTTP; IdSSLIOHandlerSocketOpenSSL1: TIdSSLIOHandlerSocket...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit UCTRLSyncronization; {$mode delphi} { Copyright (c) 2018 by Herman Schoenfeld Distributed under the MIT software license, see the accompanying file LICENSE or visit http://www.opensource.org/licenses/mit-license.php. Acknowledgements: - Albert Molina: portions of code copied from https://github.com/Pas...
unit Solid.Samples.DIP.Books.Step1; interface uses System.IOUtils; type { TPdfBook } TPdfBook = class private FPath: string; public constructor Create(const APath: string); function Read: TArray<Byte>; end; { TPdfBookReader } TPdfBookReader = class private ...
unit mebdd_worker_groups; (* Taken from http://stackoverflow.com/questions/8288525/how-to-get-windows-user-privileges-information-with-lazarus-free-pascal *) {$MODE OBJFPC} interface uses Windows; const SECURITY_NT_AUTHORITY: TSIDIdentifierAuthority = (Value: (0, 0, 0, 0, 0, 5)); SECURITY_BUILTIN_DOMAIN_RID = ...
{*******************************************************} { } { Delphi Runtime Library } { } { Copyright(c) 1995-2015 Embarcadero Technologies, Inc. } { ...
unit eAtasOrais.Controller.Factory; interface uses eAtasOrais.Controller.interfaces; Type TControllerFactory = Class(TInterfacedObject, iControllerFactory) Private Public Constructor Create; Destructor Destroy; Override; Class function New: iControllerFactory; Function Configuracao : ...
unit MFichas.Controller.Venda.Metodos.CancelarItem; interface uses MFichas.Controller.Venda.Interfaces, MFichas.Model.Venda.Interfaces; type TControllerVendaMetodosCancelarItem = class(TInterfacedObject, iControllervendaMetodosCancelarItem) private [weak] FParent: iControllerVenda; FModel : iModelV...
unit l3Defaults; {* Значения по умолчанию библиотеки L3. } { Библиотека "L3 (Low Level Library)" } { Автор: Люлин А.В. © } { Модуль: l3Defaults - } { Начат: 10.09.2001 15:33 } { $Id: l3Defaults.pas,v 1.24 2012/11/01 09:42:57 lulin Exp $ } // $Log: l3Defaults.pas,v $ // Revis...
program minigzip; { minigzip.c -- simulate gzip using the zlib compression library Copyright (C) 1995-1998 Jean-loup Gailly. minigzip is a minimal implementation of the gzip utility. This is only an example of using zlib and isn't meant to replace the full-featured gzip. No attempt is made to deal with file syst...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://localhost:1024/SoapDataServer7.soapdataserver/wsdl/Isampledatamodule // Encoding : utf-8 // Version : 1.0 // (10/30...
unit GX_ActionBroker; { All editor toolbar buttons will get their actions from this broker. This broker also provides transparent access to the Open Tools API's ActionList. Note: Except for adding a method or two to facilitate notification of dynamic menu item enabling and disabling, these interf...
unit MVCFramework.Middleware.Compression; interface uses MVCFramework, MVCFramework.Logger; type TCompressionMiddleware = class(TInterfacedObject, IMVCMiddleware) private fCompressionThreshold: Integer; protected procedure OnAfterControllerAction(Context: TWebContext; const AActionNAme: string; ...
(******************************************************************* * * TTCalc.Pas 1.2 * * Arithmetic and Vectorial Computations (specification) * * Copyright 1996 David Turner, Robert Wilhelm and Werner Lemberg * * This file is part of the FreeType projec...
unit Unit3; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Objects, FMX.Layouts, FMX.Controls.Presentation; type TForm3 = class(TForm) ToolBar1: TToolBar; btnReset: TButton...
unit FileConverter; { Преобразователь форматов } { $Id: FileConverter.pas,v 1.1 2011/06/23 07:01:33 narry Exp $ } // $Log: FileConverter.pas,v $ // Revision 1.1 2011/06/23 07:01:33 narry // Консольная версия RTF2NSRC (253668575) // interface type TInOutFormat = (ifUnknown, ifRTF, ifNSR, ifDOC, ifEVD); TFileC...
unit akMSHTML; interface uses Classes, MSHTML, shdocvw, BigIni; type THTMLConfigManager = class private fParamList: TStringList; fIniParams: TStringList; fFile: string; fParam: TWebBrowser; FProcessMode: Integer; procedure SetParametersOfSelect(const Doc: IHTMLDocument2; FromSL: TStr...
unit nsDictionTree; {* Дерево толкового словаря. } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Diction\nsDictionTree.pas" // Стереотип: "SimpleClass" // Элемент модели: "TnsDictionTree" MUID: (46836BA203A1) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface {$If NOT Defined(Admin) AND...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clSspiTls; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, Windows, {$ELSE} System.Classes, System.SysUtils, Winapi.Windows, {$ENDIF} clSspi, clCryptAPI, clCertificate, ...
unit ReverseGeocodeAddressUnit; interface uses SysUtils, BaseExampleUnit, DirectionPathPointUnit; type TReverseGeocodeAddress = class(TBaseExample) public procedure Execute(Location: TDirectionPathPoint); end; implementation uses GeocodingUnit; procedure TReverseGeocodeAddress.Execute(Location: TDi...
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: François PIETTE Description: TSysLogServer class encapsulate the server side of the SysLog protocol as described in RFC3164. Creation: September 2009 Version: 1.01 EMail: francois.piette@ove...
program Smile; uses graphabc; {Процедура для рисования неизменяемых частей смайла - тела, глаз, носа} procedure DrawSmileStaticParts(); begin {Рисуем тело смайла} SetBrushColor(clYellow); Circle(300, 250, 120); {Рисуем глаза смайла} SetBrushColor(clBlack); Circle(250, 210, 20); Circle(350, 210, 20); ...
unit MainForm; interface uses {$REGION 'system'} Winapi.Windows, Winapi.Messages, IniFiles, System.SysUtils, System.Variants, System.Classes, System.ImageList, System.UITypes, System.Actions, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Menus, Vcl.ComCtrls, V...
unit PXT.Canvas; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, PXT.Types, PXT.Graphics, PXT.Controls, Vcl.StdCtrls; type TGameCanvas = object(TCanvas) procedure Create(Device: TDevice); pr...
unit Quick.OAuth; interface uses Quick.HttpClient, Quick.HttpServer.Request, Quick.HttpServer.Response, Quick.HttpServer, Quick.Threads, Quick.OAuth.Utils, SysUtils; type TOAuthToken = class private fAccessTokenExpiration: integer; fAccessToken: string; fRefreshToken: string; fRetri...
unit sdlstreams; { $Id: sdlstreams.pas,v 1.1 2004/02/05 00:08:20 savage Exp $ } {******************************************************************} { } { SDL - Simple DirectMedia Layer } { Copyright (C) 1997, 199...
unit tmsUSheetNameList; {$INCLUDE ..\FLXCOMPILER.INC} interface uses Classes, SysUtils, tmsXlsMessages, Contnrs, tmsUFlxMessages; type TWideContainer= record S: UTF16String; n: integer; end; PWideContainer= ^TWideContainer; TSheetNameList=class(TList) //Items are TWideContainer private protected ...