text stringlengths 14 6.51M |
|---|
unit Restourant.JsonDatabase;
interface
uses
System.SysUtils, System.IOUtils, System.Types, System.Classes, System.Variants
,Restourant.JsonDataObject
;
type
TJsonDataBase = class(TComponent)
private
FTables :TStringList;
FFileExt :string;
FDataBasePath:string;
procedure ... |
unit RTPaintBeams;
interface
uses
Classes, RTDisplay, IdBaseComponent,
IdComponent, IdTCPConnection, IdTCPClient;
const
ClientRefreshFrequency = 50;
type
TRTPaintBeams = class(TThread)
private
RTClient : TIdTCPClient;
BeamData : PBytes;
RawCellSize,
RawCellCount : cardinal... |
unit mnDateRange;
interface
uses Classes, cxDropDownEdit, cxCalendar;
type
{--------------------------------
供选择的日期范围的种类。分别是:
自定义范围
本日,本周,本月,本季度,本年
上日,上周,上月,上季度,上年
之前7日,之前1月,之前3月,之前12月
本周至今,本月至今,本季度至今,本年至今
--------------------------------}
mnTDateRangeKind =
(drkCustom,
drkToday, dr... |
unit CFDIDM;
interface
uses
System.SysUtils, System.Classes, Data.DB, Data.Win.ADODB, Vcl.Forms,
Vcl.Dialogs, Windows, Vcl.ComCtrls, System.Types, System.IniFiles,
System.Variants, System.Actions, Vcl.ActnList, Soap.EncdDecd,
Soap.XSBuiltIns,
CFDLibHeader, DataTypeCast,
cxMemo,
CFDIUtils,
... |
unit UMain1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics,
Controls, Forms, Dialogs,QuartzTypeLib_TLB, StdCtrls, ExtCtrls, ComCtrls;
type
TForm1 = class(TForm)
Label1: TLabel;
Edit1: TEdit;
btnBrowse: TButton;
OpenDialog1: TOpenDialog;
btnOpen: TButton;
btnPlay: TButton... |
unit uscanresult;
interface
uses fgl;
type
TTimInfo = record
Magic: Byte;
Position: Integer;
Size: Integer;
Width: Integer;
Height: Integer;
BitMode: Byte;
Cluts: Integer;
Good: Boolean;
end;
type
TScanResult = class(TObject)
private
pScanFile: st... |
unit ItemEditor.ODDs;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ItemEditor.Base, StdCtrls, ComCtrls, ExtCtrls, pngimage, Buttons, PngBitBtn;
type
TItemEditorFrame_ODD = class(TItemEditorBaseFrame)
CustomTabSheet: TTabSheet;
CaptionLabel_C1: TLabe... |
unit Tanque;
interface
type
TTipoConbustivel = (Gasolina, OleoDiesel);
TTanque = class
private
FDescricao: String;
FId: Integer;
FTipo: TTipoConbustivel;
procedure SetDescricao(const Value: String);
procedure SetId(const Value: Integer);
procedure SetTipo(const Value: TTipoConbustivel);... |
unit ACDatabase;
interface
uses Generics.Collections, AC, IniFiles, SysUtils, Classes;
const
_FILE_SUFFIX = '.krk';
type
//AC database
TACDb = class
private
fstatfilename:string;
fdirname:string;
function GetACRunning():boolean;
public
ACs:TObjectList<TAC>;
constructor... |
unit Logging;
// tato unita zajistuje logovani
interface
uses ComCtrls, SysUtils, Graphics, Windows, Classes;
const
//konstanty pro writelog
WR_MESSAGE = 0;
WR_ERROR = 1;
WR_VYHYBKY = 2;
WR_AUTREZ = 3;
WR_VC = 4;
WR_INTELLIBOX = 5;
WR_DATA = 6;
WR_RCS ... |
unit uFmrSwitch01;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TfmrSwitch02 = class(TForm)
Label1: TLabel;
Label2: TLabel;
edtAge: TEdit;
Label3: TLabel;
... |
unit MainForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, db, FileUtil, Forms, Controls, Graphics, Dialogs, DBGrids,
DbCtrls, ZConnection, ZDataset;
type
{ TForm1 }
TForm1 = class(TForm)
DataSource1: TDataSource;
DBGrid1: TDBGrid;
DBNavigator1: TDBNavigator;
ZC... |
(*
* 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 version.
*
* This program is distributed in the hope that it will be use... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit ContractEdit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorEditDialog, cxGraphics,
cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore,
dxSkinsDefaultPainters, cxControls, cxContaine... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2015 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable as ... |
unit mnDebug;
interface
uses SysUtils, mnSystem, Classes, cxMemo;
type
{--------------------------------
NeverGoesHere异常类型。
--------------------------------}
ENeverGoesHereException = class(Exception);
{--------------------------------
抛出一个NeverGoesHere异常。
通常放在程序逻辑上不会运行到的地方。如果运行时这个函数被调用,表示程序运行出错了。
Tested... |
unit UCommandData;
interface
uses
System.SysUtils,
Data.DB,
{$IFDEF DEV_LOG}ULog,{$ENDIF}
UDefinitions;
type
TCommandData = class
strict private
FPos: Integer;
FRecArray: TDataRecArray;
FMaxId: Int64;
strict private
function GetCount: Integer;
function GetEOF: Boolean;
function ... |
unit UUADResidDesignStyle;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons... |
unit XFaceTransferOutHexString;
(*
* Compface - 48x48x1 image compression and decompression
*
* Copyright (c) James Ashton - Sydney University - June 1990.
*
* Written 11th November 1989.
*
* Delphi conversion Copyright (c) Nicholas Ring February 2012
*
* Permission is given to distribute these sources, ... |
unit UFilterCustomizado;
interface
uses DBXTransport,IdCoderMIME,SysUtils;
type
TTDSFilterDelphiConference = class(TTransportFilter)
public
function ProcessInput(const Data: TBytes):
TBytes; override;
function ProcessOutput(const Data: TBytes):
TBytes; override;
function Id: stri... |
unit TSTOHackMasterList.IO;
interface
Uses
Classes, HsInterfaceEx, HsStreamEx, TSTORgbProgress,
TSTOHackMasterListIntf, TSTOProject.Xml, TSTOScriptTemplateIntf;
Type
tDataIDIOType = (tdtUnknown, tdtCharacter, tdtBuilding);
ITSTOHackMasterDataIDIO = Interface(ITSTOHackMasterDataID)
['{4B61686E-29A0-2112-... |
unit roDockWin;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, ComCtrls, ActnList;
type
TDockWin = class(TForm)
procedure FormShow(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure FormDockOver(Sender: TOb... |
unit IfStatementsForm;
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, FMX.Edit;
type
TForm1 = class(TForm)
Button1: TButton;
... |
unit anagruoli_frm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
StdCtrls, ExtCtrls, ComCtrls, ZDataset,datamodule_frm;
type
{ Tanagruoli }
Tanagruoli = class(TForm)
btelimina: TButton;
btnuovo: TButton;
btsalv... |
unit uBase;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
Windows,
fgl,
uLibrary;
type
TErrors = specialize TFpgMap<Integer, String>;
{$REGION Base}
{
Базовый класс библиотеки
Содержит методы работы с кодами ошибок
Все классы должны быть унаследованы от него
}
TBase = class(TInterfacedOb... |
unit Sample8.Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TMainForm = class(TForm)
Button1: TButton;
Memo1: TMemo;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declara... |
unit uROHTTPWebsocketServer;
interface
uses
Classes, IdServerIOHandlerWebsocket, IdIOHandlerWebsocket, IdContext,
IdCustomHTTPServer, IdCustomTCPServer, IdServerWebsocketContext,
IdServerSocketIOHandling, IdServerWebsocketHandling,
uROIndyHTTPServer, uROClientIntf, uROServer, uROHTTPDispatch, uROHash,
uROSe... |
// =============================================================================
// Module name : $RCSfile: StepData.pas,v $
// Description : This unit defines test step (TTestStep) and its corresponding
// elements, e.g, TStepResult, TStepField etw.
// script is composed of variable-val... |
unit UnitRelatorios;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,
FireDAC.DApt.Intf, FireDAC... |
program pl0(input,output,fin) ; { version 1.0 oct.1989 }
{ PL/0 compiler with code generation }
{*
comment by Jiyun Huang
*}
{*常量定义*}
const norw = 13; { no. of reserved words } {*保留字的数目*}
txmax = 100; { length of identifier table } {*符号表长度*}
nmax = 14; { max. no. of digits in nu... |
unit uMercadoLivre;
interface
uses SysUtils;
type
TMLOrder = class
private
fCurrency_id: String;
fDate_created: TDateTime;
fTags: array of string;
fMediations: array of String;
fId: integer;
fHidden_for_seller: TDateTime;
fStatus: String;
fTotal_a... |
unit HelloServerUnit;
interface
uses
System.SysUtils,
Sparkle.HttpSys.Server,
Sparkle.HttpServer.Context,
Sparkle.HttpServer.Module;
procedure StartHelloServer;
procedure StopHelloServer;
implementation
uses
System.IOUtils;
var
HelloServer: THttpSysServer;
procedure StartHelloSer... |
unit UPrefFAppDatabases;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ This is the Frame that contains the Database Preferences}
interface
uses
Windows, M... |
unit CaseStatementsForm;
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.Edit, FMX.StdCtrls, FMX.Controls.Presentation, FMX.EditBox,
FMX.NumberBox;
type
TForm1 = class(... |
Unit TSTODlcIndex;
Interface
Uses HsXmlDocEx, TSTOXmlBaseType;
Type
ITSTOXmlLocalDir = Interface(IXmlNodeEx)
['{7B8D236D-A81E-477E-81E8-D3524588282C}']
Function GetName: Widestring;
Procedure SetName(Value: Widestring);
Property Name: Widestring Read GetName Write SetName;
End;
ITSTOXmlFileN... |
{Hint: save all files to location: C:\adt32\eclipse\workspace\AppLocationDemo1\jni }
unit unit1;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, And_jni_Bridge, Laz_And_Controls,
Laz_And_Controls_Events, AndroidWidget, location;
type
{ TAndroidModule1 }
TAndroidModule1 = class(jForm)
... |
unit Unit2;
interface
uses Math;
type Triangle=class
var sideA, sideB, sideC: integer;
var cornerA, cornerB, cornerC: extended;
var cornerArad, cornerBrad, cornerCrad: extended;
var heightToA, heightToB, heightToC: extended;
var bisectorA, bisectorB, bisectorC: extended;
var medA, medB... |
unit uFramework;
interface
type
// Handler
TAutenticacao = class abstract
strict protected
FSucessor: TAutenticacao;
public
procedure SetSucessor(ASucessor: TAutenticacao);
procedure Autenticar(Usuario,Senha: string); virtual; abstract;
end;
// Concrete Handler
TAutenticacaoL... |
(*
Stream in/out
This file is a part of Audio Components Suite.
Copyright (C) 2002-2005 Andrei Borovsky. All rights reserved.
See the license file for more details.
*)
unit acs_streams;
interface
uses
Classes, SysUtils, ACS_Classes, ACS_Strings;
const
OUTBUF_SIZE = $4000;
type
{ T... |
unit AwMemLeak;
interface
implementation
uses
Windows, SysUtils;
var
StartMem: Cardinal;
MemoryLeak: Cardinal;
initialization
StartMem := GetHeapStatus.TotalAllocated;
finalization
MemoryLeak := GetHeapStatus.TotalAllocated - StartMem;
if MemoryLeak <> 0 then
MessageBox(0, PChar... |
unit ufrm_supplier;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
System.ImageList,
System.Actions,
Vcl.ActnList,
Vcl.ImgList,
Vcl.Menus,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
cxGraphics,
cxControls,
cxLookAndFeels,... |
unit Samples.Main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls,
ComCtrls;
type
{ TFrmMain }
TFrmMain = class(TForm)
btnDELETE: TButton;
btnGET: TButton;
btnPOST: TButton;
btnPUT: TButton;
edtAccept: TLabeledEdit;
edtB... |
unit SE_AboutForm;
interface
uses
Windows, ShellAPI, UITypes, Classes, Controls, Dialogs, Forms, StdCtrls,
ExtCtrls;
type
TSEAboutForm = class(TForm)
Label1: TLabel;
Label7: TLabel;
StaticText1: TStaticText;
StaticText2: TStaticText;
stSynEdit: TStaticText;
stVerySimpleXML: TStaticText;... |
{************************************************************************}
{ }
{ XML Data Binding }
{ }
{ Gene... |
{ Routines for editing VECT list items.
}
module displ_edvect;
define displ_edvect_init;
define displ_edvect_next;
define displ_edvect_prev;
define displ_edvect_add;
define displ_edvect_del;
%include 'displ2.ins.pas';
{
********************************************************************************
*
* Subroutine ... |
unit arrayUtilsTestCase;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fpcunit, testutils, testregistry,arrayUtils;
type
{ arrayUtilsTest }
arrayUtilsTest= class(TTestCase)
private
fArray:TIntArray;
protected
procedure SetUp; override;
procedure TearDown; override;
published
pr... |
unit sc32442b_irq;
interface
uses sc32442b_memory;
type
TIrqMode = (imFIQ, imIRQ);
TIrqFunction = function(Irq: longint; Context: Pointer): pointer;
const
S3C2410_CPUIRQ_OFFSET = 16;
IRQ_EINT0 = S3C2410_CPUIRQ_OFFSET + 0; (* 16 *)
IRQ_EINT1 = S3C2410_CPUIRQ_OFFSET + 1;
IRQ_EINT2 = S... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2015 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable as ... |
unit Model.Declarations;
interface
uses
Spring.Persistence.Mapping.Attributes,
Spring,
Model.Base,
System.Classes,
Model.LanguageDictionary;
type
NullInteger = Nullable<Int64>;
NullString = Nullable<String>;
NullExtended = Nullable<Extended>;
NullBool = Nullable<Boolean>;
NullDate = Nullable<TDat... |
unit uControlHelper;
interface
uses
System.SysUtils,
Vcl.Controls,
Vcl.StdCtrls;
type
TEditHelper = class helper for TWinControl
function TryToValue(var v: Integer; EmptyValue: Integer = 0): Boolean;
end;
implementation
function TEditHelper.TryToValue(var v: Integer; EmptyValue: Integer): Boolean;
be... |
unit MyUtils2;
{$DEFINE CHINESE}
interface
uses
WinSock, Windows, Classes, SyncObjs, SysUtils, Messages, DateUtils
{$IFDEF DEBUG}, ULog{$ENDIF};
{$IFDEF CHINESE}
const
CStateDownloadingManifest: string = '1/4: 下载索引文件';
CStateDownloadingSplits : string = '2/4: 下载视频分片文件';
CStateTransformingSplits : string ... |
unit Employees.Classes;
interface
uses
System.SysUtils;
type
TEmployee = class
private
FID: Integer;
FLastName: string;
FBirthday: TDate;
FIsActive: Boolean;
FUpdTm: TDateTime;
FRegTm: TDateTime;
FDepartmentID: Integer;
FMiddleName: string;
FFirstName: string;
procedure ... |
unit JuridicalTest;
interface
uses DB, dbTest, dbObjectTest, ObjectTest;
type
TJuridicalTest = class (TdbObjectTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TJuridical = class(TObjectTest)
private
function InsertDefault: integer; override;
public
fu... |
unit AT.Windows.OSInfo;
interface
function GetOSVersionInfoString: String;
implementation
uses
JclSysInfo, System.SysUtils;
function GetOSVersionInfoString: String;
begin
Result := GetWindowsVersionString;
if (GetWindowsEdition <> weUnknown) then
Result := Format('%s %s', [Result, GetWindowsEditionStrin... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, math,
Buttons;
type
{ TForm1 }
TForm1 = class(TForm)
BitBtn1: TBitBtn;
btnExit: TBitBtn;
btnInput: TBitBtn;
edtShowMaxValue: TEdit;
edtInputNumber: TEdit;
edtSh... |
unit View.EmployeeListForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids,
JvExDBGrids, JvDBGrid, Vcl.ExtCtrls, JvExExtCtrls, JvExtComponent, JvPanel,
JvComponentBase, JvEmbe... |
unit uCadastroIngrediente;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, Vcl.StdCtrls;
type
TReg = record
id:integer;
nome:string[128];
unidadeMedida:... |
{$MODESWITCH RESULT+}
{$GOTO ON}
(*************************************************************************
Cephes Math Library Release 2.8: June, 2000
Copyright by Stephen L. Moshier
Contributors:
* Sergey Bochkanov (ALGLIB project). Translation from C to
pseudocode.
See subroutines comments for... |
unit uOptions;
interface
type
TOptions = class
public
class var
versions: string;
plataform: string;
librayPath: string;
librarySearchPath: string;
debugDCUPath: string;
quiet: Boolean;
end;
implementation
end.
|
unit ULinkCtrls;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ExtCtrls, CheckLst, RPCtrls, ActnList, UTools;
type
TdlgLinkCtrls = class(TForm, ISimpleSelection)
lsCtrls: TCheckListBox;
Panel1: TPanel;
btnApply: TBitBtn;
BitBtn2: TBi... |
unit SAPStockReader2;
interface
uses
Classes, SysUtils, ComObj, CommUtils, ADODB;
type
TTransferRecord = packed record
snumber: string;
sname: string;
dqty: Double;
dt: TDateTime;
sfrom: string;
sto: string;
end;
PTransferRecord = ^TTransferRecord;
TAllocUnit = p... |
program JsShell;
uses JsLexer, JsCurrying, SysUtils, JsStringUtils;
type
TDefinitionLexer = class;
TExampleLexer = class(TJsTokenWorker)
public
DefinitionLexer : TDefinitionLexer;
fu... |
unit UnitDiasEntreFechas;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, Buttons, ExtCtrls;
type
TfrmDiasEntreFechas = class(TForm)
Label1: TLabel;
EdFI: TDateTimePicker;
Label2: TLabel;
EdFF: TDateTimePicker;
... |
unit RepositorioConfiguracoesNFEmail;
interface
uses DB, Repositorio;
type
TRepositorioConfiguracoesNFEmail = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function G... |
{*******************************************************************************
作者: fendou116688@163.com 2015/9/28
描述: 汉字编码字典表
*******************************************************************************}
unit UFormChineseDict;
{$I Link.Inc}
interface
uses
Windows, Messages, SysUtils, Variants, Cl... |
unit DragMoveUtils;
// %DragMoveUtils : 包含鼠标拖动改变控件大小/位置的工具
(***** Code Written By Huang YanLai *****)
{
实现原理:
1、对TWincontrol, 使用TMouseByPass将TWincontrol的鼠标消息传给TGrabBoard处理
2、对其他TControl, 使用TGraphCtrlMouseByPass将WM_LButtonDown转换为TGrabBoard的WM_NCLButtonDown
3、使用TGrabHandle改变大小
控制能否改变位置的MoveEnabled没... |
unit ulodminterfaces;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
uloDMTypes;
type
{ IloDMSelection }
IloDMSelection = interface(IInterface)
['{458128B5-697F-4645-93C6-F947343B2FC3}']
end;
{ IloDMRetriever }
IloDMRetriever = interface(IInterface)
['{E4B25D15-11BE-4D94-A0A8-721... |
Program Game;
Uses Play;
Const
MaxN=100;
Var
N: Word;
Board:Array[1..MaxN] Of Word;
Sum:Word;
Sel:Word;
Odds:Boolean;
Procedure ReadInput;
Var InFile: Text;i:Word;
Begin
Assign(InFile,'input.txt'); Reset(InFile);
ReadLn(InFile,N);
Sum:=0;
For i:=1 To N Do Begin
ReadLn(InFile,Board[i]);
Sum:=Sum+B... |
unit MultiFormatReader;
{
* Copyright 2007 ZXing authors
*
* 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 requ... |
unit uFileInfo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, ExtCtrls, sts_lib, ShellAPI;
type
TFileInfoForm = class(TForm)
btClose: TButton;
PageControl: TPageControl;
InformationTab: TTabSheet;
PEInformatio... |
unit Udf.FileUtils;
interface
uses
WinAPI.Windows,
System.SysUtils,
System.Classes,
System.IOUtils,
mungis.utils;
{
DECLARE EXTERNAL FUNCTION FILE_SEGMENTS
CSTRING(32765),
DOUBLE PRECISION
RETURNS INTEGER BY VALUE
ENTRY_POINT 'FileSegments' MODULE_NAME 'mungis.fileutils.dll';
COMMENT ON EXTERNAL ... |
{==============================================================================*
* Copyright © 2020, Pukhkiy Igor *
* All rights reserved. *
*============================================================================... |
unit SaleMovementItemTest;
interface
uses dbTest, ObjectTest;
type
TSaleMovementItemTest = class(TdbTest)
protected
published
// загрузка процедура из определенной директории
procedure ProcedureLoad; override;
procedure Test; override;
end;
TSaleMovementItem = class(TMovementItemTest)
priva... |
unit FrameSynchro;
interface
uses
SysUtils, Forms, StdCtrls, Onoff, Controls, Classes, CommonObjs, InvokeRegistry, TxsRxsWS;
type
TFrame_Synchro = class(TFrame)
Button3: TButton;
Led1: TLed;
Button4: TButton;
Led2: TLed;
Label1: TLabel;
Edit1: TEdit;
Label2: TLabel;
... |
{
BASSWMA 2.4.4 Delphi API, copyright (c) 2002-2007 Ian Luck.
Requires BASS, available from www.un4seen.com
DOWNLOADPROC support for streams in ASX files (requires BASS 2.4.3)
See the BASSWMA.CHM file for more complete documentation
written by Wishmaster
}
unit Dynamic_Basswma;
interface
... |
unit uJoelDemos;
interface
uses
System.SysUtils
;
//http://www.joelonsoftware.com/items/2006/08/01.html
procedure JoelExample1;
procedure JoelExample2;
procedure JoelExample3;
procedure JoelExample4;
procedure ForLoopExample;
procedure MapExampleInteger;
procedure MapExampleString;
type
TMap = class
... |
unit Utils;
interface
uses
Winapi.ShlObj, System.SysUtils, Winapi.Windows, Winapi.Messages, System.Variants,
System.Classes, System.IniFiles, VGCore_TLB;
const
DEBUG: Boolean = True;
IID_IUnknown: TGUID = '{00000000-0000-0000-C000-000000000046}';
IID_IDispatch: TGUID = '{00020400-0000-0000-C000-00000000004... |
unit uHoldingsBuilder;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Sax,
uSaxBase,
uHoldings,
uLibrary;
type
{ THoldingsBuilder }
THoldingsBuilder = class(TBuilder)
public
// В качестве аргумента - список аттрибутов узла
procedure StartTagHandler(const aAtts: TSaxAttributes); overr... |
unit LaunchFlickr;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, BaseModel;
type
IBaseLaunchFlickr = interface(IBaseModel) ['{9D9DA20F-6818-4955-8530-9C4745D10DD2}']
function GetOriginal: TStringList;
function GetSmall: TStringList;
procedure SetOriginal(AValue: TStringList);
procedure... |
unit uiwindow_wndproc_key;
interface
uses
Windows,
Messages,
uiwindow_clip;
function UIWndProcA_Key(AUIWindow: PUIWindow; AMsg: UINT; wParam: WPARAM; lParam: LPARAM; var AWndProcResult: LRESULT): Boolean;
implementation
function WndProcA_WMChar(AUIWindow: PUIWi... |
unit Server;
interface
type
{$M+}
IServer<T, TResult> = interface
['{61EA6E1F-49A0-44AF-832C-5C15F492E981}']
function SendMessage(arg: T): TResult;
function ReceiveMessage: T;
end;
TServer = class(TInterfacedObject, IServer<string, Boolean>)
private
function SendMessage(msg : string): Boole... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
{$mode objfpc}
{$modeswitch objectivec2}
unit AppDelegate;
interface
uses
AVFoundation, CocoaAll;
type
TAppDelegate = objcclass(NSObject, AVCaptureFileOutputDelegateProtocol, AVCaptureFileOutputRecordingDelegateProtocol, NSApplicationDelegateProtocol)
private
window: NSWindow;
captureSession: AVCapt... |
{*------------------------------------------------------------------------------
ウィンドウ位置を読み込み、保存、設定クラス
@Author $Author$
@Version $Id$
-------------------------------------------------------------------------------}
unit WindowPlacement;
interface
{ 宣言部 }
uses
Windows, SysUtils;
type
... |
unit sizeAllTypes;
interface
uses
FullSys, polynoms, naturals, rationals;
function TNaturalNumberSize(n : TNaturalNumber) : integer;
function TRationalNumberSize(r : TRationalNumber) : integer;
function TPolynomSize(p : TPolynom) : integer;
function TPolynomSystemSize( t : TPolynomSystem) : integer;
imp... |
unit TechnologieAB;
{
Trida TABlist udrzuje seznam automaticky stavenych jizdnich cest a postupne
se pokousi je stavet.
}
interface
uses SysUtils, Generics.Collections, TechnologieJC;
type
EABJCAlreadyInList = class(Exception);
EABJCNotInList = class(Exception);
TABlist = class
private
JCs: TList<... |
// ******************************************************************
//
// Program Name : $ProgramName$
// Platform(s) : $Platforms$
// Framework : VCL
//
// Filename : AT.$ShortName$.Consts.pas
// File Version : 1.00
// Date Created : $CreateDate$
// Author : Matthew Vesperman
//
// Descri... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit ProgReptDlg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ComCtrls;
type
TdlgProgressReport = class(TForm)
btnCancel: TBitBtn;
btnOK: TBitBtn;
btnSaveReport: TBitBtn;
SaveDialog1: TSaveDialog;
mmInfo: TRichEdit;
procedu... |
unit JLXPButtons;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Buttons, Graphics,
JLTmschema, JLUxtheme;
type
TJLXPSpeedButton = class(TSpeedButton)
private
FThemeHandle: THandle;
FMouseEntered: Boolean;
procedure WMThemeChanged(var Msg: TMessage); message WM_THEMEC... |
unit TrainLib;
interface
uses
Windows, Graphics, DateUtils, SysUtils, Dialogs, ExtCtrls;
const
MAX_CLOUDS_COUNT = 10000;
type
TCloud = class
public
creationTime : TDateTime;
stX, stY : integer;
isInitialized : boolean;
procedure init(x, y : integer; time : TDateTime);
end;
TC... |
unit MUIClass.TextEdit;
{$mode ObjFPC}{$H+}
interface
uses
intuition, TagsParamsHelper, mui, utility, muihelper, Exec,
MUIClass.Base, MUIClass.Group, clipboard, iffparse;
type
{ TMUITextEdit }
TMUITextEdit = class(TMUIGroup)
private
FTabsToSpaces: Boolean;
FText: string;
function GetTabsToSp... |
unit ContainerUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, ImgList, XPMan, ComCtrls, ToolWin, ExtCtrls, TypesUnit,
IniFiles, FreeBasicRTTI;
const
wm_controlstyle = wm_app+99;
wm_acceptchilds = wm_app+98;
type
TContainer=... |
unit ETL.Component.Extract.Rest;
interface
uses
ETL.Component,
ETL.Form.Edit.Extract.Query,
ETL.Form.Grid,
ETL.FileProject.Interfaces;
type
TCompRest = class(TCompExtract)
strict private
FFormEdit: TFoEditRest;
function GetInstanceFormEdit: TFoEditRest;
strict protected
fu... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2015 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable as ... |
unit ExcecaoCampoNaoInformado;
interface
uses
SysUtils;
type
TExcecaoCampoNaoInformado = class(Exception)
private
FCampo :String;
private
function GetCampo: String;
public
constructor Create(const NomeDoCampo :String);
public
property Campo :String read GetCampo;
end;
implementation... |
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence }
{ Team Coherence is Copyright 2002 by Quality Software Components }
{ }
{ For further ... |
unit Model.OthIncomeOutcomeDef;
interface
uses
Model.Interfaces,
Model.IMyConnection,
System.Generics.Collections,
Spring.Collections,
Spring.Persistence.Criteria.Interfaces,
Spring.Persistence.Criteria.Restrictions,
Spring.Persistence.Criteria.OrderBy,
Spring.Data.ObjectDataset,
MainDM;
function C... |
unit MtxDownloader;
interface
uses Serial3, Classes, Controls, ConnBase;
type
EBootState = (
BS_UNKNOWN,
BS_MTLBL_ONLY, //only Motorola S-Record Loader exists on the board (virginal board)
BS_MTLBL_UPD, //Motorola S-Record Loader + Metronix BL_Updater
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.