text stringlengths 14 6.51M |
|---|
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit Form1;
interface
uses
SmartCL.System, SmartCL.Graphics, SmartCL.Components, SmartCL.Forms, SmartCL.Fonts,
SmartCL.Borders, SmartCL.Application, SmartCL.Grid, SmartCL.Grid.Columns;
type
TStudent = record
Forename, Surname : string;
TheoryMark, PracticalMark : integer;
end;
TForm... |
program z (input, output) ;
type
tRefBinBaum = ^tBinBaum;
tBinBaum = record
info : integer;
links : tRefBinBaum;
rechts : tRefBinBaum
end;
procedure BBKnotenEinfuegen (
inZahl : integer;
var ioWurzel : tRefBinBaum);
{ fuegt in den Suchbaum, auf dessen Wurze... |
unit TCPServerOR;
{
TCP server pro komunikaci s panely, regulatory a obecne se vsemi klienty.
Kompletni specifikace komunikacnho protkolu je popsana na
https://github.com/kmzbrnoI/hJOPserver/wiki/panelServer.
}
interface
uses SysUtils, IdTCPServer, IdTCPConnection, IdGlobal, SyncObjs,
Classes, StrUtils, ... |
unit uPharmInfo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AdvUtil, Vcl.Grids, AdvObj, BaseGrid,
AdvGrid, Vcl.ExtCtrls, AdvPanel, FormSize, Vcl.StdCtrls;
type
TPharmInfo_f = class(TForm)
grdPharm: ... |
unit MrpSimDemandWin;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ImgList, ComCtrls, ToolWin, CommUtils, IniFiles, StdCtrls, ComObj,
ExtCtrls, SAPS618Reader, ManMrpReader, SimMPSReader;
type
TfrmMrpSimDemand = class(TForm)
ToolBar1: TToolBar;
btn... |
unit IdTestSMTPServer;
interface
uses
IdGlobal,
IdReplySMTP,
IdTCPClient,
IdSMTPServer,
IdSys,
IdTest;
type
TIdTestSMTPServer = class(TIdTest)
published
//could enhance to a more complete TestDialogue
procedure btTestGreeting;
end;
implementation
procedure TIdTestSM... |
(*
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 uSingleton;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TLoggerSingleton = class
private
// variável que aponta para o arquivo de log
ArquivoLog: TextFile;
// o con... |
// Another version, using xoxo, sax, and rings.
// In the DOM, each node has exactly one parent,
// but I want to reuse the same nodes in several
// trees. Simple example: outline nodes can contain
// html markup.
{$mode delphi}{$i xpc.inc}
unit uoutdoc;
interface
uses classes, xpc, rings, kvm, kbd, sax, sax_xml, dom, ... |
{
TDisplayInfo Component Version 1.1 - Suite GLib
Copyright (©) 2009, by Germán Estévez (Neftalí)
Representa la información de configuración para el
Utilización/Usage:
Basta con "soltar" el componente y activarlo.
Place the component in the form and active it.
MSDN Info:
disposit... |
unit DeCompress;
interface
uses
System.Classes, ZLibEx;
type
TDeCompress = class
public
class function Compress(inputBytes: TArray<Byte>): TArray<Byte>; static;
class function Decompress(inputBytes: TArray<Byte>): TArray<Byte>; static;
end;
implementation
class function TDeCompress.Compress(inputBy... |
unit dmHandledDataModule;
interface
uses
SysUtils, Classes, Windows, Messages;
type
THandledDataModule = class(TDataModule)
private
FHandle: HWND;
protected
procedure WndMethod(var Msg: TMessage); virtual; abstract;
public
constructor Create(AOwner: TComponent); override;
destructor Destroy... |
unit Utils;
interface
uses
Forms, // for TScrollingWinControl
Graphics, // for TBitmap
Controls; // for TWinControl
type
TCaptureArea =
(
CAPTURE_AREA_CLIENT,
CAPTURE_AREA_WINDOW,
CAPTURE_AREA_UNKNOWN
);
function CaptureControl( pControl : TWinControl; enAre... |
unit Utils;
interface
procedure Log(const A: string);
procedure PlaySound;
implementation
uses UFrm, System.SysUtils,
System.Classes, Winapi.Windows, Winapi.MMSystem;
procedure Log(const A: string);
begin
Frm.EdLog.Lines.Add(DateTimeToStr(Now) + ' - ' + A);
end;
procedure PlaySound;
var R: TResourceStream;
be... |
unit MainViewModel;
interface
uses
DSharp.ComponentModel.Composition,
DSharp.PresentationModel.ViewModelBase,
Interfaces;
type
TMainViewModel = class(TViewModelBase, IMainViewModel)
private
FNavigation: INavigationViewModel;
FWorkingAreas: TArray<IWorkingAreaViewModel>;
procedure SetWorkingArea... |
unit COBAEMDM;
interface
uses
System.SysUtils, System.Classes, Data.DB, Data.Win.ADODB, System.IniFiles,
System.StrUtils,
CFDIUtils;
const
cBitacora = 'C:\Temp\bitacora de proceso.txt';
cPercepciones = 'nomPercepcion';
cDeducciones = 'nomDeduccion';
cOtrosPagos = 'nomOtrosPagos';
cHoras... |
unit Download.Controller.Tipos;
interface
uses
System.SysUtils;
type
EDownloadException = class(Exception);
TStatus = (stFinalizadoComSucesso, stFinalizadoComErro,
stEstaExecutando, stFinalizadoPeloUsuario);
TResultadoDownload = record
Progresso: Int64;
ProgressoKiloBytes: Real;
P... |
unit uSubstitui;
interface
uses
uISubstitui;
type
TSubstitui = class(TInterfacedObject, ISubstitui)
public
function Substituir(aStr, aVelho, aNovo: String): String;
end;
implementation
{ Testes realizados.:
ShowMessage(Substituir('12332112312321123321512332132023','123','321'));
... |
unit CurrencyServiceIntf;
interface
type
ICurrencyService = interface(IInvokable)
['{A931D38A-8E9B-4B52-95D6-2ED6004D3F7D}']
function GetConversionRate(const AFromCurrency, AToCurrency: string): Double;
end;
implementation
end.
|
(*
Copyright 2019 Dmitry Streblechenko (dmitry@dimastr.com)
Licensed under MIT license
*)
unit AsyncAwait;
interface
uses
Windows, Classes, SysUtils, ComObj,
ActiveX, Winapi.Mtx,
ctxtcall, ObjIdl;
type
{$SCOPEDENUMS ON}
TTaskStatus = (Canceled, Created, Faulted, RanToCompletion, Running,
... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://interface.eonelab.co.kr/webservices/interface_webservice/service1.asmx?WSDL
// >Import : http://interface.eonelab.c... |
unit ApplicationServiceRegistry;
interface
uses
ApplicationService;
type
IApplicationServiceRegistry = interface
procedure Clear;
procedure RegisterApplicationService(
ApplicationServiceTypeInfo: Pointer;
ApplicationService: IApplicationService
);
procedure RegisterOrUpdateAp... |
unit GoodsAndServices;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Like, FIBDatabase, pFIBDatabase, ExtCtrls, dxBar, cxSplitter,
cxControls, cxContainer, cxEdit, cxTextEdit, cxMemo, cxDBEdit, StdCtrls,
cxInplaceContainer, cxTL, cxGridLevel, cxClas... |
unit RepositorioCampoAuditoria;
interface
uses
Repositorio,
DB;
type
TRepositorioCampoAuditoria = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIdent... |
unit UIntegerDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TIntegerDialog = class(TForm)
Label1: TLabel;
Edit: TEdit;
Button1: TButton;
Button2: TButton;
procedure FormCreate(Sender: TObject);
procedure FormShow(Sender: T... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://devws1/WSRelsOrders/RelsOrdersService.asmx?wsdl
// Encoding : utf-8
// Version : 1.0
// (2/4/2008 12:32:49 PM - 1.3... |
{ LazDebian packager for debian packages.
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 version 2 of the License, or (at your
opt... |
unit unfrAvaliacoesLista;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ExtCtrls, StdCtrls, unGlobal, Menus;
type
TfrAvaliacoesLista = class(TForm)
pnlTopo: TPanel;
cmbExames: TComboBox;
Label1: TLabel;
Panel2: TPanel;
... |
unit TestBitmapLoadSave;
interface
uses
Classes, Types,
FileTestFramework,
GR32;
type
TTestTCustomBitmap32 = class(TFileTestCase)
strict private
FBitmap32: TCustomBitmap32;
FExpectedCrc: Cardinal;
FIgnoreRes: boolean;
private
procedure TestSaveToStream(TopDown: boolean);
procedure Val... |
unit POO.Controller.Exception;
interface
uses
VCL.Forms, SysUtils, POO.Controller.Log.Facade, Dialogs;
Type
TControllerException = class(TInterfacedObject)
private
public
constructor Create;
destructor Destroy; override;
procedure TratarException(Sender: TObject; E: Excepti... |
unit game;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, System.UITypes,
Vcl.Imaging.pngimage;
type
//set a own data types
Tactive = array [1..9] of boolean; //... |
unit TBlokRozp;
//definice a obsluha technologickeho bloku Rozpojovac
interface
uses IniFiles, TBlok, StrUtils, Classes, TOblsRizeni, SysUtils,
IdContext, TOblRizeni;
type
TRozpStatus = (disabled = -5, not_selected = 0, mounting = 1, active = 2);
TBlkRozpSettings = record
RCSAddrs:TRCSAddrs; //only 1... |
unit Model.Base;
interface
uses
Spring.Collections, System.Generics.Collections,
Spring.Persistence.Mapping.Attributes;
type
IRepository<T> = interface
['{01B1C8AF-F0E5-4731-9657-A9347932AAD7}']
function GetList : IList<T>;
function AddEntity(entity : T) : boolean;
function EditEntity(... |
unit LUX.Draw.Shape;
interface //#################################################################### ■
uses FMX.Graphics,
LUX, LUX.D1, LUX.D2,
LUX.Draw.Scene,
LUX.Draw.Viewer;
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】
TDrawCirc = class;
TDrawCurv ... |
{
Sergey Bodrov (serbod@gmail.com) 2016
}
unit MciPlay;
interface
uses Windows, Messages, MMSystem, Classes, SysUtils;
type
TMciPlayer = class(TObject)
private
FMemory: Pointer;
FFourCC: array[0..3] of AnsiChar;
FFilename: string;
FAlias: string;
FLoop: Boolean;
{$ifdef M... |
unit uStringToVK;
interface
uses
SysUtils;
function VKStringToWord(const aVKstring: string): word;
implementation
function VKStringToWord(const aVKstring: string): word;
begin
if aVKstring='' then
Exit;
// case UpperCase(aVKstring) of
if UpperCase(aVKstring) = 'VK_0' then Res... |
unit SWaterfall;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ToolWin, ImgList, StdCtrls, ExtCtrls, IniFiles, ComObj,
SWaterfallReader, Spin;
type
TfrmSWaterfall = class(TForm)
leWaterFall: TLabeledEdit;
leSOPSum: TLabeledEdit;
btnWa... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit CryptRDP;
interface
function CryptRDPPassword(sPassword: string): string;
implementation
uses Windows, SysUtils;
const
crypt32 = 'crypt32.dll';
CRYPTPROTECT_UI_FORBIDDEN = $01;
type
DATA_BLOB = record
cbData: DWORD;
pbData: Windows.PBYTE;
end;
PDATA_BLOB = ^DATA_BLOB;
LPLPWSTR = ^LPWSTR;... |
{
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; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the im... |
unit ComponentNameExtract;
interface
uses Classes;
procedure ExtractCrocPhysicsComponentNames( Input, Output : TStrings );
implementation
uses ParseCsv;
//COMPONENT,IC8,"74HC00","Logic Gates (74HC).cml",""
procedure ExtractCrocPhysicsComponentNames( Input, Output : TStrings );
procedure Ex... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit dbFarmacyProcedureTest;
interface
uses TestFramework, ZConnection, ZDataset, dbTest;
type
TdbProcedureTest = class (TdbTest)
published
procedure CreateFunction;
procedure CreateContainerProcedure;
procedure CreateDefaultProcedure;
procedure CreateHistoryProcedure;
procedure CreateMovement... |
program notify;
{$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}
{
=================================================================... |
unit UUADConstQuality;
{ 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, Di... |
{ @abstract(This file is part of the KControls component suite for Delphi and Lazarus.)
@author(Tomas Krysl)
Copyright (c) 2020 Tomas Krysl<BR><BR>
<B>License:</B><BR>
This code is licensed under BSD 3-Clause Clear License, see file License.txt or https://spdx.org/licenses/BSD-3-Clause-Clear.html.
}
... |
unit EspecificacaoCaixaPorData;
interface
uses
Especificacao, Dialogs;
type
TEspecificacaoCaixaPorData = class(TEspecificacao)
private
FData :TDateTime;
FA_F :String;
public
constructor Create(Data :TDateTime; const A_F :String = 'A');
public
function SatisfeitoPor(Objeto :TObject): Boo... |
unit ujsescposthermalprinter;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, {And_jni_Bridge,} AndroidWidget;
type
TPrinterConnection = (connBluetooth); //connTCP, connUSB
{Draft Component code by "LAMW: Lazarus Android Module Wizard" [5/29/2023 16:02:55]}
{https://github.com/jmpessoa/lazandroidmod... |
{*!
* 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 DebugAppImpl;
interface
{$MODE OBJFPC}
uses
RunnableIntf,
... |
unit Forms.CountryList;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Aurelius.Bind.Dataset,
Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls, Vcl.DBCtrls,
Aurelius.Engine.ObjectManager;
type
TCo... |
unit uMainForm;
{$I cef.inc}
interface
uses
{$IFDEF DELPHI16_UP}
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.Buttons, Vcl.ExtCtrls, Vcl.StdCtrls,
{$ELSE}
Windows, Messages, SysUtils, Variants, Class... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2013 Embarcadero Technologies, Inc. }
{ }
{*****************************... |
(**
* A collection of functions shared between the different export types.
*)
unit ExportCore;
(***
*
* Shorthands for commonly used functions.
*
**)
(**
* Shorthand for [getEditValue].
*)
function gev(el: IwbElement): String;
begin
result := getEditValue(el);
end;
(**
* Shorthand for [elementBySignat... |
unit RepositoryCriteriaListUnit;
interface
uses Classes, AbstractRepositoryCriteriaUnit;
type
TRepositoryCriteriaList = class;
TRepositoryCriteriaListEnumerator = class (TListEnumerator)
private
function GetCurrentCriterion: TAbstractRepositoryCriterion;
constructor Create(
Repositor... |
unit AT.ShortName.Vcl.Forms.Generic.TabRibbon;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
AT.ShortName.Vcl.Forms.Generic.TabForm, Vcl.StdCtrls, Vcl.ExtCtrls,
AT.ShortName.Intf, cxGraphics, cxControls, cx... |
unit IdTestObjs;
interface
uses
IdSys,
IdTest,
IdObjs;
type
TIdTestStringStream = class(TIdTest)
published
procedure TestStream;
end;
implementation
procedure TIdTestStringStream.TestStream;
var
aStream:TIdStringStream;
const
cStr='123';
cStr2='abc';
begin
aStream:=TId... |
unit uGBOTools;
{$I twcomp.pas}
interface
uses
Windows, Variants, gwServices_tlb, Grids, SysUtils, Classes, uVariantTools,
uDocumentTools, uGWVariantFile;
//------------------------------------------------------------------------------
// Windows
//---------------------------------------------------------------... |
unit View.OthIncomeOutcomeDefEdit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, View.TemplateEdit, Data.DB,
JvComponentBase, JvFormPlacement, Vcl.StdCtrls, Vcl.ExtCtrls,
JvExControls, JvDBLookup,
Model.L... |
{*******************************************************}
{ }
{ Turbo Pascal Runtime Library }
{ Windows DOS Interface Unit }
{ }
{ Copyright (c) 1... |
unit editSettings;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, Buttons, StdCtrls;
type
TfrmEditSettings = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel... |
unit URigCtrlLib;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
StdCtrls, ExtCtrls, AnsiStrings, System.Math, System.StrUtils,
System.SyncObjs, Generics.Collections,
UzLogConst, UzLogGlobal, UzLogQSO, CPDrv, OmniRig_TLB;
const
VFOString : array[0..1] of string =
('VFO ... |
unit ALAndroidShortcutBadgerApi;
interface
uses
Androidapi.JNI.GraphicsContentViewText,
Androidapi.JNIBridge,
Androidapi.JNI.JavaTypes,
Androidapi.JNI.App;
type
{**************************}
JShortcutBadger = interface;
{********************************************}
JShortcutBadgerCl... |
unit TIFFAnalySIS;
interface
Uses Classes, SysUtils, Tiff;
// AnalySIS tiff type
const
ttt_SISAnalysis = 33560; // LONG : offset to data structure of 60 bytes followed by pointers to other structures
type
TSIS_main = packed record
Magic : Array[0..3] of AnsiChar; // Contains 'SIS0'
Unknown : array[0..... |
unit ProdutoMVPIntf;
interface
uses ProdutoIntf, Produto, Generics.Collections, Controls;
type
IProdutoPresenter = interface;
IProdutoView = interface
['{28C44980-DE2A-46A6-8414-89E95FBDAF13}']
function GetProduto: TProduto;
procedure SetProduto(Value: TProduto);
function GetPresenter: IProduto... |
unit ClasseTipoCombustivel;
interface
type
TTipoCombustivel = class
private
FId_tipo: integer;
FDescricao: String;
FPreco: double;
procedure setId_tipo(const Value: integer);
procedure setDescricao(const Value: String);
procedure setPreco(const Value: double);
public
property id_t... |
unit View.EmployeeEdit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, View.TemplateEdit, Data.DB,
JvComponentBase, JvFormPlacement, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.DBCtrls,
Vcl.Mask, Vcl.ComCtrls, JvExMask,... |
unit ExemploComOCP;
interface
type
TCamadaBD = class
protected
function GerarSQLPrimeirosClientes: string; virtual; abstract;
public
procedure SelecionarPrimeirosClientes;
end;
TFirebird = class(TCamadaBD)
protected
function GerarSQLPrimeirosClientes: string; override;
end;
... |
unit uOrderController;
interface
uses System.Classes, uOrder, Datasnap.DBClient;
type
TOrderController = class(TOrderBase)
private
FOrderModel : TOrder;
FListOrder : TList;
procedure ClearList;
public
constructor Create(aSender: TComponent); overload;
destructor Destroy(); ove... |
unit Module.ContextMenu;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Vcl.ImgList,
Dialogs, ExtCtrls, ComCtrls, System.Win.Registry, ShellAPI, Vcl.StdCtrls, Winapi.ShlObj,
Vcl.ValEdit,
//Свои модули
CMW.OSInfo, CMW.ModuleStruct, CMW.Utils, Vcl.Grids;
//
type
... |
//***************************************************************************
//
// 名称:RTXC.Funcs.pas
// 工具:RAD Studio XE6
// 日期:2014/11/11 15:51:21
// 作者:ying32
// QQ :396506155
// MSN :ying_32@live.cn
// E-mail:yuanfen3287@vip.qq.com
// Website:http://www.ying32.com
//... |
{==============================================================================*
* Copyright © 2020, Pukhkiy Igor *
* All rights reserved. *
*============================================================================... |
unit FFormation;
interface
uses
FUnit, windows;
type
TFormationType = (FORM_STD, FORM_HEART);
function makeDestPos(i, nb, space : integer; dest : Tpoint; form : TFormationType; angle : Extended): TPoint;
implementation
uses
MyMath;
//HEART SHAPED BOX :
// x = sin( t) ^3
// y = cos(t ) - ... |
unit AbstractApplicationServiceRegistries;
interface
uses
ApplicationServiceRegistry,
ApplicationServiceRegistries,
SysUtils,
Classes;
type
TAbstractApplicationServiceRegistries = class abstract (TInterfacedObject, IApplicationServiceRegistries)
protected
function GetApplicationServiceRegistr... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit mnDebugTestCase;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework;
type
TmnDebugTestCase = ... |
unit AqDrop.Core.Observable;
{$I 'AqDrop.Core.FullRTTIForMethods.inc'}
interface
uses
System.Rtti,
System.Classes,
System.SysUtils,
System.SyncObjs,
AqDrop.Core.Attributes,
AQDrop.Core.Observer.Intf,
AqDrop.Core.Observer,
AqDrop.Core.Collections;
type
AqNotifyObserversTag = class(... |
unit RepositorioGrupo;
interface
uses
DB,
Auditoria,
Repositorio;
type
TRepositorioGrupo = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIdentificad... |
{$ifdef license}
(*
Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com )
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this l... |
unit PLookupMemoEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
stdctrls, dbtables, extctrls, RxCtrls, dbctrls, db, SelectDlg, PLabelPanel
,buttons,Mask;
type
TPLookupMemoEdit = class(TCustomMaskEdit)
private
{ Private declarations }
FBackText: string;... |
//Only compile for the iOS platform.
{$IF NOT Defined(IOS)}
{$MESSAGE Fatal 'AT.iOS.App.pas only compiles for the iOS platform.'}
{$ENDIF}
// ******************************************************************
//
// Program Name : Angelic Tech iOS Library
// Program Version: 2017
// Platform(s) : iOS
// Framewor... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Alcinoe.FBX.Client, Shellapi;
type
TMyEventThread = class(TALFBXEventThread)
Private
FMsg: AnsiString;
protected
Procedure UpdateMemoResults;
proced... |
unit roNetworks;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, roChildWin, ComCtrls, Menus, ActnList, SQLiteData;
type
TNetworkWin = class(TChildWin)
MainMenu1: TMainMenu;
oView: TTreeView;
ActionList1: TActionList;
aNewNetwork: TAction;
... |
{***************************************************************************}
{ }
{ DelphiUIAutomation }
{ }
{ ... |
{
Description: vPlot driver library.
Copyright (C) 2017-2018 Melchiorre Caruso <melchiorrecaruso@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 version 2 of the License, ... |
unit MargGraph;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, TeeProcs, TeEngine, Chart, Func1D, Series, Menus, StdCtrls;
type
TfrmMargGraph = class(TForm)
Chart1: TChart;
Series1: TLineSeries;
Series2: TLineSeries;
PopupMenu1: TPopupMenu;
... |
{$ifdef license}
(*
Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com )
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this li... |
unit frameBuscaContador;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Contador, Vcl.StdCtrls, Vcl.Buttons, Vcl.Mask, RxToolEdit, RxCurrEdit;
type
TBuscaContador = class(TFrame)
StaticText2: TStaticText;... |
program Hi; {I am a one-line comment}
var a : integer;
(* I am a
multi-line
comment *)
function square(b : integer): integer;
begin
square := b * b;
end;
Procedure greet();
var
a : integer;
d : String;
begin
d := 'Hello World!';
writeln(d);
writeln('Now give me a number!');
... |
unit TestPlot;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
TeEngine, Series, ExtCtrls, TeeProcs, Chart, Func1D;
type
TfrmTestPlot = class(TForm)
Chart1: TChart;
Series1: TLineSeries;
Series2: TLineSeries;
procedure FormCreate(Sender: TObject);
priv... |
Program LangMake;
Uses Utilpack;
{$I SEDIT.INC}
Type
LangType = Array[1..LangCnt] Of String[75];
Const
Hdr: String[80] = 'Open!EDIT Language File: English';
LangFile = 'ENGLISH';
Default: LangType = (
'Quote Window ' ,
'Quote Line ' ... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, GDIPCustomItem, GDIPTextItem,
GDIPImageTextItem, GDIPImageItem, Vcl.ExtCtrls, AdvHorizontalPolyList,
CustomItemsContainer, AdvVerticalPolyList, AdvS... |
unit TSTOHackMasterList.IO;
interface
Uses Classes, HsInterfaceEx, HsStringListEx, HsStreamEx,
TSTOProjectIntf, TSTOScriptTemplateIntf, TSTORGBProgress, TSTOHackMasterListIntf;
Type
tDataIDIOType = (tdtUnknown, tdtCharacter, tdtBuilding);
ITSTOHackMasterDataIDIO = Interface(ITSTOHackMasterDataID)
['{4B616... |
unit RandomTextUtils;
interface
const
CommonNames: array [0 .. 19] of string = ('Alicia', 'Blake', 'Drew', 'Elisa', 'Frank', 'Gary', 'Haylee', 'Ivy',
'Katie', 'Maxwell', 'Adrien', 'Alyson', 'Brad', 'Britney', 'Carl', 'Edith', 'Eric', 'James', 'Wayne', 'Paige');
CommonSurNames: array [0 .. 19] of stri... |
//Модуль с функциями
//Автор: Дюгуров Сергей Михайлович
//2010 - 2011
unit uCommon;
interface
uses
Forms,
StdCtrls,
Controls,
SysUtils,
Windows,
IniFiles,
ComCtrls,
ExtCtrls,
elTree;
//показывает сообщение об ошибке
procedure ErrorBo... |
unit ParallelForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, System.Threading, System.RTTI;
type
TTaskStatusHelper = record helper for TTaskStatus
function ToString: String... |
(*
Name: UfrmSelectKey
Copyright: Copyright (C) SIL International.
Documentation:
Description:
Create Date: 23 Aug 2006
Modified Date: 24 Jul 2015
Authors: mcdurdin
Related Files:
Dependencies:
Bugs:
Todo:
Notes: ... |
unit ObjXMLStore;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit> ObjXMLStore
<What> 用XML文件来保存对象
<Written By> Huang YanLai
<History>
**********************************************}
interface
uses
SysUtils, Classes, TypUtils,T... |
unit AT.Posix.SystemInfo.Kernel;
interface
//todo:
{$IF ( (NOT Defined(ANDROID)) AND (NOT Defined(LINUX)) )}
function HostID: Integer;
function Hostname: String;
function MaxExecArgs: Integer;
function MaxOpenFiles: Integer;
function MaxProcesses: Integer;
function MaxVNodes: Integer;
function OSRelease: String;
func... |
unit Simulator;
{ SimThyr Project }
{ A numerical simulator of thyrotropic feedback control }
{ Version 4.0.3 (Merlion) }
{ (c) J. W. Dietrich, 1994 - 2020 }
{ (c) Ludwig Maximilian University of Munich 1995 - 2002 }
{ (c) Ruhr University of Bochum 2005 - 2020 }
{ This unit implements the main simulation methods }
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.