text stringlengths 14 6.51M |
|---|
unit LifeEngine;
interface
uses System.Types, System.SysUtils, System.Classes;
type
TLifeBoard = array of array of Byte;
TNeighborCount = 0..8;
TNeighborCounts = set of TNeighborCount;
ELifeEngine = class(Exception);
TLifeEngine = class
private
type
TLifeThread = class(TThread... |
{----------------------------------------------------------------
Nome: UntProcMsgIRC
Descrição: Processa os tipos de menssagens do IRCUtils
executando os comandos correspondentes
----------------------------------------------------------------}
unit UntProcMsgIRC;
interface
uses
SysUtils, Classes, IRCUtils, S... |
//
// Generated by JavaToPas v1.5 20171018 - 171043
////////////////////////////////////////////////////////////////////////////////
unit javax.xml.datatype.Duration;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
javax.xml.namespace.QName,
javax.xml.datatype.DatatypeConstants_Field,
java.ma... |
unit MyCat.Generics.Bytes;
interface
uses
System.SysUtils;
{$I DGLCfg.inc_h}
const
_NULL_Value: TBytes = [];
type
_ValueType = TBytes;
function _HashValue(const Key: _ValueType): Cardinal;
{$IFDEF _DGL_Inline} inline; {$ENDIF}// Hash函数
//{$DEFINE _DGL_Compare} // 比较函数
//function _IsEqual(const a, b: _Value... |
unit ibSHDMLHistory;
interface
uses
SysUtils, Classes,
SHDesignIntf, SHOptionsIntf,
pSHSqlTxtRtns, pSHQStrings,
ibSHMessages, ibSHConsts, ibSHDesignIntf, ibSHTool, ibSHComponent, ibSHValues;
type
TibSHDMLHistory = class(TibBTTool, IibSHDMLHistory, IibSHBranch, IfbSHBranch)
private
FItems... |
unit CadastroBase.View;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Base.View, cxGraphics, cxLookAndFeels,
cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore, Vcl.StdCtrls, cxButtons,
Vcl.ExtCtrls, cxControl... |
unit Simple.Navigator;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls,
FMX.Layouts, FMX.Objects, FMX.Navigator, FMX.MultiView, FMX.Effects, FireDAC.Stan.Intf, Fi... |
namespace CallingWin32DLL;
interface
uses
System.Windows.Forms,
System.Drawing,
System.Runtime.InteropServices; // this namespace contains the DllImport attribute needed for importing Win32 DLLs.
type
MainForm = partial class(System.Windows.Forms.Form)
private
method btnSoundRenamed_Click(sender: Sy... |
unit uMGeo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Actions, Vcl.ActnList,
Vcl.ExtCtrls, Vcl.Buttons, Vcl.StdCtrls, Vcl.Imaging.pngimage;
type
TforMediaGeo = class(TForm)
edValor: TEdit;
... |
//
// Generated by JavaToPas v1.5 20171018 - 170747
////////////////////////////////////////////////////////////////////////////////
unit javax.xml.transform.Transformer;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
javax.xml.transform.Source,
javax.xml.transform.Result,
javax.xml.transfor... |
{
@abstract(Provides Old Format 1.5 highlighters import)
@authors(Vitalik [just_vitalik@yahoo.com])
@created(2005)
@lastmod(2006-06-30)
}
{$IFNDEF QSynUniFormatNativeXml15}
unit SynUniFormatNativeXml15;
{$ENDIF}
{$I SynUniHighlighter.inc}
interface
uses
{$IFDEF SYN_CLX}
QClasses,
QGraphics,
... |
unit UnitServicos;
interface
uses
Windows,
winsvc;
function ServiceStatus(sService: string; Change:bool; StartStop: bool): string;
function ServiceList: string;
function InstallService(ServiceName, DisplayName: pchar; FileName: string): bool;
function UninstallService(sService: string): bool;
function ServiceStr... |
unit FFPlay;
interface
{$IFDEF DEF_OUTPUT_WIN}
const LIBNAME = '..\Bin\FFPlayLib.dll';
{$ELSE}
const LIBNAME = 'libFFPlay.so';
{$ENDIF}
const FFP_AUDIO_U8 = $0008;
const FFP_AUDIO_S8 = $8008;
const FFP_AUDIO_U16LSB = $0010;
const FFP_AUDIO_S16LSB = $8010;
cons... |
{
Delphi Thread Unit by Aphex
http://iamaphex.cjb.net
unremote@knology.net
}
unit ThreadUnit;
{$D-,L-,O+,Q-,R-,Y-,S-}
interface
uses Windows;
type
TThread = class;
TThreadProcedure = procedure(Thread: TThread);
TSynchronizeProcedure = procedure;
TThread = class
private
FTh... |
unit LAB;
interface
Uses Files, SysUtils, Classes;
Type
TResType=array[0..3] of char;
TLABDirectory=class(TContainerFile)
Procedure Refresh;override;
Function GetContainerCreator(name:String):TContainerCreator;override;
end;
TLABHeader=packed record
Magic:array[0..3] of char; {'LABN'}
Version:Longint; {655... |
unit fpcGenerics;
interface
type
TInt = TInt;
generic TGList<T> = class
function GetCurrent: T;
end;
TIntList = specialize TGList<TInt>;
implementation
generic function Add<T>(aLeft, aRight: T): T;
begin
Result := aLeft + aRight;
end;
function TGList.GetCurrent: T;
begin
Result := spec... |
unit uContatoController;
interface
uses
MVCFramework, MVCFramework.Commons, MVCFramework.Serializer.Commons;
type
[MVCPath('/api/v1')]
TContatoController = class(TMVCController)
public
[MVCPath('/echostring/($Value)')]
[MVCHTTPMethod([httpGET])]
procedure GetEchoString(const Value: stri... |
unit filelist_atd;
interface
uses Dos, Crt, Tabul_Atd, onefile_atd, DOSWIN;
type onefilearray = array [1..maxint] of onefile;
files_pointer = ^onefilearray;
type filelist = object
public
constructor init (Coordinates : Coords; thistabula : ta... |
unit Server.Resources;
interface
uses
System.Generics.Collections
, WiRL.Core.Attributes
, WiRL.Core.MessageBody.Default
, WiRL.Core.Registry
, WiRL.Core.Validators
, WiRL.http.Accept.MediaType
, WiRL.http.Request
, WiRL.http.Response
, WiRL.Schemas.Swagger
, Common.Entities.Player
, Common.Entities.Card
, Common.E... |
unit Chapter04._05_Solution1;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
DeepStar.Utils;
// 454. 4Sum II
// https://leetcode.com/problems/4sum-ii/description/
// 时间复杂度: O(n^2)
// 空间复杂度: O(n^2)
type
TSolution = class(TObject)
public
function FourSumCount(a, b, c, d: TArr_int): integer;
en... |
unit uSubStoreQty;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParentSub, cxStyles, cxCustomData, cxGraphics, cxFilter,
cxData, cxEdit, DB, cxDBData, ADODB, cxGridLevel, cxGridCustomTableView,
cxGridTableView, cxGridDBTableView, cxClasses, cxControls,
... |
unit UBalanceSetupProp;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, cxRadioGroup, cxTextEdit, cxControls,
cxContainer, cxEdit, cxLabel, cxLookAndFeelPainters, cxButtons, ActnList,
cxCheckBox, cxMaskEdit, DB, FIBDataSet, pFIBDataSet, cx... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
//
// Generated by JavaToPas v1.5 20180804 - 082450
////////////////////////////////////////////////////////////////////////////////
unit android.telecom.Connection_RttModifyStatus;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes;
type
JConnection_RttModifyStatus = interface;
JConnection_RttMo... |
unit UDTableFields;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, UCrpe32, Grids;
type
TCrpeTableFieldsDlg = class(TForm)
btnOk: TButton;
sgFields: TStringGrid;
procedure FormCreate(Sender: TObject);
procedure FormShow(Sender: TObje... |
unit Dmitry.Controls.PathEditor;
interface
uses
Generics.Collections,
System.Types,
System.SysUtils,
System.Classes,
System.SysConst,
System.StrUtils,
System.SyncObjs,
System.Math,
System.Win.ComObj,
Winapi.Windows,
Winapi.Messages,
Winapi.ShellApi,
Winapi.CommCtrl,
Winap... |
unit MainFormUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Buttons,
Vcl.Menus;
type
TMode = (off, on);
TMainForm = class(TForm)
EmotarImage: TImage;
Gener... |
unit FuncionarioDAO;
interface
uses
DBXCommon, SqlExpr, BaseDAO, Funcionario, Cargo;
type
TFuncionarioDAO = class(TBaseDAO)
public
function List: TDBXReader;
function NextCodigo: string;
function Insert(Funcionario: TFuncionario): Boolean;
function Update(Funcionario: TFuncionario): Boolean;
... |
unit NewAcceptUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, RxMemDS, uCommonSp, uFormControl, Buttons, Grids, Spin,
StdCtrls, SpComboBox, DBGrids, ExtCtrls, Mask, CheckEditUnit, ComCtrls,
uFControl, uLabeledFControl, uSpravControl, uDateControl, u... |
unit FormUnit9;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, IPPeerClient,
REST.Backend.PushTypes, REST.Backend.KinveyPushDevice, System.JSON,
System.PushNotification, FMX.StdCtrls, REST.Ba... |
{#####################################################################################}
{## ##}
{## Texture_3D_Unit ##}
{## ... |
unit Adler_32;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DsgnIntf;
type
TZeroHundred = 0..100;
TAboutProperty = class(TPropertyEditor)
public
procedure Edit; override;
function GetAttributes: TPropertyAttributes; override;
function GetValue: string; ... |
{: A bare-bones sample for TGLHUDText.<p>
To use a TGLHUDText, you must first place a TGLBitmapFont component and specify
a font bitmap and it character ranges (ie. which tile represents which
character). The component allows for a wide variety of fixed-width font
bitmaps, and you can reuse many of th... |
unit UDLogOnInfo;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, UCrpe32;
type
TCrpeLogOnInfoDlg = class(TForm)
pnlLogOnInfo1: TPanel;
lblTable: TLabel;
lblTableType: TLabel;
lblDLLName: TLabel;
lblServerType: TLabel;
lbTable... |
unit UDPFAsDate;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Grids, Calendar, Buttons, ComCtrls, ExtCtrls, UCrpe32;
type
TCrpePFAsDateDlg = class(TForm)
pnlPValueEdit: TPanel;
pcPValueEdit: TPageControl;
tsDate: TTabSheet;
pnlAsDate: TPanel... |
unit Pospolite.View.CSS.Basics;
{
+-------------------------+
| Package: Pospolite View |
| Author: Matek0611 |
| Email: matiowo@wp.pl |
| Version: 1.0p |
+-------------------------+
Comments:
...
}
{$mode objfpc}{$H+}
{$modeswitch advancedrecords}
interface
uses
Classes, SysUt... |
unit MyCat.BackEnd.Mysql.CrossSocket;
interface
uses
Net.CrossSocket, MyCat.BackEnd;
type
TMySQLConnection = class(TCrossConnection, IBackEndConnection)
function IsModifiedSQLExecuted: Boolean;
function IsFromSlaveDB: Boolean;
function GetSchema: string;
procedure SetSchema(newSchema: string);
... |
(*----------------------------------------------------------------------------*
* Direct3D sample from DirectX 9.0 SDK December 2006 *
* Delphi adaptation by Alexey Barkovoy (e-mail: directx@clootie.ru) *
* *
... |
Unit WebcamAPI;
interface
uses
Windows,
Messages,
unitobjeto,
classes;
var
MyWebCamObject: TMyObject;
function ListarDispositivosWebCam(Delimitador: WideString): WideString;
function InitCapture(WebcamID: integer): boolean;
function GetWebcamImage(var ReplyStream: TMemoryStream): boolean;
procedure Destro... |
unit ini_type_account_FORM;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Buttons, ToolWin, ComCtrls, FIBQuery, pFIBQuery, pFIBStoredProc,
pFIBDatabase, StdCtrls, Db, FIBDataSet, pFIBDataSet, Grids, DBGrids,
Menus, ActnList, ExtCtrls, cxStyles, cxCustomData,
cxGrap... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
... |
unit guiRecipeDetails;
interface
uses
SysUtils, Forms, Dialogs, siComp, siLngLnk, Data.DB,
Vcl.Controls, Vcl.StdCtrls, Vcl.DBCtrls, Vcl.Mask, System.Classes,
Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids;
type
TFormRecipeDetails = class(TForm)
pnlHead: TPanel;
pnlDetail: TPanel;
pnlFoot: TPanel;
DBNavi... |
unit unit1;
{
This is a little example about particles system.
Here we use the Direction property of the TGLSphere like
a motion vector for the movement.
*****************************************************************
* *
* .--... |
unit uFrmSelectRebateCalendar;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PaideTodosGeral, siComp, siLangRT, StdCtrls, Buttons, ExtCtrls,
Mask, SuperComboADO;
type
TFrmSelectRebateCalendar = class(TFrmParentAll)
lblCalendar: TLabel;
scRebateCale... |
unit MyCat.BackEnd.Generics.BackEndConnection;
interface
uses
System.SysUtils, MyCat.BackEnd.Interfaces;
{$I DGLCfg.inc_h}
type
_ValueType = IBackEndConnection;
const
_NULL_Value: _ValueType = nil;
{$DEFINE _DGL_NotHashFunction}
{$DEFINE _DGL_Compare}
function _IsEqual(const a, b: _ValueType): boolean;
// {... |
unit GLD3dsChunk;
interface
uses
Classes, GL, GLD3dsTypes;
const
GLD3DS_NULL_CHUNK = $0000;
GLD3DS_M3DMAGIC = $4D4D;
GLD3DS_SMAGIC = $2D2D;
GLD3DS_LMAGIC = $2D3D;
GLD3DS_MLIBMAGIC = $3DAA;
GLD3DS_MATMAGIC ... |
unit Enchipher;
interface
const
ENGLISH_ALPHABET : array[0..25] of char = ('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P' ,'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z');
RUSSIAN_ALPHABET : array[0..32] of char = ('À', 'Á', 'Â', 'Ã', 'Ä', 'Å', '¨', 'Æ', 'Ç', 'È', 'É', 'Ê', 'Ë', ... |
unit uInstallTypes;
interface
const
MaxFileNameLength = 255;
ReadBufferSize = 16 * 1024;
type
TZipHeader = record
CRC: Cardinal;
end;
TZipEntryHeader = record
FileName: array[0..MaxFileNameLength] of Char;
FileNameLength: Byte;
FileOriginalSize: Int64;
FileCompressedSi... |
{ *************************************************************************** }
{ }
{ EControl Common Library }
{ }
... |
unit ValueSetEditorRegisterServerForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, VirtualTrees, ValueSetEditorCore;
type
TfrmRegisterServer = class(TForm)
Panel1: TPanel;
... |
program SimpleFactory;
(*
*Простая фабрика вообще не является паттерном проектирования,
*это скорее идиома программирования (устоявшаяся практика).
*)
(*
*Фабричный класс не должен ничего содержать, кроме создания объектов.
*Во всем остальном коде мы не должны создавать объекты напрямую, только через фабрику.
... |
unit ufrmDialogAdjustmentProduct;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterDialog, ufraFooterDialog2Button, ExtCtrls, SUIForm,
StdCtrls, Mask, JvToolEdit, JvLabel, Grids, BaseGrid, AdvGrid, uConn, JclStrings,
uAdjustmentStock, JvEdit, JvExMas... |
unit EstoqueFactory.Model;
interface
uses EstoqueFactory.Model.Interf, Produto.Model.Interf, Orcamento.Model.Interf,
OrcamentoItens.Model.Interf, OrcamentoFornecedores.Model.Interf,
Cotacao.Model.Interf;
type
TEstoqueFactoryModel = class(TInterfacedObject, IEstoqueFactoryModel)
private
public
construct... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
//
// Created by the DataSnap proxy generator.
// 16/02/2021 19:34:42
//
unit GuiaAlvo.Model.Proxy;
interface
uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExp... |
unit controller;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, elemento;
type
IController = interface
['{C0247D9C-4B9F-4DF4-97B8-E8AEE782D57C}']
// Função para listar todos os elementos
function Listar(lista: TList): integer;
// Função para carregar o elemento
function Get(id: intege... |
unit Test.Address.Classes;
interface
{$M+}
type
{$REGION 'Interfaces'}
IZipCode = interface
['{56B26B9F-1145-4E44-88E6-EBC0BA8CE17B}']
function GetZipcode(): Integer;
procedure SetZipcode(value: Integer);
function GetCity(): string;
procedure SetCity(const value: string);
property Zipcode... |
unit uFrmBillSale;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uFrmMDIBill, ComCtrls, cxStyles, cxCustomData, cxGraphics,
cxFilter, cxData, cxDataStorage, cxEdit, dxBar, dxBarExtItems, cxClasses,
ImgList, ActnList, DB, DBClient, cxGridLevel, cxControls,
... |
unit LinkedList;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
{ TNode }
TNode = class(TObject)
Data: Pointer;
Next: TNode;
function HasNext: boolean;
public
constructor Create(AData: Pointer); overload;
end;
{ TLinkedList }
TLinkedList = class(TObject)
Head: TNode;... |
{Una fábrica Textil ofrece N tipos distintos de prendas de M talles (1..M). Esta información se
encuentra en un archivo STOCK.TXT donde en la primer línea viene M (cantidad de talles) y
luego:
✔ Código de prenda (alfanumérico de 4)
✔ Cantidad de prendas de los M talles
5 5
AA12 20 0 10 12 8
BB34 10 13 25 30 15
CC56 0 2... |
unit ThCanvasEditor;
interface
uses
System.UITypes, System.Classes, System.Types, System.SysUtils, FMX.Types,
ThCanvas, ThTypes, ThItem, ThClasses;
type
{
Features
- ThContainers features
- ThItem control(add, modify, delete)
}
TThCanvasEditor = class(TThCanvas)
private
FDrawItem: TThItem;
... |
unit UrsJSONPortable;
{$IF CompilerVersion > 26} // XE5
{$MESSAGE WARN 'Delphi version greatest at XE5 don''t needed this unit'}
{$IFEND}
interface
{$IF CompilerVersion <= 26} // XE5
uses
System.TypInfo, System.Rtti, System.SysUtils,
Data.DBXJSON;
type
TJsonValueBaseHelper = class helper for TJsonValue
... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Support classes for loading various fileformats.
These classes work together like vector file formats or Delphi's TGraphic classes.
}
unit VXS.SoundFileObjects;
interface
{$I VXScene.inc}
uses
System.Classes... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit OperazioniInvio;
{$mode delphi}
interface
uses
Classes, SysUtils, FileUtil, HTTPSend, IniFiles,
UtilitaExtra, InfoPagina, InfoFile;
type
TItasaUrls = record
URL_ITASA,
URL_LOGIN,
URL_DOWNLOAD,
URL_TOPIC,
URL_POST,
URL_PANNELLO : String;
end;
TUserInfo = re... |
unit uBranchEditFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uTreeBaseEditFrm, Menus, cxLookAndFeelPainters, cxGraphics,
cxCustomData, cxStyles, cxTL, cxMaskEdit, cxTLdxBarBuiltInMenu, DB,
DBClient, StdCtrls, dximctrl, cxCheckBox, cxDBEdit, cx... |
// RemObjects CS to Pascal 0.1
namespace UT3Bots.UTItems;
interface
uses
System,
System.Collections.Generic,
System.Linq,
System.Text,
System.ComponentModel,
UT3Bots.Communications;
type
UTItemPoint = public class(UTPoint, INotifyPropertyChanged)
private
var _item: UTItem;
var _isRead... |
{$MODE TP} { FreePascal will compile this as a Turbo Pascal program. }
program logic;
function compile(expression : string) : string;
{ Compiles a predicate (a boolean expression) into 'reverse Polish notation'.
The RPN uses the one-character variants of the symbols }
var
cursor : integer;
position : integer... |
unit InsertImageToolUnit;
interface
uses
System.Math,
System.Classes,
System.SysUtils,
Winapi.Windows,
Vcl.Controls,
Vcl.Graphics,
Vcl.StdCtrls,
Vcl.ComCtrls,
Vcl.Dialogs,
Vcl.Clipbrd,
Dmitry.Graphics.Types,
Dmitry.Controls.WebLink,
ToolsUnit,
Effects,
Custom... |
unit TextureAtlasExtractorOrigamiGA;
interface
uses BasicMathsTypes, BasicDataTypes, TextureAtlasExtractorBase, TextureAtlasExtractorOrigami,
NeighborDetector, MeshPluginBase, Math, SysUtils, GeometricAlgebra, Multivector,
IntegerList, math3d, NeighborhoodDataPlugin, ColisionCheckGA;
{$INCLUDE source/G... |
{ *********************************************************************** }
{ }
{ GUI Hangman }
{ Version 1.0 - First release of program }
{ Last Revi... |
Unit AbstractRequest;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
Interface
Uses
IRPMonDll,
RefObject,
ProcessList;
Type
TGeneralRequest = Class (TRefObject)
Private
FDataBufferAllocated : Boolean;
Protected
FId : Cardinal;
FDriverName : WideString;
FDeviceName : WideString;
FFileName : Wid... |
//---------------------------------------------------------------
// CharPrinter.pas - Tratamento de impressoras em modo caractere
//---------------------------------------------------------------
// Autor : Fernando Allen Marques de Oliveira
// Dezembro de 2000.
//
// TPrinterStream : classe derivada de TStream para e... |
unit uFormBackgroundTaskStatus;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.Types,
System.SysUtils,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.ExtCtrls,
Vcl.StdCtrls,
Vcl.Themes,
Dmitry.Controls.Base,
Dmitry.Controls.LoadingSign,
uMemory,
... |
{
Zur VCL kompatible grafische Objekte, die keine Windows-Ressourcen brauchen und
intern Vektorgrafiken anlegen, die man auch als Dateien speichern kann
}
unit Drawings;
interface
uses Classes, Graphics, SysUtils;
type
TVectorBrush = class(TPersistent)
private
FBitmap: TBitmap;
FColor: TC... |
unit ufrmDialogMerchandise;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
ufrmMasterDialog, System.Actions, Vcl.ActnList, ufraFooterDialog3Button,
Vcl.ExtCtrls, Vcl.StdCtrls, uModBarang, uInterface, uModSup... |
unit wwStacks;
{
//
// Simple stack classes to support the parsing of table filters
//
// Copyright (c) 1995 by Woll2Woll Software
//
}
interface
uses classes;
type
{ TNode = Class;
PTNode = ^TNode;
}
TStackStr = class
private
list: TStringList;
public
procedure push(s: string);
fu... |
PROGRAM quicksort;
TYPE
IntegerArray = array of integer;
Procedure QuickSort(Var X : IntegerArray);
Procedure Sort ( Left, Right : LongInt );
Var
i, j : LongInt;
tmp, pivot : LongInt; { tmp & pivot are the same type as the elements of array }
Begin
i:=Left;
j:=Right;
pivot := X[(... |
unit uEditoraModel;
interface
uses uGenericEntity;
type
TEditoraModel = class
private
FCodigo: Integer;
FNome: String;
procedure SetCodigo(const Value: Integer);
procedure SetNome(const Value: String);
public
property Codigo: Integer read FCodigo write SetCodigo;
property Nome: Stri... |
unit ASyncDB;
//unit implementing a background thread.
//may be usefull for applications that want to do background logging.
//is not essential part of libsql.
interface
{$IFDEF FPC}
{$MODE DELPHI}
{$H+}
{$ENDIF}
uses
{$IFNDEF LINUX}
Windows, //sleep function
{$ENDIF}
SysUtils, Classes,
... |
unit KeyboardEntryDlg_U;
// Description: "Secure Keyboard Entry" Dialog
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
// This is a simple dialog that permits the user to easily add a slightl... |
unit Demo.PieChart.Rotating;
interface
uses
System.Classes, Demo.BaseFrame, cfs.GCharts;
type
TDemo_PieChart_Rotating = class(TDemoBaseFrame)
public
procedure GenerateChart; override;
end;
implementation
procedure TDemo_PieChart_Rotating.GenerateChart;
var
// Defined as TInterfacedObject No need try.... |
unit uLogin;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Imaging.pngimage,
System.ImageList, Vcl.ImgList, Vcl.StdCtrls, Vcl.Mask, Vcl.DBCtrls;
type
TEstadoLogin = (elNormal, elEmail, el... |
{ ========================================================================
Unit: HexEdits
VCL: THexEdit
Version: 1.0
Copyright (C) 1996, Immo Wache
========================================================================}
unit HexEdits;
interface
uses WinTypes,
WinProcs,
Classes,
Std... |
unit aaaliCrypt;
interface
uses sysutils;
var
DefaultKey : WideString = 'TK7IWlj1Ly+Y6DOe';
keyTototo : WideString = 'wsL3RStCVOgXh06x';
InternalPassword : string = 'haidarfaz';
function GenerateKey: string;
function CreateRandomString(Chars: string; Count: Integer): string;
function EncodeData(Data, Key: WideString; ... |
unit CustomEditHelper;
interface
uses Vcl.StdCtrls, System.SysUtils, Vcl.ExtCtrls, System.Classes;
type
TCustomEditHelper = class helper for TCustomEdit
private
procedure EditFloatText(Sender: TObject);
procedure EditFloatKeyPress(Sender: TObject; var Key: Char);
public
procedure EditFloat;
end;
... |
(*
Category: SWAG Title: INPUT AND FIELD ENTRY ROUTINES
Original name: 0002.PAS
Description: General Input with Color
Author: SWAG SUPPORT TEAM
Date: 06-08-93 08:24
*)
{ General STRING input routine with Color prompt and input }
USES DOS,Crt;
TYPE
CharSet = Set OF Char;
VAR
Name : STRING;
proced... |
unit uniteProtocole;
interface
uses
SysUtils, uniteReponse, uniteRequete, uniteConsigneur, uniteLecteurFichier, uniteLecteurFichierBinaire, uniteLecteurFichierTexte;
//Traite les requêtes HTTP et fournit une réponse appropriée selon l'état du serveur
type
Protocole = class
private
//Le répe... |
unit ZipMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, FMX.Edit, FMX.Layouts, FMX.ListBox;
type
TForm20 = class(TForm)
lstFiles1: TListBox;
edt... |
unit uMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, cef, ceflib;
const
ID_URL = 0;
ID_FALLBACK = 1;
type
TfrmSkypePopup = class(TForm)
Button1: TButton;
Button2: TButton;
Chromium1: TChromium;
tmrMousePos: TTime... |
unit DFFiles;
interface
uses Wintypes,WinProcs,SysUtils;
{$i gbtypes.inc}
{$i types.inc}
const fmOpenRead=0;
fmShareDenyNone=$40;
Type
TBitmapInfo=record
w,h:word;
dx,dy:Integer;
Transparent,animated:boolean;
end;
TShortFname=string[12];
TGOBFile=Class
gh:TGOBHeader;
Nfiles:TNEntries... |
unit VVS;
{
Voxel Viewer Scene Format
Version: 1.0
Coded By: Stucuk
Coded On: 17/05/04
}
interface
Uses VH_Types;
Const
VVSF_Ver = 1.0; // Only change if header changed or new arrays are added.
Procedure SaveVVS(const Filename : string);
Procedure LoadVVS(const Filename : string);
implement... |
////////////////////////////////////////////////////////////////////////////
// PaxCompiler
// Site: http://www.paxcompiler.com
// Author: Alexander Baranovsky (paxscript@gmail.com)
// ========================================================================
// Copyright (c) Alexander Baranovsky, 2006-2014. All rig... |
// You are asked to write a program that can compute the pay for an employee,
// assume that the name and Tax Registration Number (TRN), hours worked, and hourly rate are input.
// The output will be the name, TRN, hours worked, and pay for the employee.
// Regular pay will be computed as hours (up to 40) times rate, a... |
unit o_ObjOutlookDrop;
interface
uses
System.SysUtils, Classes, MapiDefs, MapiUtil, MapiTags, o_ObjOutlookmsg, Activex, Winapi.ShellAPI,
System.Win.ComObj, c_OutlookDropTypes, vcl.Dialogs, DragDrop, DropTarget, DragDropFile,
Vcl.ComCtrls, Winapi.Windows, Vcl.Forms, o_Outlookdropmessages, o_Outlookdropmessage;
... |
UNIT nosogeneral;
{
nosogeneral 1.2
December 27th, 2022
Noso Unit for general functions
Requires: Not dependencyes
}
{$mode ObjFPC}{$H+}
INTERFACE
uses
Classes, SysUtils, Process, StrUtils, IdTCPClient, IdGlobal, fphttpclient,
opensslsockets, fileutil;
{Generic}
Function Parameter(LineText:String;ParamNumber:i... |
{@abstract(The main purpose @name is to define @link(TfrmPixelPoint) which
allows the user to specify the real world
coordinates of a pixel location on a bitmap.)}
unit frmPixelPointUnit;
interface
uses
SysUtils, Types, Classes, Variants, Graphics, Controls, Forms,
Dialogs, StdCtrls, frmCustomGoPhastUnit, But... |
unit UDSummaryFields;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, UCrpe32;
type
TCrpeSummaryFieldsDlg = class(TForm)
pnlSummaryFields: TPanel;
lblNumber: TLabel;
lbNumbers: TListBox;
editCount: TEdit;
lblCount: TLabel... |
unit MainForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, uSingleton;
type
TForm1 = class(TForm)
btnCheckInstance: TButton;
btnInstanceSingleton: TButton;
btnClose: TButton;
... |
unit CtkCore;
{
Catarinka Core Registration Library
Copyright (c) 2013-2020 Felipe Daragon
License: 3-clause BSD
See https://github.com/felipedaragon/catarinka/ for details
}
interface
{$I Catarinka.inc}
uses
{$IFDEF DXE2_OR_UP}
Winapi.Windows, System.Classes, System.SysUtils, Winapi.ShellAPI,
System.Ty... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.