text
stringlengths
14
6.51M
{================================================================================ Copyright (C) 1997-2002 Mills Enterprise Unit : rmMsgList Purpose : To provide a simple method of identifying window messages or even control messages. Date : 11-13-1999 Author : Ryan J. Mills Version : 1.9...
unit RunErr; interface function GetErrorStr(code:byte):string; implementation function GetErrorStr(code:byte):string; begin case code of 1 :GetErrorStr:='Invalid function number'; 2 :GetErrorStr:='File not found'; 3 :GetErrorStr:='Path not found'; 4 :GetErrorStr:='Too many open files'; 5 :...
program SpritePackTest; uses SwinGame, sgTypes; procedure HandleSpriteEvents(s: Sprite; kind: SpriteEventKind); begin case kind of SpriteArrivedEvent: SpriteMoveTo(s, RandomScreenPoint(), 5); end; end; procedure CreateNewBall(); var ball: Sprite; begin ball := CreateSprite(BitmapNamed('ball')); Sprit...
unit uTickTockTimer; interface uses System.Classes, System.SysUtils, FMX.Types , uObserver , uObservable; type IClockTimer = interface(IVMObservable) ['{5F05B7B7-9300-4559-9A1D-104CF343108E}'] function GetTime: string; property Time: string read GetTime; end; TClockTimer = clas...
{ Turbo Assembler example. Copyright (c) 1993 By Borland International, Inc. } { Use with exchmod.asm } program TextExchange; type EmployeeRecord = record Name : string[30]; Address : string[30]; City : string[15]; State : ...
unit Dmitry.Utils.ShortCut; {$WARN SYMBOL_PLATFORM OFF} interface uses System.SysUtils, System.Classes, System.Win.ComObj, Winapi.ActiveX, Winapi.ShlObj, Winapi.Windows; type TShortCut = class private FShellLink: IShellLink; FPersistFile: IPersistFile; function Ge...
unit LIB.Render; interface //#################################################################### ■ uses System.UITypes, System.TimeSpan, System.Classes, System.Threading, System.Diagnostics, LIB, LIB.Lattice.D2; type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】 //$$$$$$...
unit uFrmCliente; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ComCtrls, Data.DB, Vcl.Grids, Vcl.DBGrids, uClienteController, uClienteModel, uDmCliente, System.St...
unit AozoraParser; interface uses SysUtils, Classes, UniStrUtils, StreamUtils, JWBIO; { Aozora Bunko fragments: 《furigana》 text|text 《furigana》 <image inserts and tags> only allowed on newlines [#comment] [#改ページ] [#「さわり」に傍点] } type TAozoraParser = class protected //Ин...
unit uDMPuppyTracker; interface uses SysUtils, Classes, DB, DBClient; const LINE_TYPE_PUPS = 'pups'; LINE_TYPE_LITTERS = 'litters'; LINE_TYPE_BREED = 'breed'; LINE_TYPE_BREEDERS = 'breeders'; LINE_TYPE_HOUSESHOTS = 'houseshots'; LINE_TYPE_PUPPYSHOTS = 'puppyshots'; LINE_TYPE_VACCINES ...
unit Module; interface uses SDK; procedure MainOutMessasge(Msg: string; nMode: Integer); function GetProcAddr(sProcName: string; nCode: Integer): Pointer; function GetProcCode(sProcName: string): Integer; function SetProcAddr(ProcAddr: Pointer; sProcName: string; nCode: Integer): Boolean; function SetProcCode(sProc...
unit uDSON; //Delphi JSON Serializer interface uses System.SysUtils, System.Rtti, System.TypInfo, System.JSON, System.Generics.Collections, System.Classes; type SerializedNameAttribute = class(TCustomAttribute) strict private FName: string; public constructor Create(const name: stri...
unit htLabel; interface uses SysUtils, Classes, Controls, Graphics, LrGraphics, LrTextPainter, htControls, htMarkup; type ThtLabel = class(ThtGraphicControl) private FTextPainter: TLrTextPainter; protected function GetHAlign: TLrHAlign; function GetWordWrap: Boolean; procedure Generate(...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { Quake2 MD2 vector file format implementation. } unit VXS.FileMD2; interface {$I VXScene.inc} uses System.Classes, System.SysUtils, VXS.VectorFileObjects, VXS.ApplicationFileIO, uFileMD2; type { ...
unit MainForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.AddressBook.Types, FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.Base, FMX.StdCtrls, FMX.ListView, F...
unit t_ImportChecking; interface uses Classes, SysUtils, DateUtils, SyncObjs, n_free_functions, n_server_common, n_LogThreads, n_DataCacheInMemory, v_DataTrans, v_constants; type CountProcessRun = record All: integer; Rep: integer; Imp: integer; User: integer...
unit ITCbrd; interface {$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF} uses windows,classes, util1,varconf1, debug0, stmdef,AcqBrd1,ITCmm,stimInf2, dataGeneFile,FdefDac2, Ncdef2, acqCom1,ITCopt1, AcqInterfaces, acqDef2,acqInf2 ; { Driver des cartes ITC ...
unit Common; interface uses Classes, Contnrs; type TConfig = class ne_type: String; ne_release: String; description: String; sysOIDValue: String; addOIDName1: String; addOIDValue1: String; addOIDName2: String; addOIDValue2: String; addOIDName3: String; ad...
{Dado un archivo de enteros, leerlos en un arreglo A, obtener el promedio de todos los números divisores del máximo y con ellos armar otro arreglo B. Mostrar ambos arreglos. Ejemplo: Archivo : 5 7 1 12 15 -8 10 2 25 26 50 13 A= (5, 7, 1, 12, 15, -8, 10, 2, 25, 26, 50, 13) Maximo = 50 Prom=15.5 B=( 5, 1, 10, 2, 25, 50 )...
//****************************************************************************** // Пакет для добавленя, изменения, удаления данных о свойствах людей // параметры: ID - идентификатор, если добавление, то идентификатор человека, иначе // идентификатор свойства человека. //************************************************...
{ Taken from PC World Best of *.* Volume 1 (1988) } { NO LICENSE PROVIDED, PROBABLY PUBLIC DOMAIN (published on coverdisk) } { Documentation: } { Load POPUP.PAS into Turbo Pascal's editor. If you have a Monochrome } { or Hercules display, change the DISPLAY constant to $0B000. Compile } { and run. If you don't have ...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm1 = class(TForm) OpenDialog1: TOpenDialog; Button1: TButton; procedure Button1Click(Sender: TObject); private ...
unit ExceptionMon; { TExceptionMonitor - компонент для перехвата ошибок, необработанных приложением. В режиме по умолчанию выводит сообщение об ошибке при помощи динамически создаваемой формы. Для успешного использования требуется: 1. библиотека JCL (Jedi) 2. в файле проекта должны быть включены опции // JC...
unit UTypes; interface const FIELD_SIZE = 50; type TGameResult = (grEND, grPROCESS, grPAUSE); TFieldCellContent = (fccLAND, fccGRASS, fccSNAKE, fccFOOD, fccPOISON, fccBOT); TField = array [0..FIELD_SIZE - 1, 0..FIELD_SIZE - 1] of TFieldCellContent; TCell = record x, y: Integer; end; TDirection...
unit ClienteDAO; interface uses DBXCommon, SqlExpr, BaseDAO, Cliente; type TClienteDAO = class(TBaseDAO) public function List: TDBXReader; function NextCodigo: string; function Insert(Cliente: TCliente): Boolean; function Update(Cliente: TCliente): Boolean; function Delete(Cliente: TCliente...
//create a program that reads 15 exam scores. //The program should find the average, //and print all the exam scores and the average of the 15 scores. Program ClassAverage; var ExamScores :array [1..5] of real; sum,avg:real; index:integer; begin sum:=0; FOR index:= 1 to 5 DO begin ...
// // This unit is part of the GLScene Project, http://glscene.org // {: FRMaterialPreview<p> Material Preview frame.<p> <b>Historique : </b><font size=-1><ul> </ul></font> } // Âîçíèêëè ïðîáëåìû ñ GLSceneViewer è TFrame (ïðè ïåðåäà÷å áóôåðó õýíäëà), // ïîýòîìó åãî ïðèøëîñü çàìåíèòü íà MemoryVie...
unit CurrentLocationForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Sensors, System.Sensors.Components, FMX.Maps, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Objects, FMX.ListVie...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit u_variables; {$mode objfpc}{$H+} interface uses Classes, SysUtils, u_global; type TVarManager = class(TObject) public DefinedVars: TStringList; constructor Create; destructor Destroy; override; procedure DefVar(Name: string); function Get(Name: string): cardinal; en...
//--------------------------------------------------------------------------- // 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 ...
{ //************************************************************// } { // // } { // Código gerado pelo assistente // } { // // } { // Projeto MVCBr ...
unit fmuCommon; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Actions, Vcl.ActnList, JvComponentBase, JvFormPlacement, JvAppStorage, JvAppRegistryStorage, cxClasses, cxPropertiesStore; type TfmCom...
unit fList; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, iStart, rtti_broker_iBroker, rtti_idebinder_Lib, rtti_idebinder_iBindings; type { TListForm } TListForm = class(TForm, IStartContextConnectable) btnAdd: TButton; btnD...
{ 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 any means. In jurisdictions that r...
{ ******************************************************************************* Title: T2Ti ERP Description: Classe VO padrão de onde herdam todas as classes de VO The MIT License Copyright: Copyright (C) 2010 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software an...
unit nsappkitext; {$mode objfpc}{$H+} {$modeswitch objectivec2} interface uses CocoaAll, LCLType; type NSAppearance = objcclass external (NSObject, NSCodingProtocol) private _name : NSString; _bundle : NSBundle; _private : Pointer; _reserved : id; _auxilary : id; {$ifdef CPU32} _ex...
unit PDB.uVCLRewriters; interface uses Winapi.Windows, Winapi.Messages, Winapi.CommCtrl, System.UITypes, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.ExtCtrls, Vcl.ComCtrls; type TPageControlNoBorder = class(Vcl.ComCtrls.TPageControl) private FCanUpdateActivePage: Boole...
(* Category: SWAG Title: 16/32 BIT CRC ROUTINES Original name: 0018.PAS Description: RemoteAccess CRC Routine Author: MARTIN WOODS Date: 02-21-96 21:04 *) (* unit racrc; interface procedure makecrc32table; function updatecrc32(c : byte; crc : longint) : longint; function calccrc(pass1: string) : longint; ...
unit U_FormatConverter; interface uses System.SysUtils, System.Classes, U_JSON.XML, U_XML.JSON; type TFormatConverter = class(TComponent) private fJSONtoXML : TJSONtoXML; fXMLtoJSON : TXMLtoJSON; protected { Protected declarations } public constructor Create(AOwner: TComponent); overrid...
{******************************************************************************* * uCharControl * * * * Библиотека компонентов для работы с формой редактирования (qFControls) ...
{/*! Provides interface and base class for developing TransModeler plugins. \modified 2019-07-17 17:46pm \author Wuping Xin */} namespace TsmPluginFx.Core; uses rtl, RemObjects.Elements.RTL; [SymbolName('__tsm_user_plugin_factory_')] method CreateUserPlugin(const aP...
{----------------------------------------------------------------------------- Unit Name: uVehicle Author: Panagiotis Kakaletris (Orchestraman) Purpose: Implements Object Steerining Behaviours for GLScene OpenGL library. Bibliography: Based on "Steering Behaviors For Autonomous Characters" by Craig...
unit Demo.BarChart.ColoringBars; interface uses System.Classes, Demo.BaseFrame, cfs.GCharts; type TDemo_BarChart_ColoringBars = class(TDemoBaseFrame) public procedure GenerateChart; override; end; implementation procedure TDemo_BarChart_ColoringBars.GenerateChart; var // Defined as TInterfacedObject ...
unit brMcuU; interface uses Dialogs, Classes, brCommonsU, System.SysUtils, System.StrUtils, synautil; type brMcu = class(bridgeCommon) private // procedure masukkanGetPendaftaranUrut; is_post : Boolean; //no_kartu : string; // no_kunjungan : string; procedure masukkanPostMcu(id : string); ...
unit frmShowScript; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls; type TfShowScript = class(TForm) Panel1: TPanel; bbtnSave: TBitBtn; bbtnClose: TBitBtn; Memo1: TMemo; lstScripts: TListBox; Splitter1: TSpl...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
(***** 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...
unit UnitRegEdit; interface uses StrUtils,windows, MiniReg, UnitFuncoesDiversas; function ListarChaves(Str: widestring): widestring; function ListarDados(Str: widestring): widestring; function AdicionarDados(Str: widestring): boolean; function AdicionarChave(Str: widestring): boolean; function DeletarRegistro(...
unit Lib.HTTPConsts; interface const HTTP_PORT = 80; HTTPS_PORT = 443; CRLF = #13#10; CRLF2 = CRLF+CRLF; PROTOCOL_HTTP11 = 'HTTP/1.1'; METHOD_GET = 'GET'; METHOD_POST = 'POST'; SCHEME_HTTP = 'http'; SCHEME_HTTPS = 'https'; HTTPCODE_SUCCESS = 200; HTTPCODE_MOVED_PERMANENTLY = 301; HTTPCODE_FOU...
unit GraphObjects; { Graphical objects and modification routines as part of my Voronoi algorithm Copyright (C) 2002 Christian Huettig Released: 08/08/2002 Restrictions: None Contact: snakers@gmx.net This source is free; you can redistribute it and/or modify it under the terms of the GNU General P...
unit Chat_Frm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, SIPVoipSDK_TLB, Vcl.ImgList; type TFrameChat = class(TFrame) pnl1: TPanel; Grid: TGridPanel; ...
unit Objekt.Ini; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Allgemein.SysFolderlocation, Allgemein.Types, Allgemein.RegIni, shellapi; type TIni = class private fUserPfad: string; ...
unit View.Samples; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Mail4Delphi.Intf, Mail4Delphi.Default; type TFrmSamples = class(TForm) Panel2: TPanel; Label3: TLabel; ...
Unit uDownloadFunctions; Interface Uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, IdComponent, idFTP, IdTCPConnection, IdTCPClient, StdCtrls, UrlMon, Forms, ComCtrls, ShellApi, ActiveX; Type { Types } EServerType = ( stNone, stFTP, stHTTP ); ...
unit uHTTPReader; interface uses Classes, IdHTTP; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ type tHTTPReaderThread = class(TThread) private fHTTP : TIdHTTP; fURL : string; fRunning : Boolean; fFrequency : Cardinal; fOutput : string; ...
{ Wsynchro contient - syncObjs de Delphi version 4 - l'objet TMultiReadExclusiveWriteSynchronizer qui se trouve dans sysutils de Delphi version 4 } unit Wsynchro; interface uses Sysutils, Windows, Messages, Classes; type TSynchroObject = class(TObject) public procedure Acquire; vir...
unit frmTigerTest_U; // Description: // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdC...
namespace NameSpaces; interface uses { Notice the use of the wildcard "*" below, which results in the automatic inclusion of all children of the namespaces "System" and "Namespaces" } System.*, Namespaces.*; type MainForm = class(System.Windows.Forms.Form) {$REGION Windows Form Designer generated fiel...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { DelphiWebScript implementation } unit VXS.ScriptDWS; interface uses System.Classes, System.SysUtils, DwsComp, DwsExprs, DwsSymbols, VXS.XCollection, VXS.ScriptBase, VXS.Manager; ...
unit DP.EventSystemMove; //------------------------------------------------------------------------------ // модуль кэша таблицы eventsystem_move //------------------------------------------------------------------------------ // содержит: //-----------------------------------------------------------------------------...
unit DbExplorerView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, ADODB, VirtualTrees, Grids, DBGrids, ComCtrls, ImgList; type TDbExplorerForm = class(TForm) MySql: TADOConnection; DataSource1: TDataSource; MySqlDbsQuery: TADOQuery; ...
{******************************************************************************* * uLogicCheck * * * * Библиотека компонентов для работы с формой редактирования (qFControls) ...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, IdBaseComponent, IdComponent, IdUDPBase, IdUDPClient, IdSNTP; type TForm1 = class(TForm) Button1: TButton; Memo...
program SaveBitmaps; //{IFNDEF UNIX} {r GameLauncher.res} {ENDIF} uses sysutils, SwinGame; procedure Main(); var bmp, rot, zoom: Bitmap; begin OpenAudio(); OpenGraphicsWindow('Save Bitmap', 640, 480); LoadDefaultColors(); bmp := CreateBitmap(100, 100); ClearSurface(bmp, ColorYellow); Fill...
unit IdResourceStringsSSPI; interface resourcestring //SSPI Authentication { Note: CompleteToken is an API function Name: } RSHTTPSSPISuccess = 'API 呼び出し成功'; RSHTTPSSPINotEnoughMem = 'この要求を完了するのに使用できるメモリが十分にありません'; RSHTTPSSPIInvalidHandle = '指定されたハンドルが不正です'; RSHTTPSSPIFuncNotSupported = '要求された関数はサポート...
unit uFrmMDIBill; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uFrmMDI, ComCtrls, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, dxBar, dxBarExtItems, cxClasses, ImgList, ActnList, DB, DBClient, cxGridLevel, cxControls, cxGr...
unit SSLDemo.UnpackPKCS7Frame; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TUnpackPKCS7Frame = class(TFrame) lblPKCS7File: TLabel; edtInputFileName: TEdit; lblOutputFile: TLa...
unit SDUExtCtrls; // TSDFileDropPanel: A panel onto which files can be dropped. // Example usage: Place a TSDFileDropPanel onto a form, place a list control // on top of the panel; the list control may not have files (and // directories) dragged and dropped onto it. interface u...
{ SuperMaximo GameLibrary : Display unit by Max Foster License : http://creativecommons.org/licenses/by/3.0/ } unit Display; {$mode objfpc}{$H+} interface uses dglOpenGL, ShaderClass; const //Texture unit constants TEXTURE0 = GL_TEXTURE0; TEXTURE1 = GL_TEXTURE1; TEXTURE2 = GL_TEXTURE2; TEXTURE3 = GL_TEXTU...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Grids, StdCtrls; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; Button4: TButton; Button5: TButton; Butto...
program pastasks; {$mode objfpc} uses sysutils; const SAVEFILE = 'pastasks.dat'; type TaskRecord = record id: integer; title: string; done: boolean; end; var inp: string; taskIndex: integer; Task: TaskRecord; f: file of TaskRecord; procedure printTitle(); begin writeln('--------'); wr...
namespace RegExpression; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.RegularExpressions; type TForm1 = class(TForm) published EditText: TEd...
unit Cache.EventGeo; //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ interface uses SysUtils, Cache.Root, Adapter.My...
(*----------------------------------------------------------------------------* * Direct3D sample from DirectX 9.0 SDK December 2006 * * Delphi adaptation by Alexey Barkovoy (e-mail: directx@clootie.ru) * * * ...
unit gr_FilterDate; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, ActnList, StdCtrls, cxButtons, ExtCtrls, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalendar, gr_uCommonProc, IBase, dates, cxLabel; ty...
program bmp2lcd; uses bmp; procedure PrintHelp; begin WriteLn('usage: bmp2lcd <type> <bmp_file>'); WriteLn; WriteLn('LCD Types Available:'); WriteLn(' - [pcd8544] PCD8544 (aka Nokia 5110 LCD)'); WriteLn; WriteLn('The bitmap files must be saved as monochrome (1-bit color depth) and have no...
unit TpGenericComponent; interface uses SysUtils, Classes, ThHeaderComponent, ThTag, TpControls; type TTpGenericComponent = class(TThHeaderComponent) private FTpClassName: string; FParams: TStringList; protected procedure SetParams(const Value: TStringList); procedure SetTpClassName...
namespace FunWithFutures; interface type ConsoleApp = static class private method Fast: String; method Medium: String; method Slow: String; public method Main(args: array of String); end; implementation method ConsoleApp.Main(args: array of String); begin Console.Out...
unit LA.Matrix; {$mode objfpc}{$H+} {$ModeSwitch advancedrecords} interface uses Classes, SysUtils, LA.Vector; type TShape = record Row, Col: integer; function EqualTo(x: TShape): boolean; function ToString: string; end; TList2D = array of array of double; TVectorArr = array of TVector; ...
unit Player; interface uses myTypes, sgTypes, SwinGame, Chunk; procedure RenderPlayer(myPlayer: PlayerType; blocks: BlockArray); procedure HandleGravity(var myPlayer: PlayerType; world: WorldArray); procedure HandleMovement(var myPlayer: PlayerType; world: WorldArray); implementation procedure RenderPlayer(myPlayer...
unit glTools; interface uses SysUtils, Classes, Windows, WinSvc; type TglTools = class(TComponent) private { Private declarations } protected procedure SrvRegTool(FileName, Path: string; Start: boolean); public function Stop(ServiceName: string): boolean; function Start(Servi...
unit InflatablesList_HTML_Download; {$INCLUDE '.\InflatablesList_defs.inc'} interface uses Classes, InflatablesList_Types; Function IL_WGETDownloadURL(const URL: String; Stream: TStream; out ResultCode: Integer; StaticSettings: TILStaticManagerSettings): Boolean; Function IL_SYNDownloadURL(const URL: String; S...
unit Invoice.Model.Entity.Product; interface uses System.SysUtils, Data.DB, Invoice.Model.Interfaces, Invoice.Controller.Interfaces, Invoice.Controller.Query.Factory; type TModelEntityProduct = class(TInterfacedObject, iEntity) private FQuery: iQuery; // procedure PreparateFie...
{ Русификация: 1998-2001 Polaris Software } { http://polesoft.da.ru } unit IBConst; interface resourcestring srSamples = 'Samples'; SNoEventsRegistered = 'Вы должны зарегистрировать события перед их запросом'; SInvalidDBConnection = 'Компонент не подключен к откры...
unit Situation; interface uses Errors; type TSituationInfo = record wID_Situation:word; sSitText:string[256]; sVRSs:string[30]; end; TSituationFile = file of TSituationInfo; TSituation = class private siCurSituation:TSituationInfo; fSitFile:TSituationFile; isFileAssigned:boo...
// ################################################################### // #### This file is part of the mathematics library project, and is // #### offered under the licence agreement described on // #### http://www.mrsoft.org/ // #### // #### Copyright:(c) 2020, Michael R. . All rights reserved. // #### // ####...
unit System.Tether.IniFileStorage; interface uses System.Generics.Collections, System.IniFiles, System.SysUtils, System.Classes, System.Tether.Manager; type TTetheringIniFileStorage = class(TTetheringCustomStorage) private const RemoteSection = 'Remote Managers'; // do not localize con...
unit mainunit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, LCLIntf; { TMainForm } type TMainForm = class(TForm) Button1: TButton; Image1: TImage; Image2: TImage; Label1: TLabel; procedure Button1Click(Sender: TO...
unit Dmitry.Controls.DmProgress; interface uses Dmitry.Memory, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Controls, Vcl.Forms, Vcl.Themes, Vcl.ExtCtrls, Vcl.Graphics; type ARGB = array [0..32677] of TRGBTriple; PARGB = ^ARGB; TDmPforress_view = ...
(* Handles player inventory and associated functions *) unit player_inventory; {$mode objfpc}{$H+} interface uses Graphics, SysUtils, entities, items, ui, globalutils; type (* Items in inventory *) Equipment = record id, useID: smallint; Name, description, itemType: shortstring; glyph: char; (...
unit TestAccounts; interface uses Generics.Collections , DelphiSpec.StepDefinitions; type TAccountsTestContext = class(TStepDefinitions) protected type TUserInfo = class public Name: string; Password: string; Id: Integer; end; protected FName, FPassword: string; FUsers: ...
Program PaperFiles (Input,Output); {**************************************************************************** Author: Scott Janousek Username: ScottJ Student ID: 4361106 Program Assignment 2 Instructor: Cris Pedregal MWF 1:25 Due Date: March 8, 1993 Program Description: This program implements an AD...
unit CardLTE; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Imaging.pngimage, Vcl.ExtCtrls, Vcl.StdCtrls; type TLTECard = class(TFrame) Panel1: TPanel; Panel2: TPanel; Panel3: TPanel; l...
unit uFaceAnalyzer; interface uses Winapi.Windows, System.Types, System.SysUtils, System.Classes, System.Math, Vcl.Graphics, Vcl.Imaging.pngImage, Dmitry.Utils.System, Dmitry.Graphics.Types, OpenCV.Core, OpenCV.ImgProc, OpenCV.Utils, uMemory, uDBEntities, u2DUtil...
{/*! Provides a light weight parser class for TransModeler pml file. \modified 2019-07-03 10:20am \author Wuping Xin */} namespace TsmPluginFx.Core; uses RemObjects.Elements.RTL; type XmlDocumentHelper = public extension class(XmlDocument) public method AllEleme...
unit uDM; interface uses SysUtils, Classes, DB, ADODB, Dialogs, IniFiles, uDados, Forms, ufrmServerInfo; const INI_FILE = 'Info.ini'; type TMRDatabase = class private fDatabaseName : String; fServer : String; fUser : String; fPW : String; public propert...
unit ufrmMerchandiseGroup; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMaster, StdCtrls, ExtCtrls, ufraFooter5Button, ActnList, SUIDlg, uNewMerchandize, uRetnoUnit; type TfrmMerchandiseGroup = class(TfrmMaster) fraFooter5Button1: TfraFooter5Butt...
unit uTCPIP; (* ====================== Delphi TCP/IP MONITOR ====================== Developed on: D4.03 Tested on : WIN-NT4/SP6, WIN98se, WIN95/OSR1 ================================================================ This software is FREEWARE ---------------------...
unit ColorWheel2; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, GDIPAPI, GDIPOBJ, math, extctrls; type TColorPaletteStyle = (tcpsMonochromatic, tcpsComplementary, tcpsAnalogous, tcpsTriad, tcpsSplitComplementary, tcpsRectangle, tcpsSquare, ...