text
stringlengths
14
6.51M
unit StyleEditorExampleKeywordsPack; {* Набор слов словаря для доступа к экземплярам контролов формы StyleEditorExample } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Settings\StyleEditorExampleKeywordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "StyleEditorExampleKeywordsPack" MU...
// // IsoCity - Isometric City Builder // Written by Mitchell Williamson // April-June 2016 // //============================================================================= // GameMain.pas //============================================================================= // // The core game file, calls all other units a...
program basicAlgorithms(input, output); const MIN = 1; MAX = 10; type sequence = array [MIN .. MAX] of integer; bits = 0 .. 1; bitString = array [MIN .. MAX] of bits; var s : sequence; b : bitString; exercise : integer; procedure populateSequence(); begin s[1] := 9; s[2] := 45; s[3] := 56...
unit Dependencies; interface uses System.SysUtils, Quick.Commons, Quick.IOC; type IMathService = interface ['{E8BEE282-3828-4F27-869D-C808296F8CA2}'] procedure IncNumsOperations; function NumOperations : Integer; end; ISumService = interface(IMathService) ['{7580F5F6-0132-49F3-A22A-A2E93E53E...
unit ConvForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Types, StdCtrls, ConvUtils, StdConvs, StrUtils; type TForm1 = class(TForm) ComboFamilies: TComboBox; ListTypes: TListBox; EditType: TEdit; EditAmount: TEdit; EditConverted: TEdi...
unit Model.DestinosTransportes; interface uses Common.ENum, FireDAC.Comp.Client; type TDestinosTransporte = class private var FDestino: Integer; FDescricao: String; FLog: String; FAcao: TAcao; public property Destino: Integer read FDestino write FDestino; propert...
unit tipocombustivel; interface type T_TipoCombustivel = class(TObject) private F_Id: Integer; F_Nome: String; F_ValorPorLitro: Double; F_PercentualDeImposto: Double; // F_Id procedure setId(pId: Integer); fun...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clBodyEdit; interface {$I ..\common\clVer.inc} uses {$IFNDEF DELPHIXE2} Messages, Forms, Menus, Classes, Controls, StdCtrls, ExtCtrls, ComCtrls, SysUtils, TypInfo, Graphics, Dialogs, Windows,...
unit psapi; {$WEAKPACKAGEUNIT ON} interface uses Windows; type PHInst = ^HInst; TModuleInfo = record lpBaseOfDll : pointer; SizeOfImage : Integer; EntryPoint : pointer end; TPSAPIWsWatchInformation = record FaultingPc : pointer; FaultingVa : pointer end; TProcessMemoryCounters = record cb : Integer; ...
unit Controller.ListagemAssinantesJornal; interface uses System.SysUtils, FireDAC.Comp.Client, Common.ENum, Controller.Sistema, Model.ListagemAssinantesJornal, Controller.PlanilhaListagemJornal, Generics.Collections, Model.PlanilhaListagemJornal, System.Classes; type TListagemAssinantesJornalControl = class pr...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clCookieManager; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SyncObjs, {$ELSE} System.Classes, System.SyncObjs, {$ENDIF} clHeaderFieldList, clWUtils; type TclCookieFormat ...
// // Created by the DataSnap proxy generator. // 2015-02-03 ¿ÀÈÄ 9:32:39 // unit ClientClassesUnit1; interface uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Dat...
program mebdd_worker; {$MODE OBJFPC} {$R manifest.rc} {$R mebdd_worker.rc} uses Sysutils, Classes, RegExpr, mebdd_worker_reg, mebdd_worker_proc, mebdd_worker_groups; const RETRIES = 3; var path_mebdd: AnsiString=''; path_diskpart: AnsiString=''; path_cmd: AnsiString=''; path_image: AnsiString=''; path_drives...
program stringHandling(input, output); type str = array[0..20] of char; {digits = ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9');} var test : str; function lengthString(var reference : str) : integer; var i : 0 .. 20; begin i := 0; while reference[i] <> '#' do i := i + 1; lengthString...
unit uGSSettingsMenu; interface uses glr_gamescreens, glr_utils, glr_core, glr_scene, glr_gui, glr_tween; type { TglrSettingsMenu } TglrSettingsMenu = class (TglrGameScreen) protected ActionManager: TglrActionManager; GuiManager: TglrGuiManager; Container: TglrNo...
unit GX_EditorEnhancements; {$I GX_CondDefine.inc} interface uses GX_EditorFormServices, GX_ConfigurationInfo, Classes, Controls, GX_HideNavbar; type TConfigurationSheet = (cfgEditor, cfgToolBar, cfgEditorExperts); { TEditorEnhancements needs to descend from TComponent as we install a Not...
// >< [&roel] I've add a new function Dec. 13th. unit PidlUtils; interface uses Windows, ShlObj, ActiveX, SysUtils; // // FUNCTIONS THAT DEAL WITH PIDLs // //Gets the next PIDL in the list function Next( Pidl : PItemIDList ) : PItemIDList; // Gets the size of the PIDL function GetSize( Pidl :...
program carre_magique; uses crt; {ALGO carre magique BUT faire un carre magique de taille impaire SORTIE carre magique CONST MAX=7 procedure affichage(carre:tableau) BUT afficher le tableau VAR i,j:ENTIER DEBUT POUR i DE 1 A MAX FAIRE POUR j DE 1 A MAX FAIRE SI carre[i,j]<10 ALORS ECRIRE"0"&carre[i,j]...
unit K363564248; {* [Requestlink:363564248] } // Модуль: "w:\archi\source\projects\Archi\Tests\K363564248.pas" // Стереотип: "TestCase" // Элемент модели: "K363564248" MUID: (4FAE352C0181) // Имя типа: "TK363564248" {$Include w:\archi\source\projects\Archi\arDefine.inc} interface {$If Defined(nsTest) AND Defined(I...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls; type { TForm1 } TForm1 = class(TForm) Edit1: TEdit; procedure FormCreate(Sender: TObject); procedure FormShow(Sender: TObject); private public end; var Form1: TFor...
unit calc_utils; interface uses Windows, SysUtils, graphics, Ap, mlpbase, mlptrain; procedure NewEmptyMatrix(aWidth, aHeight: Integer; out lXY: TReal2DArray); procedure ConstructMatrixFromLine(lX: TReal1DArray; aSubLineWidth, aStep, aCount: Integer; out lXY: TReal2DArray); procedure CalcNeuroMatrix(aClassifi...
{*********************************************************************************************************************** * * TERRA Game Engine * ========================================== * * Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com) * ***************************************************...
unit InfoUTLFTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoUTLFRecord = record PTranID: String[5]; PModCount: Integer; PLender: String[4]; PName: String[30]; PKeyDate: String[10]; PRecordType: String[1]; PEntryText: String[4]...
unit UIWrapper_DBTreeViewUnit; interface uses FMX.TreeView, DBManager, SearchResult, SearchOption, DataFileSaver; type TBooleanEvent = procedure(Sender: TObject; val: Boolean) of object; TUIWrapper_DBTreeView = class(TObject) private FDBManager: TAbsDBManager; FTreeView: TTreeView; FOnA...
unit UtilsHttp; interface uses Windows, ActiveX, UrlMon, win.iobuffer; type PClientConnectSession = ^TClientConnectSession; TClientConnectSession = record Connection : Pointer; SendTimeOut : Cardinal; ConnectTimeOut : Cardinal; ReceiveTimeOut : Cardinal; end; PHttpHe...
unit uEscalaVO; interface uses System.SysUtils, uTableName, uKeyField; type [TableName('Escala')] TEscalaVO = class private FIdUsuario: Integer; FTotalHoras: Currency; FId: Integer; FHoraFim: string; FData: string; FHoraInicio: string; procedure SetData(const Value: string); p...
unit PassNewForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, m_GlobalDefs, m_api, PasswordEditControl; type TfmPassNew = class(TForm) Label1: TLabel; Label2: TLabel; edPass: TPasswordEdit; edConf: TPasswordEdit; ...
unit mungo.components.bgrabitmap.BGRACanvas; {$mode objfpc}{$H+} interface uses Classes, SysUtils, BGRACanvas, BGRABitmapTypes, BGRAGraphics, mungo.components.renderer, mungo.components.geometry, p3d.math; type { TRendererFillColorBGRA } TRendererFillColorBGRA = class ( TRendererFillColor ) pro...
{******************************************************************************} { } { Delphi FB4D Library } { Copyright (c) 2018-2022 Christoph Schneider ...
unit PessoaLive.Model.Endereco; interface uses PessoaLive.Interfaces; type TEndereco<T : IInterface> = class(TInterfacedObject, iEndereco<T>) private [Weak] FParent : T; FRua : String; public constructor Create(Parent : T); destructor Destroy; override; class function ...
unit Model.Item; interface uses Model.Interfaces; type TModelItem = class(TInterfacedObject, iModelItem) private [weak] FParent : iModelVenda; FCodigo : Integer; public constructor Create(Parent : iModelVenda); destructor Destroy; override; class function New(Parent : ...
{******************************************************************************* 作者: dmzn@163.com 2011-11-21 描述: 数据模块 *******************************************************************************} unit UDataModule; interface uses Windows, SysUtils, Classes, DBClient, DB, SyncObjs, FZSale_Intf, uRO...
unit ResFichas; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ToolWin, ComCtrls, StdActns, ActnList, ImgList, Menus, ExtCtrls, Grids, Db, DBTables; type TFResFichas = class(TForm) Panel1: TPanel; StatusBar1: TStatusBar; MainMenu1: TMainMenu; Ventana1...
unit ModPatternMatchingUnsharp; interface procedure BruteForcePos(s, p : string; var lsTemp, rsTemp, lpTemp, rpTemp : integer ); procedure WriteAndResetStats; implementation var numComp : longint; function Eq(a,b : char) : boolean; begin inc(numComp); Eq := (a = ...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit AdvMenus; { $Id: AdvMenus.pas,v 1.7 2004/05/11 07:40:03 voba Exp $ } // $Log: AdvMenus.pas,v $ // Revision 1.7 2004/05/11 07:40:03 voba // no message // // Revision 1.6 2001/04/05 08:52:17 law // - cleanup: использование модулей WinTypes и WinProcs заменен на Windows. // // Revision 1.5 2001/02/20 13:22:13 ...
unit fmFloatingWindow; interface uses System.Classes, Vcl.Forms, Winapi.Windows, System.SysUtils, Winapi.Messages, Vcl.Graphics, Vcl.StdCtrls, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, System.DateUtils, Variants, Vcl.ComCtrls, Vcl.Imaging.jpeg, System.ImageList, Vcl.ImgList, ActiveDs_TLB, Winapi.CommCtrl, Wina...
unit uSkillBox; interface uses Graphics, // Own units UCommon; type TSkillBox = class(THODObject) private public Image: array of TBitmap; //** Конструктор. constructor Create; //** Деструктор. destructor Destroy; override; end; var SkillBox: TSkillBox; imple...
{ Invokable implementation File for TTest which implements ITest } unit SoapImpl; interface uses InvokeRegistry, Types, XSBuiltIns, SoapIntf, Winapi.Windows, Controls, SynCommons,QLog; type { TTest } TWSYXDSVR = class(TInvokableClass, IWSYXDSVR) public function HelloWorld: string; end; implementat...
unit nscLister; (*----------------------------------------------------------------------------- Название: nscLister Автор: М. Морозов Назначение: Версия: $Id: nscLister.pas,v 1.15 2014/07/02 14:45:30 lulin Exp $ История: $Log: nscLister.pas,v $ Revision 1.15 2014/07/02 14:45:30 lulin - собира...
unit Dt_containers; { $Id: Dt_containers.pas,v 1.7 2014/05/23 16:25:24 lulin Exp $ } // $Log: Dt_containers.pas,v $ // Revision 1.7 2014/05/23 16:25:24 lulin // {RequestLink:537249703} // // Revision 1.6 2014/05/23 15:58:14 lulin // {RequestLink:537249703} // // Revision 1.5 2004/09/21 12:04:21 lulin // - Relea...
unit udf_math; interface uses Windows; function FormatFloat(var Value : Double; var K : Integer): Double; cdecl; export; function ValueInStr(S: PChar; var Value: Integer): Integer; cdecl; export; function Trim(S: PChar): PChar; cdecl; export; implementation uses SysUtils; var hThreadLocalVariable...
{ drawer.pas Drawer class for components, wires and other elements Copyright (C) 2007 Felipe Monteiro de Carvalho This file is part of Turbo Circuit. Turbo Circuit is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software...
unit clDetalheTransporte; interface uses clConexao; type TDetalheTransporte = Class(TObject) private constructor Create; destructor Destroy; procedure MaxSeq; function gerRelatorio: Integer; function getChegada: TTime; function getDetalhe: String; function getObservacoes: String; ...
unit ColorSpaces; // Copyright (c) 1996 Jorge Romero Gomez, Merchise. interface uses Windows, NumUtils; const maxRgb = 255; maxHls = 240; type THlsQuad = packed record hlsHue : byte; hlsLight : byte; hlsSat : byte; hlsReserved : byte; e...
{******************************************************************************} { } { Hook and Translate } { ...
unit TasksUnit; interface uses Classes, Contnrs, SysUtils, DbUnit; type TTaskItem = class(TDbItem) public Desc: string; Text: string; Priority: integer; Status: integer; PersonID: integer; DepartID: integer; Author: string; BeginDate: TDateTime; EndDate: TDateTi...
// ********************************************************************** // // Copyright (c) 2001 MT Tools. // // All Rights Reserved // // MT_DORB is based in part on the product DORB, // written by Shadrin Victor // // See Readme.txt for contact information // // *****************************************************...
unit TestGeocodingSamplesUnit; interface uses TestFramework, Classes, SysUtils, BaseTestOnlineExamplesUnit; type TTestGeocodingSamples = class(TTestOnlineExamples) private published procedure BatchForwardGeocodeAddress; procedure BulkForwardGeocodeAddresses; procedure ReverseGeocodeAddress; ...
unit uSregConfig; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls,iniFiles; type TfmsRegTConfig = class(TForm) Bevel1: TBevel; sb_Save: TSpeedButton; sbCancel: TSpeedButton; chk_DeviceSearch: TCheckBox; chk_RealR...
unit NtUtils.Ldr; interface uses NtUtils.Exceptions; { Delayed import } // Check if a function presents in ntdll function LdrxCheckNtDelayedImport(Name: AnsiString): TNtxStatus; // Check if a function presents in a dll function LdrxCheckModuleDelayedImport(ModuleName: String; ProcedureName: AnsiString): TNtxSt...
unit UDialog; interface uses System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.Objects; type IProcessDialogResult = Interface procedure ProcessDialogResult; End; TDialogFrame = class(TFrame...
{ @abstract(This unit contains print preview form.) @author(Tomas Krysl (tk@tkweb.eu)) @created(18 Sep 2009) @lastmod(20 Jun 2010) Copyright © 2009 Tomas Krysl (tk@@tkweb.eu)<BR><BR> <B>License:</B><BR> This code is distributed as a freeware. You are free to use it as part of your application for any pu...
unit EmailTests; interface uses DUnitX.TestFramework; type [TestFixture] TEmailTests = class(TObject) public [Test] [TestCase('T1', 'C:\Users\jreddekopp\Documents\AviMarkTests\Brentwood Animal Hospital Purchase Order.msg,True')] [TestCase('T1', '../../data/T1 - Not AVI Email.txt,False')] proc...
{$I OVC.INC} {$B-} {Complete Boolean Evaluation} {$I+} {Input/Output-Checking} {$P+} {Open Parameters} {$T-} {Typed @ Operator} {$W-} {Windows Stack Frame} {$X+} {Extended Syntax} {$IFNDEF Win32} {$G+} {286 Instructions} {$N+} {Numeric Coprocessor} {$C MOVEABLE,DEMANDLOAD,DISCARDABLE} {$ENDIF} {********************...
{ *************************************************************************** Copyright (c) 2016-2021 Kike P�rez Unit : Quick.SMTP Description : Send Emails Author : Kike P�rez Version : 1.5 Created : 12/10/2017 Modified : 08/09/2021 This file is part of QuickLib: https://gith...
unit MFichas.Model.GrupoProduto.Metodos.Editar; interface uses System.SysUtils, System.Generics.Collections, MFichas.Model.GrupoProduto.Interfaces, MFichas.Model.Entidade.GRUPOPRODUTO; type TModelGrupoProdutoMetodosEditar = class(TInterfacedObject, iModelGrupoProdutoMetodosEditar) private [weak] ...
unit BasicsPack; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\BasicsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "BasicsPack" MUID: (4F43A128007E) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface {$If NOT Defined(NoScripts)} uses l3IntfUses , tfwTypeInf...
unit uform4; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, uchecksum; type { TIMEICalc } TIMEICalc = class(TForm) btCreateChecksum: TButton; btCheck: TButton; edIMEI: TEdit; edIMEIC: TEdit; lbFalse: TLabel; lbIMEI: TLabe...
unit ctpQuoteForm; interface uses Windows, Messages, SysUtils, Classes, Controls, Forms, StdCtrls, ExtCtrls, BaseForm; type TfrmCtpQuote = class(TfrmBase) pnlInit: TPanel; btnInitMD: TButton; btnConnectMD: TButton; edtAddrMD: TComboBox; btnShutDown: TButton; pnlLogin: TPanel; lblAcc...
unit Model.Interfaces; interface uses System.SysUtils, System.Classes, Model.DAO.Interfaces; type iModelEntityGenerate = interface; iModelGeneratorParams = interface; iModelModelGenerate = interface; iModelRoutersGenerate = interface; iModelGenerator = interface ['{D94A9F44-0E64-411A-940B-E1...
//Exercicio 74: Escreva um algoritmo que receba e armazene 50 números inteiros num vetor A. Calcular o quadrado dos //respectivos números do vetor A e armazenar os resultados, respectivamente, no vetor B. Exibir os vetores A e B. { Solução em Portugol Algoritmo Exercicio 74; Tipo vet = vetor[1..50] de inteir...
program fptutorial13d; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes { you can add units after this }; type creature = record Name: string; Armor, Health, Magic, Power: integer; end; var hero, JellBall: creature; procedure LoadSettings; ...
{ Clever Internet Suite Copyright (C) 2014 Clever Components All Rights Reserved www.CleverComponents.com } unit clJson; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, Contnrs; {$ELSE} System.Classes, System.SysUtils, System.Contnrs; {$ENDIF} type EclJSONError = class(Exception)...
unit nsSettingsConst; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "View" // Модуль: "w:/common/components/gui/Garant/VCM/View/ParentAndChild/nsSettingsConst.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model,...
{ $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...
unit nsWindowsListPrim; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "UserInteraction" // Автор: Морозов М.А. // Модуль: "w:/common/components/gui/Garant/VCM/UserInteraction/nsWindowsListPrim.pas" // Начат: 2005/06/07 11:31:00...
unit RealState.House.Controller; interface uses MVCFramework, MVCFramework.Commons, JsonDataObjects; type [MVCPath('/api/houses')] THouseController = class(TMVCController) public [MVCPath('/')] [MVCHTTPMethod([httpGET])] procedure GetHouses; [MVCPath('/($id)')] [M...
{ Fichier d'implémentation invocable pour Tdemos implémentant Idemos } unit udemosImpl; interface uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns, udemosIntf; type { Tdemos } Tdemos = class(TInvokableClass, Idemos) public function echoEnum(const Value: TEnumTest): TEnumTest; stdcall;...
unit ZMUTF819; (* ZMUTF19.pas - Some UTF8/16 utility functions Copyright (C) 2009, 2010 by Russell J. Peters, Roger Aelbrecht, Eric W. Engler and Chris Vleghert. This file is part of TZipMaster Version 1.9. TZipMaster is free software: you can redistribute it and/or modify it under th...
unit atUserListHelper; // Модуль: "w:\quality\test\garant6x\AdapterTest\AdapterHelpers\atUserListHelper.pas" // Стереотип: "SimpleClass" // Элемент модели: "TatUserListHelper" MUID: (4B6C27F50058) interface uses l3IntfUses , DynamicTreeUnit , BaseTypesUnit , SecurityUnit ; type TatArrayOfUID = array of TUid; ...
unit uJSONPessoa; interface uses Data.DBXJSONReflect, System.Generics.Collections, Data.DBXJSONCommon, Data.DBXJSON, uPessoa; type TJSONPessoa = class public function JsonToObject(value: string): TPessoa; function JsonToObjectList(value: string): TPessoaList; function ObjectToJson(value: TPessoa): st...
unit Unit2; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls; type TForm1 = class(TForm) PaintBox1: TPaintBox; ColorDialog1: TColorDialog; Panel1: TPanel; Button1: TButton; procedure PaintBox1Paint(Sender: TObject); ...
unit DAO.ControleTransporte; interface uses DAO.base, Model.ControleTransporte, Generics.Collections, System.Classes; type TControleTransporteDAO = class(TDAO) public function Insert(aControle: Model.ControleTransporte.TControleTransporte) : Boolean; function Update(aControle: Model.ControleTra...
program LineareListe (input, output); type tRefListe = ^tListe; tNatZahl = 0..maxint; tListe = record info : integer; next : tRefListe end; var RefAnfang : tRefListe; SuchZahl : integer; ElementGefunden : tRefListe; procedure Anhaengen(var ioListe : tRefListe; inZahl : tNatZ...
unit Unit1; { Program: VhdCopy Function: Copy vhd and set GUUID Language: Pascal - Lazarus Author: jasc2v8 Created: 2/17/2018 Updated: . Version History 1.0.0 Initial release fixed memory leak with AProcess.Free } {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphic...
// DateFolder // Purpose: Organize photos and videos by recording date // Author: etworker // Version: // - 0.1 Publish on github // - 0.1.1 Update About // - 0.1.2 Update config unit frmDateFolder; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dial...
unit DAO; interface uses RTTIUtils; type iDAO = interface ['{11B1B4F8-B162-4926-97D7-91DBF36E26AE}'] procedure Salvar; end; TDAO<T : class> = class(TInterfacedObject, iDAO) private FParent : T; public constructor Create(Parent : T); destructor Destroy; overri...
unit uAgendamentoController; interface uses System.SysUtils, uDMAgendamento, uRegras, uEnumerador, uDM, Data.DB, Vcl.Forms, uFuncoesSIDomper, Data.DBXJSON , Data.DBXJSONReflect, uFiltroAgendamento, uObsevacaoController, uTipoController, uTipoVO, Vcl.Dialogs, System.Generics.Collections, uAgendamentoVO, uConve...
unit Model.CadastroRH; interface uses Common.ENum, FireDAC.Comp.Client, System.SysUtils, DAO.Conexao; type TCadastroRH = class private FAcao: TAcao; FDemissao: TDate; FAdmissao: TDate; FFuncao: Integer; FSerieCTPS: String; FNumeroCTPS: String; FUFTituloEleitor: String; FIDFolha: I...
{ *************************************************************************** Copyright (c) 2016-2019 Kike Pérez Unit : Quick.Files Description : Files functions Author : Kike Pérez Version : 1.5 Created : 09/03/2018 Modified : 16/11/2020 This file is part of QuickLib: https://...
//----------------------- procedure MsgCopyMoveError(const OldName, NewName: WideString; h: THandle); begin MsgError( SFormatW(MsgViewerCopyMoveError, [SExtractFileName(OldName), NewName]) + #13#13 + MsgString(313), h); end; procedure MsgDeleteError(const OldName: WideString; h: THandle); begin MsgError( ...
unit INFODIARYTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TINFODIARYRecord = record PClNum: String[6]; PEvDate: String[10]; PEvTime: String[6]; PEventID: String[6]; PModCount: Integer; PUserId: String[6]; PInitRv: String[10]; ...
unit K588577774; {* [Requestlink:588577774] } // Модуль: "w:\common\components\rtl\Garant\Daily\K588577774.pas" // Стереотип: "TestCase" // Элемент модели: "K588577774" MUID: (55E594D800FE) // Имя типа: "TK588577774" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas} interface {$If Defined(nsTest)...
{******************************************************************************} { } { Delphi FB4D Library } { Copyright (c) 2018-2023 Christoph Schneider ...
{*******************************************************} { Проект: Repository } { Модуль: uReportService.pas } { Описание: Базовая реализация службы отчетов } { Copyright (C) 2015 Боборыкин В.В. (bpost@yandex.ru) } { ...
unit cCadDepartPessoa; interface uses System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, FireDAC.Comp.Client, System.SysUtils; // LISTA DE UNITS type TDepartPessoa = class private // VARIAVEIS PRIVADA SOMENTE DENTRO DA CLASSE ConexaoDB: TFDConnection; F_cod_dept_pessoa: Integer; F_cod_dep...
unit TagPrs; interface uses Classes, Windows, SysUtils; { %u = logged user name %d = date %t = time %r = random } const T_USER_NAME = '%u'; T_DATE = '%d'; T_TIME = '%t'; T_RANDOM = '%r'; function TagParse(S: String): String; function GetCurrentUserName : string; implementatio...
unit l3NodesKeyWordsPack; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\l3NodesKeyWordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "l3NodesKeyWordsPack" MUID: (54EF449A0213) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface {$If NOT Defined(NoScripts)} use...
unit DownLoadThreadIndy; interface uses Windows, Classes, SysUtils, SyncObjs, idComponent, idhttp, idSocks, IdIOHandlerSocket, _DGL_Point, Dialogs; //{$define _USE_INDY_10_} type TSpeedClc = class(TObject) private FCountTimeSpace: integer; FTotalSize: integer; FAllSize: integer; FDataDeque: TP...
{ 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 WITHOUT ANY...
unit GMURDOMger; interface uses RDOInterfaces, WinSockRDOConnection, RDOServer, RDOObjectProxy, GameMaster, GMKernel; const GMUT_TIME_OUT = 3*60*1000; type TGMUtRDOMger = class public destructor Destroy; override; public function SetupRDO(ServerAddr : wide...
unit uPerson; interface type TAnimal = class public procedure Talk; {虚拟方法} function Run(): Integer; virtual; {动态方法} procedure Eat(); dynamic; {类方法} class procedure Drink; {抽象方法,规范,一般指规定} procedure Sleep;virtual;abstract; end; type TDog = class(TAnimal) public functi...
unit DsRest.com.utl.UEnumerator; interface uses System.TypInfo, System.SysUtils, System.StrUtils, Vcl.StdCtrls; type {$SCOPEDENUMS ON} TTipoAnexo = (Selecione, Cliente, Produto); {$SCOPEDENUMS OFF} TTipoAnexoClass = class end; TTipoAnexoHelper = class helper for TTipoAnexoClass class function A...
unit BusVal; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, AdoDb, Db; type TBusValDlg = class(TForm) GroupBox1: TGroupBox; cbCampos: TComboBox; GroupBox2: TGroupBox; edBuscar: TEdit; GroupBox3: TGroupBox; cbCaseSensitive: TCh...
unit TestPeopleModuleU; interface uses DUnitX.TestFramework, System.Generics.Collections, FireDAC.Stan.Error, Data.DB, PeopleModuleU, FireDAC.Stan.Intf, FireDAC.DApt, FireDAC.Stan.Pool, FireDAC.Comp.Client, FireDAC.Stan.Async, FireDAC.DatS, FireDAC.UI.Intf, FireDAC.Stan.Param, FireDAC.Phys.IB, FireDAC.Phys, P...
// Copyright 1999-2000 powered by Alexander Kramarenko // Copyright 1992-1994 by Mark May // Converted to Turbo Pascal (tm) V4.0 March, 1988 by J.R.Louvau // Copyright (C) 1986 Gary S. Brown. unit crc32; interface function GetStringCRC(Str: string): Cardinal; implementation const CRC32Polynomial = $EDB88320; var cr...
unit unEstadoModel; interface uses unCidadeModel; type TEstadoModel = class private FIdEstado: Integer; FSigla: String; FNome: String; FCidades: TListaCidade; procedure SetIdEstado(const Value: Integer); procedure SetNome(const Value: String); procedure SetSigla(const Value: String); p...
{ Mark Sattolo 428500 } { CSI-1100A DGD-1 TA: Chris Lankester } { Assignment 6, Question 1 } program INSERT (input, output); { Take a non-decreasing sorted array X with N numbers, and a number Num, and find the first position in X where Num can be inserted in the proper order. } { Data Dictionary ...
unit WinEnum; // Copyright (c) 1996 Jorge Romero Gomez, Merchise. interface uses Windows, SysUtils, WinUtils; type TEnumWindowsProc = function( Window : HWND; lParam : dword ) : Bool; // Find a window with 'Owner' as owner function FindWindowByCaption( const Caption : string; ...