text
stringlengths
14
6.51M
{ DBAExplorer - Oracle Admin Management Tool Copyright (C) 2008 Alpaslan KILICKAYA This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at...
unit BaiduMapAPI.NaviService.iOS; //author:Xubzhlin //Email:371889755@qq.com //百度地图API iOS导航服务 单元 //官方链接:http://lbsyun.baidu.com/ //TiOSBaiduMapNaviService 百度地图 iOS导航服务 interface uses System.Classes, iOSapi.Foundation, Macapi.ObjectiveC, Macapi.Helpers, BaiduMapAPI.NaviService.CommTypes, BaiduMapAPI.NaviServic...
unit FFSTabControl; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, extctrls, comctrls, FFSTypes, LabelMenu; const FFSMaxTabs = 99; type TTabAlignment = (taTop, taBottom, taLeft, taRight); TTextHorizontalAlignment = (thaLeft, thaCenter, thaRight); TTex...
{$I ok_sklad.inc} unit RemainsAtWH; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, dxCntner6, dxEditor6, StdCtrls, ActnList, ssBaseTypes, ssFormStorage, cxCheckBox, cxControls, cxContainer, cxEdit, cxTextEdit, cxLookAndFeelPainters, cxButt...
(* this file is a part of audio components suite see the license file for more details. you can contact me at mail@z0m3ie.de this is an sample unit for an driver *) unit driver; interface uses ACS_Audio,SysUtils, Classes, ACS_Types, ACS_Classes, ACS_Strings; const LATENCY = 25; type TOwnAudioOut =...
{********************************************************************* * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Autor: Brovin Y.D. * E-mail: y...
unit GetVehiclesUnit; interface uses SysUtils, BaseExampleUnit; type TGetVehicles = class(TBaseExample) public procedure Execute; end; implementation uses VehicleUnit; procedure TGetVehicles.Execute; var ErrorString: String; Vehicles: TVehicleList; begin Vehicles := Route4MeManager.Vehicle.G...
unit fmDameWare; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, ADC.GlobalVar, ADC.ADObject, ADC.Common, ADC.Types, Vcl.ExtCtrls, System.StrUtils, ADC.LDAP, ADC.AD, Winapi.ActiveX, ActiveDs_TLB...
unit StrOptComponent; interface uses FMX.Controls, Classes, FMX.ListBox; const EXPANDER_CHILD_PANEL_HEIGHT = 35; EXPANDER_MARGIN = 5; EXPANDER_CHILD_LABEL_WIDTH = 100; EXPANDER_CHILD_ITEM_WIDTH = 120; EXPANDER_CHILD_LABEL_FONT_SIZE = 15; type IStrOptionComponent = Interface ['{6B3873BC-CB3D-4E85-8C7...
PROGRAM InsertionSort_a(INPUT, OUTPUT); { Программа создаст запись Key/Next и скопирует в неё INPUT } CONST Max = 16; ListEnd = 0; TYPE Count = ListEnd .. Max; Rec = RECORD Key: CHAR; Next: Count END; RecArray = ARRAY [1 .. Max] OF Rec; VAR Index: Count; Arr: RecArray; BEGIN ...
program tp1ej3y4; const corte = 'fin'; const edadJubilacion = 70; //Registro empleado type empleado = record numero:integer; apellido:string; nombre:string; edad:integer; dni:integer; end; archivoEmpleados = file of empleado; procedure leerEmpleado(var e:empleado); b...
unit legendkage_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} nz80,m6805,main_engine,controls_engine,gfx_engine,ym_2203, rom_engine,pal_engine,sound_engine; function iniciar_lk_hw:boolean; implementation const lk_rom:array[0..1] of tipo_roms=( (n:'a54-01-2.37';l:$8000;p:0;crc:$60fd973...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit comport; //-------------------------------------------------- // Модуль последовательных коммуникационных портов //-------------------------------------------------- {$WARN SYMBOL_DEPRECATED OFF} interface uses Windows, Messages, SysUtils, Classes, Controls, Forms, Dialogs, StdCtrls, SyncObjs,...
unit MinisteriesSheet; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, VisualControls, ObjectInspectorInterfaces, PercentEdit, GradientBox, FramedButton, SheetHandlers, ExtCtrls, ComCtrls, InternationalizerComponent; const tidMinisterCount = 'MinisterCount...
unit pdfvrsemantico; {$mode objfpc}{$H+} interface uses Classes, SysUtils, pdfvrlexico, fpvectorial; type AnSemantico = class public close_path_x: String; close_path_y: String; cm_a, cm_b, cm_c, cm_d, cm_e, cm_f: Real; // coordinate spaces constants function generate(c: Command; AData: TvVecto...
unit Vehicles; interface uses ActorPool; type IVehicle = interface; IVehicleArray = interface; TVehicleDirection = (vdirN, vdirNE, vdirE, vdirSE, vdirS, vdirSW, vdirW, vdirNW); TArrayChange = (achUpdate, achVehicleInsertion, achVehicleDeletion); TOnVehicleArrayChanged...
{ * AXTextAttributedString.h * * Copyright (c) 2002 Apple Computer, Inc. All rights reserved. * } { Pascal Translation: Gale R Paeper, <gpaeper@empirenet.com>, 2006 } { Modified for use with Free Pascal Version 210 Please report any bugs to <gpc@microbizz.nl> } {$mode macpas} {$packenum 1} {$mac...
(* ***** 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/ * * Softwa...
unit ADC.NetInfo; interface uses Winapi.Windows, Winapi.Winsock2; const AI_PASSIVE = $01; AI_CANONNAME = $02; AI_NUMERICHOST = $04; AI_ALL = $0100; AI_ADDRCONFIG = $0400; AI_V4MAPPED = $0800; AI_NON_AUTHORITATIVE ...
unit GX_GExperts; {$I GX_CondDefine.inc} interface uses Classes, ToolsAPI, Controls, GX_EditorExpertManager, GX_Experts; type TGExperts = class(TNotifierObject, IOTANotifier, IOTAWizard) private FEditorExpertsManager: TGxEditorExpertManager; FExpertList: TList; FStartingUp: Boolean; ...
{ This file is part of the AF UDF library for Firebird 1.0 or high. Copyright (c) 2007-2009 by Arteev Alexei, OAO Pharmacy Tyumen. See the file COPYING.TXT, included in this distribution, for details about the copyright. This program is distributed in the hope that it will be useful, but WITH...
{ $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...
(** This module contains a frame for the web browser so that this code can be used in more than one applciation without having to conditionally compile a form for inclusion in the IDE or an external application. @Version 1.0 @Author David Hoyle @Date 10 Sep 2017 **) Unit WebBrowserFrame; Interface ...
unit TestWSRequest; {$ifndef VER3}{$fatal WS tests requires FPC 3}{$endif} {$mode objfpc}{$H+} interface uses Classes, HTTPDefs, fpcunit, JCoreWSIntf, JCoreWSRequest; type { TTestWSRequest } TTestWSRequest = class(TTestCase) private FRequest: TRequest; FResponse: TResponse; FRouter: IJ...
unit ImgRes; interface uses Windows, Classes, Collection; type TScreenRes = (res640x480, res800x600, res1024x768); type // Classes defined TImgDesc = class; TImgRes = class; // MetaClasses defined CImgDesc = class of TImgDesc; CImgRes = class of TImgRes; // TImgDesc d...
program Ch2; {$mode objfpc} uses SysUtils,Types; procedure QuickSort(var Arr:array of Integer;Left,Right:Integer); var I,J,Pivot,Temp:Integer; begin I := Left; J := Right; Pivot := Arr[(Left + Right) div 2]; repeat while Pivot < Arr[I] do Inc(I); while Pivot > Arr[J] do Dec(J); if I <= J then...
unit GX_OTAEditorNotifier; interface uses Classes, ToolsAPI; type IGxOtaEditorNotifier = interface(IOTAEditorNotifier) ['{D925E276-6494-4A5C-A989-2017DA55C80F}'] procedure Attach(_Editor: IOTASourceEditor); procedure Detach; end; ///<summary> /// Implements the IOTAEditorNotifier int...
{ Subroutine SST_R_PAS_EXP (EXP_STR_H,NVAL_ERR,EXP_P) * * Process EXPRESSION syntax. EXP_P will be returned pointing to the * compiled expression descriptor. EXP_STR_H is the SYN string handle for the * whole expression. If NVAL_ERR is TRUE, then it will be an error if the * expression can not be evaluated...
unit FIWSender; interface uses FIWClasses, System.Generics.Collections, System.SysUtils, System.Net.HttpClient, System.Net.HTTPClientComponent, System.Classes; type TFIWSender = class class procedure SendToServer(Info: TObjectList<TWlanInfo>); end; const SERVER_IP='192.168.43.40'; SERVER_PORT='5678'...
unit TWFloatEdit; interface uses Windows, Messages, SysUtils, Classes, Controls, StdCtrls; type TTWFloatEdit = class(TCustomEdit) procedure EditKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); procedure EditKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState); procedure EditCha...
Program Aufgabe6; {$codepage utf8} Var Bool1, Bool2: Boolean; Begin Bool1 := True; Bool2 := False; WriteLn('Bool1 = ', Bool1, ', Bool2 = ', Bool2); WriteLn('not Bool1 = ', not Bool1); WriteLn('Bool1 and Bool2 = ', Bool1 and Bool2); WriteLn('Bool1 or Bool2 = ', Bool1 or Bool2); WriteLn('B...
unit Design_AttrValues; {* Локализуемые значения атрибутов значений тегов таблицы тегов Design } // Модуль: "w:\common\components\gui\Garant\Everest\Design_AttrValues.pas" // Стереотип: "UtilityPack" // Элемент модели: "Design_AttrValues" MUID: (3DBAA1891003) {$Include w:\common\components\gui\Garant\Everest\evDefin...
unit kwIterateSubDecriptorsOnSubPanel; {* Перебирает все SubDescriptot на SubPanel, которые *могут быть* отрисованы (!). Т.е. проверка на Visible не производится. Если это нужно, то можно реализвать в скриптах. Формат: [code] @ aWord aLayerID aSubPanel IterateSubDecriptorsOnSubPanel [code] aLayerID - слой, в котором ...
unit uTabWorkSpace; interface uses uWorkSpace, ComCtrls, Controls, Classes, Sysutils; type TTabWorkSpace = class(TWorkSpace) private FTabSheet: TTabSheet; procedure SetCaption(FileName: string); protected procedure DoSave(); public constructor Create(AOwner: TComponent; iIndex: Integer; File...
unit Frame.Basic; 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.Controls.Presentation; type TFrameBasic = class(TFrame) ButtonError: TButton; ButtonInfo:...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls, Buttons, StdCtrls, rxdbgrid, vclutils, rxmemds, db, IniPropStorage; type { TForm1 } TForm1 = class(TForm) Datasource1: TDatasource; Edit1: TEdit; IniPropStorage1: TIniPr...
unit uUpdateListObserverInterface; interface uses Classes; type IUpdateListObserver = interface ['{56056643-4EF8-42CF-8300-BE775C9DE515}'] procedure UpdateCheckListBox(const Values: TStrings); end; IDisplay = interface ['{B4BA606A-3A00-418A-BF08-D8E4CBCEDA4B}'] procedure InitializeDisplayGrid; ...
{ Module of routines that implement the application specific pre-processor * for the Pascal front end to the translator. See the comment headers for * routine SST_R_PAS_PREPROC for more details (below). } module sst_r_pas_preproc; define sst_r_pas_preproc_init; define sst_r_pas_preproc; %include 'sst_r_pas.ins.p...
program facebook; const dimF = 200; type foto = record titulo :string; autor :string; likes :integer; clics :integer; comentarios :integer; end; fotos = array[1..dimF] of foto; procedure leerFoto(var f:foto); begin write('Ingrese el título: ')...
unit AppLogger; interface uses LoggerInterface; type TAppLoger = class(TObject) private class function GetLogger: ILogger; static; public class property Logger: ILogger read GetLogger; end; implementation uses Logger, AppSettings, System.SysUtils; var FLogger: TLogger = nil; class function ...
unit ImageLoader; interface uses GameTypes; function LoadGameImage(const FileName : string) : TGameImage; implementation uses SysUtils, Classes, SpeedBmp, Dib2Frames, SpriteLoaders, ImageLoaders, GifLoader; function LoadGameImage(const FileName : string) : TGameImage; function HasGifExtension(const FileN...
unit ClientView; interface uses Windows, Classes, Controls, GameTypes, Protocol, MapTypes, VoyagerInterfaces, VoyagerServerInterfaces, Matrix; const evnSetWorldInfo = 65123; // >>>>> const cMapRows = 1000; cMapCols = 1000; type TSetWorldInfo = record MapImage : TM...
unit TwoEmptyParaForOneReplacerTest; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "TestFormsTest" // Автор: Люлин А.В. // Модуль: "w:/common/components/gui/Garant/Daily/TwoEmptyParaForOneReplacerTest.pas" // Начат: 05.07.2010 ...
unit xdg_foreign_unstable_v2_protocol; {$mode objfpc} {$H+} {$interfaces corba} interface uses Classes, Sysutils, ctypes, wayland_util, wayland_client_core, wayland_protocol; type Pzxdg_exporter_v2 = Pointer; Pzxdg_importer_v2 = Pointer; Pzxdg_exported_v2 = Pointer; Pzxdg_imported_v2 = Pointer; Pzxdg_e...
unit ParseGen_Syn; interface var success : boolean; procedure Grammar; (* entry for recursive descent parser *) implementation uses ParseGen_Lex, FileWriter; procedure Rule(var r : string); FORWARD; procedure Expr(var e : string); FORWARD; procedure Term(var t : string); FORWARD; procedure Fact(var f : string);...
// Upgraded to Delphi 2009: Sebastian Zierer (* ***** 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 a...
unit TurnOffTimeMachineKeywordsPack; {* Набор слов словаря для доступа к экземплярам контролов формы TurnOffTimeMachine } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Common\TurnOffTimeMachineKeywordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "TurnOffTimeMachineKeywordsPack" MUID...
// ************************************************************************************************** // // Unit uSynEditPopupEdit // unit for the Delphi Preview Handler https://github.com/RRUZ/delphi-preview-handler // // The contents of this file are subject to the Mozilla Public License Version 1.1 (the "Licens...
(* Copyright (c) 1998-2004 by HiComponents. All rights reserved. This software comes without any warranty either implied or expressed. In no case shall the author be liable for any damage or unwanted behavior of any computer hardware and/or software. HiComponents grants you the right to include the compiled component...
{ для работы с OPC используется OPCDAAuto.dll из комплекта "OPC DA Auto 2.02 Source Code 5.30.msi" установка: import component -> import a type library -> OPC DA Automation Wrapper 2.02 version 1.0 -> pallete page ActiveX -> install new package compile -> install unhide button ActiveX (TOPCGroups,TOPCGrou...
unit ufmIDEDialog; {$I ASCRIPT.INC} interface uses Classes, Dialogs, {$IFDEF THEMED_IDE} AdvAppStyler, AdvStyleIF, {$ENDIF} IDEMain, fIDEEditor; type TIDECloseAction = (icaCloseAll, icaNothing); TCustomIDEDialog = class(TComponent) private FEngine: TIDEEngine; FIDEForm: TID...
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.StdCtrls, FMX.Controls.Presentation, FMX.Objects, FMX.Edit, LUX...
unit objPedido; interface uses System.SysUtils, FireDAC.Comp.Client, Vcl.Dialogs; type TPedido = class(TObject) private Fnumero: Integer; Fdata : TDate; Fdescricao : String; Fsituacao : Integer; FvalorTotal : Double; Fconexao : TFDConnection; protec...
unit uScannerImagem; interface uses Windows, System.UITypes, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, jpeg, DelphiTwain, DelphiTwain_Vcl; type TfrmScannerImagem = class(TForm) PnlTop: TPanel; BtnScanWithoutDialog: TSpeedButton; LBSource...
unit ClassDeviceConnect; interface uses System.Generics.Collections, FMX.Graphics; type TIoTDeviceType = (dtNetwaveCam); TImgExtraVal = class private AValue: TBitmap; function GetValue: TBitmap; procedure SetValue(Value: TBitmap); public property Value: TBitmap read Ge...
namespace Sugar.RegularExpressions; interface uses Sugar.Collections; type RegexOptions = public flags (IgnoreCase, IgnoreWhitespace, Multiline, Singleline); Regex = public class mapped to {$IF COOPER}java.util.regex.Pattern {$ELSEIF ECHOES}System.Text.RegularExpressions....
unit classEnviarEmail; interface uses IdSMTP, IdSSLOpenSSL, IdMessage, IdText, IdAttachmentFile, IdExplicitTLSClientServerBase, System.Classes; type TEmail = class Port :Integer; Host :String; Username :String; Password :String; public constructor create(pPort: Integer; pHo...
// Copyright (c) 2016, Jordi Corbilla // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // - Redistributions of source code must retain the above copyright notice, // this list of conditions ...
unit fuImages; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ClipBrd, Vcl.ExtCtrls, Vcl.ComCtrls, JPEG, Vcl.StdCtrls, AdvEdit, HTMLText, AdvGlowButton; type TfrmImages = class(TForm) pnlImageHeader: T...
(* MP_Lex: HDO, 2004-02-06 ------- Lexical analyzer (scanner) for the MiniPascal Interpreter and the MiniPascal Compiler. ===================================================================*) UNIT MP_Lex; INTERFACE TYPE Symbol = ( noSy, errSy, ...
{ Модуль списка иконок типов сообщений журнала. } unit ICLogImageList; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs; const INFO_IMG_INDEX = 0; DEBUG_IMG_INDEX = 1; WARNING_IMG_INDEX = 2; ERROR_IMG_INDEX = 3; FATAL_IMG_INDEX = 4; SERVICE_IMG_INDEX...
unit uRamalController; interface uses System.SysUtils, uDMRamal, uRegras, uEnumerador, uDM, Data.DB, Vcl.Forms, uFuncoesSIDomper, Data.DBXJSON, Data.DBXJSONReflect, uConverter, uGenericProperty, uRamalVO, uRamalItensVO; type TRamalController = class private FModel: TdmRamal; FOperacao: TOperacao; ...
unit uMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, iOSapi.CoreLocation, DPF.iOS.Common, DPF.iOS.MapKit, DPF.iOS.BaseControl, DPF.iOS.MKMapView, DPF.iOS.UIButton, DPF.iOS.UIView, DPF.iOS.UILa...
unit vtNavigatorRes; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "VT" // Автор: Люлин А.В. // Модуль: "w:/common/components/gui/Garant/VT/vtNavigatorRes.pas" // Начат: 02.03.2010 17:58 // Родные Delphi интерфейсы (.pas) // Ge...
unit REST.Social; interface uses System.Sysutils, System.Classes, System.JSON, IPPeerClient, REST.Client, REST.Authenticator.OAuth, REST.Response.Adapter, REST.types, idHTTP, IdSSL, IdSSLOpenSSL, System.Generics.Collections; type TCustomSocialBase = class(TObject) public procedure FromJson(aJson: strin...
unit Types interface type TIntegerArray = Array of Integer; TNode = record name: String; idx: Integer; edges: TNodeArray; procedure Init(const aName: Integer; const aEdges: TNodeArray); end; TNodeArray = Array of TNode; implementation end.
unit l3IString; { $Id: l3IString.pas,v 1.1 2011/07/08 13:14:39 fireton Exp $ } // $Log: l3IString.pas,v $ // Revision 1.1 2011/07/08 13:14:39 fireton // - работа с IString // interface uses l3Interfaces, l3Types, l3Base, IOUnit ; type Tl3IString = class(Tl3CustomString, Il3CString) private /...
unit MarqueeCtrl; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs; const cidxBack = 0; cidxFore = 1; cidxGrill = 2; cidxLight = 3; type TFadeDirection = (fdUp, fdDown); type TMarquee = class(TCustomControl) public con...
unit Startup; interface uses IdHTTPWebBrokerBridge, System.SysUtils, MVCFramework.Logger, MVCFramework.Commons, MVCFramework.REPLCommandsHandlerU; type TStartup = class public class procedure RunServer(Port: Integer); static; end; implementation class procedure TStartup.Run...
program Demo3; {$APPTYPE CONSOLE} var i: Integer; begin i := 0; while i < 10 do begin WriteLn('Hello ', i); Inc(i); end; end.
Unit fpc_jemalloc; Interface {$LINKLIB jemalloc} const LibName = 'libjemalloc'; Function je_malloc(Size: ptruint): Pointer; cdecl; external LibName name 'je_malloc'; Procedure je_free(P: Pointer); cdecl; external LibName name 'je_free'; Function je_realloc(P: Pointer; Size: ptruint): Pointer; cdecl; external LibNa...
unit clAbastecimentos; interface uses System.Classes, clConexao; type TAbastecimentos = Class(TObject) private function getCupom: String; function getData: TDateTime; function getEntregador: Integer; function getManutencao: TDateTime; function getNumero: Integer; function getPlaca: String...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit uSolicitacaoTempoVO; interface uses uKeyField, uTableName, System.SysUtils, System.Generics.Collections, uUsuarioVO, uSolicitacaoVO, uStatusVO, uClienteVO; type [TableName('Solicitacao_Tempo')] TSolicitacaoTempoVO = class private FIdUsuario: Integer; FId: Integer; FHoraFim: TTime; FIdS...
unit MaleFemaleBoolean; interface uses System.SysUtils, System.Classes, Vcl.Controls, Vcl.StdCtrls; type TOnCheckMasculino = procedure(value : Boolean; Sender : TObject) of object; TMaleFemaleBoolean = class(TGroupBox) private FCheckMasculino : TRadioButton; FCheckFeminino : TRadioButt...
{ CSI 1101-X, Winter 1999 } { Assignment 4, Question 2 } { Identification: Mark Sattolo, student# 428500 } { tutorial group DGD-4, t.a. = Manon Sanscartier } program a4q2 (input,output) ; type element_type = real ; pointer = ^node ; node = record value: element_type ; next: pointer ...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clWebUpdate; interface {$I clVer.inc} {$IFDEF DELPHI7} {$WARN UNSAFE_CODE OFF} {$WARN UNSAFE_TYPE OFF} {$ENDIF} uses {$IFNDEF DELPHIXE2} Classes, Windows, msxml, SysUtils, Math, Forms, {$EL...
unit mos6566; //{$DEFINE CIA_OLD} interface uses {$IFDEF WINDOWS}windows,{$ENDIF}dialogs,sysutils,pal_engine,cpu_misc, main_engine,gfx_engine; type mos6566_chip=class constructor create(clock:dword); destructor free; public linea:word; vbase:byte; procedure reset; func...
unit uPlanoContasC; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uModelo, ZAbstractDataset, ZDataset, DB, ZAbstractRODataset, ZConnection, ActnList, Grids, DBGrids, RPDBGrid, ComCtrls, DBCtrls, Buttons, ExtCtrls, StdCtrls, JvExControls, JvNavigationPane, J...
unit TestStepParam; interface uses TestBaseClasses, TestFramework, StepParam, StepParamIntf; type TestTStepParam = class(TParseContext) strict private FStepParam: IStepParam; public procedure SetUp; override; procedure TearDown; override; published procedure ShouldHaveAName; procedure S...
unit SWIFT_UMsgFormat; interface uses SysUtils, Generics.Collections, Generics.Defaults, XMLIntf, XMLDoc, synautil, Classes, Controls, StdCtrls; type ESwiftException = class(Exception); ESwiftValidatorException = class(ESwiftException); TSwiftMessage = class; // базовый класс по проверке объекта (поля ...
unit CRC32; interface function CRC_Byte(const Octet : byte; const LastCrc : integer) : integer; function CRC_File(const FileName : string) : integer; function CRC_FileInRange(const FileName : string; const LowLimit, HighLimit : integer) : integer; const NOT_FIND = integer($FFFFFFFF); function Search(c...
{*******************************************************} { } { EldoS Markup Language Generator (MlGen) } { } { Lite Version 1.1 } { ...
unit MainUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, StdCtrls, XPMan; type TMainForm = class(TForm) AllEmploeersStringGrid: TStringGrid; AddEmploeeStringGrid: TStringGrid; FindedEmpoeers: TStringGrid; ButtonAddEmploee: TButton;...
unit udmPlanoContas; interface uses Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS; type TdmPlanoContas = class(TdmPadrao) qryManutencaoCODIGO: TStringField; qryManutencaoDESCRICAO: TStringField; qryManutencaoDC...
program TesteSortiereListe(input, output); type tNatZahl = 0..maxint; tRefListe = ^tListe; tListe = record info : tNatZahl; next : tRefListe; end; var RefListe : tRefListe; procedure RemoveFromFront (var ioListe, iofirstElement : tRefListe); { Entfernt das erste E...
unit cEnemyStatistics; interface uses contnrs; type TEnemyStatistic = class private _PWeaponDamage : Byte; _CWeaponDamage : Byte; _IWeaponDamage : Byte; _BWeaponDamage : Byte; _FWeaponDamage : Byte; _EWeaponDamage : Byte; _GWeaponDamage : Byte; _PlayerDamage ...
unit SelectionSort; interface uses StrategyInterface, ArraySubroutines; type TSelectionsort = class(TInterfacedObject, ISorter) procedure Sort(var A: Array of Integer); destructor Destroy; override; end; implementation procedure TSelectionsort.Sort(var A : array of Integer); var ...
unit MVC_Blog.Controller.Conexao; interface uses MVC_Blog.Model.Conexao; type iController = interface ['{98311B51-7289-4FDB-8221-2AF54B789AF3}'] function Entidades : iModelEntidadeFactory; end; Type TController = class(TInterfacedObject, iController) private FModelEntidades : iModelEntida...
unit UpgradeTo104; // Изменение значений полей ShortName и FullName таблицы FILE по след. алгоритму: // если поле содержит подстроку "(снято с контроля)", то тогда // эта самая подстрока должна быть отрезана. { $Id: UpgradeTo104.pas,v 1.9 2015/02/10 08:04:16 fireton Exp $ } // $Log: UpgradeTo104.pas,v $ // Revisio...
unit UStorage; interface uses Classes, UOrphan, UPCOperationsComp, UOperationsHashTree; type { TStorage } TStorage = Class private FOrphan: TOrphan; FReadOnly: Boolean; protected FIsMovingBlockchain : Boolean; procedure SetOrphan(const Value: TOrphan); virtual; procedure SetReadOnly(co...
unit udmPagTitulo; interface uses Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS; type TdmPagTitulo = class(TdmPadrao) qryManutencaoIDPGTITULO: TFloatField; qryManutencaoIDNFPAG: TFloatField; qryManutencaoEMISSA...
program exRecords; type Books = record title: packed array [1..50] of char; author: packed array [1..50] of char; subject: packed array [1..100] of char; book_id: longint; end; var Book1, Book2: Books; (* Declare Book1 and Book2 of type Books *) rptr1 : ^Books; begin rptr1:=@rptr1; ...
unit m2U64Lib; {* Функции для работы с беззнаковыми 64-битными числами. } (* // // // .Author: Mickael P. Golovin. // .Copyright: 1997-2001 by Archivarius Team, free for non commercial use. // // *) // $Id: m2u64lib.pas,v 1.1 2008/02/22 17:10:08 lulin Exp $ // $Log: m2u64lib.pas,v $ // Revision 1.1 2008/02/22 17:...
{ Double Commander ------------------------------------------------------------------------- Graphic functions Copyright (C) 2013-2017 Alexander Koblov (alexx2000@mail.ru) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Lice...
unit LandGenerator; interface uses Land, Classes, Collection, Windows, Graphics; const LandMax = 10000; type PLandMatrix = ^TLandMatrix; TLandMatrix = array[0..LandMax*LandMax] of TLandVisualClassId; TLandCheckOption = (chkCenter, chkBorder, chkDontCare); TLandDetectMatrix = array[0....
unit untCPedidoProduto; interface uses System.SysUtils, Data.Win.ADODB, untDataModuleWK, untCProduto, Dialogs; type TpedidoProduto = class private FGetidpedidoproduto: Integer; FGetidpedido: Integer; FGetidproduto: Integer; FGetquantidade: Double; FGetvalorunit: Double; ...
unit G2Mobile.Model.CamaraFria; 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, G2M...
unit UModem; interface uses Classes,CommInt,SysUtils; type TModemState = (msNotOpen,msNotReady, msOffline,msConnection,msOnline,msDisconnection); TCustomModem = class (TCustomComm) protected function GetResponseInLine: String; procedure SetState(NewState:TModemState); protected FState:TMod...