text stringlengths 14 6.51M |
|---|
{ A hashlist-based key/value string storage box.
Each hive is stored to its own text file for easy offline editing and so we don't
have to rewrite the entire thing to disk every time something changes.
Actually, hives are flagged as dirty buffers and they get written periodically.
For storage, we abuse the sh... |
unit fCliente;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, fFinanciador, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinBlack,
dxSkinscxPCPainter, dxBarBuiltInMenu, cxCo... |
unit TextConverter.Test.Main;
interface
uses
DUnitX.TestFramework,
TextConverter.Model.ConverteTexto,
TextConverter.Model.Interfaces, TextConverter.Model.ConverteInvertido,
TextConverter.Model.ConvertePrimeiraMaiuscula,
TextConverter.Model.ConverteOrdenado;
type
[TestFixture]
TMyTestObject = class(TObj... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [FOLHA_RESCISAO]
The MIT License ... |
unit DAO.TotalizaEntregas;
interface
uses DAO.Base, Model.TotalEntregas, Generics.Collections, System.Classes;
type
TTotalizaEntregasDAO = class(TDAO)
public
function Totaliza(aParam: array of Variant): TObjectList<TTotalEntregas>;
end;
const
TABLENAME = 'tbentregas';
implementation
uses System.SysUtil... |
unit main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
ComCtrls, StdCtrls, Menus, Spin;
type
{ TMainWindowForm }
TMainWindowForm = class(TForm)
CleanTempRadioGroup: TRadioGroup;
SupportsUNCComboBox: TComboBox;
DirectoryMoveOKCom... |
{
***************************************************************************
* *
* This file is part of Lazarus DBF Designer *
* Resource Strings unit *
* ... |
{********************************************************}
{ }
{ Zeos Database Objects }
{ Interbase Transaction component }
{ }
{ Copyright (c... |
unit sScrollBox;
{$I sDefs.inc}
{.$DEFINE LOGGED}
interface
uses
sLabel, Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, {$IFNDEF DELPHI5}Types, {$ENDIF}
ExtCtrls, sCommonData, StdCtrls, acSBUtils;
type
TsPaintEvent = procedure (ControlBmp : TBitmap) of object;
TsScrollBox = class(... |
unit UnitApplication;
{$ifdef fpc}
{$mode delphi}
{$ifdef cpu386}
{$asmmode intel}
{$endif}
{$ifdef cpuamd64}
{$asmmode intel}
{$endif}
{$else}
{$ifdef conditionalexpressions}
{$if CompilerVersion>=24.0}
{$legacyifend on}
{$ifend}
{$endif}
{$endif}
{$if defined(Win32) or defined(Win64)... |
unit StorageDataUnit;
interface
uses
SysUtils, Classes, IBCustomDataSet, IBUpdateSQL, DB, IBQuery, IBDatabase;
type
TStorageData = class(TDataModule)
Database: TIBDatabase;
ManualAutoStartTransaction: TIBTransaction;
StorageQuery: TIBQuery;
StorageUpdate: TIBUpdateSQL;
StorageQueryID: TIntege... |
unit InfraAspectEval;
{$I 'InfraAspect.Inc'}
interface
uses
{$IFDEF USE_GXDEBUG}DBugIntf,{$ENDIF}
Classes,
InfraAspectIntf;
const
cTokenNOT = -1;
cTokenAND = -2;
cTokenOR = -3;
cTokenOpeningParenthesis = -4;
cTokenClosingParenthesis ... |
unit Visao.FormPadrao;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.ExtCtrls, uTipos, Controle.Padrao;
type
TFrmPadrao = class(TForm)
Panel1: TPanel;
btnNovo: TButton;
btnGr... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
unit RT_BackupImporter;
interface
uses
Classes, SysUtils, JvUIB, JvUIBLib;
type
TQueryFileNameEvent = procedure (Sender: TObject; var FileName: TFileName; var Success: Boolean) of object;
TErrorEvent = procedure (Sender: TObject; ErrorMsg: String) of object;
TRTBackupImporter = class (TObject)
... |
{*******************************************************}
{ }
{ HCView V1.1 作者:荆通 }
{ }
{ 本代码遵循BSD协议,你可以加入QQ群 649023932 }
{ 来获取更多的技术交流 2018-5-4 ... |
unit uGnGenerics;
interface
uses
SysUtils;
type
// IEnumerable<T> = interface
// function GetEnumerator: TEnumerator<T>;
// end;
TValueRelationship = -1..1;
TGnComparer = class
function Compare(const Left, Right: Byte): TValueRelationship; overload;
function SameValue(const Left, Right: Byte): B... |
{*******************************************************************************
作者: dmzn@163.com 2007-10-09
描述: 系统业务逻辑单元
*******************************************************************************}
unit USysBusiness;
interface
uses
Windows, Controls, Classes, SysUtils, cxCustomData, UBusinessWorke... |
unit Common;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Dialogs, LCLType;
// Warning dialog box (helper func)
procedure Warning( t:string );
function path_join( a: string; b:string ): string;
resourcestring
PoWarning = '경고';
implementation
// show warning message
procedure Warning( t:string... |
unit Horse.Compression;
{$IF DEFINED(FPC)}
{$MODE DELPHI}{$H+}
{$ENDIF}
interface
uses
{$IF DEFINED(FPC)}
SysUtils, Classes, zstream, HTTPDefs, fpjson,
{$ELSE}
System.Classes, System.ZLib, System.SysUtils, Web.HTTPApp, System.JSON,
{$ENDIF}
Horse.Compression.Types, Horse;
const
COMPRESSION_THRESHOLD = 102... |
unit orm.utils;
interface
uses System.SysUtils, System.Classes, System.Generics.Collections,
System.Rtti, System.TypInfo;
procedure Clear(Value : TObject);
procedure Copy(A, B : TObject);
function Equals(A, B : TObject) : Boolean;
function Factory(Value : TClass) : TObject;
funct... |
unit utils;
interface
/// Base utilisée pour stocker les entiers et faire les calculs
const BASE: QWord = 1 shl 32;
/// Permet de représenter un entier positif de taille.
/// arbitraire en base 2^32
/// ex: t = [5, 3] <=> t = 5 * (2^32)^0 + 3 * (2^32)^1 = 12884901893
type int_array = array of LongWord;
procedure wr... |
Unit TestFun ;
interface
Function Test_CheckCGCCPF ( Value : String ) : String ; Export ;
function Test_CheckCPF( CPF: String ): Boolean; Export;
function Test_CheckCGC( CGC: String ): Boolean; Export;
function Test_CheckAndFmtCPF( CPF: String; var CPFFmted: String ): Boolean; Export;
function Test_CheckAndFmtCGC( CG... |
unit oglExtensions;
interface
uses
Windows, OpenGL;
type
GLHandleARB = Integer;
function CheckExtension(const Ext: string): Boolean;
procedure ReadExtensions;
// Процедурки и константы отсутствующие в стандартном OpenGL.pas
const
// Textures
GL_MAX_TEXTURE_UNITS_ARB = $84E2;
GL_MAX_TEXTURE... |
unit Cargo;
interface
uses
MVCFramework.Serializer.Commons, ModelBase;
type
[MVCNameCase(ncLowerCase)]
TCargo = class(TModelBase)
private
FId: Integer;
FNome: string;
FDescricao: string;
FSalario: decimal(18,6);
FCbo_1994: string;
FCbo_2002: string;
public
procedure Vali... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [PONTO_HORARIO]
The MIT License ... |
unit Configuration.JsonAppConfig;
interface
uses
System.SysUtils,
System.JSON,
System.IOUtils,
System.Generics.Collections,
Configuration.AppConfig;
type
TJsonAppConfiguration = class(TInterfacedObject, IAppConfiguration)
private const
DefaultConfigFileName = 'appconfig.json';
private
fConfig... |
{***************************************}
{ Модуль с глобальными функциями }
{ и процедурами. }
{ Written by Kurnosov M. }
{***************************************}
Unit GlbFun;
interface
Uses Types;
Procedure ShowError(ErrNumber : Word);
{ Конвертируе... |
unit Egyenlo;
interface
uses Windows, Classes, SysUtils;
function EgyenlosegTorles(Mibol: string): string;
function TargyAtalakitas(Mibol: string; SecondCall: boolean): string;
function GetDateFromSummary(summary: string): TDateTime;
function ConvertEmailAddress(address: string): string;
implementation
... |
unit CodeMetricsWizard;
interface
uses
{$IFDEF VER130}
{$ELSE}
Types,
{$ENDIF}
Windows, Messages, SysUtils, Classes, Menus, Dialogs,
ToolsAPI, BaseWizard;
type
TCodeMetricsWizard = class(TBaseWizard)
private
FMenuItemsOwner: TComponent;
function FindPositionToInsertItems(EditMenu:... |
unit uMainForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Sensors, Vcl.StdCtrls,
System.Sensors.Components;
type
TForm1 = class(TForm)
LocationSensor1: TLocationSensor;
Button1: TButto... |
unit Materials;
interface
uses
System.UITypes,
System.SysUtils,
FMX.Types3D,
FMX.Materials,
FMX.MaterialSources;
type
TCustomColorMaterialSource = class(TMaterialSource)
private
function GetColor: TAlphaColor;
procedure SetColor(const AValue: TAlphaColor);
protected
function CreateMateria... |
unit CalcTests;
interface
{ Unit tests }
procedure UnitTestAdd;
procedure UnitTestAddAndSaturate;
procedure UnitTestDistanceSquared;
{ Performance tests }
type
TTestProc = procedure;
procedure TestAddDelphi;
procedure TestAddSIMD;
procedure TestAddAndSaturateDelphi;
procedure TestAddAndSaturateSIMD;
procedure... |
unit EditArtist;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Layouts, FMX.Objects,
FMX.Edit, Artist,
EditArtistController;
type
TfrmEditArtist = class(TForm)
TopLabel: TLabel;
Button... |
unit UFormMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ZnHideForm, UTrayIcon, Menus, ExtCtrls, ComCtrls, StdCtrls;
type
TFileItem = record
FFrom: string;
FDest: string;
end;
TFileItems = array of TFileItem;
TfFormMain... |
unit HCaptcha;
interface
uses
BaseCaptcha, System.SysUtils, IdMultipartFormData;
type
THCaptcha = class(TBaseCaptcha)
private
FSiteKey: string;
FPageURL: string;
public
constructor Create(const ASiteKey, APageURL: string);
function BuildFormData: TIdMultiPartFormDataStream; override;
prop... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ZConnection, StdCtrls, Grids, DBGrids, DB, ZAbstractRODataset,
ZAbstractDataset, ZDataset, ComCtrls, RpDefine, RpBase, RpSystem, RpRender,
RpRenderPDF;
type
TForm1 = class(TForm)
ZConnection1:... |
unit misc;
interface
uses header;
function SelectionByIndex(Map: TMap; Index: LongInt): LongInt;
function UnderCursor(Map: TMap; Cursor: TGameCursor): Longint;
function PointInArea(PointX, PointY, AreaX, AreaWidth, AreaY, AreaHeight: Single): boolean;
function FindByIndex(Map: TMap; Index: Integer): Integer;
functio... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ComCtrls,
fphttpclient;
type
{ TForm1 }
TForm1 = class(TForm)
btnBaixar: TButton;
edtUrl: TEdit;
pgbProgresso: TProgressBar;
SaveDialog1: TSaveDialog;
proc... |
unit Variables;
interface
type
{ Représente une Tribu (Civilisation) et ses caractéristiques }
TTribu = record
nom : String; // Nom de la Tribu
numJour : Integer; // Numéro du Jour (Tour)
ptsRecrutement : Integer; // Points de recrutement dont dispose le joueur
ptsRecrutementJour : Inte... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [NFSE_DETALHE]
The MIT License ... |
unit LuaListColumns;
{$mode delphi}
interface
uses
Classes, SysUtils, lua, lualib, lauxlib, comctrls;
procedure initializeLuaListColumns;
implementation
uses luaclass, luahandler, LuaCollection;
function listcolumns_add(L: PLua_State): integer; cdecl;
var
listcolumns: TListColumns;
begin
... |
{-------------------------------------------------------------------------------
Copyright (C) 2006-2012 by Bernd Gabriel.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction,... |
{
Provided by Malcolm Smith, MJ Freelancing as an enhancement to VCLSkin
Web: http://www.mjfreelancing.com
Date: 11th May 2003
}
unit WinSkinCollection;
{$WARNINGS OFF}
{$HINTS OFF}
interface
uses Classes, SysUtils, Dialogs;
type
TSkinCollectionItem = class(TCollectionItem)
private
FName: string;
... |
unit LangLoader;
interface
uses SysUtils, Forms, Classes, StdCtrls, ExtCtrls, Buttons, Menus, ComCtrls,
GeoFiles, GeoFunctions, Unit8;
procedure LoadLang(check:boolean);
procedure SaveLngs;
var Inf :array [0..255] of String;
Lang :String = 'Russian';
OldLang :String = 'Russian';
Langs :arr... |
unit uTraining;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, StdCtrls,
cxButtons, cxControls, cxContainer, cxEdit, dxSkinsCore, dxSkinCaramel,
dxSkinOffice2007Blue, cxMaskEdit, cxDropDownEdit, cxCal... |
unit BTTrackerAnnounce;
interface
uses
SysUtils, Contnrs, Hashes, Classes, BDecode, MessageDigests;
type
TTrackerPeer = class(TObject)
private
_Peerid: String;
_Ip: String;
_Port: Word;
public
property Peerid: String read _Peerid;
property Port: Word read _Port;
property IP: String re... |
unit Server.Models.Ativo.DadosLigacao;
interface
uses System.Classes,
DB,
System.SysUtils,
Generics.Collections,
/// orm
dbcbr.mapping.attributes,
dbcbr.types.mapping,
ormbr.types.lazy,
ormbr.types.nullable,
dbcbr.mapping.register,
Server.Models.Base.TabelaBase;
type
[Restrictions([NoUpdate])]
... |
UNIT ZoneList;
INTERFACE
TYPE
TZoneType = (ztOutLand,ztCity,ztDungeon,ztHousing);
TZone = RECORD
ZoneType : TZoneType;
ZoneName : STRING;
OffsetX : Integer;
OffsetY : Integer;
Region : Integer;
END;
TZoneArray = ARRAY[0..255] OF TZone;
FUNCTION GetZone:TZoneArray;OVERLOAD;
FUNCTION GetZone(id:integer):... |
unit uthrPopularRestricoes;
interface
uses
System.Classes, clRestricoes, clCodigosEntregadores, clAgentes, clUtil, udm,
Dialogs, Windows, Forms, SysUtils, Messages,
Controls, System.DateUtils;
type
thrPopularRestricoes = class(TThread)
private
{ Private declarations }
restricao: TRestricoes;
ag... |
unit ViewItemBasicTest;
interface
uses
DUnitX.TestFramework;
type
[TestFixture]
TTestViewItemBasic = class(TObject)
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
[TestCase('ToolbarRightButton', 'ToolbarRightButton')]
procedure TestCreateViewItem(AItemId: string);
... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [PCP_OP_DETALHE]
The MIT License
Copyright: Copyright (C) 2014 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated ... |
unit controller.image;
{$mode delphi}{$H+}
interface
uses
SysUtils,
Classes,
httpdefs,
fpHTTP,
fpWeb,
controller.base, controller.dto,
controller.image.dto;
type
{ TImageController }
TImageController = class(TBaseController)
private
procedure InitImageTable;
//action for fetching imag... |
namespace Sugar.Test;
interface
uses
Sugar,
Sugar.TestFramework;
type
UrlTest = public class (Testcase)
private
Data: Url;
public
method Setup; override;
method FromString;
method Scheme;
method Host;
method Port;
method Path;
method QueryString;
met... |
(* @file UWriteHelpers.pas
* @author Willi Schinmeyer
* @date 2011-10-27
*
* UWriteHelpers Unit
*
* Contains helper functions/procedures and initializes the random
* number generation on load.
*)
unit UHelpers;
interface
uses UVector2i, UTetrominoShape;
const
//how wide the borders are - changing this... |
unit UFrmConsultaFornecedor;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UFrmFormDataSetConsulta, Data.DB,
System.Actions, Vcl.ActnList, Vcl.DBGrids, Vcl.StdCtrls,
Vcl.Buttons, Vcl.ExtCtrls,uDM,UFrmCadFor... |
unit InfraInteractor;
interface
uses
InfraCommon,
InfraCommonIntf,
InfraMVPIntf;
type
TInteractor = class(TElement, IInteractor)
private
FView: IView;
public
function GetView: IView;
procedure SetView(const Value: IView);
property View: IView read GetView write SetView;
... |
// ----------------------------------------------------------------------------
// Unit : PxNdisProt.pas - a part of PxLib
// Author : Matthias Hryniszak
// Date : 2005-03-23
// Version : 1.0
// Description : Interface to NDISPROT RAW ethernet protocol driver (from DDK)
// Changes log : 200... |
unit n2a03_sound;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
main_engine,sound_engine,timer_engine;
const
// GLOBAL CONSTANTS */
SYNCS_MAX1=$20;
SYNCS_MAX2=$80;
NOISE_LONG=$4000;
TOTAL_BUFFER_SIZE=150;
// CHANNEL TYPE DEFINITIONS */
type
tcall_frame_irq=procedure (status:byte);
square_t=packe... |
unit FMasterUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, MaximizedUnit, ComCtrls, StdCtrls, ExtCtrls, ToolWin, ImgList,
DbGridUnit, StorageUnit, FDetailUnit, Grids, Menus, DataUnit, Buttons;
type
{ TDetailSheet }
TDetailSheet = class(TTabSheet)
p... |
unit frmSyntaxHighlighterEditor;
{$mode delphi}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls,
ColorBox, ExtCtrls, ComCtrls, SynEditHighlighter, Types, betterControls;
type
{ TfrmHighlighterEditor }
TfrmHighlighterEditor = class(TForm)
Button1: TButton;
... |
unit Unit2;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
MaskEdit;
type
{ TForm2 }
TForm2 = class(TForm)
Button1: TButton;
Button2: TButton;
ComboBox1: TComboBox;
Edit1: TEdit;
Label1: TLabel;
Label2: TLabel;
Labe... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [INVENTARIO_CONTAGEM_DET]
The MIT Lic... |
unit UxlTreeView;
interface
uses Windows, Messages, CommCtrl, UxlDragControl, UxlWinControl, UxlClasses, UxlImageList, UxlFunctions, UxlList;
type
TTreeViewStyle = record
EditLabels: boolean;
NoHScroll: boolean;
HasButtons: boolean;
HasLines: boolean;
LinesAtRoot: boolean... |
unit CommunicationThread;
interface
uses
types, Classes, Cport;
{ $DEFINE DEBUG}
type
TOnPrintText = procedure (const ToPrint : string) of Object;
TOnPrintLine = procedure (const Index : integer; const ToPrint : string) of Object;
type
TAnzeigeCfg = packed record
case Boolean of
Fal... |
unit Aurelius.Schema.Messages;
{$I Aurelius.Inc}
interface
uses
Generics.Collections,
Aurelius.Sql.Metadata;
type
TSchemaMessage = class
private
FText: string;
protected
function ColumnNames(Columns: TEnumerable<TColumnMetadata>): string;
function ColumnName(Column: TColumnMeta... |
unit Server.Models.Cadastros.FonesCampanha;
interface
uses
System.Classes,
DB,
System.SysUtils,
Generics.Collections,
/// orm
dbcbr.mapping.attributes,
dbcbr.types.mapping,
ormbr.types.lazy,
ormbr.types.nullable,
dbcbr.mapping.register, Server.Models.Base.TabelaBase;
type
[Entity]
[Table('FONE... |
{************************************************}
{ }
{ Turbo Pascal 6.0 }
{ Turbo Vision TTerminal demo program }
{ }
{ Copyright (c) 1990 by Borland International }
{ ... |
{
Scale references of TREE records
}
unit ScaleTreeRefs;
const
fScale = 0.6;
function Process(e: IInterface): integer;
begin
if (Signature(e) <> 'REFR') or (Signature(BaseRecord(e)) <> 'TREE') then
Exit;
// search for 'tree' in model name to skip bushes and flowers
if Pos('tree', LowerCase(GetElement... |
unit LoginFRMUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Registry,
Buttons, ImgList,
DB, SqlExpr, FMTBcd,
cxCheckBox, cxControls, cxContainer, cxEdit,
cxTextEdit, cxMaskEdit, JvExControls, JvButton, JvTransparentButton,
Jv... |
unit ReflectModel;
interface
uses
InfraValueTypeIntf, InfraValueType, InfraCommonIntf, InfraCommon,
ReflectModelIntf;
type
// Esta classe serve apenas para propósito de teste. Nossas classes poderiam
// ser registradas todas de uma só vez. Estes registros serão gerados
// automaticamente por alg... |
unit frm_EditSource;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
Grids, Spin, Menus, fra_Documents, fra_Individual, LCLType,
Buttons, ExtCtrls;
type
TEnumSourceEditMode =
(esem_EditExisting,
esem_AddNew);
{ TfrmEditSo... |
unit uJxdGpButton;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, GDIPAPI, GDIPOBJ, uJxdGpStyle, uJxdGpCommon;
type
{$M+}
TxdButton = class(TxdGpCommon)
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
protected
function DoGetDrawState(con... |
unit ConexaoDB;
interface
uses
Forms, Dialogs, Controls, inifiles, SysUtils, DBXpress, DB, SqlExpr, UDMConexaoDB, ConfiguraConexao;
type
TConexao = record
servdor: string;
banco: string;
usuario: string;
senha: string;
driverName: string;
getDriverFunc: string;
liberNam... |
unit project_lib;
{$mode objfpc}{$H+}
interface
uses
Forms, Dialogs, Controls, LazIDEIntf, LazarusPackageIntf, ProjectIntf,
NewItemIntf, IDEMsgIntf, PackageIntf,
Classes, SysUtils;
resourcestring
rs_Project_Name = 'Create New FastPlaz Application';
rs_Project_Description = 'create web application based on... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Framework ORM da T2Ti
The MIT License
Copyright: Copyright (C) 2014 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files ... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Janela Cadastro de Colaboradores
The MIT License
Copyright: Copyright (C) 2015 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documenta... |
unit workBD;
//Для работы с базой данных
//Основные процедуры и функции для работы с БД
{$mode objfpc}{$H+}
interface
uses
fileutil, Classes, SysUtils, sqldb,ibconnection{, fbadmin}, Dialogs,db,
menus,controls, Forms;
type
PDostup=^TDostup;
TDostup=record
Role:string[20];
User_ID:integer;
Table:st... |
// GLParticles
{: Egg<p>
Particle systems for GLScene<p>
<b>Historique : </b><font size=-1><ul>
<li>17/04/00 - Egg - Added Assign, Removed ActivateParticle
<li>16/04/00 - Egg - Creation
</ul></font>
}
unit GLParticles;
interface
uses Classes, GLScene, Geometry, OpenGL12, GLTexture, GLMisc;
... |
unit YRefTables;
(* This module implements the symbol and cross reference table used
by the YREF program. *)
interface
const
max_syms = 997; (* symbol table size (prime number!) *)
function lookup ( k : Integer ) : String;
procedure entry ( k : Integer; symbol : String );
(* lookup and entry routines for the s... |
unit Movepane;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, ExtCtrls;
type
TWhoToMove = (mwNone, mwSelf, mwParent);
TMovingPanel = class(TPanel)
private
OldX,
OldY,
OldLeft,
OldTop : Integer;
ScreenDC : HDC;
... |
unit StateGame;
interface
uses
Windows, AvL, avlUtils, avlMath, avlVectors, OpenGL, VSEOpenGLExt, oglExtensions,
VSECore, VSEShaders, VSECamera, VSETerrain, Sky, GameUnit, GamePlayer;
type
TStateGame=class(TGameState)
private
FShader: TShader;
FCamera: TCamera;
FTerrain: TTerrain;
... |
unit UpdateIcon;
interface
uses
Windows;
function UpdateIconFromFile(const IconFile, ExeFile: PWideChar): Boolean;
implementation
type
ICONDIRENTRY = packed record
bWidth: BYTE;
bHeight: BYTE;
bColorCount: BYTE;
bReserved: BYTE;
wPlanes: WORD;
wBitCount: WORD;
dwB... |
{Ä Fido Pascal Conference ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ PASCAL Ä
Msg : 580 of 708
From : David Drzyzga 1:3612/220.0 25 Apr 93 07:28
To : Dustin Nulf 1:124/6304.0
Subj : User defined Character S
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ... |
unit sStrEdit;
{$I sDefs.inc}
// !!! Based on RxLib package !!!
interface
uses
Windows, Classes, Graphics, Forms, Controls, Buttons, Dialogs,
StdCtrls, ExtCtrls, sSkinProvider, sButton, sMemo, sLabel, sPanel;
type
TStrEditDlg = class(TForm)
OpenDialog: TOpenDialog;
SaveDialog: TSaveDialog;
sSkinPr... |
unit nle_methods;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, math, Dialogs, ParseMath;
type
TNLEMethods = class
ErrorAllowed: Real;
//x: Real;
a, b: Real; //bounds
error: Real;
globalBolzano: Boolean;
nSequence: TStringList;
Method: Integer;
MethodLis... |
{ Module of STRING library routines that deal with Cognivision messages.
* All these routines are portable and completely layered on the messages
* facility in the SYS and FILE libraries.
}
module string_message;
define string_f_message;
define string_f_messaget;
%include 'string2.ins.pas';
%include 'file.ins.pas... |
unit Atm.Services.Communicator;
interface
type
{$M+}
IAtmCommunicator = interface
['{C3E5DF38-2C3E-46CD-AC7C-DAA7ED0A738D}']
procedure SendMessage(const AText: string);
end;
{$M-}
function CreateCommunicator: IAtmCommunicator;
implementation
uses
System.SysUtils,
System.Bluetoot... |
{ *******************************************************************************
Copyright 2015 Daniele Spinetti
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.... |
unit EF.Drivers.Migration;
interface
uses
EF.Mapping.Base, System.Classes, EF.Drivers.Connection, StrUtils;
type
TMigrationBuilder = class
private
Path: string;
Filename:string;
FTableName: string;
FFDConn: FDConn;
function BuildScript<T:TEntityBase>(E:T;Name:string): string;
publ... |
{
单元名称: uJxdTCPClient
单元作者: 江晓德(Terry)
邮 箱: jxd524@163.com
说 明: 事件模式的异步IO TCP客户端基本通信模块,使用线程监听
开始时间: 2010-09-26
修改时间: 2010-09-26(最后修改)
}
unit uJxdTCPClient;
interface
uses Windows, SysUtils, Classes, RTLConsts, uJxdWinSock, uSocketSub;
type
{$M+}
ETCPError = class(Exception);
TJxdTCPRecvThread = class;
... |
PROGRAM RecursiveSortPrgm(INPUT, OUTPUT);
VAR
F2, F3: TEXT;
PROCEDURE RecursiveSort(VAR F1: TEXT);
VAR
F2, F3: TEXT;
Ch: CHAR;
PROCEDURE Split(VAR F1, F2, F3: TEXT);
{Разбивает F1 на F2, F3}
VAR
Ch, Switch: CHAR;
BEGIN {Split}
RESET(F1);
REWRITE(F2);
REWRITE(F3);
BEGIN {Копировать F1 попеременно в F2 ... |
unit USpecialMode;
interface
uses Windows, UxlWindow, UxlWinClasses, UxlClasses, UxlWinControl, UxlExtClasses, UTypeDef;
type
TSpecialMode = class
private
FTargetWin: Txlwindow;
FDirection: TSMDirection;
FAnimationTime: cardinal;
FEdgeWidth: cardinal;
FHideTimer: TxlTime... |
program Projet;
uses loadconfig, Intro, Crt, sysutils, classes;
var d:deck;
liste:joueursArray;
conf:config;
// Vérifie si une carte se trouve dans une liste de cartes
function inarray(liste:array of carte;card:carte):boolean;
var i:integer;
begin
for i:=0 to high(liste) do
if (liste[i].couleur ... |
{
***************************************************
PSPdisp (c) 2008 - 2015 Jochen Schleu
usb.pas - functions dealing with usb transfer
This software is licensed under the BSD license.
See license.txt for details.
***************************************************
}
unit usb;
interface
uses
Window... |
unit sensorsdb;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
pSensor = ^TSensor;
TSensor = record
width, height: real; //in mm
desc: string;
mfact : real;
diag: real
end;
var
sensors : TList;
procedure initialize;
implementation
uses csvdocument in 'csvdo... |
unit SeSHA256;
{$IFDEF FPC}
{$MODE delphi}
{$ENDIF}
interface
uses Sysutils, Classes;
const
HEADERSIZE = 80;
type
TSHA256HASH = array [0 .. 7] of Cardinal;
PSHA256HASH = ^TSHA256HASH;
// To store a 32 bytes
T32 = array [0 .. 31] of byte;
// To store the block header
THeader = a... |
unit OScan;
{ Сканер }
interface
const
NameLen = 31; {Наибольшая длина имени}
type
tName = string[NameLen];
tLex = (lexNone, lexName, lexNum,
lexMODULE, lexIMPORT, lexBEGIN, lexEND,
lexCONST, lexVAR, lexWHILE, lexDO,
lexIF, lexTHEN, lexELSIF, lexELSE,
lexMu... |
unit mainTest; //DEBERIA FUNCIONAR SI LAZARUS FUERA CHEVERE
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
Menus, ParseMath, TAGraph, TAFuncSeries;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
Chart1: TChart;
Chart1FuncS... |
unit Cgi;
interface
type
HCkCgi = Pointer;
HCkByteData = Pointer;
HCkString = Pointer;
function CkCgi_Create: HCkCgi; stdcall;
procedure CkCgi_Dispose(handle: HCkCgi); stdcall;
function CkCgi_getAsyncBytesRead(objHandle: HCkCgi): Integer; stdcall;
function CkCgi_getAsyncInProgress(objHandle: HCkCgi): wordbool; st... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.