text
stringlengths
14
6.51M
{==============} UNIT F_Mouse; {===============} {+---------------------------------------------+ | В этом модуле собраны процедуры и функции, | | обеспечивающие работу устройства ввода | | типа мышь | +---------------------------------------------+} I...
unit FHIRLog; { 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 code must ...
(*====< BZChart.pas >==========================================================@br @created(2017-09-10) @author(J.Delauney (BeanzMaster)) Historique : @br @unorderedList( @item(10/09/2017 : Creation ) ) --------------------------------------------------------------------------------@br @bold(Descripti...
unit lkp_BarcodePrinting; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DB, DBClient, SimpleDS, Mask, DBCtrls, Grids, DBGrids,LookUp, VrControls, VrButtons, Buttons, ComCtrls, ppCtrls, ppPrnabl, ppClass, ppBarCod, ppCache, ppBands, ppDB, p...
unit UParam; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs; const CLEAR_ON_IDLE_STR:array[0..11] of string = ('none','1 sec','2 sec','5 sec','10 sec','15 sec','20 sec','30 sec','1 min','2 min','5 min','10 min'); CLEAR_ON_IDLE_DBL:array[0..11] of integer = (0 ,1 ...
unit AboutDialog; { Copyright (c) 2017+, 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 code must reta...
unit LoginInfo; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TLoginInfoForm = class(TForm) lblLoginTitle: TLabel; lblLoginInfo: TLabel; lblMainTitle: TLabel; EdtLoginTitle: TEdit; EdtMainTitle: TEdit...
{****************************************************************************** TCBImage : use method loadImage(filename : String) or property imagename := filename This software is Freeware and with no guarantee of work. By Carsten B÷ttcher, March 2002 Thanks to Janick Fortin. ...
{ ******************************************************************************* Title: T2TiPDV Description: Identifica um cliente não cadastrado para a venda. Permite chamar a janela de pesquisa para importar um cliente cadastrado. The MIT License Copyright: Copyright (C) 2014 T2Ti.COM Permission is hereby granted...
unit Classe.ObjetoItemListView; interface uses System.SysUtils, System.Classes; type TObjetoItemListView = class private FID: TGUID; FCodigo: Integer; FDescricao: String; FCategoria: String; FValor: String; FDataMovimento: String; FImage : String; procedure SetC...
unit LLCErrorConverter; interface uses Classes, Types, Windows, SysUtils, GenesisCompiler, SiAuto, SmartInspect; procedure LLCToGenesisError(ACompiler: TGenesisCompiler; AInput, AOutPut: TStrings); procedure MergerErrorFiles(AList: TStrings; AErrPath, ALogPath: string); implementation uses Str...
unit FMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Diagnostics, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox, FMX.Memo, FMX.StdCtrls, FMX.Controls.Presentation, CalcTests; type TFormMain =...
uses math; type { node=record i:integer; next:^node; end; pnode=^node; } node=record i:integer; left:^node; right:^node; end; pnode=^node; lsnode=record i:integer; next:^lsnode; end; linked_list=^lsnode; procedure displayList(p:linked_list); var t:^lsnode; begin t:=p; while t<>nil do begin...
unit MainFormUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, StdCtrls, ExtCtrls, MyListUnit, FigArrUnit; type TForm1 = class(TForm) Memo1: TMemo; Button1: TButton; PaintBox1: TPaintBox; Edit1: TEdit; Label1: TL...
unit iphlpapi; interface uses Windows, iprtrmib, ipexport, iptypes; ////////////////////////////////////////////////////////////////////////////// // // // IPRTRMIB.H has the definitions of the strcutures used to set and get // // ...
//************************************************************************************************** // // Unit Vcl.Styles.Utils.Graphics // unit for the VCL Styles Utils // https://github.com/RRUZ/vcl-styles-utils/ // // The contents of this file are subject to the Mozilla Public License Version 1.1 (the "Licens...
unit CRPartPlacementsEditorForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CommonFrame, CommonParentChildTreeFrame, CRPartPlacementsEditorFrame, SlottingPlacement, StdCtrls, ExtCtrls, CommonObjectSelector, BaseObjects; type TfrmPartPlacementsEditor =...
unit Unit3; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, SynEdit, SynHighlighterPython, SynHighlighterPas, SynHighlighterCpp, SynHighlighterJava, SynHighlighterJScript, SynHighlighterPerl, SynHighlighterHTML, SynHighlighterXML, SynHighlighterDiff, synhighlighterunixshellscript, SynHighligh...
unit smJSON; interface uses JSON,DB,DateUtils, SysUtils,IdCoder, IdCoderMIME, idGlobal; function datetime2JSON( const dt : TDateTime) : string; function date2JSON( const dt : TDate) : string; function time2JSON( const dt : TTime) : string; function JSON2datetime( const JSONdt : string) : TDateTime; function dataSet...
unit uDAO; interface uses uDM, FireDac.Comp.Client, System.SysUtils, FireDac.Dapt; type TConectDAO = class Protected FQuery: TFDQuery; FQuery2: TFDQuery; constructor Create; Destructor Destroy; override; function ExecutarComando(pSQL: string): integer; function RetornarDataSet(pSQL: st...
unit URL; interface uses IURL; type TEndpoint = ( epConsultaTransacoes, epTransacao, epConsultaProfissionais, epProfissional ); type TURL = class(TInterfacedObject, IUrls) private Furl :String; Fnamespace :String; Fambiente :Integer; FsalaoID :Integer; Fmetodo :TEndpoint; FmetodoID :...
{ ******************************************************************************* Title: T2TiPDV Description: Detecta um movimento aberto e solicita autenticação. The MIT License Copyright: Copyright (C) 2015 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and a...
unit ViewConfigTests; interface uses DUnitX.TestFramework, Classes, ViewConfig, SysUtils, RegularExpressions, Rest.Json, IOUtils; type [TestFixture] TestViewConfig = class(TObject) public [Setup] procedure Setup; [TearDownFixture] procedure TearDownFixture; [Test] procedure LoadVi...
unit delphiDatadog.statsDClientSender.impl; interface uses delphiDatadog.statsDClientSender.interf, System.SyncObjs, System.Classes, delphiDatadog.serviceCheck, IdUDPClient; type TDataDogStatsClientSender = class(TInterfacedObject, IDataDogStatsClientSender) private type TDatadogThreadSender = class(TThr...
(* MyMath ; ; Funções de análise de expressões ; *) unit MyMath; interface uses MyStr, Math, Classes, SysUtils; type PReal = ^Real; TVar = record Nome: String; Valor: Real; end; TMatrizVar = array of TVar; TMyMath = Class(TObject) private MatrizVar: TMatrizVar; function IsNumbe...
unit RTF_ListaTaksowek; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, JvUIB, JvUIBLib, RT_Tools; type TFrmListaTaksowek = class(TForm) EdtQuickSearch: TEdit; LbxListaTaksowek: TListBox; BtnAnuluj: TButton; BtnZamknij:...
unit MapTypes; interface uses Winapi.Windows, System.Classes, Generics.Collections, CommonGeometry, GeosGeometry, GDIPAPI, Matrices, Properties; type TStorage = class; TVisitor = class; TFeature = class; TDrawStyle = record PenColor: {GDIPAPI.}ARGB; BrushColor: {GDIPAPI.}ARGB; end...
Unit DevApp.Form.BlockInfo; Interface Uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, PascalCoin.RPC.Interfaces, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, DevApp.Base.DetailForm, FMX.Controls.Presentation, FMX.Layout...
(****************************************************************************** * PasVulkan * ****************************************************************************** * Version see PasVulkan.Framework.pas ...
unit CidSi415Lib; interface uses Windows, SysUtils, Registry, inifiles, Variants, comobj, ADODB, StdCtrls, Forms, Classes, IdTCPClient, IdSocketHandle, IdTCPServer, xe_func; {-------------------------------------------------------------------------------- CID Si415 DATA HEADER -----------------...
unit RtcFuncResult; interface uses System.SysUtils, System.Classes, rtcInfo; type IRtcFuncResult = interface(IInterface) ['{98FE58D3-7918-4032-977A-83FDDCE8A8C4}'] function getRtcValue: TRtcValue; property RtcValue: TRtcValue read getRtcValue; end; TRtcFuncResult = class (TInterfacedObject,IRtcFu...
{ 文件名:uDept.pas 说 明:分类信息管理类 编写人:刘景威 日 期:2008-05-18 更 新: } unit uDict; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ComCtrls, ExtCtrls, uBase, DB, ADODB; type TfrmDict = class(TfrmBase)...
//------------------------------------------------------------------------ // // Author : Maarten "McCLaw" Kronberger // Email : sulacomcclaw@hotmail.com // Website : http://www.sulaco.co.za // Date : 1 April 2003 // Version : 1.0 // Description : Skeletal Character animation using Keyf...
(****************************************************************************** * PasVulkan * ****************************************************************************** * Version see PasVulkan.Framework.pas ...
{ FILE NAME: SIMPSON.PAS LANGUAGE: PASCAL COMPILER: Turbo PASCAL Version 3.02A STATUS: Compiles and runs correctly Note: NAAMATH.INC has not been fully tested yet } {****************************************************************************** Composite Simpson's Rule - Algorithm 4.1 *****...
unit uFrmSimulacao; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, uDadosUsuario, Vcl.ComCtrls, Vcl.ExtCtrls, uFrameTituloForm, System.ImageList, Vcl.ImgList, Vcl.Mask, uSimulacaoController, uS...
unit Tposobjectunit; interface type TPoint=record x:real; y:real; end; TPosObject = class (tobject) private initposition : Tpoint; curposition : Tpoint; public CurTime:real; inittime:real; function GetInitPosValue:Tpoint; procedure SetInitPosValue(p:tpoint); function GetcurPosValue:...
unit Model.InventarioProdutosVA; interface type TInventarioProdutosVA = class private var FID: Integer; FProduto: Integer; FData: TDate; FQtde: Double; FLog: String; public property ID: Integer read FID write FID; property Produto: Integer read FProduto write FProduto; propert...
unit RequestTransport; interface uses Windows, WinInet, AvL, avlSyncObjs; {$I ExternalTransport.inc} type TRequestTransport = class public procedure Connect(const Server: string; Port: Word; const UserName, Password: string; UseSSL: Boolean); virtual; abstract; procedure Disconnect; virtu...
unit liste; INTERFACE type nodep = ^nodetyp; nodetyp = object next,prev:nodep; constructor init; destructor done; end; listentyp = object first,last,actual:nodep; constructor i...
unit Trackbar_32; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, CommCtrl; type T___drawstyle = (Normal, Special, Flat, unknown); TTrackbar_32 = class(TTrackBar) private { Private declarations } _thumbcolor : TColor; _trackcolor ...
{$include kode.inc} unit syn_s2_osc_filter; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses kode_control, kode_editor, kode_filter_rc, kode_filter_rc2, kode_filter_moog, kode_filter_svf, kode...
unit TestHttpCodes; interface uses TestFramework, SysUtils, DateUtils, Classes, URL, HttpClient, Response; type TTestHttpCodes = class(TTestCase) private client :THttpClient; response :TResponse; protected procedure SetUp; override; procedure TearDown; override; published procedure T...
{ Исходное число A(S) умножить на R по правилам S-арифметики. Целая часть полученного числа представляет собой цифру b-1 числа А(R) . Затем, отбросив целую часть, умножить дробную часть на R . При этом получается число, целая часть которого есть цифра b-2 . Повторять процесс умножения l раз, пока не будут найдены все l...
(****************************************************************************** * PasVulkan * ****************************************************************************** * Version see PasVulkan.Framework.pas ...
unit uDM; interface uses Windows, Messages, SysUtils, Variants, Classes, DB, ADODB, IniFiles, Controls, Forms, Dialogs, ImgList, Math, Data.FMTBcd, Data.SqlExpr, Data.DBXFirebird; type TDM = class(TDataModule) OpenDialog1: TOpenDialog; SaveDialog1: TSaveDialog; ImageList1: TImageList; Conexao: ...
unit uTarman; { TAR File Format Management Lua library Copyright (c) 2013-2014 Felipe Daragon License: 3-clause BSD See https://github.com/felipedaragon/catarinka/ for details } interface uses Lua, SysUtils, Classes; procedure RegisterTarman(L: plua_State); function luaopen_Tarman(L: plua_State): integer;...
{ Module of routines that convert between strings and boolean values. } module string_bool; define string_t_bool; define string_f_bool; %include 'string2.ins.pas'; { *********************************************************************** * * Subroutine STRING_T_BOOL (S, FLAGS, T, STAT) * * Convert the string S to...
unit GRRClientGISReports; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, CheckLst, ExtCtrls, Mask, ToolEdit; type TfrmGISReports = class(TForm) pnlButtons: TPanel; btnOK: TButton; btnClose: TButton; gbxAll: TGroupBox; p...
unit uPatientEdit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinCaramel, dxSkinCoffee, dxSkinDarkRoom, dxSkinDarkSide, dxSkinFog...
{$N+,E-} Unit vga256; Interface Type Palette=Array[0..767] of Byte; s5=string[5]; Const Vseg:word=$A000; _Hollow = 0; _Filled = 1; MaxX=319; MaxY=199; Procedure SetMode(Mode:Byte); Procedure CCls(col:byte); {Clears the screen in color COL} Procedure Cls; Procedure MoveTo(NewCursX,NewCursY...
(* Copyright 2016 Michael Justin 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 required by applicable law or agreed to in ...
unit ManagerViewerController; interface uses Generics.Collections, System.Classes, System.SysUtils, atDiagram, Aurelius.Engine.ObjectManager, UMLBlocks; type TManagerViewerController = class private FDiagramTransient: TatDiagram; FDiagramManager: TatDiagram; FManager: TObjectManager; FObjec...
program HelloWorld; { Это многострочный комментарий: всё, что находится внутри фигурных скобок. Комментарии не воспринимаются компилятором, здесь можно писать что-угодно. Например, можно указать в комментарии описание программы. Программа выводит на экран строку 'Hello, world!' } begin WriteLn(...
(* * Copyright (c) 2008, Susnea Andrei * 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 co...
{ Subroutine STRING_FILL (S) * * Fill the string S with blanks, out to its maximum allowable * length. The length of string S is not altered. This is useful * when using s.str directly instead of as part of a variable * length string. } module string_fill; define string_fill; %include 'string2.ins.pas'; pr...
unit VisibleDSA.MazeData; interface uses System.Classes, System.SysUtils; type UString = string; UChar = Char; TArr2D_int = TArray<TArray<integer>>; TArr2D_chr = TArray<TArray<UChar>>; TArr2D_bool = TArray<TArray<boolean>>; type TMazeData = class(TObject) public const ROAD: UChar = ' '; ...
program fifo_st; uses CRT; const FIFOsize=10; type TFIFO = array[1..FIFOsize] of byte; function getelem:byte; var s:byte; begin write('Введите число : '); readln(s); getelem:=s; end; procedure push (var FIFO:TFifo;var root,tail:integer;info:byte); begin if ((tail=root) and (root<>0)) then (* Если очередь перепо...
unit uMagicCreator; interface type TMagicCreator = class public class procedure OpenNotepad; end; implementation uses System.RTTI; { TMagicCreator } class procedure TMagicCreator.OpenNotepad; var rContexto: TRttiContext; oRttiInstanceType: TRttiInstanceType; oRttiMethod: TRttiMethod; rInstan...
program Test01; {$mode objfpc}{$H+} {$INTERFACES CORBA} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, { you can add units after this } SysUtils, JobThread; type { TJob } TJob = class(IThreadJob) public constructor Create; procedure Execute(const aThread: TJo...
Program Caso; Var numero: Integer; Begin Write('Introduzca un numero: '); ReadLn(numero); case (numero) of 0: WriteLn('Numero neutro con respecto a la suma'); 1: WriteLn('Numero neutro con respecto a la multiplicacion'); 2: WriteLn('Base del sistema binario'); 3: WriteLn('Lados del tri...
{ this file is part of Ares Aresgalaxy ( http://aresgalaxy.sourceforge.net ) 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 2 of the License, or (at your option) any later v...
(** * $Id: dco.rpc.jsonrpc.Decoder.pas 840 2014-05-24 06:04:58Z QXu $ * * Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either * express or implied. See the License for the specific language governing rights and limitations under the License. *) unit dco....
unit StratClientThemeSelectForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, ToolEdit, ExtCtrls, Theme, Employee; type TfrmThemeSelect = class(TForm) pnlButtons: TPanel; gbxTheme: TGroupBox; lblTheme: TLabel; cmbxTheme: TCom...
unit Grijjy.TextToSpeech.macOS; {< Text To Speech engine implementation for macOS } interface uses Macapi.AppKit, Macapi.ObjectiveC, Grijjy.TextToSpeech.Base; type { The declaration of NSSpeechSynthesizerDelegate in Macapi.AppKit is incomplete. So we add the events we are interested in here. } NSSpeech...
unit ViewModel.Main; interface uses Declarations, Model.Main, Model.Interfaces; function CreateMainViewModelClass: IMainViewModelInterface; implementation uses System.SysUtils; type TMainViewModel = class(TInterfacedObject, IMainViewModelInterface) private fModel: IMainModelInterface; ...
{ Export dialogues for Oblivion. Full voice file names are generated and checked only for lines with GetIsID or GetIsRace conditions. } unit OblivionExportDialogues; var slExport, slRaceSex, slIDs: TStringList; //============================================================================ function InfoFileName(...
Unit OIDSupport; { 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 code mu...
unit fbapidatabase; interface uses System.SysUtils, System.Variants, System.Classes, IB, FBClientApi, Dialogs, FBMessages, DB, System.Generics.Collections; const DPBPrefix = 'isc_dpb_'; DPBConstantNames: array[1..isc_dpb_last_dpb_constant] of string = ( 'cdd_pathname', 'allocation', 'journal', ...
unit uPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Mask, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids, Vcl.Buttons, Vcl.ExtCtrls, Vcl.DBCtrls; type TfrmPrincipal = class(TForm) Panel1:...
unit uSysDataBase; interface uses Classes, SysUtils, System.Variants, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Phys, FireDAC.Stan.Pool, FireDAC.Stan.Async, Data.DB, FireDAC.Comp.Client, FireDAC.Phys.MSSQLDef, FireDAC.Phys.ODBCB...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [PCP_SERVICO] The MIT License Copyright: Copyright (C) 2014 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated doc...
{ ******************************************************************************* Title: T2Ti ERP Description: Configuração de acesso ao Banco de Dados. The MIT License Copyright: Copyright (C) 2014 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ...
unit HumbleBundleJSONObjects; // ************************************************* // Generated By: JsonToDelphiClass - 0.65 // Project link: https://github.com/PKGeorgiev/Delphi-JsonToDelphiClass // Generated On: 2021-11-12 01:41:01 // ************************************************* // Created ...
Unit quikview; Interface uses dbtables,forms,extctrls,DB,messages,classes,stdctrls,dbctrls,lbdbedit,guifield; Type TQuickView=class(TPanel) protected procedure WMSize(var Msg:TMessage); message WM_SIZE; procedure OnScroll(Sender: TObject; ScrollCode:TScrollCode; var ScrollPos: Integer); public Scrol...
unit UfrmQuickStart; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.AppEvnts; type TQuickStartResult = (qsCancel, qsOpen, qsOpenFile, qsNew); TfrmQuickStart = class(TForm) Label1: TLa...
unit U_IMC1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, jpeg; type TForm1 = class(TForm) Edt_nome: TEdit; Edt_peso: TEdit; lbl_imc: TLabel; Label2: TLabel; Label3: TLabel; Label4: TLabel; Sexo: TRadioG...
unit MainCircle; 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.Objects, FMX.Effects, FMX.Filter.Effects, FMX.Ani, WINAPI.WINDOWS, FMX.platform.WIN, FMX.Controls.Presentation, F...
unit TypeResearchPoster; interface uses PersistentObjects, DBGate, BaseObjects, DB, TypeResearch; type TTypeResearchDataPoster = class(TImplementedDataPoster) public function GetFromDB(AFilter: string; AObjects: TIdObjects): integer; override; function PostToDB(AObject: TIDObject; ACollection: TIDObject...
// Copyright 2018 The Casbin Authors. All Rights Reserved. // // 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 required by a...
unit TestuOrderEntry; interface uses TestFramework, uOrderEntry; type TestTOrderEntry = class(TTestCase) strict private FOrderEntry: IOrderEntry; public procedure SetUp; override; published procedure TestEnterOrderIntoDatabase; end; implementation uses uOrder; procedure TestTOrderEntry...
// GLTerrainRenderer {: GLScene's brute-force terrain renderer.<p> <b>Historique : </b><font size=-1><ul> <li>04/03/01 - Egg - Completed for first release <li>12/02/01 - Egg - Creation </ul></font> } unit GLTerrainRenderer; interface uses Classes, GLScene, GLHeightData, GLTexture, Geometry;...
// // all DDDK drivers should include this unit // this unit exports all currently supported kernel function, structures and constants // unit DDDK; interface const NtKernel='ntoskrnl.exe'; STATUS_SUCCESS = $00000000; STATUS_UNSUCCESSFUL = $C0000001; STATUS_NOT_IMPLEMENTED ...
{$INCLUDE switches} unit log; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, StdCtrls, Menus; type TLogDlg = class(TForm) LogPopup: TPopupMenu; mLog0: TMenuItem; mLog1: TMenuItem; mLog2: TMenuItem; mLog3: TMenuItem; N1: TMenuItem; ...
unit UMesAno; interface uses Types, Controls; type TMesAno = class(TInterfacedObject) private FFechado: Boolean; FMesSelecionado: integer; FAnoSelecionado: integer; function GetPrimeiroDia: TDate; function GetUltimoDia: TDate; function GetAsString: string; public constructor Cre...
unit NovusParser; interface Uses NovusStringUtils, Classes, SysUtils, NovusBO; const toEOL = char(6); toBOF = char(7); type TSysCharSet = set of Char; TNovusParser = class(TNovusBO) private FParseLines: TStringList; FParseString: string; FLineTokens: Integer; FiSourceLineNo: Integer; ...
{$include kode.inc} unit kode_widget_menuitem; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses kode_flags, kode_canvas, kode_rect, kode_widget, kode_widget_text; type KWidget_MenuItem = class...
unit custEdit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, ComCtrls, dm, DBCtrls, Mask, DB, RegExpr, DBClient, DBCtrlsEh, CustUnique, DBLookupEh, globals, DBGridEh; type TfrmCustEdit = class(TForm) Label1: TLabel; edN...
unit stemtest_controller; {$mode objfpc}{$H+} {$DEFINE STEMMING_WITH_REDISx} interface uses {$IFDEF STEMMING_WITH_REDIS} stemmingnaziefredis_lib, {$ELSE} stemmingnazief_lib, {$ENDIF} Classes, SysUtils, fpcgi, fpjson, HTTPDefs, fastplaz_handler, database_lib; type { TStemtestModule } TStemtestModul...
unit test03; interface uses System.SysUtils; implementation function TSQLRestStorageMongoDB.EngineUpdateField(TableModelIndex: integer; const SetFieldName, SetValue, WhereFieldName, WhereValue: RawUTF8): boolean; var JSON: RawUTF8; query,update: variant; // use explicit TBSONVariant for type safety id: ...
unit cvconst; {$mode delphi} interface uses Classes, SysUtils; type TBasicType=( btNoType = 0, btVoid = 1, btChar = 2, btWChar = 3, btInt = 6, btUInt = 7, btFloat = 8, btBCD = 9, btBool = 10, btLong = 13, btULong = 14, btInt2=...
unit UtilitiesForm; { 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 so...
unit uStrUtils; {$mode objfpc}{$H+} interface uses Classes, SysUtils,strutils, dateutils; function GetFieldFromString(in_str,divider:string;field_num:integer):string; function GetExecStrArgList(in_str:string):string; function GetExecStrMainFileName(in_str:string):string; function DT2STR(dt:tDateTi...
unit TextEditor.CodeFolding.Hint; interface uses System.Classes, System.UITypes, Vcl.Graphics, TextEditor.CodeFolding.Hint.Colors, TextEditor.CodeFolding.Hint.Indicator; type TTextEditorCodeFoldingHint = class(TPersistent) strict private FColors: TTextEditorCodeFoldingHintColors; FCursor: TCursor; ...
unit NiceTypes; {$SCOPEDENUMS ON} interface uses SysUtils, Classes, TypInfo; type TBooleanArray = array of boolean; T2DBooleanArray = array of TBooleanArray; TIntegerArray = array of integer; T2DIntegerArray = array of TIntegerArray; TVariableType = ( Unknown, Field, Propertie, Ar...
(* @abstract(Prise en charge des Images au format WEBP proposé par Google.) Spécifications : @br @unorderedList( @item(Version librairie : 1.0.3 ) @item(Méthode de compression : VP8 or VP8L ) @item(Nombre de couleurs : 24 / 32 bits : (RGB/A, BGR/A, YUV) ) @item(Supporte plusieu...
unit UFindHandler; interface uses UxlClasses, UxlExtClasses, UxlRichEdit, UxlRichEditClasses, UxlList, UxlDialog, UxlStdCtrls, UxlComboBox; type TFindBox = class (TxlDialogML) private FindHistory: TxlStrList; ReplaceHistory: TxlStrList; FFindHandler: TxlRichEditFindHandler; ...
{----------------------------------------------------------------------------- Unit Name: RbCheckBox Purpose: Fade in/out CheckBox button Author/Copyright: NathanaŽl VERON - r.b.a.g@free.fr - http://r.b.a.g.free.fr Feel free to modify and improve source code, mail me (r.b.a.g@free.fr) if y...
unit TextEditor.Highlighter.Colors; interface uses System.Classes, Vcl.Graphics; type PTextEditorHighlighterElement = ^TTextEditorHighlighterElement; TTextEditorHighlighterElement = record Background: TColor; Foreground: TColor; Name: string; FontStyles: TFontStyles; end; TTextEditorHighl...
unit aOPCLookupList; interface uses SysUtils, Classes,IniFiles, aCustomOPCSource, aOPCSource, uAppStorage; type TaOPCLookupShowValue = (svExact, svLeft, svRight); TaOPCLookupList = class(TaCustomOPCLookupList) private FOPCSource: TaOPCSource; FTimeStamp: TDateTime; FTableName: string; FH...