text
stringlengths
14
6.51M
// parses Delphi code into a token collection // Original Author: Egbert van Nes (http://www.dow.wau.nl/aew/People/Egbert_van_Nes.html) // Contributors: Thomas Mueller (http://www.dummzeuch.de) // Jens Borrisholt (Jens@borrisholt.dk) - Cleaning up the code, and making it aware of seve...
unit rxDateRangeEditUnit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, types, Controls, Buttons, StdCtrls, Spin; type TRxDateRangeEditOption = (reoMonth, reoQuarter, reoHalfYear); TRxDateRangeEditOptions = set of TRxDateRangeEditOption; type { TRxCustomDateRangeEdit } TRxCustomDateRangeEdit = ...
unit chart; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, VCLTee.TeEngine, VCLTee.Series, Vcl.ExtCtrls, VCLTee.TeeProcs, VCLTee.chart, VCLTee.DBChart, VCLTee.TeeSpline, DateUtils; type TArr...
unit ICDrecord; interface type TICDRecord = class private FId: integer; FCodeICD10: string; FFrDescription: string; FNlDescription: string; published property id: integer read FId write FId; property codeICD10: string read FCodeICD10 write FCodeICD10; property frDescription: string rea...
unit USQLScripts; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.StrUtils, System.Generics.Collections, UModel; type TSQLScripts = class private { Private declarations } class function BoolToStr(bool: boolean): string; class function GetInse...
unit debug; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, SHFolder; function GetCurrentFolderPath(): string; procedure Print(Text : String; ClearFile: Boolean); procedure Print(Text: String); Procedure Print(Point: TPoint); procedure Print(text: String; aRect: tRect); procedure Prin...
unit uFlashMemo; interface uses cTranspMemo, uFormData, uFlashRect, Classes, ExtCtrls, Messages, Controls; type TFlashMemo = class(TTransparentMemo) private FData: TPageData; FShowNormalText: Boolean; FOnMoved: TNotifyEvent; procedure SetData(const Value: TPageData); proced...
unit fSoundEffectEditor; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Grids, ValEdit, cMegaROM, cConfiguration; type TfrmSoundEffectEditor = class(TForm) vleSoundEffects: TValueListEditor; cmdOK: TButton; cmdCancel: TButton; proced...
unit Thermostat.EnabledState; interface uses Thermostat.Classes; type TEnabledThermostatState = class(TThermostatState) public procedure Init; override; procedure Finish; override; procedure Execute; override; end; implementation uses Thermostat.HeatingState, Thermostat.NotHeatingState, T...
program primoesercizio; const DMAX=25; type Tpunt=^Telemento; Tinfo=char; Telemento=record info:Tinfo; next:Tpunt; end; Tparola=String[DMAX]; var PCoda:Tpunt; procedure fill(var Pcoda:Tpunt); var parola:Tparola; PAtt:Tpunt; i:inte...
unit IdIOHandlerWebsocket; //The WebSocket Protocol, RFC 6455 //http://datatracker.ietf.org/doc/rfc6455/?include_text=1 interface uses Classes, IdIOHandlerStack, IdGlobal, IdException, IdBuffer, SyncObjs; type TWSDataType = (wdtText, wdtBinary); TWSDataCode = (wdcNone, wdcContinuation...
unit ConsCheNeo; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Cons07, JvAppStorage, JvAppIniStorage, JvComponentBase, JvFormPlacement, wwfltdlg, Menus, Buttons, Grids, ExtCtrls, ComCtrls, StdCtrls, Mask, DBCtrls, ActnList, JvBaseDlg, JvProgressDialog, Pr...
unit qsound; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} timer_engine,sound_engine; const QSOUND_CLOCKDIV=166; // Clock divider QSOUND_CHANNELS=16-1; type QSOUND_CHANNEL_def=record bank, // bank (x16) address, // start address pitch, // pitch reg3, // unknown (always 0x8000) ...
unit WeatherTypeControl; interface uses TypeControl; const _WEATHER_UNKNOWN_: LongInt = -1; WEATHER_CLEAR : LongInt = 0; WEATHER_CLOUD : LongInt = 1; WEATHER_RAIN : LongInt = 2; _WEATHER_COUNT_ : LongInt = 3; type TWeatherType = LongInt; TWeatherTypeArray = TLongIntArray; ...
unit V8AddIn; {$mode objfpc}{$H+} interface uses Classes, SysUtils, CTypes, Variants, LCLProc, contnrs; type TAppCapabilities = ( eAppCapabilitiesInvalid = -1, eAppCapabilities1 = 1); TAppType = ( eAppUnknown = -1, eAppThinClient = 0, eAppThickClient, eAppWebClient...
program lil; {$MODE OBJFPC}{$H+} uses SysUtils, fplil; var Running: Boolean = True; function FncWriteChar(LIL: TLIL; Args: TLILFunctionProcArgs): TLILValue; begin if Length(Args)=0 then exit(nil); Write(Chr(Args[0].IntegerValue)); Result:=nil; end; function FncReadLine(LIL: TLIL; Args: TLILFuncti...
unit TTSNOTETable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSNOTERecord = record PLenderNumber: String[4]; PTrackCode: String[8]; PNoticeStage: String[1]; PModCount: Integer; PLapse: Integer; PStdLtr: String[1]; PTitle: String[25...
unit SDBFile; { Autor: Ulrich Hornung Datum: 14.7.2007 1. Make a construtor Create, where you set the FHeaderSize and the FItemSize } interface uses Classes, SysUtils; type ESimpleDBStreamNROutOfRange = Exception; TSimpleDBStream = class private FStream: TStream; protected ...
unit l3SysUtils; { Библиотека "L3 (Low Level Library)" } { Автор: Люлин А.В. © } { Модуль: l3SysUtils - } { Начат: 27.05.2005 14:22 } { $Id: l3SysUtils.pas,v 1.11 2015/12/11 21:19:47 lulin Exp $ } // $Log: l3SysUtils.pas,v $ // Revision 1.11 2015/12/11 21:19:47 lulin // - ...
{ *************************************************************************** } { } { } { Copyright (C) Amarildo Lacerda } { } { https://github.com/amarildolacerda } { } { } { *************************************************************************** } { } { Licensed under the Apache License, Version 2.0 (the "License...
unit clEnvioEMail; interface uses IdSMTP, IdMessage, IdText, IdAttachmentFile, IdSSLOpenSSL, IdExplicitTLSClientServerBase, IdIOHandler, SysUtils, Classes, dialogs; type TEnviarEmail = class(TObject) private protected { protected declarations } public { public declarations } function EnviarE...
unit Controller.Observer.Interfaces; interface type TRecordItem = record Descricao : String; Quantidade : Currency; Valor : Currency; end; iObserverItem = interface ['{654CF77E-EAE2-46D0-A0E2-A92CD9A0A7A9}'] function UpdateItem(Value : TRecordItem) : iObserverItem; end; iSubjectItem =...
PROGRAM SortMonth_b(INPUT, OUTPUT); {Программа сравнивает введённые значения месяцев} USES DateIO; {ReadMonth, WriteMonth} VAR F1: TEXT; MonthNameFirst, MonthNameSecond: Month; BEGIN {SortMonth} Copy(INPUT, F1); ReadMonth(F1, MonthNameFirst); ReadMonth(F1, MonthNameSecond); IF (MonthNameFirst = NoMonth) O...
unit DepWindow; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TDependencyWindow = class(TForm) DepLines: TMemo; Panel1: TPanel; CloseBtn: TButton; private procedure SetLines(theLines : TStringList); public property Line...
unit RegisterAccountUnit; interface uses SysUtils, BaseExampleUnit, EnumsUnit; type TRegisterAccount = class(TBaseExample) public procedure Execute(Plan, Industry, FirstName, LastName, Email: String; Terms: boolean; DeviceType: TDeviceType; Password, PasswordConfirmation: String); end; implem...
unit nscReminder; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "Nemesis" // Модуль: "w:/common/components/gui/Garant/Nemesis/nscReminder.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model, root element: <<GuiC...
unit Unit_Editors; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, VCLTee.Control, VCLTee.Grid, Tee.Grid.Columns; type TFormCellEditors = class(TForm) TeeGrid...
unit Types; uses System; type ///Ключевой объект KSCObject = abstract class public const TypeName = 'object'; private _name: string; public function GetName: string := _name; public property Name: string read GetName; public constructor (name: string); ...
unit aeLoaderManager; interface uses windows, types, System.Generics.Collections, aeGeometry, ae3DModelLoaderBase, aeLoader3DS, sysutils, aeLoaderAionCGF; type TaeLoaderManagerResult = (AE_LOADERMANAGER_RESULT_SUCCESS, AE_LOADERMANAGER_RESULT_FAIL, AE_LOADERMANAGER_RESULT_FILE_NOT_SUPPORTED); type TaeLoaderMa...
unit fSavedSearches; { Copyright 2012 Document Storage Systems, 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 obtain a copy of the License at          http://www.apache.org/licenses/LICENSE-2.0      Unless requir...
(* * Task 1: Capital Detection * * GUEST LANGUAGE: THIS IS THE PASCAL VERSION OF ch-1.pl, suitable for * the Free Pascal compiler. *) uses sysutils; type strarray = array [0..100] of string; var debug : boolean; (* process_args_exactly_n( n, str[] ); * Process command line arguments, * specifically proce...
{ Utility functions for VOLATILE FOLLOWERS by dragonjet MOD: http://www.nexusmods.com/skyrim/mods/71998/ SOURCE: https://github.com/dragonjet/skyrim-volatilefollowers } unit vf_utils; uses mteFunctions; { MAKE ESP FILE Create an ESP file, or if exists, return the existing file } function MakeESPFile ( FileName:...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Notification Center implementation for iOS } { ...
{ Clever Internet Suite Copyright (C) 2017 Clever Components All Rights Reserved www.CleverComponents.com } unit clCryptPemEncryptor; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, {$ELSE} System.Classes, {$ENDIF} clUtils, clConfig, clCryptDataHeader; type TclRsaKeyPemEncryptor = class ...
PROGRAM Last(INPUT, OUTPUT); VAR Ch: CHAR; BEGIN {Last} IF NOT EOLN THEN BEGIN WHILE NOT EOLN DO READ(Ch); WRITE(Ch) END ELSE WRITE('You wrote nothing') END. {Last} PROGRAM WithoutLast(INPUT, OUTPUT); VAR Ch: CHAR; BEGIN {WithoutLast} IF NOT EOLN THEN BEGIN ...
{ Copyright (c) 2016, Vencejo Software Distributed under the terms of the Modified BSD License The full license is distributed with this software } unit ooFactory.Item.Intf; interface type TFactoryKey = String; IFactoryItem<TClassType> = interface ['{47E95B9B-25E7-491B-895E-F75E2B297F76}'] function...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit fpvelectricalelements; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpimage, fpcanvas, // fpvectorial; const WIRE_SUBPART_DEST = 1; type { TWire } TvWire = class(TvEntity) public DestPos: T3DPoint; // procedure Assign(ASource: TPath); function TryToSelect(APos: TPoint; va...
{ Double Commander ------------------------------------------------------------------------- Support for popup menu to help to enter variable parameters. Copyright (C) 2015-2018 Alexander Koblov (alexx2000@mail.ru) This program is free software; you can redistribute it and/or modify i...
unit uAguarde; interface uses System.SysUtils, System.UITypes, FMX.Types, FMX.Controls, FMX.StdCtrls, FMX.Objects, FMX.Forms, FMX.Effects, FMX.Graphics; type TAguarde = class private class var FAguarde: TRectangle; class var FFundo: TPanel; class procedure TrocaCorPFundo(Sender:...
unit uPessoa; interface uses System.Generics.Collections; type TPessoa = class strict private FNaturalidade: String; FId: Integer; FNome: String; FProfissao: String; procedure SetId(const Value: Integer); procedure SetNaturalidade(const Value: String); procedure SetNome(const Value: S...
{ Subroutine SST_R_PAS_DATA_TYPE (DTYPE_P) * * Read in a DATA_TYPE syntax and return DTYPE_P pointing to the corresponding * data type descriptor. If DTYPE_P is NIL on entry to this routine, then * a new data type descriptor is either created or an existing one found. If * DTYPE_P is no NIL, then DTYPE_P wi...
{ mytoolbar.pas Toolbar controller class. Creates and manages the toolbar. This example project is released under public domain AUTHORS: Felipe Monteiro de Carvalho } unit mytoolbar; {$mode delphi}{$STATIC ON} interface uses SysUtils, MacOSAll, objc, appkit, foundation; type { TMyToolbarController } ...
unit ResequenceAllRoutesRequestUnit; interface uses HttpQueryMemberAttributeUnit, GenericParametersUnit, EnumsUnit; type TResequenceAllRoutesRequest = class(TGenericParameters) private [HttpQueryMember('route_id')] FRouteId: String; [HttpQueryMember('disable_optimization')] FDisableOptimizatio...
{$include lem_directives.inc} unit LemDosMainDat; interface uses Classes, GR32, SysUtils, LemTypes, LemDosStructures, LemDosCmp, LemDosBmp; type {------------------------------------------------------------------------------- Tool to extract data from the dos main dat file -------------------...
unit xSpeedButton; interface uses SysUtils, Classes, Controls, Buttons, Windows, Types, Graphics, CommCtrl, Messages, ImgList, ActnList; type TxSpeedButton = class; TssButtonStyle = (ssbsFlat, ssbsUser); TssButtonState = (ssbsUp, ssbsDown, ssbsDisabled); TssButtonType = (ssbtStandard, ssbtC...
unit uihandle; interface uses ui, uimpl, datastorage; type TWinHandle=class; TWinHandleEvent=procedure(Sender:TWinHandle) of object; TWinHandle=class(TWinHandleImpl) private protected wFont:HFONT; wColor, wBkColor, wHoverColor, wHoverBkColor, wBorderColor, wHoverBorderColor:car...
unit cCadIgreja; interface uses System.Classes,Vcl.Controls, Vcl.ExtCtrls,Vcl.Dialogs,FireDAC.Comp.Client,System.SysUtils;//LISTA DE UNITS type TIgreja = class private //VARIAVEIS PRIVADA SOMENTE DENTRO DA CLASSE ConexaoDB: TFDConnection; F_cod_igreja:Integer; F_nome_igreja:string; F_cidade:string; F_dta_fundacao:T...
unit enetpas_server_main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, enet_consts, uENetClass; type { TForm1 } TForm1 = class(TForm) ApplicationProperties1: TApplicationProperties; ListBox1: TListBox; ...
unit UFrameAnalog; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, UTreeItem, IniFiles, UFrameKP; type TItemAnalog = class; TFrameAnalog = class(TFrame) Panel: TPanel; edR: TEdit; edP: TEdit; Label7: TLabel; Label6: TL...
unit uTipoVO; interface uses System.SysUtils, uKeyField, uTableName; type [TableName('Tipo')] TTipoVO = class private FConceito: string; FAtivo: Boolean; FCodigo: Integer; FId: Integer; FPrograma: Integer; FNome: string; procedure SetAtivo(const Value: Boolean); procedure SetC...
{ *************************************************************************** } { } { } { Copyright (C) Amarildo Lacerda } { } { https://github.com/amarildolacerda } { } { } { *************************************************************************** } { } { Licensed under the Apache License, Version 2.0 (th...
unit acReportContainer; interface uses SysUtils, Classes, System.Contnrs; type TReportInfo = class id: Integer; name: string; template: string; end; TacReportContainer = class(TComponent) private reports: TObjectList; public constructor Create(owner: TComponent); ov...
program COPYTEXT ( EING , OUTPUT ) ; (**********************************************) (* This program copies the characters *) (* and line structure of the textfile *) (* input to the textfile output. *) (**********************************************) var CH : CHAR ; EING : TEXT ; ...
unit UPageList; interface type TPageRange = record a,b:integer; end; TPageRangeArray = array of TPageRange; TPageList = class(TObject) private FList : TPageRangeArray; procedure SetPagesString(const Value: string); procedure AddStringEntry(entry:string); procedure DelEntry(idx:...
FUNCTION LoadPCXPicToRAM(AName : String; Var Laenge : LongInt) : Pointer; (* ---------------------------------------------------------------- *) Var F : File; PH1 : Pointer; Begin If Not (AFirst In [0..PCXMAX]) Then Begin VGA_Error := VGA_Error_Error_InvalidArgumentValues; ...
Program Running_Man; Uses Crt,Graph; Const MaxX = 640; MaxY = 480; Right = True; Left = False; Rad = Pi/180; BodyA = -70*Rad; HeadR = 5; BodyL = 30; HipL = 15; ShinL = 15; ArmL = ...
unit m3RootStream; // Модуль: "w:\common\components\rtl\Garant\m3\m3RootStream.pas" // Стереотип: "SimpleClass" // Элемент модели: "Tm3RootStream" MUID: (53FDE7290320) {$Include w:\common\components\rtl\Garant\m3\m3Define.inc} interface uses l3IntfUses , ActiveX , l3Logger , m3BaseHeaderStream ; type Rm3RootS...
unit GX_TabOrder; {$I GX_CondDefine.inc} interface uses Classes, Forms, Controls, ExtCtrls, ToolsAPI, ComCtrls, StdCtrls, GX_BaseForm; type TfmTabOrder = class(TfmBaseForm) gbxComponents: TGroupBox; btnOK: TButton; btnClose: TButton; btnHelp: TButton; pnlButtons: TPanel; ...
unit k007232; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} sound_engine,timer_engine; const KDAC_A_PCM_MAX=2; type tk007232_call_back=procedure (valor:byte); k007232_chip=class(snd_chip_class) constructor create(clock:dword;rom_adpcm:pbyte;size:dword;amplifi:single;call_back:tk007232_call_back...
unit lgTypes; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "View" // Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/lgTypes.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model, root element: <<Inter...
unit Main; interface //#################################################################### ■ uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Memo.Types, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, ...
unit MainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TMain_Form = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; Button4: TButton; Button5...
unit FileUploadingActionsUnit; interface uses SysUtils, Classes, BaseActionUnit, IConnectionUnit; type TFileUploadingActions = class(TBaseAction) public function Preview(FileId: String; out ErrorString: String): TStringList; function UploadFileGeocoding(FileId: String; out ErrorString: String): TStr...
unit nsTextWithCommentsRes; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "View" // Автор: Люлин А.В. // Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/nsTextWithCommentsRes.pas" // Начат: 15.02.2011 15:23 // Родные...
unit nsJournalBookmarkNode; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "Common$Lib" // Автор: Люлин А.В. // Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/Common/nsJournalBookmarkNode.pas" // Начат: 21.10.2009 19:08 /...
unit uPEN_AppInit; interface uses System.Classes, uAppInit; type TPEN_AppInit = class(TAppInit, IAppInitInterface) private procedure CreateDBConnection; function CreateAndExecuteLogin: Boolean; function CreateAndExecuteSplashScreen: Boolean; procedure CreateAndShowMainApplicationLayer; public...
unit VisualClassManager; interface uses IniClasses, Collection, Classes, SysUtils; type TCollection = Collection.TCollection; type TClassManager = class; TVisualClass = class; TSection = class; TClassManager = class public constructor Create; ...
unit fTSAEditor; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, GR32_Image, GR32, GR32_Layers, ComCtrls, cMegaROM, cConfiguration; type TfrmTSA = class(TForm) imgTSA: TImage32; StatusBar: TStatusBar; procedure FormClose(Sender: TObject; var Action...
unit mnSynHighlighterFirebird; {$mode objfpc}{$H+} {** * * This file is part of the "Mini Library" * * @url http://www.sourceforge.net/projects/minilib * @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html) * See the file COPYING.MLGPL, included in this distributio...
unit Tile; interface uses Engine, DGLE, DGLE_Types; type TTile = array [0..TILES_COUNT - 1] of ITexture; const TileFName: array [0..TILES_COUNT - 1] of AnsiString = ( 'Dirt.png' ); type TTiles = class private pTile: TTile; public constructor Create; destructor Destroy;...
unit D3DXCore; /////////////////////////////////////////////////////////////////////////// // // Copyright (C) 1999 Microsoft Corporation. All Rights Reserved. // // File: d3dxcore.pas // Content: D3DX core types and functions // ////////////////////////////////////////////////////////////...
unit UOrderedServerAddressListTS; interface //uses // UNetData; // third circular unit references, saving to git. uses UThread, Classes, UNetConnection, UNodeServerAddress, UNetStatistics; type // This will maintain a list sorted by 2 values: ip/port and netConnection in thread safe mode // Using this object...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clTcpCommandClient; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, Windows, Messages, SysUtils, WinSock,{$IFDEF DEMO} Forms,{$ENDIF} {$ELSE} System.Classes, Winapi.Windows, Winapi...
{******************************************************************************* Nordson Corporation Amherst, Ohio, USA Copyright 1998 $Workfile: LogManagerUnit.pas$ DESCRIPTION: Logs maintains a list of current events . Deletes and creates logfiles as needed. Allows multiple reads or copy of files on networ...
{ Subroutine SST_W_C_OPCODES (FIRST_P) * * Read a chain of opcodes and produce the output source code from them. * FIRST_P points to the first opcode in the chain. FIRST_P may be NIL, * which indicates an empty chain. } module sst_w_c_OPCODES; define sst_w_c_opcodes; %include 'sst_w_c.ins.pas'; var arg1_p, ...
unit GeocodingAddressUnit; interface uses REST.Json.Types, System.Generics.Collections, JSONNullableAttributeUnit, GenericParametersUnit, NullableBasicTypesUnit; type TGeocodingAddress = class(TGenericParameters) private [JSONName('zipcode')] [Nullable] FZipCode: NullableString; [JSONName('s...
unit LA.MainFrm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Actions, System.Messaging, System.Permissions, Androidapi.JNI.GraphicsContentViewText, Androidapi.JNI.App, Androidapi.JNI.Location, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX....
{--------------------------------------------------------------------------- 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...
{!DOCTOPIC}{ StringTools } const CharsLower = 'abcdefghijklmnopqrstuvwxyz'; CharsUpper = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; CharsLetters = CharsLower + CharsUpper; CharsDigits = '0123456789'; CharsHexDigits = '0123456789abcdefABCDEF'; CharsOctDigits = '01234567'; CharsSigns ...
unit FileCache; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Graphics, FastBitmap; type TFileCacheItem = record start: longint; length: longint; number: integer; end; { TFileCache } TFileCache = class private cache_stream: TFileStream; FCount: integer; FCacheList: arra...
unit ATxShellExtension; interface function ApplyShellExtension(AEnable: boolean): boolean; function IsShellExtensionEnabled: boolean; implementation uses Windows, ATxSProc, ATxParamStr, ATxRegistry; const RegKey0 = '*\shell\Universal Viewer'; RegKey1 = RegKey0 + '\command'; RegKeyF0 = 'Directory\shell\Uni...
unit UStartup; interface uses Windows, Messages; const // Name of main window class cWindowClassName = 'Accusys.Tickler.3'; // Any 32 bit number here to perform check on copied data cCopyDataWaterMark = $DE1F1DAB; // User window message handled by main form ensures that // app not mini...
{ Exercicio 24: Escreva um algoritmo que receba o nome e a idade de uma pessoa. Exibir o nome da pessoa e as seguintes expressões, conforme o caso: Idade Expressão Abaixo de 16 anos Parabéns! Mas você é muito jovem. Entre 16 e 17 anos Parabéns! Você já pode votar. Entre 18 e 21 anos Parabéns! Você já pod...
unit RemoveRouteDestinationUnit; interface uses SysUtils, BaseExampleUnit; type TRemoveRouteDestination = class(TBaseExample) public procedure Execute(RouteId: String; DestinationId: integer); end; implementation procedure TRemoveRouteDestination.Execute(RouteId: String; DestinationId: integer); var Er...
unit SetWallpaperStatementParsingTest; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FpcUnit, TestRegistry, ParserBaseTestCase, WpcScriptCommons, WpcStatements, WpcScriptParser, WpcExceptions, WpcWallpaperStyles; const SET_WALLPAPER = SET_KEYWORD + ' ' + WALLPAPER_KEYWORD + ' '; WALLPAPER_...
unit ClassDCNetwaveCam; interface uses ClassDeviceConnect , System.Generics.Collections , IdComponent; type TDCNetwaveCam = class (TDeviceConnect, IDeviceConnect) procedure OnWorkBegin(Sender: TObject; AWorkMode: TWorkMode; AWorkCountMax: Int64); procedure OnWorkEnd(Sender: TObject; AWorkMo...
unit Model.ExpressasExtratos; interface uses Common.ENum, FireDAC.Comp.Client,System.SysUtils, DAO.Conexao, System.DateUtils, System.Classes; type TExpressasExtratos = class private FTotalEmpresa: Double; FEntregas: Integer; FQuinzena: Integer; FCliente: Integer; FVolumesExtra: Double; F...
{$include lem_directives.inc} unit GameLevelCodeScreen; interface uses Windows, Classes, Controls, Graphics, MMSystem, Forms, GR32, GR32_Image, GR32_Layers, UMisc, LemStrings, LemDosStructures, LemDosStyle, GameControl, GameBaseScreen; type TGameLevelCodeScreen = class(TGameBaseScreen) ...
unit pgFunctionFactory; // Модуль: "w:\common\components\rtl\Garant\PG\pgFunctionFactory.pas" // Стереотип: "SimpleClass" // Элемент модели: "TpgFunctionFactory" MUID: (56613507012C) {$Include w:\common\components\rtl\Garant\PG\pgDefine.inc} interface {$If Defined(UsePostgres)} uses l3IntfUses , l3ProtoObject , ...
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: François PIETTE Object: TMimeDecode is a component whose job is to decode MIME encoded EMail messages (file attach). You can use it for example to decode messages received with a POP3 or NN...
{ ********************************************************************* Gnostice eDocEngine Copyright (c) Gnostice Information Technologies Private Limited http://www.gnostice.com ********************************************************************* } {$I ..\gtSharedDefines.inc} unit gtClasses3; ...
unit ScrollBackTest; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "TestFormsTest" // Автор: Люлин А.В. // Модуль: "w:/common/components/gui/Garant/Daily/ScrollBackTest.pas" // Начат: 25.05.2010 18:29 // Родные Delphi интерфейс...
unit AutoMapper.MappingExpression; interface uses System.Rtti ; type TMapExpression<TSource, TDestination> = reference to procedure (const source: TSource; out dest: TDestination); TExpressionType = (None, ObjectToObject, ObjectToRecord, RecordToObject, RecordToRecord); TMapExpCollections = class pu...
unit StockWeightDataAccess; interface uses define_dealItem, BaseDataSet, QuickList_int, define_price, define_datasrc, define_stock_quotes; type TStockWeightData = record DealItem : PRT_DealItem; IsDataChangedStatus: Byte; WeightData : TALIntegerList; DataSource ...
unit glr_particles2d; {$i defines.inc} interface uses glr_render, glr_render2d, glr_utils, glr_math; type { TglrParticle2D } TglrParticle2D = class (TglrSprite) T: Single; LifeTime: Single; Velocity: TglrVec2f; procedure Reset(); end; TglrParticles2D = TglrObjectList<TglrParticle2D>; ...
////// // Intro // Endian specific access types // (c) 2011..2017 by Jasper L. Neumann // www.sirrida.de / programming.sirrida.de // E-Mail: info@sirrida.de // Granted to the public domain // First version: 2013-02-14 // Last change: 2013-02-14 // Compile with // Delphi: dcc32 /cc calcperm.pas /...
{*********************************************************************************************************************** * * TERRA Game Engine * ========================================== * * Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com) * ***************************************************...
unit SearchRoutesForSpecifiedTextUnit; interface uses SysUtils, BaseExampleUnit, DataObjectUnit; type TSearchRoutesForSpecifiedText = class(TBaseExample) public function Execute(Text: String): TDataObjectRouteList; end; implementation function TSearchRoutesForSpecifiedText.Execute(Text: String): TData...
{******************************************************************************} { } { Library: Fundamentals 5.00 } { File name: flcTimers.pas ...