text
stringlengths
14
6.51M
{ ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi Copyright (c) 2016, Isaque Pinheiro All rights reserved. GNU Lesser General Public License Versão 3, 29 de junho de 2007 Copyright (C) 2007 Free S...
unit UxlMenu; interface uses Windows, Messages, UxlWindow, UxlClasses, UxlFunctions, UxlList, UxlStrUtils, UxlWinControl, UxlImageList, UxlExtClasses, CommCtrl; type TMenuItem = record id: word; text: widestring; data: ulong; popup: boolean; checked: boolean; enabl...
unit Channel; interface uses Contnrs, Classes, Windows, Common, SimpleXML, Automobile; const CHANNEL_NUMBER_OF_STATUS = 10; STATUS_UNKNOWN = 0; STATUS_AVAILABLE = 1; STATUS_PREPARING = 2; STATUS_CHARGING = 3; STATUS_SUSPENDED_EVSE = 4; STATUS_SUSPENDED_EV =...
unit ftForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Registry; type TftForm = class(TForm) procedure FormActivate(Sender: TObject); //forms which "know" how to save & restore their position but don't necessarily do so private protected ...
PROGRAM TestRemove(INPUT,OUTPUT); {Читает строку из входа ,пропускает ее через RemoveExtraBlanks} USES Queue; VAR Ch, Ch1: CHAR; Q, TEMP: TEXT; PROCEDURE CopyOpen (VAR F1, F2 :TEXT); {копириует строку из F1 в F2 без RESET или REWRITE; таким образом F1 должен быть готов для чтения,а F2 для записи, но прошлые ...
unit EncodeWinshoe; { 1999.06.20: -Added full decoding support to this and WinshoeMessage 1999.06.17: -Only supports MIME. UUE and XXE are outdated, and rarely used. (UUE is occasionally, but pretty rare) 1999.04.04 -Fixed Base64 Encoding Problem 1998.08.16 -Removed QQE support - was incomplete, ...
unit UClipHandler; interface uses Windows, UPageSuper, USysPageHandler, UTypeDef, UxlClasses, UxlExtClasses, UxlWinClasses, UxlWindow, UxlList, UPasteHandler, UxlWinControl, UCommonClasses; type TClipHandler = class (THandlerWithPaste, IClipObserver) private FOptions: TClipOptions; proced...
unit uFancyDialog; interface uses System.SysUtils, System.UITypes, FMX.Types, FMX.Controls, FMX.StdCtrls, FMX.Objects, FMX.Effects, FMX.Layouts, FMX.Forms, FMX.Graphics, FMX.Ani, FMX.VirtualKeyboard, FMX.Platform, System.Classes; type TCallbackProc = procedure(Sender: TObject) of Object; TIconDialog = ...
unit Stack; interface uses Dialogs; type TInfo = integer; PElement = ^TElement; TElement = record next: PElement; info: TInfo; end; TMyStack = class public constructor Create; destructor Destroy; procedure Put(i: TInfo); function Pop: TInfo; function isEmpty: boolean; pri...
unit SplashScreen; interface uses Windows, PNGImage, Forms, Graphics; type TSplashForm = TForm; TSplash = class private FImage: TPNGImage; SplashForm: TSplashForm; procedure SetImage(value: TPNGImage); procedure ToLayeredWindow; public constructor Create; overload; constructor Create...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [VIEW_FIN_LANCAMENTO_RECEBER] The MIT...
{******************************************************************** SHELLDLG components for Delphi 2.0, 3.0, 4.0, 5.0 & C++Builder 1.0, 3.0 version 1.4 written by TMS Software copyright © 1998-1999 Email : info@tmssoftware.com Website : http://www.tmssoftware.com The source code is given as ...
unit uHandlerStationR414DM; interface uses uClientDM, Generics.Collections, IdTCPConnection, SyncObjs, SysUtils, uRequestDM, uStationR414DM, uHandlerClientDM; type THandlerStationR414 = class (THandlerClient) private FOnAddStationR414: TAddRemoveUpdateClientEvent;...
unit KOLIniFile; interface uses Windows, Messages, Graphics, StrUtils, KOL, Main, Classes, VariableWindow, StdCtrls, IniFiles, Utils, Preferences, ActnList, InsertTextForm; type PStrings = ^TStrings; TGraphicFont = Graphics.TFont; PFont = ^TGraphicFont; procedure ReadOrWriteParameters(Wr...
unit FreeOTFEExplorerfmeOptions_General; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Spin64, FreeOTFEExplorerSettings, SDUStdCtrls, CommonfmeOptions_Base, FreeOTFEExplorerfmeOptions_Base; type TLanguageTranslation = recor...
unit CommonIDObjectListForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CommonIDObjectListFrame, ExtCtrls, BaseObjects, CommonObjectSelector, BaseActions, ComCtrls; type TModalButton = (mbOK, mbCancel, mbClose); TModalButtons = set of TModal...
unit AdvGenericsTests; { Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.com.au) 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 c...
unit SlottingWellPoster; interface uses PersistentObjects, DBGate, BaseObjects, DB, Organization, State, Area, Well; type TSlottingWellDataPoster = class(TImplementedDataPoster) private FAllOrganizations: TOrganizations; FAllAreas: TSimpleAreas; FAllWellCategories: TWellCategories; FAllWellStat...
{$include kode.inc} unit kode_widget_menu; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses kode_flags, kode_canvas, kode_color, kode_rect, kode_widget, kode_widget_panel, kode_widget_text; t...
program ProgramName; uses TerminalUserInput; type Genre = (Pop, Classical, Rock); Album = record albumName: String; artistName: String; albumGenre: Genre; trackName: array of String; trackLoc: array of String; end; function GenreSelect(): Genre; var selection: Integer; begin WriteLn('Please choose...
unit windows7taskbar; {$MODE Delphi} {$WARN 5044 off : Symbol "$1" is not portable} //Windows 7 taskbar, says enough interface {$IFDEF windows} //credits to http://alex.ciobanu.org/?p=215 uses Forms,win32int, win32proc; type TTaskBarProgressState = (tbpsNone, tbpsIndeterminate, tbpsNormal, tbpsError...
unit KeyPairDictionary; interface uses Classes,Windows,SysUtils; type EDictionaryException=class(Exception); PKeyPointerPair=^TKeyPointerPair; TKeyPointerPair=record Key:string; Value:Pointer; Object_:TObject; end; PKeyPointerPairList=^TKeyPointerPairList; TKeyPointerPairList...
UNIT WordModule; INTERFACE CONST Lowcase = ['a' .. 'z', 'а' .. 'я', 'Ё']; Uppercase = ['A' .. 'Z', 'А' .. 'Я', 'ё']; MaxLengthWord = 50; ErrorMarker = '&'; ErrorString = 'ErrorString'; LowcaseConst = 32; PROCEDURE CheckSymbol(Var Ch: CHAR); PROCEDURE ReadFirstCharacter(VAR InFile: TEXT; V...
unit functions; interface uses classes; type TStringArray = array of string; //split string by delimiter to list. If Delimiter is empty, then split by each character function split(Input: string; Delimiter: string = ''): TStringArray; function in_array(what: string; arr: array of string): Boolean; fun...
unit ChangeStatus; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; const CNANGE_STATE_MODE_STATUS = 0; CNANGE_STATE_MODE_ERROR = 1; type TfmChangeStatus = class(TForm) Panel1: TPanel; btOK: TButton; btCance...
unit HJYDBUtils; interface uses SysUtils, DB, superobject, DBClient, Classes, Variants, IniFiles, TypInfo; function LoadJsonFromDataSet(ADataSet: TDataSet): ISuperObject; function LoadJsonString(ADataSet: TDataSet): string; function JsonToClientDataSet(ACds: TClientDataSet; AJson: ISuperObject): Boolean; procedure G...
program ocho; const corte = 32767; type str15 = String[15]; rMeses = 1..12; tCliente = record cod : integer; nombre : str15; apellido : str15; end; tVenta = record cliente : tCliente; anio : integer; mes: rMeses; monto : real; end; archivoMaestro = file of tVenta; ...
{ QuickDisplay v1.5 created by matortheeternal *CHANGES* v1.5 - Fixed the export error when more than 100 records are selected. - Added array data type, which can be used to save the values This script can be used to quickly display data from selected records, or export it to a text document ...
unit MonteCarlo; interface uses Random; const SEED = 113; function MonteCarlo_integrate(Num_samples: integer): double; function MonteCarlo_num_flops(Num_samples: integer): double; implementation function MonteCarlo_integrate(Num_samples: integer): double; {$IFDEF INLINE} inline; {$ENDIF} Var R: PRandom; u...
unit DM; interface uses System.SysUtils, System.Classes, sql.Consts, sql.connection, sql.connection.Factory, orm.Session; type TD = class(TDataModule) private { Private declarations } FConnection : TDBConnection; function GetConnection : TDBConnection; function GetSes...
{ Subroutine STRING_F_INTCO (S, BYTE) * * Return the 3 character octal representation of the value in BYTE in string S. } module string_f_intco; define string_f_intco; %include 'string2.ins.pas'; procedure string_f_intco ( {make 3 char octal from character} in out s: univ string_var_arg_t; {outpu...
unit frmChangedAddressesCommonalityScannerUnit; {$mode delphi} interface uses {$ifdef darwin} macport, {$endif} {$ifdef windows} windows, {$endif} Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, StdCtrls, ExtCtrls, formChangedAddresses, betterControls; type...
/* This example demonstrates custom validation rules. It works by registrering a TValidationSuite, which is invoked when Sigma runs the validation system. It allows to add new rules, and implements the rule validation. The example shows how to validate a custom field, which has an assigned list of allowed values, to e...
unit uSimpleUnitTests; interface uses System.SysUtils ; type TestSuiteAttribute = class(TCustomAttribute); TestAttribute = class(TCustomAttribute); type TTestHarness = class(TObject); [TestSuite] TMyTestHarness = class(TTestHarness) [Test] procedure TestSomething; [Test] proced...
unit UnitScreenExampleEmpty; {$ifdef fpc} {$mode delphi} {$ifdef cpu386} {$asmmode intel} {$endif} {$ifdef cpuamd64} {$asmmode intel} {$endif} {$else} {$ifdef conditionalexpressions} {$if CompilerVersion>=24.0} {$legacyifend on} {$ifend} {$endif} {$endif} {$if defined(Win32) or defined...
{------------------------------------ 功能说明:系统信息接口 创建日期:2008/11/12 作者:wzw 版权:wzw -------------------------------------} unit SysInfoIntf; {$weakpackageunit on} interface type PLoginUserInfo = ^TLoginUserInfo; TLoginUserInfo = record UserID: Integer; UserName: String; RoleID: Integer; IsAdmin...
unit GLSLUnit; interface uses OpenGL, DotWindow, DotUtils, DotMath, GL, GLu, GLext, DotShaders, Windows; type TGLSL = class private shaders : array of Cardinal; public po : Cardinal; constructor Create; procedure LoadShader(f:String;const stype:Cardinal); function Compile:boolean; ...
program uno; const corte = 'fin'; type empleado = record numero : integer; nombre : String; apellido : String; edad : integer; dni : String; end; archivoEmpleado = file of empleado; procedure leerEmpleado (var unEmpleado : empleado); begin with unEmpleado do begin writeln('Ingr...
unit changelist; { changelist is a helper class for the hexview it keeps a list of entries containing lastvalue and timestamp of the last time it changed } {$mode delphi} interface uses {$IFNDEF STANDALONEHV} {$ifdef darwin} macport, {$endif} {$ifdef windows} windows, {$endif} {$ENDIF...
unit unit_pas2c64_parser; {$IFDEF fpc} {$MODE DELPHI} {$ENDIF} {$H+} interface uses Classes, uParser, unit_pas2c64_CodeGenerator, unit_pas2c64_symboltable, unit_Expressions; // tokens var Token_poke : Integer; Token_pokew : Integer; Token_peek : Integer; Token_pee...
unit GBJSON.Serializer; interface uses GBJSON.Interfaces, GBJSON.Base, GBJSON.RTTI, GBJSON.DateTime.Helper, System.Generics.Collections, System.Rtti, System.JSON, System.Math, System.SysUtils, System.StrUtils, System.TypInfo; type TGBJSONSerializer<T: class, constructor> = class(TGBJSONBase, IG...
{******************************************************************************} { } { Unit: uHashedStringList.pas } { ...
//****************************************************************************// // // // InstanceHandler unit // // ...
(*!------------------------------------------------------------ * [[APP_NAME]] ([[APP_URL]]) * * @link [[APP_REPOSITORY_URL]] * @copyright Copyright (c) [[COPYRIGHT_YEAR]] [[COPYRIGHT_HOLDER]] * @license [[LICENSE_URL]] ([[LICENSE]]) *------------------------------------------------------------- *) unit Va...
unit sBevel; {$I sDefs.inc} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs{$IFNDEF DELPHI5}, Types{$ENDIF}, ExtCtrls, sCommonData; type TsBevel = class(TBevel) {$IFNDEF NOTFORHELP} private FCommonData: TsCommonData; protected StoredBevel : TBevelStyle; S...
unit Devtools.Utils; interface uses System.SysUtils, FMX.Forms, FMX.Dialogs, Winapi.Windows, Winapi.TlHelp32, Winapi.ShellAPI; type TWinVersion = record WinPlatForm: Byte; // VER_PLATFORM_WIN32_NT, VER_PLATFORM_WIN32_WINDOWS WinVersion: string; Major: Cardinal; Minor: Cardinal; end; function...
unit TBGConnection.Model.DataSet.Observer; interface uses SysUtils, TBGConnection.Model.Interfaces, System.Generics.Collections, Data.DB, TBGConnection.Model.DataSet.Interfaces; Type TConnectionModelDataSetObserver = class(TInterfacedObject, ICacheDataSetSubject) private FLista : TList<ICacheDataSetObserve...
Unit IO_Ptr; Interface Uses Declare,IO_Byte; FUNCTION Readptr: TypePointer ; PROCEDURE Writeptr( ptr: TypePointer) ; PROCEDURE Flushbits ; Implementation var ByteBuffer: byte; BitsLeft: integer; function BitsIn(i: TypePointer): integer; var count: integer; begin count:=0; while (2 shl count) < i do ...
unit NewItem; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, Buttons, DB, DBCtrls, Grids, DBGrids, DBLookupEh, Mask, DBCtrlsEh, DBGridEh, sBitBtn, sLabel, sEdit, sCheckBox, DBAccess, Uni, MemDS, sSkinProvider, sSkinManager; type TFormN...
{ Version 11.3 Copyright 2012 by J. Peter Mugaas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
/// <summary> /// 事件跟踪审计窗体 /// </summary> unit AuditLogViewer; interface uses Generics.Collections, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Aurelius.Mapping.Explorer, Aurelius.Events.Manager; type TAuditLogForm = class(TForm) BevelBottom: ...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : https://www.seton.com.br/api/v2_soap?wsdl=1 // >Import : https://www.seton.com.br/api/v2_soap?wsdl=1>0 // >Import : http:...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [FISCAL_NOTA_FISCAL_ENTRADA] The MIT ...
unit AdvGradient; {$I TMSDEFS.INC} interface uses Classes, Graphics; type TGradientStyle = class(TPersistent) private FColorTo: TColor; FColorFrom: TColor; FBorderColor: TColor; FOnChange: TNotifyEvent; FDirection: Boolean; procedure SetBorderColor(const Value: TColor); ...
unit EBookingInterfaces; interface type IEBooking = interface ['{E44F5716-3474-41E8-84D9-557F0AE89F92}'] function GetRole: String; end; implementation end.
unit DataTabelas; {$MODE Delphi} interface uses SysUtils, Classes, FMTBcd, sqldb, DB, {DBClient, Provider,} ImgList, Controls, Forms, ZSqlUpdate, ZAbstractRODataset, ZAbstractDataset, ZDataset; type TTab = (tParentesco, TEstCivil, TProfissao, TCidade, TEquipe, TGrupo, TTipoMov, TMeios, TTpCon, TR...
unit TestUCreditCardManager; interface uses DUnitX.TestFramework , uCreditCardValidator , uCreditCardManager ; type TestTCCValidator = class public [Test] procedure TestCardChargeReturnsProperAmountWhenCardIsGood; [Test] procedure TestCardChargeReturnsZeroWhenCCIsBad; ...
unit LUX.Brep.Wire.D2; interface //#################################################################### ■ uses LUX, LUX.D2, LUX.Brep.Poin, LUX.Brep.Wire; type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】 TWire2D<_TPoin_:TPoin<TSingle2D>> = class; //$$$$$$$$$$$$$$$$$$$$$...
{$include kode.inc} unit kode_widget_groupbox; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses kode_flags, kode_rect, kode_widget, //kode_widget_button; kode_widget_switch; type KWidget_Group...
namespace Sugar.Test; interface uses Sugar, Sugar.IO, Sugar.TestFramework; type FileHandleTest = public class (Testcase) private aFile: File; Data: Sugar.IO.FileHandle; public method Setup; override; method TearDown; override; method Close; method &Read; method &ReadOver...
unit uFileReaderWriter; interface uses uDecoupled ; type TFileReader = class(TInterfacedObject, IReader) private FFilename: string; public constructor Create(aFilename: string); function ReadAll: TArray<Byte>; end; TFileWriter = class(TInterfacedObject, IWriter) private FFilen...
unit CommonfrmCDBDump_LUKS; // Description: // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.FreeOTFE.org/ // // ----------------------------------------------------------------------------- // interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [CLIENTE] The MIT License ...
{ ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi Copyright (c) 2016, Isaque Pinheiro All rights reserved. GNU Lesser General Public License Versão 3, 29 de junho de 2007 Copyright (C) 2007 Free S...
unit uFrmprincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Menus, Vcl.Buttons, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.Mask, System.DateUtils, uEndereco, uAluno, uResponsavel, uAlunoDAO...
{******************************************************************************} { } { EasyIp communication Library } { Transport layer unit ...
{$include kode.inc} unit fx_gain_gui; // editor related stuff is wrapped in ifdef/endif for testing! //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses kode_plugin, kode_types; type myPlugin = class...
(****************************************************************************** * PasVulkan * ****************************************************************************** * Version see PasVulkan.Framework.pas ...
{ ****************************************************************************** * * * DesignBox - Basic canvas/drawing component for Delphi * * ...
unit SessaoUsuario; interface uses Classes, DSHTTP, Biblioteca, Forms, Windows, IniFiles, SysUtils, Generics.Collections, DataSnap.DSHTTPClient, Tipos, ACBrDevice, DBClient, NfceOperadorVO, NfceConfiguracaoVO, NfceMovimentoVO, NfceTipoPagamentoVO, NfeCabecalhoVO; type TSessaoUsuario = class private ...
unit ImportRawUnit; // --------------------------------------- // Raw binary file import setup dialog box // --------------------------------------- // 19.03.04 Updated to support WinWCP // 14.05.10 MaxADCValue now set from input field interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Contro...
unit orm.attributes.objects; interface uses System.SysUtils, System.Classes, System.Rtti, System.TypInfo, System.Variants, System.Generics.Collections, System.Generics.Defaults, Data.DB, orm.attributes.types; type TFieldValue = Class Private FName : String; FValue : Varia...
unit UClienteRepositoryImpl; interface uses UClienteRepositoryIntf, UDBConnectionIntf, FireDAC.Comp.Client; type TClienteRepository = class(TInterfacedObject, IClienteRepository) private FDBConnection: IDBConnection; FFDQuery: TFDQuery; public function adquirirCodigoCliente(const ADo...
unit SDSplusGroup; // Copyright (C) 2003 ABplus Inc. kazHIDA // All rights reserved. // $Id: SDSplusGroup.pas 270 2003-03-11 02:52:54Z kazhida $ // $Author: kazhida $ interface {:Note:: DICTIONARY用のTSdsList ::Note:} {:Note:: 0 Object name (GROUP) 5 Handle 102 Start of persistent reactors group; alwa...
unit gmDictionary; interface uses System.Generics.Collections; type TgmDictionaryAttribute = class private FPropName: string; FDisplayLabel: string; FDefaultValue: string; public constructor Create(APropName: string); property PropName: string read FPropName write FPropName; property Dis...
program euclid (input, output); var x,y: integer; function gcd(u,v: integer): integer; var t: integer; begin writeln('Inside fn'); repeat if u<v then begin t := u; u := v; v := t end; u := u-v; until u = 0; gcd := v end; begin writeln('Hello'); while not eof do begin ...
unit smKernel; interface uses classes,DB,controls,system.Types,sysutils; type TCharSet = SET OF CHAR; // Envía un objeto JSON a un url function JSONPHP(url : string; par : string) : string; // Byte a binario function IntToBin(Value: byte): string; function BinToInt(Value: string): Integer; proced...
// // Name: TitlePanel.pas // Desc: TitlePanel Component // This component is a modified event panel. It contains a new caption // and title labels. It can be used to display table information in the caption // with the title containg the description of what is being...
unit CameraFormUnit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, IniFiles, JPEG, VFrames, VSample, Direct3D9, DirectDraw, DirectShow9, DirectSound, DXTypes, Vcl.ComCtrls; type...
unit MethodInfoTests; interface uses TestFrameWork, InfraCommonIntf, ReflectModelIntf; type TMethodInfoTests = class(TTestCase) private FMyMethodsClass: IClassInfo; protected procedure SetUp; override; procedure TearDown; override; published // Test methods procedu...
unit TextEditor.LeftMargin.Border; interface uses System.Classes, Vcl.Graphics, TextEditor.Types; type TTextEditorLeftMarginBorder = class(TPersistent) strict private FOnChange: TNotifyEvent; FStyle: TTextEditorLeftMarginBorderStyle; procedure SetStyle(const AValue: TTextEditorLeftMarginBorderStyl...
unit CustomDateTimeUtils; {$mode objfpc}{$H+} interface uses SysUtils; function DateTimeToUnixMSecs(const AValue: TDateTime; const ToUTC: Boolean): Int64; function UnixMSecsToDateTime(const AValue: Int64): TDateTime; function TimeZoneBiasMSecs: Integer; function GetTimeZoneStr: String; implementation ...
Unit ZTest286; {################################} {# ZiLEM Z80 Emulator #} {# 286 Detection #} {# Copyright (c) 1994 James Ots #} {# All rights reserved #} {################################} {$G-} Interface Implementation {************************************************} { ...
unit dmlistados; {$mode objfpc}{$H+} interface uses Classes, SysUtils, db, FileUtil, rxmemds, ZDataset, dmgeneral; type { TDM_Listados } TDM_Listados = class(TDataModule) qClasificaciones: TZQuery; qClasificacionesAPYNOM: TStringField; qClasificacionesCATEGORIA: TStringField; qClasificacione...
unit TarantoolErrors; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TTError=( ER_UNKNOWN=0, ER_ILLEGAL_PARAMS=1, ER_MEMORY_ISSUE=2, ER_TUPLE_FOUND=3, ER_TUPLE_NOT_FOUND=4, ER_UNSUPPORTED=5, ER_NONMASTER=6, ER_READONLY=7, ER_INJECTION=8, ER_CREATE_SPACE=9, ...
unit MenuExceptionUnit; interface uses System.Generics.Collections,Dialogs,SysUtils, MainUnit,MenuUnit; type MenuException = class(TInterfacedObject, Main) private /// <link>aggregation</link> MenuSource: Menu; public function getMenu:TList<string>; end; implementation { MenuException } ...
unit DataProxy.Order; interface uses Data.DB, Data.DataProxy; type TOrderProxy = class(TDatasetProxy) protected procedure ConnectFields; override; public OrderID: TIntegerField; CustomerID: TStringField; EmployeeID: TIntegerField; OrderDate: TDateField; RequiredDate: TDateField; ...
unit ufrmPopupDetailVoucher; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMasterDialog, ufraFooterDialog2Button, ExtCtrls, SUIForm, Grids, BaseGrid, AdvGrid, AdvObj; type TfrmPopupDetailVoucher = class(TfrmMasterDialog) strgGrid: TAdvStringGrid; ...
unit Unit1; interface uses VclStylePreview, VclStyleUtil, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Themes, Vcl.Buttons, Vcl.Imaging.pngimage; type TfrmMain = class(TForm) Stylek...
unit MultiPrecision.DoubleDouble.Tests; interface uses UnitTest, Neslib.MultiPrecision; type TTestDoubleDouble = class(TUnitTest) private procedure CheckEquals(const AExpected: String; const AActual: DoubleDouble); overload; published procedure TestInit; procedure TestToString; proced...
unit View.Lancamentos; interface uses Classe.ObjetoItemListView, View.LancamentoEdicao, Controller.Lancamento, Controllers.Interfaces.Observers, Views.Interfaces.Observers, System.SysUtils, System.StrUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Contro...
unit uDictionary; //словарь interface type TLexem = String; TLexems = array of TLexem; TLexInf = record name: TLexem; count: Integer; end; TLexemsInf = array of TLexInf; const //dictionaries of key words java_identifier = ['A'..'Z', 'a'..'z', '_', '0'..'9']; //это операторы которые будем иска...
{------------------------------------------------------------------------------- Copyright 2018 Ethea S.r.l. 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...
unit LibUtils; interface uses System.JSON, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, REST.Response.Adapter, Datasnap.DBClient, Data.DB, cxDBData, System.SysUtils, Classe.Request, System.uJson, Data.DB.Helper, System.DateUtils; type TTpDiaMes = (tpDataPrimeiroDia, tpDataUltimo...
unit PlanPoster; interface uses PersistentObjects, DBGate, BaseObjects, DB, Plan, FinanceSource, FieldWork, Well, LicenseZone, BaseObjectType, TypeWork, Area, Organization; type TParametrValueDataPoster = class(TImplementedDataPoster) private FAllParametrs: TParametrs; FAllStates: TStateWorks; F...
unit ucPipe; (* Copyright (c) 2000-2018 HREF Tools Corp. Permission is hereby granted, on 31-Oct-2003, free of charge, to any person obtaining a copy of this file (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
unit InstanceHashMap; { Specialized hash map (dictionary) to keep track of instance counts. Similar to using TDictionary<TClass, Integer>, but doesn't create any temporary (enumerator) objects when enumerating the dictionary. } interface type { Information about object instances. } TInstanceInfo = record ...
unit TextEditor.Ruler.Colors; interface uses System.Classes, Vcl.Graphics, TextEditor.Consts; type TTextEditorRulerColors = class(TPersistent) strict private FBackground: TColor; FBorder: TColor; FLines: TColor; FMovingEdge: TColor; FSelection: TColor; public constructor Create; p...
unit WineCellarAppControllerU; interface uses MVCFramework, MVCFramework.Commons, dorm, dorm.loggers; type [MVCPath('/')] TWineCellarApp = class(TMVCController) private dormSession: TSession; protected procedure OnBeforeAction(Context: TWebContext; const AActionNAme: string; var Handled...
unit AllAgencies; {This form displays all Agencies.} 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.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan...