text stringlengths 14 6.51M |
|---|
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Math;
type
TForm1 = class(TForm)
Label1: TLabel;
Edit1: TEdit;
Button1: TButton;
Label2... |
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie
All rights reserved.
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
{$loadlib ../Includes/AeroLib/core/minimap/Walker/libMatchTempl.dl... |
unit firmata;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
Type
TFirmata = Class(TObject)
public
const
SYSEX_MAX_DATA_BYTES = 32; // max bytes in message
// firmata command bytes
CMD_ID_REQUEST = $01; // unit ID
CMD_ID_SET ... |
unit Unit_Matrix;
//
// Created by: Alexander Oster - tensor@ultima-iris.de
//
(*****
*
* 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
* (a... |
unit FlyCapture2_C;
interface
uses
Windows, FlyCapture2Defs_C;
function fc2GetLibraryVersion(var Version:TFC2Version):TFC2Error; cdecl;
function fc2CreateContext(var Context:TFC2Context):TFC2Error; cdecl;
function fc2CreateGigEContext(var Context:TFC2Context):TFC2Error; cdecl;
function fc2DestroyContext(Context... |
unit LongHashMap_u;
interface
uses LongHashMapEntry_u;
type LongHashMap=class(TObject)
private
ListEntries:ar_LongHashMapEntry;
numHashElements,capacity,field_35581_e:integer;
percent:double;
function getHashedKey(l:int64):integer;
function hash(i:integer):i... |
unit ETL.Form.Edit;
interface
uses Vcl.Controls, Vcl.StdCtrls, Vcl.CheckLst, System.Classes, Vcl.Forms, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxSplitter, upControls, System.Actions, Vcl.ActnList;
type
TFoEdit = class(TForm)
ActionList: TActionList;
AcCloseWindow: TActio... |
unit SWaterfallReader;
interface
uses
Classes, ComObj, Variants, SysUtils, CommUtils;
type
TSWFLine = class;
TSWFCol = class;
TSWFProj = class
private
FList: TStringList;
function GetLineCount: Integer;
function GetLines(i: Integer): TSWFLine;
public
FName: string;
constructor Create... |
unit uConfiguratorData;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, VirtualTrees, Forms,
uMap,
uSignature,
uModbus,
uAutoScan,
uLibrary;
type
{ TDetailedForm }
TDetailedFormClass = class of TDetailedForm;
TContentData = class;
TDetailedForm = class(TForm)
public
procedure Load(... |
unit UChottoForm;
interface
uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
HogeTextView,
ULocalCopy,
U2chTicket,
UASync,
StdCtrls,
StrUtils,
ExtCtrls,
UViewItem, ComCtrls;
type
TChottoForm = class(TForm)
Button... |
unit TSTOScriptTemplate.Xml;
interface
uses xmldom, XMLDoc, XMLIntf, HsXmlDocEx, HsInterfaceEx;
type
ITSTOXmlScriptTemplateSettings = Interface(IXmlNodeEx)
['{4B61686E-29A0-2112-922B-480A3EEAE7A5}']
Function GetOutputFileName() : WideString;
Procedure SetOutputFileName(Const AOutputFileName : WideStri... |
unit UConstants;
interface
uses
Winapi.Messages;
const
// время
c1Sec = 1000;
c1SecDate = 1/24/60/60;
c1MsecDate = c1SecDate/1000;
c1Minute = c1Sec * 60;
// thread
cCreateSuspended = True;
cCreateRunning = False;
// шаблоны сообщений
cCrLf = #13#10;
c2CrLf = ... |
{*******************************************************************************
作者: dmzn@163.com 2015-01-09
描述: 海康卡口式车牌识别数据同步
*******************************************************************************}
unit UFormMain;
{.$DEFINE DEBUG}
{$I Link.inc}
interface
uses
Windows, Messages, SysUtils, Va... |
unit uOnLineOrderUtils;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls,MSXML6_TLB, WinHTTP_TLB, uWindowsInfo, XMLDoc,
XMLIntf,UUtil1;
const
httpRespOK = 200; //Status code from HTTP REST
elRoot = 'OrderManagementServices';
... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC cipher classes }
{ }
{ Copyright(c) 2004-2013 Embar... |
unit dmInversor;
interface
uses
SysUtils, Classes, DB, IBCustomDataSet, IBQuery, dmEstrategiaInterpreter,
dmBroker, dmCuentaBase, Script_Log, dmData;
type
TInversor = class(TDataModule)
dsPosiciones: TDataSource;
dsPosicionesMercado: TDataSource;
qEstrategias: TIBQuery;
qEstrategiasOID_ESTRATEG... |
unit PropertiesIniFileUnit;
interface
uses
IGetSelfUnit,
IPropertiesStorageUnit,
IniFiles,
SysUtils,
Classes;
type
TPropertiesIniFile = class (TInterfacedObject, IPropertiesStorage)
private
FIniFile: TIniFile;
FNameOfCurrentSection: String;
function GetIniFilePath... |
unit UAlgorithmsTests;
interface
uses
Classes, SysUtils,
dwsXPlatformTests, dwsComp, dwsCompiler, dwsExprs, dwsErrors,
dwsXPlatform, dwsUtils, dwsSymbols;
type
TAlgorithmsTests = class (TTestCase)
private
FTests : TStringList;
FCompiler : TDelphiWebScript;
... |
unit OApproxCaption;
interface
uses
OApproxNew, FitDigital, FitSimple, FitGradient, OApproxFunction,
OApproxFunction2, OApproxFunction3, FitManyArguments;
type
TFitFuncCategory=(ffc_none,ffc_trans,ffc_digital,
ffc_simple,ffc_schottky,ffc_cc,ffc_diode,ffc_2diode,
ffc_3diod... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, KSChineseSpell, FilterCombos;
type
TForm1 = class(TForm)
lsData: TListBox;
KSFilterComboBox1: TKSFilterComboBox;
procedure FormCreate(Sender: TObject);
procedure KSFilterComboBox1Filte... |
unit SG_DataBase;
interface
uses
dbtables;
type
TSG_DataBase=class
public
class function getInstance:TSG_DataBase;
procedure conectar(dataBaseName:string;login:boolean=true;usuario:string='';
clave:string='');
function openQuery(consulta:string):TQuery; overload;
procedure openQuery(consu... |
unit UIOTAMulti;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
UACAGMulti, Grids, StdCtrls, JLLabel, ExtCtrls, UITypes,
UzLogConst, UzLogGlobal, UzLogQSO, UMultipliers, UzLogCW;
type
TIsland = class
RefNumber : string;
Name : string;
Worked : array[b19..... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit AndroidSDK.Toast.Utils;
interface
{$SCOPEDENUMS ON}
type
TToastDuration = (Short = 0, Long = 1);
TToastPosition = (default = 0, Top = 48, Bottom = 80, Center = 17,
VerticalCenter = 16, HorizontalCenter = 1);
procedure ShowToast(const AText: string;
const ADuration: TToastDuration = TToastDuration.Shor... |
program Integral;
//Program untuk mengintegral, dengan input koefisien.
uses sysutils;
//Untuk kepentingan display
(* DICTIONARY *)
var
power : integer;
equation : array[1..100] of real;
i : integer;
Begin
//INPUT + PROSES
write('Masukkan pangkat paling besar : ');
readln(power);
for i := power downto 0 do
be... |
{*!
* Fano Web Framework (https://fanoframework.github.io)
*
* @link https://github.com/fanoframework/fano
* @copyright Copyright (c) 2018 Zamrony P. Juhara
* @license https://github.com/fanoframework/fano/blob/master/LICENSE (MIT)
*}
unit EpollSocketSvrImpl;
interface
{$MODE OBJFPC}
{$H+}
uses
So... |
unit Pratt.Joystick;
interface
uses
System.SysUtils, System.Classes, System.SyncObjs,
Winapi.mmsystem, Winapi.Messages,
VCL.Controls;
const
PJ_JOYSTICK_MOVE = WM_APP+1;
PJ_BUTTON_UP = WM_APP+2;
PJ_BUTTON_DOWN = WM_APP+3;
PJ_STATUS_CHK = WM_APP+4;
type
TJoystickEvent = proced... |
unit Menus.Model.Entity.Interfaces;
interface
uses
System.Classes, Menu.Model.Conexoes.Interfaces;
type
iModelEntity = interface
['{3411450F-9835-4C92-B40B-268D054E9637}']
function Listar: TComponent;
end;
iModelEntityFactory = interface
['{2BFFCFC5-4B25-42E4-8C01-5C39410F7CAA}']
function Pr... |
unit UUADProjYrBuilt;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2018 by Bradford Technologies, Inc. }
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls... |
unit main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, Vcl.ExtCtrls, Vcl.StdCtrls, system.json;
type
TForm1 = class(TForm)
Memo1: TMemo;
Panel1: TPanel;
SpeedButton1: TSpeedButton... |
unit U_Generic.Functions;
interface
uses
System.SysUtils, WinApi.ShellApi, FMX.Forms, System.UITypes, Winapi.Windows,
System.Classes, Winapi.ShlObj;
type
TGenericsFunctions = class(TInterfacedObject)
public
constructor Create();
function getProtocol(protocol : Integer): String;
function getTOS(to... |
unit uModuleBuilder;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Sax,
uSaxBase,
uLibrary;
type
{$REGION ModuleDefineBuilders}
{ TPresetsBuilder }
TPresetsBuilder = class(TBuilder)
public
procedure StartTagHandler(const {%H-}aAtts: TSaxAttributes); override;
procedure SetT... |
unit U_Integration_CSV_SGBD_INSEE;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
uses
{$IFnDEF FPC}
VarCmplx, VarConv, Windows,
{$ELSE}
LCLIntf, LCLType, LMessages,
{$ENDIF}
Classes,
StrUtils, SysUtils, Variants,
// TObject List Definition dans Unit Contnrs
Contnrs,
U_CSVMappingS... |
unit DBAppFormProjeto;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DBAppProjetoBase, Vcl.ComCtrls, Data.DB, Vcl.Grids, Vcl.DBGrids, Datasnap.DBClient, Vcl.ExtCtrls, Vcl.StdCtrls;
type
TFormProjeto = class(... |
unit PrintSetting;
interface
uses
BPLADLL, PrintExtension, Windows, Classes, StrUtils, SysUtils;
//PortType:端口类型
//DevName:设备名称
//ExInfo:预留扩展信息
function PrintExecute(APortType, ADevType: Integer;ALabelFilep: PChar;AExInfo: PExInfo): Integer; stdcall;
{------------------------------SNBC BTP-L520----------... |
unit Adiciona_Produto_Relacao;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DBCtrls, Buttons, Grids, DBGrids, ExtCtrls;
type
TAdicionaProdutoRelacao = class(TForm)
Panel2: TPanel;
DBGrid_FB_Produtos: TDBGrid;
Panel3: TPanel... |
// ******************************************************************
//
// Program Name : Single Instance Framework
// Platform(s) : Android, iOS, OSX, Linux64, Win32, Win64
// Framework : FMX
//
// Filename : AT.SingleInstance.pas
// File Version : 1.00
// Date Created : 08-Dec-2017
// Author ... |
unit RocketPotentialPayloadWeight;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, BaseModel;
type
IBaseRocketPotentialPayloadWeight = interface(IBaseModel) ['{5A89D92B-A810-40AF-9FC6-DB5FC1E20854}']
function GetId: string;
function GetKilograms: Double;
function GetName: string;
function... |
unit uConsts;
interface
uses
Messages,
Windows;
Const
nnm_version = '0.0.3.5';
npd_version = '0.1';
npf_version = '0.1';
title = 'NoNaMe Post Editor';
BodyStyle = '<body style="font-family: tahoma; font-size: 11px;">';
BodyStyleDiv = BodyStyle + '<div>';
EmptyPage = 'about:<hea... |
unit RepositorioTransportadora;
interface
uses
DB,
Repositorio,
RepositorioPessoa;
type
TRepositorioTransportadora = class(TRepositorioPessoa)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; overr... |
UNIT MainUnit;
INTERFACE
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, frxClass, frxDesgn, ExtCtrls, DB, frxDBSet, DBClient;
type
TMainForm = class(TForm)
ReportDesigner: TfrxDesigner;
GroupBox1: TGroupBox;
ShowDesigner: TButton;
DSLoadedPDF:... |
// ======================================== //
// _shader.pas //
// ---------------------------------------- //
// Author: Tom Nuydens (tom@delphi3d.net) //
// ======================================== //
unit _shader;
interface
uses
Classes, SysUtils, DGLOpenGL;
functio... |
unit Child;
interface
uses
REST.Json.Types,
Father;
type
TChild = class(TSecond)
private
[JSONName('Promo')]
FProp: Integer;
public
property APIUrl;
property Prop: Integer read FProp write FProp;
end;
implementation
end.
|
unit uRegSetting;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Registry, uSetting;
type
{ TRegSetting }
TRegSetting = class(TInterfacedObject, ISetting)
private
FRegistry: TRegistry;
public
function GetBackupTimeout: dword;
function GetBaudRate: dword;
function GetByteSize: byte... |
program SortNames(Input, Output);
uses wincrt;
const MAX = 3;{Max names stored}
type StringArray = Array[1..MAX] of String;
var Names : StringArray;
I, Index : Integer;
Smallest, Largest : String;
begin
{Get Names & Store in array}
writeln('Enter ', MAX, ' names:');
for I := 1 t... |
UNIT Configuration;
(*<Stores and manages the configuration. This includes command line parsing. *)
(*
Copyright (c) 2018 Handoko
(c) 2019-2020 Guillermo Martínez.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
... |
unit PlgTSTOPluginManager;
interface
uses
TSTOPluginIntf, TSTOPluginManagerIntf, TSTOCustomPatches.IO, TSTOScriptTemplate.IO,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PlgTSTOCustomPlugin, SpTBXItem, TB2Item;
type
TTSTOPluginManager = class(TTSTOCustomPlugin, ITSTOPl... |
unit UUtil4;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2005 by Bradford Technologies, Inc. }
{$WARN SYMBOL_PLATFORM OFF}
{$WARN UNIT_PLATFORM OFF}
interface
//Uses
// clipbrd, shellAPI, shlObj;
... |
unit DataIntAnalysisReader;
interface
uses
Classes, ComObj, CommUtils;
type
TDataIntAnalysisCol = packed record
icol: Integer;
sweek: string;
qty1: Double;
qty2: Double;
fcalc: Boolean;
end;
PDataIntAnalysisCol = ^TDataIntAnalysisCol;
TDataIntAnalysisLine = class
private
procedur... |
unit IPGeoLocation.Providers.IPInfo;
interface
uses
IPGeoLocation.Interfaces, IPGeoLocation.Core, System.Net.HttpClient;
type
{$REGION 'TIPGeoLocationProviderIPInfo'}
TIPGeoLocationProviderIPInfo = class sealed(TIPGeoLocationProviderCustom)
private
{ private declarations }
protected
{ protected de... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, PCANLight, ExtCtrls;
type
MessageStatuspointer = ^MessageStatus;
MessageStatus = record
Msg : TPCANMsg;
iIndex : integer;
end;
ProcMsgRead = proc... |
// see ISC_license.txt
{$I genLL.inc}
unit GramParser;
interface
uses
Runtime, GramLexer;
type
TGramParser = class(TParser)
public
procedure predicate();
procedure token();
procedure repetition();
procedure rule();
procedure nontermlhs();
procedure rules();
procedure ntermrules();
{... |
unit DSharp.Core.Reflection.Tests;
interface
uses
Generics.Collections,
DSharp.Collections;
type
TInvokableList = TList<IInvokable>;
TPersistentList = class(TList<TObject>);
TBaseComparer<T: class> = class(TObject);
TFolder = class(TObject);
TFile = class(TObject);
TFolderComparer = class(TBaseCompa... |
unit core_text_reader;
{$mode delphi}{$H+}
//simple text file encryption
//use default crypt key: 8975
interface
uses
Classes, SysUtils, dialogs ;
procedure loadTextFile(loadTo:tStrings;const path:string;key:word = 8975);
procedure saveTextFile(lines:TStrings;const path:string;key:word = 8975);
implementation... |
unit Radar_Data;
interface
uses
Description;
function Find( Radar : TRadar ) : TRadarDesc; stdcall;
function TrustStr ( Trust : TRadarTrust ) : string; stdcall;
function BrandStr ( Brand : TRadarBrand ) : string; stdcall;
function Manufacturer( Brand : TRadarBrand ) : string; stdcall;
// Nominal parame... |
{*************************************************************
www: http://sourceforge.net/projects/alcinoe/
svn: svn checkout svn://svn.code.sf.net/p/alcinoe/code/ alcinoe-code
Author(s): Stéphane Vander Clock (alcinoe@arkadia.com)
Sponsor(s): Arkadia SA (http://www.arkadia.com)
pr... |
unit frm_main;
{$mode objfpc}{$H+}
interface
uses
SysUtils,
Classes,
fpg_base,
fpg_main,
fpg_form,
fpg_menu,
fpg_panel,
frm_editor;
type
TMainForm = class(TfpgForm)
private
{@VFD_HEAD_BEGIN: MainForm}
MainMenu: TfpgMenuBar;
SB: TfpgPanel;
FSQLEditor: TEditorForm;
mnuFile: Tf... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2012-2013 Embarcadero Technologies, Inc. }
{ ... |
unit YOTM.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Direct2D, D2D1, System.Generics.Collections,
HGM.Controls.PanelExt, Vcl.ComCtrls, System.Types, Vcl.StdCtrls, System.UITypes,
HGM.... |
{******************************************************************************}
{ }
{ Icon Fonts ImageList: An extended ImageList for Delphi/VCL }
{ to simplify use of Icons (resize, colors and more...) ... |
(*----------------------------------------------------------*)
(* Übung 3 ; Beispiel 2 Zahlenkonvertierung *)
(* Entwickler: Neuhold Michael *)
(* Datum: 24.10.2018 *)
(* Lösungsidee: Dezimal Zahl vom Typ Integer einlesen *)
(* ... |
unit MainForm;
interface
uses AncestorMain, dsdAction, frxExportXML, frxExportXLS, frxClass,
frxExportRTF, Data.DB, Datasnap.DBClient, dsdDB, dsdAddOn,
Vcl.ActnList, System.Classes, Vcl.StdActns, dxBar, cxClasses,
DataModul, dxSkinsCore, dxSkinsDefaultPainters, DateUtils,
cxLocalization, Vcl.Menus, cxProperti... |
// ******************************************************************
//
// Program Name : AT Library
// Platform(s) : Android, iOS, Linux, MacOS, Windows
// Framework : Console, FMX, VCL
//
// Filename : AT.Bindings.Utils.pas
// Date Created : 22-Nov-2020
// Author : Matthew Vesperman
//
// D... |
unit TestCapture;
interface
uses
TestFramework,
RegularExpressions;
type
TTestCapture = class(TTestCase)
private
FCapture: ICapture;
protected
procedure SetUp; override;
published
procedure TestCapture;
end;
implementation
{ TTestCapture }
procedure TTestCapture.SetUp;
begin
inherited;... |
unit FlyCapUtils;
interface
uses
Classes, SysUtils, Graphics, FlyCapture2_C, FlyCapture2Defs_C;
function FlyCap2VersionStr(Version:TFC2Version):String;
function FlyCap2GUIDStr(GUID:TFC2PGRGuid):String;
function FlyCap2InterfaceStr(IFace:TFC2Interface):String;
procedure DrawBmpFromFlyCap2Image(Bmp:TBitmap;var I... |
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.ScrollBox,
FMX.Memo,
FMX.Controls.Presentation,
FMX.StdCtrls,
Alcinoe.FMX.ErrorReporting,
sys... |
namespace IdentityServerConsoleApplication;
interface
uses
System.Linq,
Microsoft.Owin.Hosting,
Serilog.*;
type
Program = class
public
class method Main(args: array of String): Int32;
end;
implementation
class method Program.Main(args: array of String): Int32;
begin
// add your own code here... |
unit DomainObjectBaseUnit;
interface
uses
ClonableUnit,
CopyableUnit,
EquatableUnit,
IDomainObjectBaseUnit,
IDomainObjectBaseListUnit,
TypInfo;
type
{$M+}
TDomainObjectBase = class abstract
(
TInterfacedObject,
... |
unit frmMethods_u;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons;
type
TForm2 = class(TForm)
lblLanguage: TLabel;
btnEnglish: TButton;
btnFrench: TButton... |
unit UFormConfig;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2018 by Bradford Technologies, Inc. }
// This unit is used to configure multiple instances of a form, such as comp456, comp789
// It doe... |
//Copyright 2015 Andrey S. Ionisyan
//
//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 PriceGroupSettingsTOP;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorEnum, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxPCdxBarPopupMenu, cxStyles,
cxCustomData, cxFilter, c... |
// Delphi interface unit for UnRAR.dll
// Translated from unrar.h
// Use Delphi 2.0 and higher to compile this module
//
// Ported to Delphi by Eugene Kotlyarov, fidonet: 2:5058/26.9 ek@oris.ru
// Fixed version by Alexey Torgashin <alextp@mail.ru>, 2:5020/604.24@fidonet
//
// Revisions:
// Aug 2001 - changed ca... |
{*------------------------------------------------------------------------------
OleAcc.dll操作ユニット
@Author $Author$
@Version $Id$
-------------------------------------------------------------------------------}
unit OleAcc;
interface
uses
Windows, ActiveX, Shdocvw_tlb, MSHTML;
function ... |
(******************************************************************************)
(** Suite : AtWS **)
(** Object : TAtWSvc **)
(** Framework : ... |
unit Basic;
{$include kcontrols.inc}
interface
uses
{$IFDEF FPC}
LCLType, LCLIntf, LResources,
{$ELSE}
Windows, Messages,
{$ENDIF}
Classes, SysUtils, Graphics, StdCtrls, KHexEditor, KControls;
type
TEnvironmentPacked = packed record
Version: Byte;
// options
DropFiles,
Gro... |
unit Artist_GeneratedByXMLDataBinding;
interface
uses xmldom, XMLDoc, XMLIntf;
type
{ Forward Decls }
IXMLName = interface;
IXMLArtist = interface;
{ IXMLName }
IXMLName = interface(IXMLNode)
['{DAE74CB2-3673-4608-9F0B-23F72D66951E}']
{ Property Accessors }
function Get_Title:... |
unit formMergeMainController;
interface
uses
System.SysUtils, System.Classes, System.Actions, Vcl.ActnList, formMergeMain,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf,
FireDAC.Stan.Async, FireDAC.DApt, Data.DB, Fire... |
unit AqDrop.DB.DBX.MySQL;
{$I '..\Core\AqDrop.Core.Defines.Inc'}
interface
uses
Data.DBXCommon,
{$IFNDEF AQMOBILE}
Data.DBXMySQL,
{$ENDIF}
AqDrop.DB.Adapter,
AqDrop.DB.Connection,
AqDrop.DB.DBX,
AqDrop.DB.SQL.Intf;
type
TAqDBXMySQLDataConverter = class(TAqDBXDataConverter)
public
... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
(* ***** 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 LDB.Item;
interface
type
TItem = class
private
FidItem: integer;
FprecoCusto: double;
Fdescricao: String;
FprecoVenda: double;
Ffg_ativo: integer;
Fquantidade: integer;
procedure Setdescricao(const Value: String);
procedure Setfg_ativo(const Value: integer);
procedure SetidItem... |
Unit TriniLibUtils;
{$MODE OBJFPC}{$H+}{$HINTS ON}
Interface
Uses
Exec;
{
Procedure AutoInitLib
=======================================================================
This routine is to be called upon unit initialization of a shared
system library.
In order for this implementatio... |
unit U_AdapterList.dto;
interface
uses
System.Generics.Collections, U_Adapter.dto;
type
TAdapterList = class(TObjectList<TAdapter>)
public
constructor Create();
procedure Add(adapter : TAdapter);
end;
implementation
{ AdapterList }
procedure TAdapterList.Add(adapter : TAdapter);
begin
inherit... |
unit RepositorioNFe;
interface
uses
DB,
Repositorio;
type
TRepositorioNFe = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIdentificador(Objeto :TObjec... |
unit core_animations;
{$mode objfpc}{$H+}
interface
uses
SysUtils, core_types, VectorGeometry, core_listofrecords,
fgl;
type
{ TActorAnimations }
eHumanActorAnimations = (
asNone,
asStanding,
asWalking,
... |
unit ContactPersonTest;
interface
uses dbTest, dbObjectTest, ObjectTest, DB;
type
TContactPersonTest = class (TdbObjectTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TContactPerson = class(TObjectTest)
function InsertDefault: integer; override;
public
... |
unit TSTOXmlBaseType;
interface
Uses HsXmlDocEx;
//xmldom, XMLDoc, XMLIntf;
Type
//MasterList
ITSTOXmlDataID = Interface(IXmlNodeEx)
['{8DAB458F-0B68-4DC7-84CA-5E9C612A61B9}']
Function GetId: Integer;
Function GetName: Widestring;
Function GetStatus: Widestring;
Function GetOnDeprecated: Wi... |
{*!
* Fano Web Framework (https://fanoframework.github.io)
*
* @link https://github.com/fanoframework/fano
* @copyright Copyright (c) 2018 Zamrony P. Juhara
* @license https://github.com/fanoframework/fano/blob/master/LICENSE (MIT)
*}
unit fano;
interface
{$MODE OBJFPC}
uses
{$INCLUDE Includes/int... |
unit wintrust;
// Модуль для проверки файлов по базе ЭЦП MS
interface
var
WinTrustLevel : integer = 1; // Уровень контроля
// Проверка подлинности файла
function CheckFileTrust(const AFilename: string): Boolean;
// Загрузка DLL и поиск функций
function LoadWintrustDLL : boolean;
implementation
uses
... |
unit UPrincipal;
interface
uses
System.SysUtils, System.Classes, Printers, SynPDF, Vcl.Graphics,
QuickRpt, QRCtrls;
type
TExportarPDF = class(TComponent)
private
FNomePDF: String;
FCaminhoQRP: String;
procedure SetCaminhoQRP(const Value: String);
procedure SetNomePDF(const Value... |
unit commontestbase;
{$mode ObjFPC}{$H+}
interface
uses
FPCUnit, Classes, SysUtils;
var
TestRoot : String;
type
{ TCommonTestSuiteCase }
TCommonTestSuiteCase = class (TTestCase)
protected
FName : String;
function GetTestName: string; override;
public
constructor Create(name : String);
p... |
unit Project87.Types.Weapon;
interface
uses
Strope.Math,
Project87.Bullet,
Project87.Rocket,
Project87.BaseUnit,
Project87.ScannerWave;
type
TCannon = class
private
// bullets parameters
FDamage: Single;
FReloadTime: Single;
FReloadTimer: Single;
FBulletTime: Single;
... |
unit UnitDataModule;
interface
uses
SysUtils, Classes, Variants, Windows, ADODB, DB;
const
EMPTY_DATETIME = 2;
ORDER_FORM_SQL = 'SELECT * FROM OrderForms ';
DEFAULT_SORT_ORDER = 'ShotDate, OrderDate';
type
TDataModuleMain = class(TDataModule)
dsOrderForms: TADODataSet;
conDatabase: TADOConnection;... |
unit uLibraryTreeData;
(*
Data узла компонента LibraryTree предоставляет объект-заменитель,
реализованный в виде абстрактного класса, для доступа к реальному объекту.
Интерфейс абстрактного класса:
- Caption - визуальный заголовок узла (Get, Set)
- ReadOnly - флаг редактирования заголовка через процедуру ... |
unit gmaps;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, AndroidWidget;
type
TNavigationMode = (byDriving, byWalking, byBicycling);
TNavigationAvoid = (avoidTolls, avoidHighways, avoidFerries);
TSearchCategorical = (Restaurants, Hotels, Bowling, Parks, Entertainment, Shopping, Movie, Theaters);
{Dr... |
{ ---------------------------------------------------------------------------- }
{ Mesh-Export for MB3D }
{ Copyright (C) 2016 Andreas Maschke }
{ ---------------------------------------------------------------------------... |
unit ProviderEx;
(***** Code Written By Huang YanLai *****)
interface
uses SysUtils,Classes,DB,Provider;
type
// TDataSetProviderEx
// 1. convert null Params to unassigned to resovle query re-opening problem
// see DoBeforeGetRecords
// notes :
// 1) PackageParams (in DBClient) produce null as para... |
unit DragDropViewer;
interface
uses
Windows, Forms, Messages, SysUtils, Classes, Controls, Graphics;
type
TDragDropViewer = class(TComponent)
private
{ Contient le controle en cours de déplacement, 'Nil' sinon. }
FControl: TWinControl;
{ Handle du canvas du controle. }
FControlDC... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.