text
stringlengths
14
6.51M
(* Name: UfrmOSKCharacterMap Copyright: Copyright (C) SIL International. Documentation: Description: Create Date: 14 Sep 2006 Modified Date: 25 Sep 2014 Authors: mcdurdin Related Files: Dependencies: Bugs: Todo: N...
unit UFrmSobre; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TFrmSobre = class(TForm) Lb_Sobre: TLabel; Lb_Versao: TLabel; Lb_ArquivosExcel: TLabel; SaveArq: TSaveDialog; ...
{**********************************************} { TErrorBarSeries Component Editor Dialog } { Copyright (c) 1996-2004 by David Berneda } {**********************************************} unit TeeErrBarEd; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, Messages, {$ENDIF} SysUtils, Cla...
unit FrmRangePoints; {$mode objfpc}{$H+} interface uses Forms, StdCtrls, Spin, OriEditors; type TRangePointsFrm = class(TFrame) fedStep: TOriFloatEdit; rbPoints: TRadioButton; rbStep: TRadioButton; sePoints: TSpinEdit; procedure fedStepChange(Sender: TObject); procedure r...
{ Double Commander ------------------------------------------------------------------------- Keyboard options page Copyright (C) 2006-2011 Koblov Alexander (Alexx2000@mail.ru) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public L...
unit ltr11api; interface uses SysUtils, ltrapi, ltrapitypes; const LTR11_CLOCK =15000; // тактовая частота модуля в кГц LTR11_MAX_CHANNEL =32; // Максимальное число физических каналов LTR11_MAX_LCHANNEL =128; // Максимальное число логических каналов LTR11_ADC_R...
{*******************************************************} { } { Delphi REST Client Framework } { } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights rese...
constructor CalcException.create(code: Integer); begin self.code := code; end; function CalcException.getCode: Integer; begin Result := code; end; class procedure CalcException.checkException(status: Status); var code: Integer; begin code := status.getCode(); if (code <> 0) then raise CalcException.create(cod...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLFileO3TC<p> <b>History : </b><font size=-1><ul> <li>23/08/10 - Yar - Replaced OpenGL1x to OpenGLTokens <li>31/05/10 - Yar - Fixes for Linux x64 <li>08/05/10 - Yar - Removed check for residency in AssignFromTextu...
{**********************************************} { TOBVFunction (On Balance Volume) } { Copyright (c) 2002-2004 by David Berneda } {**********************************************} unit TeeOBVFunction; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, Messages, {$ENDIF} SysUtils, Classes...
unit Command.Button1; interface uses System.Classes, System.SysUtils, Vcl.StdCtrls, Pattern.Command; type TButon1Command = class (TCommand) private FMemo: TMemo; protected procedure DoGuard; override; procedure DoExecute; override; published property Memo: Vcl.StdCtrls.TMemo read FMem...
unit VM_Canvas; interface uses SysUtils, VM.Invoke, Graphics, Forms, Classes, Types; var _Canvas: TCanvas = nil; implementation function _GetCanvas: TCanvas; begin Result := _Canvas; end; type TCanvasColor = ( ccNone, ccBlack, ccMaroon ); function GetColor(CColor: TCanvasColor): TColor; begin ...
unit StdStyleActnCtrls; interface uses ActnMan, ActnMenus, ActnCtrls; type { TStandardStyleActionBars } TStandardStyleActionBars = class(TActionBarStyleEx) public function GetColorMapClass(ActionBar: TCustomActionBar): TCustomColorMapClass; override; function GetControlClass(ActionBar: TCustomActionBar...
namespace RemObjects.Elements.System; interface type SeekOrigin = public enum (&Begin, Current, &End); Stream = public abstract class protected method GetLength: Int64; virtual; method SetLength(value: Int64); virtual; method SetPosition(value: Int64); virtual; method GetPosition: ...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLAsyncHDS<p> Implements a HDS Filter that generates HeightData tiles in a seperate thread.<p> This component is a THeightDataSourceFilter, which uses a THeightDataSourceThread, to asyncronously search the HeightData cache for a...
{ This unit is part of the Lua4Delphi Source Code Copyright (C) 2009-2012, LaKraven Studios Ltd. Copyright Protection Packet(s): L4D014 www.Lua4Delphi.com www.LaKraven.com -------------------------------------------------------------------- The contents of this file are subject to the Mozilla P...
program MyProgram; uses MyUnit; const myConst = 'my''string'; myValueConst : real = 12.0; //myArrayConst : array [1..100] of integer; //TODO type tMyEnum = (Jan, Feb, Mar); tMyRange = 10..20; tMyArray = array[tMyRange,1..10] of real; tMyRecord = record val1 : real; val2, v...
{ AD.A.P.T. Library Copyright (C) 2014-2018, Simon J Stuart, All Rights Reserved Original Source Location: https://github.com/LaKraven/ADAPT Subject to original License: https://github.com/LaKraven/ADAPT/blob/master/LICENSE.md } unit ADAPT.Threads.Intf; {$I ADAPT.inc} interface uses {$IFDEF ADAPT_USE_EXPL...
unit NETAtoms; { This Unit contains all the _NET atoms from the freedesktop 1.4 spec } {$mode objfpc}{$H+} interface uses Classes, SysUtils, X, XLib; type TNETAtom = ( //WM_ Atoms // _NET Atoms //Root Window Properties _SUPPORTED, // array of cardinal (_NET atoms that are supported) _CLIEN...
unit uViewConfiguracoes; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Grids, Buttons, MVCInterfaces, uEmpresa, USped, UI010; // A View somente conhece o Modelo para exibir os atributos dele mas não pode alterar ou interagir com o Modelo ...
unit uSpeechesArray; interface uses uSpeechesClass, ADODB, DB, SysUtils, Classes, Dialogs; type TSpeechesArray = class private conn : TADOConnection; dbName : String; public constructor Create(db : String); function getAllSpeeches : TStringList; function getAllSpeechesByMeeting(m...
{ Ultibo Configure RTL Tool. Copyright (C) 2022 - SoftOz Pty Ltd. Arch ==== <All> Boards ====== <All> Licence ======= LGPLv2.1 with static linking exception (See COPYING.modifiedLGPL.txt) Credits ======= Information for this unit was obtained from: References ========== Configure RTL ============= ...
unit Un_Registro_Servico; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, ExtCtrls, DBCtrls, Grids, DBGrids, StdCtrls, Buttons, StdConvs; type T_Registro_Servico = class(TForm) dsServ: TDataSource; gbOS: TGroupBox; dbgOS: TDBGrid; DBNavigato...
unit ElegirCuenta; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, UnitUsuario, UnitCuentaDebito, UnitCuentaCredito, Vcl.ExtCtrls, Vcl.WinXPanels; type TFormElegirCuenta = class(TForm) btnV...
{$MODE OBJFPC} {$INLINE ON} program LongestCommonSubsequence; const InputFile = 'LCS.INP'; OutputFile = 'LCS.OUT'; max = 1000; var x, y, z: AnsiString; m, n: Integer; f: array[0..max, 0..max] of Integer; procedure Enter; var f: TextFile; begin AssignFile(f, InputFile); Reset(f); try...
(* MPL: SWa, MM, 2020-05-20 *) (* ------ *) (* MidiPascal scanner. *) (* ========================================================================= *) ...
unit Support; interface uses SysUtils, Device.SMART.List, BufferInterpreter; type TTotalWriteType = (WriteNotSupported, WriteSupportedAsCount, WriteSupportedAsValue); TSupported = (NotSupported, Supported, CDISupported, CDIInsufficient); TSupportStatus = record Supported: TSupported; F...
unit ULogMsg; interface uses SysUtils, Windows, Forms; type TLogMsg = class(TObject) private fClearSize: Integer; fEnableWriteToFile: Boolean; fLogFileName: string; fMaxLenWrite: Integer; fSizeFile: Int64; function getFileSize(aFileName: string): Int64; p...
{ *************************************************************************** } { } { Kylix and Delphi Cross-Platform Visual Component Library } { } ...
FUNCTION WaitNAK(timeoutSecs : INTEGER) : ResponseType; CONST CTRLC = ^C; NAK = ^U; CAN = ^X; WantCRC = 'C'; VAR ticks,canCount : INTEGER; c : CHAR; BEGIN ticks := timeoutSecs * 500; canCount := 0; c := #$00; REPEAT IF KeyPressed THEN BEGIN Read(Kbd,c); IF c = CTR...
(* * This code was generated by the TaskGen tool from file * "CommonOptionsTask.xml" * Version: 16.0.0.0 * Runtime Version: v2.0.50727 * Changes to this file may cause incorrect behavior and will be * overwritten when the code is regenerated. *) unit CommonOptionStrs; interface const sTaskName = 'commonop...
unit AviWriter_2; ///////////////////////////////////////////////////////////////////////////// // // // AviWriter -- a component to create rudimentary AVI files // // by Elliott Shevin, with large pieces of code ...
unit NtUtils.ErrorMsg; interface uses Ntapi.ntdef; // Converts common error codes to strings, for example: // 1314 => "ERROR_PRIVILEGE_NOT_HELD" // $C00000BB => "STATUS_NOT_SUPPORTED" // Returns empty string if the name is not found. function NtxpWin32ErrorToString(Code: Cardinal): String; function NtxpS...
unit FC.StockData.Export.CSVExporter.Dialog; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufmDialogOKCancel_B, ActnList, StdCtrls, ExtendControls, ExtCtrls, StockChart.Definitions,FC.Definitions, StockChart.Obj, ComCtrls; type TfmExportDialog = class(TfmD...
PROGRAM Test; TYPE ListNodePtr = ^ListNode; ListNode = RECORD val: integer; next: ListNodePtr; END; List = ListNodePtr; PROCEDURE DeleteAt(var l: List; at: integer); var curr, toDel: ListNodePtr; count: integer; BEGIN (* DeleteAt *) count := 1; cur...
{******************************************} { TeeChart. Mini-Charts Example } { Copyright (c) 1995-2001 by David Berneda } { All Rights Reserved } {******************************************} unit umain; interface { This project show some very small mini-charts and some animation } {...
unit uPlDirectSoundPluginInterface; interface uses Windows, MMSystem, DirectSound; const Class_PlDirectSoundPlugin: TGUID = '{2DCAC7E0-BA75-49A7-986D-B0957A50F7D7}'; type HIMAGE = Integer; HEFFECT = Integer; IPlDirectSoundPluginInterface = interface(IInterface) ['{5EE2A534-7412-4CEB-ABB1...
namespace RemObjects.Elements.System; interface type ValueType = public abstract class end; &Enum = public abstract class end; Void = public record public method ToString: String; override; empty; // not callable method GetHashCode: Integer; override; empty; // not callable end...
{ Copyright (C) 1998-2018, written by Shkolnik Mike, Scalabium Software E-Mail: mshkolnik@scalabium.com mshkolnik@yahoo.com WEB: http://www.scalabium.com Эта компонента - это аналог TLabel, но с возможностью привязать к нему картинку и при наведении курсора на Label или Image будет произво...
unit clientfr; { This is the client portion of a MIDAS demo. Make sure that you compile and run the server project before trying to run this probject. This project demonstrates dynamically passing SQL to the server using the Provider.DataRequest event. } interface uses Windows, Messages, SysUtils, Classe...
unit Params_int64; interface implementation var G: int64; procedure P(i: int64); begin G := i; end; procedure Test; begin p(64); end; initialization Test(); finalization Assert(G = 64); end.
program CreationLectureEcrireFichier; uses crt; procedure CreerFichier(var f:Textfile); // la procedure servira a creer le fichier en supposant qu'il n'existe pas encore begin Assign(f,'TestFichier.txt'); // va indiquer que f correspond au fichier TestFichier, dans la destination en question (ici dans le meme fic...
unit ANU_INTF; (************************************************************************* DESCRIPTION : Interface unit for ANU_DLL REQUIREMENTS : D2-D7/D9-D10/D12, FPC EXTERNAL DATA : --- MEMORY USAGE : --- DISPLAY MODE : --- Version Date Author Modification -...
unit Spring.Persistence.Adapters.IBX.Test; interface uses IBX.IBDatabase, Spring.Persistence.Core.ConnectionFactory, Spring.Persistence.Core.Interfaces, Spring.Persistence.Core.Session, Spring.Persistence.Adapters.IBX, Spring.Collections, Spring.Persistence.SQL.Params, Spring.Persistence.Criteria.I...
unit OpenCncDialog; interface uses SysUtils, Classes, Dialogs; type TOpenCncDialog = class(TOpenDialog) private FPicturePanel: TPanel; FPictureLabel: TLabel; FPreviewButton: TSpeedButton; FPaintPanel: TPanel; FImageCtrl: TImage; FSavedFilename: string; function IsFi...
// ************************************************************************************************** // CPUID for Delphi. // Unit CPUID // https://github.com/MahdiSafsafi/delphi-detours-library // The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); // you may not use this ...
{*******************************************************} { } { Delphi REST Client Framework } { } { Copyright(c) 2013-2018 Embarcadero Technologies, Inc. } { All rights rese...
// Warning: Best read if using a monospaced/fixed-width font and tab width of 4. program xor_; (** ------------------------------------------------------------------------------------- This program performs XOR operation on input data from standard input and sends to standard output. License: The MIT License (...
unit EventDispatcher; interface uses System.Classes, System.SysUtils, Data.db; (* Note: HINS OFF in order for hiding H2269 Overriding virtual method XX has lower visibility (strict protected) than base class YY (public) *) type {$HINTS OFF} TEventDispatcher<T> = class abstract(TComponent) ...
{ Copyright (C) 2012 Matthias Bolte <matthias@tinkerforge.com> Redistribution and use in source and binary forms of this file, with or without modification, are permitted. See the Creative Commons Zero (CC0 1.0) License for more details. } unit BlockingQueue; {$ifdef FPC}{$mode OBJFPC}{$H+}{$endif} {$ifndef...
{ Maze scaling form of the Lazarus Mazes program Copyright (C) 2012 G.A. Nijland (eny @ lazarus forum http://www.lazarus.freepascal.org/) This source 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; eit...
program Automated_graphing_of_functions_and_solving_equations; uses crt, graphABC; var X, Y: integer; a, b, c, k, x1, x2, D, Root, Value: real; Equation: char; function Finding_the_root_of_a_linear_equation(k, b, Value: real): real; begin Finding_the_root_of_a_linear_equation := (Value - b) / k end;...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
// // Copyright (c) 2009-2010 Mikko Mononen memon@inside.org // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for any purpose...
unit LoanClassificationList; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseDocked, Data.DB, RzButton, RzRadChk, RzDBChk, Vcl.DBCtrls, RzDBCmbo, Vcl.StdCtrls, Vcl.Mask, RzEdit, RzDBEdit, RzTabs, Vcl.Grid...
{ This file is part of the Free Pascal run time library. Copyright (c) 2008 Free Pascal development team. See the file COPYING.FPC, included in this distribution, for details about the copyright. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; ...
//Ejercicio 9 //Escriba proposiciones CASE equivalentes a la siguientes proposiciones IF: //a) {IF k = 0 THEN r := r + 1 ELSE IF k = 1 THEN s := s + 1 ELSE IF (k = 2) OR (k = 3) OR (k = 4) THEN t := t + 2} {program ejercicio9; var k, r, s, t : integer; begin r:= 1; ...
unit IntelHex; interface uses SysUtils, Windows, Math; const DataRecord = $00; EofRecord = $01; ExtSegAddrRecord = $02; // pas implémenté StartSegAddrRecord = $03; // pas implémenté ExtLinAddrRecord = $04; // pas implémenté StartLinAddrRecord = $05; // pas implémenté ...
program PhysicalMemArrayInfo; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, uSMBIOS { you can add units after this }; procedure GetPhysicalMemArrayInfo; Var SMBios: TSMBios; LPhysicalMemArr: TPhysicalMemoryArrayInformation; begin...
unit PathUtils; interface uses SysUtils, Classes, StrUtils; function AbsolutePathToRelative(const CurrentDir, Path: string): string; function RelativePathToAbsolute(const CurrentDir, Path: string): string; implementation procedure SplitPath(const Path: string; out Parts: TStringList); begin Parts.Clea...
unit vr_transport; {$mode delphi}{$H+} interface uses Classes, SysUtils, vr_utils; type TTransportReadEvent = procedure(const AMsg: string; const AClient: Pointer; const AThread: TThread) of object; TTransportServerConnectionEvent = procedure(const AClient: Pointer) of object; { TCust...
unit BaseSearch; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BasePopup, Data.DB, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids, RzDBGrid, Vcl.Mask, RzEdit, RzLabel, Vcl.Imaging.pngimage, Vcl.ExtCtrls, RzPanel, RzB...
unit Ntapi.ntpebteb; {$MINENUMSIZE 4} interface uses Winapi.WinNt, Ntapi.ntdef, Ntapi.ntrtl; type TPebLdrData = record Length: Cardinal; Initialized: Boolean; SsHandle: THandle; InLoadOrderModuleList: TListEntry; InMemoryOrderModuleList: TListEntry; InInitializationOrderModuleList: TList...
inherited fObfuscateSettings: TfObfuscateSettings Width = 275 Height = 271 Font.Charset = ANSI_CHARSET Font.Height = -15 Font.Name = 'Segoe UI' ParentFont = False object cbRemoveWhiteSpace: TCheckBox Left = 8 Top = 160 Width = 169 Height = 17 Caption = 'Remove &white space'...
unit Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, SuperObject, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.Buttons, Vcl.Controls, Vcl.Forms, IdHTTP, DateUtils, IdURI, TrayIcon, Vcl.Menus; type TTaskInfo = record taskid: Integer;...
unit Soccer.Voting.Actions; interface uses System.SysUtils, System.RegularExpressions, System.Generics.Collections, Soccer.Exceptions, Soccer.Domain.Abstract, Soccer.Voting.RulesDict, Soccer.Voting.RulePreferenceList, Soccer.Voting.AbstractRule, Soccer.Voting.Preferences, Soccer.Voting.RuleChoo...
{*******************************************************} { } { Delphi VCL Extensions (RX) } { } { Copyright (c) 1996 AO ROSNO } { Copyright (c) 1997 M...
unit SHL_WaveStream; // SemVersion: 0.3.0 // Contains TWaveStream class for reading and writing wave files // (just auto-populates WAVE header; write samples as TFileStream) // Full pascal implementation // Changelog: // 0.1.0 - test version // 0.2.0 - Ended() // 0.3.0 - from stream // TODO: // - maybe u...
{*******************************************************} { } { Borland Delphi Runtime Library } { } { Copyright (C) 1995,98 Inprise Corporation } { ...
program LIST0109; { SPIROGRAPH } uses GrafLib0; VAR inner, outer, dist : INTEGER; FUNCTION HCF(i,j :INTEGER) : INTEGER; VAR remain : INTEGER; BEGIN REPEAT remain := i MOD j; i := j; j := remain UNTIL remain = 0; HCF := i; END {HCF}; (* ---------------------------------------------- *) PROCEDUR...
{#################################################################################################################### TINJECT - Componente de comunicação (Não Oficial) www.tinject.com.br Novembro de 201...
unit FC.Trade.Trader.CamelHump; interface uses Classes, Math,Graphics, Contnrs, Forms, Controls, SysUtils, BaseUtils, ActnList, Properties.Obj, Properties.Definitions, StockChart.Definitions, StockChart.Definitions.Units, Properties.Controls, StockChart.Indicators, Serialization, FC.Definitions, FC.Trade.Trader....
unit uUpdate; interface uses System.JSON, System.SysUtils, System.Threading, System.Classes, IPPeerClient, DTO.GitHUB.Release; const ProgramVersion: double = 2.2; UpdateUrl = 'https://api.github.com/repos/JensBorrisholt/Delphi-JsonToDelphiClass/releases'; ProgramUrl = 'https://github.com/JensB...
unit TestProperties; { AFS 9 July 2K This unit compiles but is not semantically meaningfull it is test cases for the code formatting utility Test bug reported by Michael Hieke in properties and some other property permutations } interface uses Types; type TFoo = class(TObject) private fiBar...
unit main; interface uses DDDK; const DEV_NAME = '\Device\MyDriver'; SYM_NAME = '\DosDevices\MyDriver'; IOCTL_SET = $222003; // CTL_CODE(FILE_DEVICE_UNKNOWN, 0x800, METHOD_NEITHER, FILE_ANY_ACCESS) IOCTL_GET = $222007; // CTL_CODE(FILE_DEVICE_UNKNOWN, 0x801, METHOD_NEITHER, FIL...
// testing uninary operator PROGRAM test8; VAR a : integer; BEGIN a := -1; WRITE(a); a := a + 1; WRITE(a); END.
unit dil; interface uses Classes, TypInfo, Forms, IniFiles; type TDilProcess = (dpFileExport, dpOriginalStore, dpTranslateToFile, dpTranslateToOriginal); TDil = class(TComponent) private FDilProcess :TDilProcess; FIniFile :S...
{********************************************************************* * * 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.brovin...
{****************************************************************************************} { } { XML Data Binding } { ...
unit Financas.Model.Connections.TableFiredac; interface uses Financas.Model.Connections.Interfaces, FireDAC.Comp.Client, System.Classes; Type TModelConnectionsTableFiredac = class(TInterfacedObject, iModelDataSet) private FTable: TFDTable; public constructor Create(Connection: iMod...
unit ZsbFunPro; interface uses Windows, Forms, DBClient, SysUtils, ShellAPI, Messages, rzpanel, rzedit, RzCmboBx, RzBtnEdt, Classes, StrUtils; {dxCntner, dxEditor, dxExEdtr, dxEdLib for TdxCurrencyEdit} procedure AddLog_ExSQLText(TempExSQL: string); function EXSQLClientDataSetNoLog(ClientDataSet1: TClientData...
{ MTB board configuration form implemetation. LICENSE: Copyright 2015-2021 Michal Petrilak, Jan Horacek 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/license...
{********************************************************************* * * 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.brovin...
unit xpCodeGen; (* * 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/ * * Software distributed under the License is distributed...
object ShutDownMsg: TShutDownMsg Left = 1198 Top = 300 BorderStyle = bsDialog Caption = 'Shutdown' ClientHeight = 142 ClientWidth = 429 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -10 Font.Name = 'MS Sans Serif' Font.Style = [] FormStyle = fsStayOnT...
unit UnitMyTest; interface uses DUnitX.TestFramework, Unit1; // 把要測試的檔案加入 type [TestFixture] TMyTestObject = class(TObject) strict private aForm: TForm1; // 自行加入 class public [Setup] procedure Setup; [TearDown] procedure TearDown; [Test] // 一個 [Test] 配一個測試函式 [TestCase('Tes...
unit uTimer; interface uses {$IF CompilerVersion > 22} Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, {$ELSE} Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrl...
{ ---------------------------------------------------------------------------- } { BulbTracer for MB3D } { Copyright (C) 2016-2017 Andreas Maschke } { ---------------------------------------------------------------------------...
unit form2; {$mode objfpc}{$H+} interface uses Classes, SysUtils, sqlite3conn, sqldb, db, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, EditBtn, DbCtrls; type { TForm1 } TForm1 = class(TForm) DataSource1: TDataSource; DateEdit1: TDateEdit; DateEdit2: TDateEdit; Memo1: TMemo; ...
unit SampleObj; interface uses Classes, Sample_TLB, SiteComp, HTTPProd; type TSimpleScriptObject = class(TComponent, IGetScriptObject, IWebVariableName) private FText: string; protected { IWebVariableName } function GetVariableName: string; { IGetScriptObject } function GetScriptObject: IDi...
unit MgBackendGDI; interface uses Classes, Graphics, Controls, MgScene, MgBackend; type TMgBackendGDI = class(TMgBackend) private FCanvas: TControlCanvas; public constructor Create; destructor Destroy; override; procedure RenderScene(Scene: TMgScene; AHandle: THandle); override; end; impl...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
{*******************************************************} { } { Delphi Runtime Library } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC JSON streaming implementation } { } { Copyright(c) 2004-2018 Embar...
unit Delphi.Mocks.Tests.MethodData; interface uses SysUtils, DUnitX.TestFramework, Rtti, Delphi.Mocks, Delphi.Mocks.Interfaces; type {$M+} ISimpleInterface = interface function MissingArg(Value: Integer): Integer; end; {$M-} {$M+} [TestFixture] TTestMethodData = class published [Te...
unit MediaStorage.RecordStorage.Visual.RecordPreview; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufmForm_B,Player.Control,Player.VideoOutput.Base,VideoPane.Monitor, ExtCtrls,MediaProcessing.Definitions,SyncObjs,MediaStream.Framer, StdCtrls, ExtendControl...
{ ---------------------------------------------------------------------------- } { BulbTracer for MB3D } { Copyright (C) 2016-2017 Andreas Maschke } { ---------------------------------------------------------------------------...
unit Devices.Streamlux700f; interface uses GMGlobals, Devices.ReqCreatorBase, GMConst; type TStreamlux700fReqCreator = class(TDevReqCreator) private procedure AddChannelRequest(ID_Prm, ID_Src, N_Src: int); procedure AddRequestString(const s: string); public procedure AddRequests(); override; en...
(* Name: isadmin Copyright: Copyright (C) SIL International. Documentation: Description: Create Date: 20 Jun 2006 Modified Date: 26 Jun 2012 Authors: mcdurdin Related Files: Dependencies: Bugs: Todo: Notes: Hist...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC MSSQL metadata } { } { Copyright(c) 2004-2018 Embar...