text stringlengths 14 6.51M |
|---|
unit TelaBaixarChequesRecebidos;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, TelaGeralTEMPLATE, StdCtrls, Mask, ToolEdit, Buttons, jpeg,
ExtCtrls, DBCtrls, DB, DBTables, RxQuery, Grids, DBGrids, RxLookup, VarSys,
UnitLibrary, CurrEdit, AdvOfficeStatusBar,... |
unit TelegAPI.Logger.Old;
interface
uses
TelegAPI.Logger,
System.SysUtils;
type
TtgExceptionManagerConsole = class(TLogEmpty)
private
FOnLog: TProc<TLogLevel, string, Exception>;
public
procedure Log(level: TLogLevel; const msg: string; const e: Exception); override;
property OnLog: TProc<TLogL... |
unit AT.Posix.SystemInfo;
interface
uses
System.Types;
function _SysCtlInt(AType, ASubType: Integer): Integer; overload;
function _SysCtlInt(AMIB: TIntegerDynArray): Integer; overload;
function _SysCtlInt(ATypeName: String): Integer; overload;
function _SysCtlInt64(AType, ASubType: Integer): Int64; overload;
funct... |
unit Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.Zip,
System.IniFiles, Winapi.ShlObj, System.IOUtils, Generics.Collections, Utils,
System.Win.Registry;
type
TForm1 = class(TF... |
unit core_input;
{$mode objfpc}{$H+}
interface
uses
{$IFDEF windows}
windows,
{$ENDIF}
Classes, SysUtils, zgl_joystick, core_orders, VectorGeometry, core_Utils,
inifiles, core_types, core_orders_manager, core_player,
core_network;
type
rKeys = record
//movement keys?
dForward,dBackward,dLeft,... |
unit Project87.Bullet;
interface
uses
Strope.Math,
Project87.BaseUnit,
Project87.Types.GameObject;
type
TBullet = class (TGameObject)
private
FDamage: Single;
FLife: Single;
FOwner: TOwner;
public
constructor CreateBullet(const APosition, AVelocity: TVector2F;
AAngle, ... |
unit ALTestStrings;
interface
uses
System.SysUtils,
System.AnsiStrings,
System.Diagnostics,
Winapi.Windows,
Alcinoe.Common,
Alcinoe.Cipher,
Alcinoe.StringUtils,
DUnitX.TestFramework;
type
[TestFixture]
TALTestStrings = class
strict private
fFullAsciiCharsetA: TArray<Ans... |
unit aDBPush;
interface
uses
System.SysUtils, System.Classes, System.IOUtils, System.Variants,
System.JSON, System.Generics.Collections,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error,
FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys,
... |
unit Services.User;
interface
uses System.SysUtils, System.Classes, Providers.Connection, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error,
FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.VCLUI.Wait,
FireDAC.Phys.PGDef, FireDAC.Stan.Para... |
/// <summary>
/// Модуль содержит описания классов, требующихся для реализации монитора
/// подключений к БД
/// </summary>
unit Firebird.Monitors;
interface
uses System.SysUtils, System.Classes, System.Generics.Collections;
type
/// <summary>
/// Версия сервера Firebird
/// </summary>
TF... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
program e2p3;
uses
crt;
const
MAX_ELEMENTOS = 10;
type
puntNodo = ^tNodo;
tNodo = record
numero:real;
sig:puntNodo;
end;
////////////////////////////////////////////////////////////////////////
procedure eliminarLista(var lista:puntNodo);
begin
if (lista <> nil) then
eliminarLi... |
unit UTraffic;
interface
uses USimulation;
type
// Направление движения
TDirection = (dirLeftRight, dirRightLeft);
// Класс TGenerator - генератор автомобилей
TGenerator = class(TProcess)
public
constructor Create(Dir : TDirection; Mean : Double);
protected
// Направление движения автомобилей
... |
program MazeGame;
uses
sysUtils;
type
RoomPtr = ^Room;
Direction = (North, South, East, West);
maze = Array of RoomPtr;
Door = Record
Heading : Direction;
Destination : RoomPtr;
end;
Room = Record
Title : String;
Description : String;
IsGoal : Boolean;
doors : Array of... |
unit ArticlesTestCase;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fpcunit, testutils, testregistry, ArticleModel,
ArticleInMemoryRepository, AuthorModel;
type
{ TArticlesTestCase }
TArticlesTestCase = class(TTestCase)
private
ExampleAuthor: TAuthor;
ExampleArticle: TArticle;
Repos... |
unit InputForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, ADODB, Grids;
type
TInPutExcel = class(TForm)
ADOCExcel: TADOConnection;
ADODataSetExcel: TADODataSet;
StringGrid1: TStringGrid;
procedure FormCreate(Sender: TObject);
privat... |
unit UFormRichHelp;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ This unit is for displaying the help text for each of the UAD data points}
interface
uses
A... |
unit MainUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxStyles, dxSkinsCore, dxSkinsDefaultPainters, dxSkinscxPCPainter,
cxCustomData, c... |
unit DeliveryServiceInterface;
interface
uses
uDelivery,
System.Generics.Collections;
type
IDeliveryService = interface
['{3B9E2EAA-F48C-4A41-AA9A-66AA5001A98D}']
function Save(const ADelivery: TDelivery): IDeliveryService;
function GetDeliveryList: TObjectList<TDelivery>;
function GetCountDeli... |
unit Constructor_u;
interface
uses Classes, SysUtils, Zlib, Windows, Graphics, Dialogs;
type
TFile = packed record
FileName:String;
Name:ShortString;
end;
type
TBuilderInfo = packed record
files:array[0..17]of TFile;
end;
type
TSkinHead = packed record
Signature:Array[0..2]Of Char;
Ve... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, SystemMonitor, zSharedFunctions, zAntivirus, Registry,
ComCtrls, zAutoruns;
type
TMain = class(TForm)
Memo1: TMemo;
Button1: TButton;
StatusBar: TStatusBar;
p... |
unit winntService;
interface
uses
Windows,WinSvc,WinSvcEx;
function InstallService(const strServiceName,strDisplayName,
strDescription,strFilename: string):Boolean;
procedure UninstallService(strServiceName:string);
function ChangeServiceConfig(ServiceName: string; StartType: ... |
unit Installer;
interface uses
Winapi.Windows, System.Variants, System.Classes, Vcl.Controls, Vcl.Forms, Vcl.StdCtrls, Registry, IniFiles;
type
TForm1 = class(TForm)
Label1:TLabel;
Label2:TLabel;
Label3:TLabel;
Label4:TLabel;
Label6:TLabel;
Label7:TLabel;
Label8:TLabel;
Label10:TLabel;
... |
{
Copyright (C) 2013-2021 Tim Sinaeve tim.sinaeve@gmail.com
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... |
unit uInputName;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uGlobal, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinCaramel,
StdCtrls, cxTextEdit, Menus, cxButtons, cxCheckBox, ExtCtrls,
dxSkinOff... |
unit FormMonitor;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, System.ImageList,
Vcl.ImgList, Vcl.ComCtrls, Vcl.ToolWin, Vcl.StdCtrls,System.SyncObjs,
uIRockPress, Vcl.Menus
;
type
// 定... |
namespace ConsoleClient;
interface
uses
System.Collections.Generic,
System.Linq,
System.Net.Http,
System.Text,
IdentityModel.Client;
type
APITester = public class
private
method GetClientToken:TokenResponse;
method CallApi(response:TokenResponse);
public
method performTest;
end;
... |
{*************************************************************************************************
* ZLibExApi.pas *
* *
* copyright (c) 200... |
unit MessagingServiceUnit;
interface
uses
SysUtils,
Classes,
IGetSelfUnit;
type
IMessageMember = interface
function GetIdentifier: Variant;
procedure SetIdentifier(const Value: Variant);
function GetDisplayName: String;
procedure SetDisplayName(const Value: String);
property Id... |
program iconify;
{$IFNDEF HASAMIGA}
{$FATAL This source is compatible with Amiga, AROS and MorphOS only !}
{$ENDIF}
{$MODE OBJFPC}{$H+}{$HINTS ON}
{$UNITPATH ../../../Base/CHelpers}
{$UNITPATH ../../../Base/Trinity}
{$UNITPATH ../../../Base/Sugar}
{$IFDEF AMIGA} {$UNITPATH ../../../Sys/Amiga} {$ENDIF}
{$IFDEF A... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://192.168.107.200:7788/wsdl/IDRX_AFC_WS
// Version : 1.0
// (13/02/2012 11:49:06 - 1.33.2.5)
// ***************... |
Program Totals_with_Lay_Days;
// ***************************************************************************************
// **** S e e Y o u S c o r i n g S c r i p t ****
// **** ****
// **** ... |
unit formCentralDataMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Menus, Vcl.ExtCtrls,
Vcl.Grids, Vcl.DBGrids, dmDatabase, Vcl.StdCtrls, Vcl.DBCtrls, Vcl.DBActns,
System.Actions, ... |
program port2;
{$IFNDEF HASAMIGA}
{$FATAL This source is compatible with Amiga, AROS and MorphOS only !}
{$ENDIF}
{
Project : port2
Topic : port and message example, run at the same time as port1
Source : RKRM
}
{$MODE OBJFPC}{$H+}{$HINTS ON}
{$UNITPATH ../../../Base/CHelpers}
{$UNITPATH ../../../Bas... |
unit CompararLista;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls,
UntCompararListaController;
type
TFrmPrincipal = class(TForm)
listaParcial: TMemo;
lblprimei... |
unit uDriveInfo;
interface
uses
Winapi.Windows, System.SysUtils, System.IOUtils, System.Types;
var
SystemDrive: string;
Drives: TStringDynArray;
function BuildFileName(AFileNo: Integer): string;
function GetDriveCanUseSize(ADrive: string): Integer;
implementation
function GetSystemDrive: string;
var
c: PC... |
{***************************************************}
{ }
{ XML Data Binding }
{ }
{ Generated on: 7/1/2015 2:47:18 PM }
{ Generated from: C:\temp\AWOnlineOrder.xml... |
program ej4;
type
linea = record
numero : integer;
minutos : integer;
datos : integer;
end;
cliente = record
codigo : Integer;
cant_lineas : Integer;
end;
factura = record
total_minutos : Real;
total_datos : Real;
end;
procedure leerLinea(var info_linea:linea);
begin
with info_linea do begin
... |
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence }
{ Team Coherence is Copyright 2002 by Quality Software Components }
{ }
{ For further ... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://wsi.bradfordsoftware.com/WSCustomerSubscription/customerSubscriptionService.asmx?WSDL
// >Import : http://wsi.bradf... |
unit ExportWikiBOOK;
uses ExportCore,
ExportWikiCore;
var ExportWikiBOOK_outputLines: TStringList;
function initialize(): Integer;
begin
ExportWikiBOOK_outputLines := TStringList.create();
end;
function canProcess(el: IInterface): Boolean;
begin
result := signature(el) = 'BOOK';
end;
function proces... |
unit tiSQLMgr_BOM;
{$I tiDefines.inc}
interface
uses
classes
,tiVisitor
,tiVisitorDB
,tiObject
,tiQuery
,Windows
,tiExcept
,SyncObjs
,tiOID
;
const
cExcCanNotSetObjectStateDeleteWhenPK = 'Can not set ObjectState to posDelete when ObjectState = posPK' ;
type
TSQLMgrParamName = string[30];
... |
unit ConfigGrids;
interface
uses DBGrids, Controls;
type
TConfigGrids = class
private
function GetParentOwner(const control: TControl): TControl;
public
procedure SaveColumns(const grid: TDBGrid);
procedure LoadColumns(const grid: TDBGrid);
end;
implementation
uses dmConfiguracion, SysUtils;
{... |
unit uLibraryBuilder;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Sax,
uSaxBase,
uLibrary;
type
{$REGION LibraryBuilders}
{ TLibraryBuilder }
TLibraryBuilder = class(TBuilder)
public
// В качестве аргумента - список аттрибутов узла
procedure StartTagHandler(const aAtts: TSaxAttrib... |
unit _ClickToEditFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, ExtCtrls, StdCtrls;
type
TClickToEdit = class(TFrame)
protected
_realText: String;
_readOnly: Boolean;
public
published
YesButton: TSpe... |
unit uBomba;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uPadrao, Vcl.Menus, Vcl.ComCtrls,
Vcl.ToolWin, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Mask, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, Fi... |
unit RarExtract_u;
interface
Uses SysUtils, DFUnRar, Classes, Advanced, Decompress_u;
//Type TRarReWriteMode=(omRewrite,omSkip,omOverwriteAll,omSkipAll,omRename,omUnknown);
Type TUnRARProgress=procedure (Sender:TObject;FProgress,AProgress:Byte;Var Abort:Boolean) of object;
Type TPassQuest=procedure (Sender:TObject;... |
unit NosoNet_Language;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
langdata = Packed Record
code: string[2];
name : string[20];
end;
resourcestring
Restring1 = 'Starting';
Restring2 = 'NosoNet version %s';
Restring3 = 'Command not valid (%s)';
Restring4 = 'Language not val... |
unit Builder.ProductParts.GPS;
interface
uses
Builder.Interfaces.IGPS;
type
TGPS = class(TInterfacedObject, IGPS)
private
function GetModel: string;
public
property Model : string read GetModel;
class function New: IGPS;
end;
TGPSUSV = class(TInterfacedObject, IGPS)
private
function Ge... |
unit CycleTests;
interface
uses
DUnitX.TestFramework, DelphiJSON;
type
[DJSerializable]
TCycle = class
public
[DJValue('value')]
value: string;
[DJValue('ref')]
ref: TCycle;
end;
[TestFixture]
TCycleTests = class(TObject)
public
[Test]
procedure TestCycle;
[Test]
... |
PROGRAM Stat(INPUT, OUTPUT);
VAR
MinNum, MaxNum, TempNum, Sum, Count: INTEGER;
Overflow: BOOLEAN;
PROCEDURE ReadDigit(VAR F: TEXT; VAR D: INTEGER);
VAR
Ch: CHAR;
BEGIN {ReadDigit}
D := -1;
IF NOT EOLN(F)
THEN
BEGIN
READ(F, Ch);
IF Ch = '0' THEN D := 0 ELSE
IF Ch = '1' THEN D := 1 ELSE
... |
unit Delphi.Mocks.Tests.Expectations;
interface
uses
DUnitX.TestFramework,
Delphi.Mocks.ParamMatcher,
Delphi.Mocks.Interfaces,
Delphi.Mocks.Expectation;
type
{$M+}
[TestFixture]
TTestExpectations = class
protected
FMatchers : TArray<IMatcher>;
published
//Created with correct exception typ... |
unit UQuarry;
interface
uses USimulation;
type
TExcavator = class(TProcess)
public
// Очередь самосвалов
Queue : TList;
// Статистика
Stat : TServiceStatistics;
constructor Create(AQueue : TList; AStat : TServiceStatistics);
protected
procedure RunProcess; override;
end;
TTruck = cl... |
(*============================================================================
-----BEGIN PGP SIGNED MESSAGE-----
This code (c) 1994, 1997 Graham THE Ollis
GENERAL NOTES
=============
This is 16bit DOS TURBO PASCAL source code. It has been tested using
TURBO PASCAL 7.0. You will need AT LEAST version 5.0 ... |
{$mode objfpc}
{$modeswitch advancedrecords}
unit UDynDictionary;
interface
uses
SysUtils;
type
generic TDynDictionary<T> = record
private type TKey = string[40];
public type
TDynDictionaryPtr = ^TDynDictionary;
TEntryPtr = ^TEntry;
TEntry = record
key: TKey;
value: T;
function IsValid: boo... |
program BST;
uses Math;
{
Autor: Bartosz Frąckowiak
http://www.batas2.boo.pl/
}
type
PRec = ^TRec;
TRec = packed record
Nast, Poprz: PRec;
W: Integer;
end;
TTab = array of Integer;
{- - - - - - - - - - - - POCZATEK PROCEDUR DOTYCZACYCH BST - - - - - - - - - - - -}
{
Procedura dodajaca element d... |
unit CRSSHIOHandler;
interface
uses
SysUtils, Classes, ScTypes, MemUtils, CRVio, ScSSHClient, ScSSHChannel;
type
TCRSSHIOHandler = class (TCRIOHandler)
protected
FClient: TScSSHClient;
//FChannel: TScSSHChannel;
procedure CheckClient;
procedure SetClient(Value: TScSSHClient);
procedure Con... |
unit UnitTContractual;
Interface
uses SysUtils,Dialogs,UnitGlobal,DB, IBDatabase, IBCustomDataSet, IBQuery, DBClient,
JclSysUtils;
type
TContractual = Class
Private
_sDescripcion :string;
_iPlazo :Integer;
_cPorcentaje :string;
_iEstado :Smallint;
_IBDatabase1: TIBDatabase;
... |
unit bcm_mem;
{$mode fpc}
interface
function ArmToVc(APtr: pointer): pointer;
function VcToArm(APtr: pointer): pointer;
procedure MemBarrier;
// These operations can not be run in user mode
// Clean writes back dirty data, and invalidate marks it as invalid
procedure InvalidateMem(AAddress: longword);
procedure Cl... |
unit UTargetEditor;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.StdCtrls, Vcl.ExtCtrls, System.DateUtils,
UzLogConst, UzLogQSO, UQsoTarget, Vcl.Menus, Vcl.Clipbrd;
type
TTargetEditor = cla... |
unit IdTestSHA1Hash;
interface
uses IdTest;
type
TIdTestSHA1Hash = class(TIdTest)
published
procedure TestRFC;
end;
implementation
uses IdHashSHA1, IdObjs, IdSys;
{ TIdTestSHA1Hash }
procedure TIdTestSHA1Hash.TestRFC;
var LH : TIdHashSHA1;
LStrm : TIdStream;
s : String;
begin
... |
unit frm_main;
{$mode objfpc}{$H+}
interface
uses
SysUtils,
Classes,
fpg_base,
fpg_main,
fpg_form,
fpg_button,
fpg_panel,
fpg_label,
fpg_memo,
fpg_edit,
fpg_combobox
;
type
TMainForm = class(TfpgForm)
private
{@VFD_HEAD_BEGIN: MainForm}
GroupBox1: TfpgGroupBox;
GroupBox2: Tf... |
unit rTreeView;
interface
uses
Classes, ComCtrls;
type
TNodeType = (ntEmpty, ntRoot, ntGroup, ntItem, ntSubItem, ntULevel1, ntULevel2, ntULevel3);
TSortMode = (stNone, stTypeId, stTypeName, stRecordId, stRecordName);
TGotoMode = (gtNoChangeSelection, gtClearSelection, gtSelectTopNode);
TAExpMode = (emN... |
{**********************************************************************}
{ }
{ "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 comp... |
// ******************************************************************
//
// Program Name : AT Software_DNA Library
// Program Version: 1.00
// Platform(s) : OS X, Win32, Win64
// Framework : FireMonkey
//
// Filenames : AT.DNA.FMX.Dlg.EvalWarning.pas/.fmx
// File Version : 1.00
// Date Created : 29-J... |
{**********************************************************************}
{ }
{ "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 comp... |
(*
Copyright (c) 2011, Stefan Glienke
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 conditions and t... |
unit Recording;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, GraphicsButton,
GraphicsGPImage, GraphicsVolume, Vcl.Buttons, GraphicsCheckButton,
VideoConverterInt;
type
TfrmRecord... |
// ******************************************************************
//
// Program Name : Single Instance Framework
// Platform(s) : Android, iOS, OSX, Linux64, Win32, Win64
// Framework : Console, FMX, VCL
//
// Filename : AT.SingleInstance.Base.pas
// Date Created : 07-Dec-2017
// Author : ... |
namespace Beta.Helpers;
interface
extension method DateTime.RelativeDateString: String;
implementation
extension method DateTime.RelativeDateString: String;
const SECOND: Integer = 1;
const MINUTE: Integer = 60 * SECOND;
const HOUR: Integer = 60 * MINUTE;
const DAY: Integer = 24 * HOUR;
const MONTH: Int... |
unit UGameCell;
interface
uses ExtCtrls, Classes, Graphics, UPerson, UArtefact, Messages, UGameTypes;
const CellSize = 70;
type
TGameCell = class (TPanel)
private
FArtefact: TArtefact;
procedure SetArtefact(const Value: TArtefact);
protected
// Поле... |
{ History:
2015-12-10 V0.1 First try to read telemetry, GUI created, import and data
consistence check.
2015-12-21 V1.0 KML or KMZ file creation, Elevation histogram added
2015-12-23 V1.1 Voltage curve as underlay in Elevation histogram
2015-12-25 V1.2 Distance to start place added... |
unit Settings;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
Buttons, EditBtn, StdCtrls, INIFiles, md5;
type
{ TSettingsForm }
TSettingsForm = class(TForm)
ImportCVSButton: TBitBtn;
EncryptCredentialsCheckBox: TCheckBox;
EncryptSe... |
type
TElectron = class
x: real;
force: real;
function distance(e2: TElectron): real;
begin
result := abs(self.x - e2.x);
end;
function calculateForce(e2: TElectron): real;
begin
result := 1 / sqr(distance(e2));
end;
end;
var
electrons: array of TElectron... |
{***************************************************************************}
{ }
{ Delphi.Mocks }
{ }
{ ... |
unit News;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TNewsRec = record
ATime: TDateTime;
Title: string[100];
end;
{ TNews }
TNews = class
private
F: file of TNewsRec;
fFileName: string;
public
constructor Create(FileName: string);
destructo... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://carme/secure/ws/awsi/TechSupportServer.php?wsdl
// >Import : http://carme/secure/ws/awsi/TechSupportServer.php?wsdl... |
unit Gcode;
interface
uses Project, Classes, Contnrs, Tracks, Outlines, Board, SysUtils;
// **************************************************
// CLASS FOR TRACK CUT SETTINGS
// **************************************************
{ This class presents a set of properties for settings which affec... |
unit ReferenceFormDataSetHolder;
interface
uses
AbstractDataSetHolder,
SysUtils,
Classes;
type
TReferenceFormDataSetFieldDefs = class (TAbstractDataSetFieldDefs)
end;
TReferenceFormDataSetFieldDefsClass = class of TReferenceFormDataSetFieldDefs;
TReferenceFormDataSetHolder = class (TAbstractDat... |
unit IdTestStreamHelper;
interface
uses
IdObjs,
IdTest,
IdSys,
IdGlobal,
IdStreamHelper;
type
TIdTestStreamHelper = class(TIdTest)
published
procedure TestHelper;
end;
implementation
procedure TIdTestStreamHelper.TestHelper;
var
aStream:TIdMemoryStream;
aBuffer,aBuffer... |
{ **************************************************************************** }
{ Project: ConnectFour3D
{ Module:
{ Author: Josef Schuetzenberger
{ E-Mail: schutzenberger@hotmail.com
{ WWW: http://members.fortunecity.com/schutzenberger/download/en.html#ConnectFour3D
{ *************************************... |
unit Unit_XmlNode;
//
// 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
* (... |
unit FGUnOutRptReader;
interface
uses
Classes, CommUtils, SysUtils, ComObj, MakeFGReportCommon;
type
TFGUnOutRptRecord = packed record
snumber: string; //料号
sname: string; //产品名称
sBatchNo: string; // 批次
dqty: Double; //数量
snote: string; //备注
bSum: Boolean;
end;
PFGUnOutRptRecord =... |
unit rMsgStd;
interface
uses
Classes;
resourcestring
rsMsgInitApplication = 'Инициализация приложения...';
rsMsgInitDataForm = 'Инициализация окна данных...';
rsMsgDoneApplication = 'Завершение работы приложения...';
rsMsgConnDatabase = 'Установка соединения с базой данных...';
rsMsgRec... |
unit U_Utils;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Dialogs, LCLType, U_DtmPrincipal,
fpjson, jsonparser, jsonConf, U_Socio, U_Curso, U_Mensalidade, U_Instituicao, U_Viajem,
ShellApi, Windows, dateutils, db;
type
{ TControle }
TControle = (tpConsulta, tpNovo, tpAlterar, tpExcluir);
... |
unit fPrincipal;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes,
System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Edit, System.Actions, FMX.ActnList, FMX.ExtCtrls;
type
TDiaSemana = (dsSegunda, dsTerca, dsQuarta, dsQuinta, dsSexta, dsSaba... |
unit RegistryFunctionsUnit;
interface
uses
Windows, Classes, Registry, StdCtrls, SysUtils;
function StrToHKEY(const KEY: string): HKEY;
function WriteVariable(NameKey: String; NameVarible: String; ValueVarible: String): Boolean;
function WriteVariableDword(NameKey: String; NameVarible: String; V... |
unit InputMemoFormUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, StdCtrls,
cxButtons;
const
DEFAULT_OK_BUTTON_CAPTION = 'ÎÊ';
DEFAULT_CANCEL_BUTTON_CAPTION = 'Îòìåíà';
type
TInputMemoFo... |
unit Form1;
interface
uses
SmartCL.System, SmartCL.Graphics, SmartCL.Components, SmartCL.Forms,
SmartCL.Fonts, SmartCL.Borders, SmartCL.Application, SmartCL.Sprite3D,
SmartCL.Time, SmartCL.BitmapFont, SmartCL.Controls;
const
CHAR_SIZE = 16;
CHARSET_FONT = ' !"#¤%&/{}=_-\[]0123456789:;(|)?*abcdef... |
{ 03/10/2006 17:26:41 (GMT+2:00) > [gestevez on GESTEVEZ] checked in Actualizados componentes de Exportación }
// ****************************************************************************
// * Export components for Delphi.
// ****************************************************************************
// * Copy... |
unit UnitAlgoritms;
interface
uses
FilmBase, TypeList, SysUtils;
procedure SearchByTitle(Str : string);
procedure SearchByYear(Str : string);
procedure SearchByCountry(Str : string);
procedure SearchByDirector(Str : string);
procedure SearchByWords(Str : string);
procedure SearchByDuration(Str : string... |
unit TechnologieJC;
{
Kompletni technologie jizdnich cest.
Tento soubor implementuje tridu TJC, ktera reprezentuje jednu jizdni cestu.
Jizdni cesta se stara o vse od udrzovani vsech jejich udaju, kterymi je dana
v zaverove tabulce, pres jeji staveni, kontrolu podminek, zobrazovani
potvrzovacich sekvenci pri... |
unit View.CompanyListForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, View.TemplateForm, Data.DB,
JvComponentBase, JvFormPlacement, Vcl.Grids, Vcl.DBGrids, JvExDBGrids,
JvDBGrid, Vcl.ExtCtrls, Vcl.Menus,... |
unit Main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, uCmdBox, TAGraph, TATools, Forms, Controls,
Graphics, Dialogs, ExtCtrls, StdCtrls, Grids, ComCtrls, ColorBox,
FrameGraphic, CmdParse, FuncParse, FrameStrGrid, Func, OpeBin, TASeries,
Evaluate, Types;
type
TForm1 = class(TForm)
... |
unit uLogger;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
ubase, uSetting;
type
{ TCustomLogger }
{ TLogger }
TLogger = class
private
FFileHandle : TextFile;
fLoggerName : string;
fApplicationPath : string;
public
constructor Create(const aLoggerName: string = '');
de... |
unit EnderecoNFCe;
interface
uses
CidadeNFCe;
type
TEndereco = class
private
FCidade: TCidade;
FFone: String;
FCEP: String;
FLogradouro: String;
FNumero: String;
FComplemento: String;
FBairro: String;
private
procedure SetCidade(const Value: TCidade);
procedure SetFone(c... |
{ Routines for writing various items to a hierarchy output file.
}
module hier_write;
define hier_write_line;
define hier_write_blankline;
define hier_write_vstr;
define hier_write_str;
define hier_write_vtk;
define hier_write_tk;
define hier_write_blank;
define hier_write_int;
define hier_write_fpf;
define hier_writ... |
{ LazDebian contains base class with common functionality
for all packagers.
Copyright (C) 2012 Bernd Kreuss prof7bit@gmail.com
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; either versio... |
unit ConfiguracoesNFEmail;
interface
uses SysUtils, Contnrs, Classes;
type
TConfiguracoesNFEmail = class
private
Fcodigo_empresa :Integer;
Fsmtp_host :String;
Fsmtp_port :String;
Fsmtp_user :String;
Fsmtp_password :String;
Fassunto :String;
Fmensagem :String;
Fusa_ssl :String;
... |
program TestFtp;
{$mode objfpc}{$H+}
{ Raspberry Pi Application }
{ Add your program code below, add additional units to the "uses" section if }
{ required and create new units by selecting File, New Unit from the menu. }
{ To compile your program select Run... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.