text stringlengths 14 6.51M |
|---|
unit TNT_Camera;
// Gestion de la camera
// --------------------
interface
uses
TNT_Entity, TNT_Vector, TNT_Object;
type
TCamera = class(TEntity)
private
ObjFollow: TObj;
DistFollow: Single;
public
Orientation: TVector;
ModelView: array [0..15] of Single;
constructor Cr... |
unit Constants;
interface
const
//-- Поля БД --
csField_Cp = 'Cp';
csField_Chert = 'Chert';
csField_Data = 'Data';
csField_Digit = 'Digit';
csField_Doc = 'Doc';
csField_Eim = 'Eim';
csField_FileName = 'FileName';
csField_Fname = 'Fname';
csField_Fname2 = csField_Fname + '2';
csField_F... |
unit InfraGUIBuilder;
interface
uses
Classes, SysUtils, Math, Forms, Controls, Graphics, InfraBase, InfraCommon,
InfraCommonIntf, InfraValueType, InfraValueTypeIntf, LayoutManager, StdCtrls,
InfraGUIBuilderIntf, ComCtrls, Mask, ExtCtrls, InfraValueTypeConvert,
InfraGUIBuilderForm, GUIAnnotationIntf, L... |
unit VKDAO;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fpjson, jsonparser, fphttpclient, vkcmconfig,
Graphics, sqldb, entities, DB, urlencoder, syncobjs;
type
{ TGroupsVKDAO }
TGroupsVKDAO = class
class function GetById(Client: TFPHTTPClient; AccessKey: string;
CommunityId: string): T... |
unit InfraFriendClasses;
interface
uses
Forms,
Controls,
StdCtrls,
ComCtrls,
Menus;
type
TControlFriend = class(TControl)
public
property OnClick;
property OnContextPopup;
property OnDblClick;
property OnDragDrop;
property OnDragOver;
property OnEndDrag;
... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
unit FMain;
interface
uses
System.SysUtils,
System.Types,
System.UIConsts,
System.UITypes,
System.Classes,
System.Variants,
System.Math.Vectors,
FMX.Types,
FMX.Controls,
FMX.Forms3D,
FMX.Types3D,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
FMX.Controls.Presentation,
FMX.StdCtrls,
FMX.Contr... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [FOLHA_PPP_FATOR_RISCO]
The MIT Licen... |
unit POOCalculadora.Model.Calculadora.Operacoes;
interface
uses
POOCalculadora.Model.Calculadora.Interfaces, System.Generics.Collections,
POOCalculadora.Model.Classs.Eventos;
type
TOperacoes = class(TInterfacedObject, iOperacoes, iOperacoesDisplay)
private
public
constructor Create(var Value: TList<Dou... |
unit CRSlottingReportSettings;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Mask, ToolEdit;
type
TfrmSlottingReportSettings = class(TForm)
pnlButtons: TPanel;
gbxElements: TGroupBox;
btnOK: TButton;
btnCancel: TButton;
... |
unit Table;
// ---------------------------------------------
// CHART - Measurements table display dialog box
// ---------------------------------------------
// 20.5.03
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, Grids, Shared, ClipBrd;
type
TT... |
unit FParser;
{ Изменен для ТП7, 2004 Romtek
из FuncParser.pas (Дельфи)
(c) 2003 Щеглов Илья Александрович, студент факультета ФН
МГТУ им. Н.Э. Баумана, Москва }
interface
uses
Math;
const
Capacity = 100;
type
TOperation = Array [1..Capacity] of byte; { код операции }
TOperand = Array [1..2] of Word; ... |
unit RRManagerGroupReportFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, RRManagerBaseGUI, ExtCtrls, ComCtrls, ActnList, ToolWin,
ImgList, StdCtrls, RRManagerReport, RRManagerBaseObjects, BaseObjects;
type
// TfrmGroupReport = class(TFrame)
TfrmGrou... |
UNIT Crc;
{$XDATA}
INTERFACE
Uses CStdInt;
FUNCTION crc8( var buffer : ARRAY OF uint8_t; start: size_t; finish : size_t ) : uint8_t;
FUNCTION crc16( var buffer : ARRAY OF uint8_t; start: size_t; finish : size_t ) : uint16_t;
IMPLEMENTATION
FUNCTION check_crc( var message : ARRAY OF uint8_t; start : size_t; finis... |
(*
@abstract(Contient les chaines de caractères (Resources String) pour l'affichage des messages.)
Ces messages seront transformés par Lazarus/FPC en fichier PO qui pourront être
édité pour traduire les messages dans différentes langues.
------------------------------------------------------------------------... |
unit DataType;
///////////////////////////////////////////////////////////////////////////
// DS-40xxHC/HF BOARD SYSTEM SDK //
///////////////////////////////////////////////////////////////////////////
interface
const FRAME_HEAD_MAGIC = $03211546;
const SYSTEM_SYNC_ID = 2;
type
tagFrameInfo =... |
unit UProcesoCarpetaDigi;
interface
uses
DBClient, DB, ZDataset, Sysutils,
UCarpetaCarpetaDigi, UDAOCarpetaDigital, UDMAplicacion, UDMConexion;
type
TProcesoCarpetaDigi = class
private
FDatosArbolSelector : TClientDataSet;
FDatosCarpeta : TCarpetaCarpetaDigi;
FDatosMtiAndes ... |
{
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Free S... |
(*
* Test: Image convolution.
*
* This program is a test for the ability
* to correctly apply a convolution matrix
* to an image (namely the product image
* obtained through the multiplication of
* left and right images in a stereo pair).
*)
program testImageConvolution;
(*---------- Uses declarations --... |
unit ufrmRegFoundList;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ActnList, ImgList, StdCtrls, Buttons, ExtCtrls, StrUtils, Registry;
type
TfrmRegFoundList = class(TForm)
lbEntriesFound: TListBox;
pnlBottom: TPanel;
btnRemove: TBitBtn;
btn... |
unit Log;
interface
uses
SysUtils;
type
TLog = class
class procedure Append(const AStr: string);
end;
implementation
{$IFDEF DEBUG}
var
LFile: text;
{$ENDIF}
class procedure TLog.Append(const AStr: string);
begin
{$IFDEF DEBUG}
WriteLn(LFile, DateTimeToStr(Now) + ' ' + AStr);... |
unit uSpeedChanges;
interface
uses SysUtils, Classes, Windows;
const
// Replay Speed Identifiers
RS_SLOWEST: Byte = 0;
RS_SLOWER: Byte = 1;
RS_SLOW: Byte = 2;
RS_NORMAL: Byte = 3;
RS_FAST: Byte = 4;
RS_FASTER: Byte = 5;
RS_FASTEST: Byte = 6;
RS_X2: Byte = 7;
RS_X4: Byte ... |
{ Copyright (c) 2013 Jeroen Wiert Pluimers for BeSharp.net and Coding In Delphi.
Full BSD License is available at http://BeSharp.codeplex.com/license }
unit RttiHelpersTestCaseUnit;
interface
uses
TestFramework, System.Rtti;
type
TRttiHelpersTestCase = class(TTestCase)
strict protected
procedure CheckRtti... |
unit FinFactTypeUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons;
type
TFinFactTypeForm = class(TForm)
MemoFinFactTypeName: TMemo;
BitBtnSave: TBitBtn;
BitBtnCancel: TBitBtn;
procedure BitBtnCancelClick(Sender: TObject);
proced... |
(*
@abstract(Contient un composant non-visuel TBZThreadTimer qui est un Timer qui s'execute dans Thread.)
-------------------------------------------------------------------------------------------------------------
@created(24/02/2019)
@author(J.Delauney (BeanzMaster))
Historique : @br
@unorderedList(
... |
unit global;
interface
uses
AsmInstruction;
type
// Nível de erro
TErrorLevel = (LEVEL_WARNING, LEVEL_ERROR);
// Estágio de trabalho
TWorkStage = (STAGE_COMPILE, STAGE_LINK);
//*Structure of Opcode table*/
// TOpcodeItemPtr = ^TOpcodeItem;
// TOpcodeItem = record
// Name: array... |
unit MYX.Shaper;
interface //#################################################################### ■
uses Winapi.OpenGL, Winapi.OpenGLext,
LUX, LUX.D1, LUX.D2, LUX.D3, LUX.M4,
LUX.GPU.OpenGL,
LUX.GPU.OpenGL.Viewer,
LUX.GPU.OpenGL.Buffer,
LUX.GPU.OpenGL.Buffer.Unifor,
LUX.GPU.OpenGL.Buffe... |
//**************************************************************************************************
//
// Unit Vcl.Styles.Hooks
// unit for the VCL Styles for Notepad++
// https://github.com/RRUZ/vcl-styles-plugins
//
// The contents of this file are subject to the Mozilla Public License Version 1.1 (the "Licens... |
unit checkbox_32;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
Tcheckbox_32 = class(TCheckBox)
private
{ Private declarations }
Fwordwrap:boolean;
Fbutton:boolean;
Fflat:boolean;
procedure Setwordwrap(value:boolean)... |
unit HtmlParser;
interface
uses
ActiveX, Classes, SysUtils, Contnrs,
DomCore, Entities, HtmlTokenizer;
type
TInsertionMode = (
imInitial, //"initial"
imBeforeHtml, //"before html"
imBeforeHead, //"before head"
imInHead, //"in head"
imInHeadNoscript, //"in head no script"
imAfterHe... |
Unit HashSupport;
{
Copyright (c) 2001-2013, Kestral Computing Pty Ltd (http://www.kestral.com.au)
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 abo... |
Unit DevApp.Form.NodeStatus;
Interface
Uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Graphics,
FMX.Controls,
FMX.Forms,
FMX.Dialogs,
FMX.StdCtrls,
DevApp.Base.DetailForm,
FMX.Layouts,
FMX.Controls.Presentation,
FMX.Edit,
FMX.Memo.Ty... |
unit Unit_DM_Source;
interface
uses
SysUtils, Classes, uADStanIntf, uADStanOption, uADStanError, uADGUIxIntf,
uADPhysIntf, uADStanDef, uADStanPool, uADStanAsync, uADPhysManager,
uADStanParam, uADDatSManager, uADDAptIntf, uADDAptManager, uADGUIxFormsWait,
uADPhysODBCBase, uADPhysMSSQL, uADCompGUIx, DB,... |
{
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Free S... |
unit MD.TextFields;
interface
uses
System.SysUtils, System.Classes, FMX.Types, FMX.Controls, FMX.Controls.Presentation, FMX.Text, FMX.Graphics, MD.ColorPalette,
FMX.Controls.Model, FMX.Platform, System.Rtti, System.Types;
type
TCustomEditModel = class(TDataModel)
end;
TContentEdit = class(TContent)
e... |
unit sslServer10Main;
interface
{ SIMPLE INDY 10 SSL SERVER
Written by Ralph Sickinger, Best Manufacturing Practices Center of Excellence (BMPCOE)
e-mail: ralph@bmpcoe.org
This program establishes a TCP Server that listens for SSL connections on port 3000. When a
connection is received, the s... |
Unit DevApp.Main;
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.Layouts,
FMX.ListBox,
SubjectStand,
FormStand,
FMX.Controls.Presentation,
FMX.MultiView,
... |
unit DBBackup;
interface
uses
Windows, Classes, Controls, Forms, Dialogs, IniFiles,
ExtCtrls, StdCtrls, Gauges, Comobj, SysUtils, jpeg;
type
TDBBackupForm = class(TForm)
TBackup: TTimer;
ImgBack: TImage;
Panel1: TPanel;
lblAddrHint: TLabel;
lblDbAddr: TLabel;
lblBackupHin... |
{$A+} { Align Data Switch }
{$B-} { Boolean Evaluation Switch }
{$D-} { Debug Information Switch }
{$E-} { Emulation Switch - this doesn't affect a unit only a program }
{$F-} { Force Far Calls Switch }
{$G+} { Generate 80286 Code Switch }
{$I-} { Input/Output-Checking Switch }
{$I Defines.INC} { This file is us... |
unit utcad_tamanho;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, db, uTBaseDados, uT_Constante, sqldb, bPF_Geral;
type
{ TCad_Tamanho }
TView_Tamanho = class(TBaseView)
public
DESCRICAO : String;
end;
TCad_Tamanho = class(TBaseBusiness)
private
FView : T... |
unit ServerWinshoeDICT;
interface
////////////////////////////////////////////////////////////////////////////////
// RFC 2229 - Dictionary Protocol (Structure).
// ..
// Author: Ozz Nixon
// ..
// 5.13.99 Final Version
// 13-JAN-2000 MTL: Moved to new Palette Scheme (Winshoes Servers)
////////////////////... |
{*******************************************************************************
作者: dmzn@163.com 2014-06-16
描述: 常量定义
*******************************************************************************}
unit USyncConst;
interface
uses
Windows, Classes, SysUtils, DB, UMgrDBConn, UFormCtrl, UWaitItem, ULibFu... |
unit UMainForm;
(******************************************************************************
Authors: Vit (nevzorov@yahoo.com)
Official Site: www.delphist.com
With all questions, please visit www.delphist.com/forum
******************************************************************************)
interface
uses
Win... |
unit SISVISA.Model.CaminhoBD;
interface
uses
FireDAC.Comp.Client, FMX.ListView.Appearances, System.Classes,
SISVISA.Model.CaminhoBD.interfaces;
type
TModelCaminhoDb = class(TInterfacedObject, iModelCaminhoDB)
private
FCaminho: string;
FTabelaCaminho: string;
Fdesc: string;
FCami... |
{*******************************************************************************
Title: T2Ti ERP Fenix
Description: Controller relacionado à tabela [FIN_TIPO_PAGAMENTO]
The M... |
{
ID: ndchiph1
PROG: milk
LANG: PASCAL
}
program milk;
uses crt;
const MAX_M = 5000;
var fi,fo: text;
p,a: array[1..MAX_M] of longint;
n,m: longint;
procedure input;
var i: longint;
begin
readln(fi,n,m);
for i:= 1 to m do readln(fi,p[i],a[i]);
end;
procedure swap(var x,y: lo... |
{
Replace one substring with another in the selected forms' attached scripts' names.
Created by DavidJCobb.
}
Unit CobbSingleReplaceInScriptNames;
Uses 'Skyrim - Papyrus Resource Library';
Uses 'CobbTES5EditUtil';
Var
gsReplace: String;
gsWith: String;
giOperatedOnCount: Integer;
Func... |
unit DynArrayForm;
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.Layouts, FMX.Memo, FMX.Controls.Presentation, FMX.ScrollBox,
FMX.Memo.Types;
type
TForm1 = class(TFor... |
{ Convert angle from string to real.
}
module string_t_angle;
define string_t_angle;
%include 'string2.ins.pas';
const
pi = 3.14159265358979324; {what it sounds like, don't touch}
deg_rad = pi / 180.0; {for converting degrees to radians}
{
***********************************************... |
namespace Sugar.Test;
interface
uses
Sugar,
Sugar.Xml,
Sugar.TestFramework;
type
ElementTest = public class (Testcase)
private
Doc: XmlDocument;
Data: XmlElement;
public
method Setup; override;
method AddChild;
method RemoveChild;
method ReplaceChild;
met... |
unit TextEditor.Ruler;
interface
uses
System.Classes, System.UITypes, Vcl.Graphics, TextEditor.Ruler.Colors, TextEditor.Types;
type
TTextEditorRuler = class(TPersistent)
strict private
FColors: TTextEditorRulerColors;
FCursor: TCursor;
FFont: TFont;
FHeight: Integer;
FMoving: Boolean;
... |
(************************************* Ext2D Engine *************************************)
(* Модуль : E2DTypes.pas *)
(* Автор : Есин Владимир *)
(* Создан : 03.11.06 ... |
{==============================================================================|
| Project : Bauglir Library |
|==============================================================================|
| Content: Generic objects ... |
unit MainFrm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Layouts, FMX.Controls.Presentation, FMX.StdCtrls, FMX.ScrollBox, FMX.Memo,
DW.NFC;
type
TfrmMain = class(TForm)
But... |
unit PACCTarget_x86_64_SystemV;
{$i PACC.inc}
interface
uses SysUtils,Classes,Math,PUCU,PACCTypes,PACCGlobals,PACCAbstractSyntaxTree,PACCTarget;
type TPACCTarget_x86_64_SystemV=class(TPACCTarget)
private
public
constructor Create(const AInstance:TObject); override;
destructor... |
unit uUnistreamParser;
interface
uses
SysUtils, Classes, TypInfo, Contnrs,
uOperation, uAddress, uDocument, uClient, uDocumentRef, uClientContext, uSecurityContext, uClearingContext, uContentLink,
uJSONParser, uTools, uCommonTypes,
superobject;
type
EParserException = class(Exception);
TUnistreamParser =... |
unit InputData;
interface
uses SysUtils, Dialogs, Classes, ADODB, Windows;
type
paramSurfArray = array [0 .. 5] of integer;
// указатель на запись
ptrTrans = ^RTransition;
// record - для хранения информации о переходе
RTransition = record
// Номер поверхности привязанный к операции
... |
{-----------------------------------------------------------------------------
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 compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.... |
{
Common Tests Code
Copyright (c) 2018 Gustavo Carreno <guscarreno@gmail.com>
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, including without limitation the
rig... |
{ ------------------------------------
功能说明:平台注册表操作接口
创建日期:2008/11/11
作者:wzw
版权:wzw
------------------------------------- }
unit RegIntf;
{$WEAKPACKAGEUNIT on}
interface
uses Classes;
type
IRegistry = interface
['{80140700-9F09-4FB1-B9B3-D4B987DDC04A}']
function OpenKey(const Key: Widestring;
... |
unit NovusStringUtils;
interface
uses Windows, sysutils, {Forms,} NovusUtilities, Classes, variants;
Const
Cr = #13;
ToUpperChars: array [0..255] of Char =
(#$00, #$01, #$02, #$03, #$04, #$05, #$06, #$07, #$08, #$09, #$0A, #$0B, #$0C, #$0D, #$0E, #$0F,
#$10, #$11, #$12, #$13, #$14, #$15, #$16, #$17, #$18,... |
unit NGDR;
interface
uses Registrator, Classes, BaseObjects, ParentedObjects;
type
TNGDR = class(TRegisteredIDObject)
protected
function _AddRef: integer; stdcall;
function _Release: Integer; stdcall;
public
function List(AListOption: TListOption = loBrief): string; override;
construc... |
{$REGION 'documentation'}
{
Copyright (c) 2018, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
{
Red, green and blue color representation
@created(21/03/2018)
@author Vencejo Software <www.vencejosoft.com>
}
{$ENDREGION}
unit RGB... |
unit uCadastroView;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uFormView, Vcl.ExtCtrls, Vcl.ComCtrls, StrUtils,
Data.DB, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids, FireDAC.Stan.Intf,
FireDAC.Stan.Option, Fire... |
unit ZipEntry;
interface
type
HCkBinData = Pointer;
HCkDateTime = Pointer;
HCkByteData = Pointer;
HCkZipEntry = Pointer;
HCkString = Pointer;
HCkStream = Pointer;
HCkStringBuilder = Pointer;
HCkTask = Pointer;
function CkZipEntry_Create: HCkZipEntry; stdcall;
procedure CkZipEntry_Dispose(handle: HCkZipEntry); stdc... |
unit UWorkSpace;
interface
uses Windows, UxlPanel, UxlClasses, UxlWinControl, UxlMiscCtrls, UxlExtClasses, UxlList, UGlobalObj, UxlEdit, UNavigatorSuper,
UClientSuper, UTypeDef, UPageSuper, USpace, UxlDragControl, UPageFactory, USysPageManager, UNoteHandler, UStatisticsHandler;
type
TScrollHandler = clas... |
unit Response;
interface
uses uLkJSON;
type TResponse = class(TObject)
private
protected
public
Fcode :Integer;
Fmensagem :TlkJSONobject;
function parseCode :Integer;
function parseMessage :String;
constructor Create( code :Integer; mensagem :TlkJSONobject );
destructor Destroy; override;
published
p... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Janela Cadastro de Bancos
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 documentation
fi... |
{ Procedure - imperative side effects }
{ inVar - is like the local constant of a procedure, all function parameters are 'inVars' }
{ var outVar - is never read, only used to return a value, that's why it should always be a var-parameter }
{ var ioVar - initialized as it is being called, and used to change the the val... |
unit Declarations;
interface
uses
Model.ProSu.InterfaceActions, Model.ProSu.Interfaces;
type
// customer
TCustomer = class
private
fID: Integer;
fName: string;
fDiscountRate: Double;
fBalance: Currency;
public
property ID: integer read fID write fID;
... |
{
Created by BGRA Controls Team
Dibo, Circular, lainz (007) and contributors.
For detailed information see readme.txt
Site: https://sourceforge.net/p/bgra-controls/
Wiki: http://wiki.lazarus.freepascal.org/BGRAControls
Forum: http://forum.lazarus.freepascal.org/index.php/board,46.0.html
This li... |
{*******************************************************}
{ }
{ Copyright (c) 2001-2010 by Alex A. Lagodny }
{ }
{*******************************************************}
unit aOPCImage3In;
interface... |
unit Marvin.Console.GUI.Lista.TiposCliente;
interface
uses
{ comunicação }
Marvin.Desktop.Repositorio.AulaMulticamada,
{ exceções }
Marvin.AulaMulticamada.Excecoes.TipoCliente,
{ classes }
Marvin.AulaMulticamada.Classes.TipoCliente,
Marvin.AulaMulticamada.Listas.TipoCliente;
type
TPaginaListaTiposCli... |
unit JsonArray;
interface
type
HCkJsonObject = Pointer;
HCkDateTime = Pointer;
HCkJsonArray = Pointer;
HCkString = Pointer;
HCkStringBuilder = Pointer;
HCkDtObj = Pointer;
function CkJsonArray_Create: HCkJsonArray; stdcall;
procedure CkJsonArray_Dispose(handle: HCkJsonArray); stdcall;
procedure CkJsonArray_getDebu... |
unit DLG_SCR_ERROR;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,script,eval, ComCtrls, ExtCtrls;
//function ShowScrError(EpInfo:PEpInfo;scr:pscrInfo;Errmsg:string;texte:string):integer;
function ShowScrErrDlg(line:integer;msg,scrfile,source:pchar... |
unit DTT_Truck;
// Gestion des trucks
// ------------------
interface
uses
OpenGL12, TNT_Object, TNT_Vector, TNT_Timer;
const
MAX_TRUCK = 4;
CONST_BRAKE = 8;
CONST_ACCEL = 4;
CONST_INERTIA = 1.07;
FRAME_MOVE = 0;
FRAME_START_LEFT = 8;
FRAME_LEFT = 11;
FRAME_START_RIGHT = 19;
... |
program vianocna_uloha2;
type
swimmer = record
number: integer;
name: string;
time1, time2, average, total: real;
end;
var i, n, best, worst: integer;
swimmers: array[1 .. 50] of swimmer;
begin
write('Enter the number of swimmers: ');
readln(n);
for i := 1 to n do begin... |
unit
Config;
// 提供配置记录 功能
//注意:
// 1.全局配置文件类一定要先建立,再使用,最后要记得释放;
// 目前只能初始化一次;
// 2.个人配置文件类建立时会对文件进行核对,存在该文件就打开,不存在则创建;
// 读文件时也会这样,所以读时大家要注意打开的文件名是否正确,否则将一无所获;
// 3.释放时会自动保存,大家可以放心使用释放功能.
// 4.大家注意写文件时有大小写之分哦!
interface
uses
Windows;
type
HCONFIGFILE = pointer;
// 初始化全局配置,应用程序初始化时调用
// pFileName... |
{*******************************************************************************
Title: T2Ti ERP Fenix
Description: Model relacionado à tabela [FIN_CONFIGURACAO_BOLETO]
The M... |
{* ***** BEGIN LICENSE BLOCK *****
Copyright 2009, 2010 Sean B. Durkin
This file is part of TurboPower LockBox 3. TurboPower LockBox 3 is free
software being offered under a dual licensing scheme: LGPL3 or MPL1.1.
The contents of this file are subject to the Mozilla Public License (MPL)
Version 1.1 (the "License... |
{*******************************************************************************
作者: dmzn@163.com 2008-8-9
描述: 编辑器主单元
*******************************************************************************}
unit UFormMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms... |
unit CodeSystemConceptDialog;
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, System.Rtti, FMX.Grid.Style, FMX.Grid, FMX.ScrollBox,
FMX.Memo, FMX.Edit, FMX.Dat... |
unit uProfessor;
interface
uses system.sysUtils;
type
TProfessor = class
private
FID: integer;
Fid_endereco: integer;
FNome: String;
FDataNasc: TDateTime;
FCpf: string;
FRG: string;
FCNPJ: string;
FContato: String;
FEmail: string;
FCurso: string;
FIDHora: integer;
... |
unit WfxPlugin;
interface
uses
System.SysUtils,
System.Classes,
WinApi.Windows,
ObjectIni,
ObjectLines;
{ ids for FsGetFile }
const
FS_FILE_OK = 0;
FS_FILE_EXISTS = 1;
FS_FILE_NOTFOUND = 2;
FS_FILE_READERROR = 3;
FS_FILE_WRITEERROR = 4;
... |
unit HotKeyUnit;
interface
uses
Classes;
procedure InitDll;
implementation
uses
SysUtils, HotKeyManager, Windows, Dialogs;
type
TContainer = class // A dummy class that allows us to use event methods
hkm: THotKeyManager;
procedure HotKeyPressed(HotKey: Cardinal; Index: Word);
... |
unit uVersionList;
interface
uses
Classes, SysUtils, Dialogs;
type
TListItem = class
FileName: string;
Size: integer;
Modify: string;
end;
TVersionList = class
private
FList: TList;
function GetListItem(Index: integer): TListItem;
function GetCount: integer;
public
constructo... |
unit DecodeFormula;
{
********************************************************************************
******* XLSReadWriteII V1.14 *******
******* *******
******* Copyright(C) 1999,2002 Lars Arvidsson, A... |
unit uAppConfig;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
uIniSettings;
{ TAppConfig }
type
TAppConfig = class(TAppSettings)
private
function GetHTTPPort: integer;
function GetXPIDir: string;
protected
procedure init; override;
//procedure DefaultValues; ov... |
unit SKImageInfo;
interface
type
SKImageInfoNative = packed record
public
fColorSpace: IntPtr;
// public int fWidth;
// public int fHeight;
// public SKColorType fColorType;
// public SKAlphaType fAlphaType;
//
// public static void UpdateNative (ref SKImageInfo managed, ref SKImageInfoNative native)
// ... |
unit ServerMethodsUnit;
interface
uses
System.SysUtils, System.Classes, Datasnap.DSServer, System.Json,
Datasnap.DSAuth;
type
{$METHODINFO ON}
TServerMethods1 = class(TComponent)
private
{ Private declarations }
public
{ Public declarations }
function EchoString(Value: string): string;
fun... |
// adds requirement 'HasPerk' to Conditions list
function addPerkCondition(list: IInterface; perk: IInterface): IInterface;
var
newCondition, tmp: IInterface;
begin
if not (Name(list) = 'Conditions') then begin
if Signature(list) = 'COBJ' then begin // record itself was provided
tmp := ElementByPath(list,... |
unit Iocp.Utils;
interface
uses
Windows, SysUtils;
function CalcTickDiff(const StartTick, EndTick: LongWord): LongWord;
function ThreadFormat(const Fmt: string; const Args: array of const): string;
function ThreadWideFormat(const Fmt: WideString; const Args: array of const): WideString;
function ThreadFo... |
unit wordpress_news_model;
{$mode objfpc}{$H+}
interface
uses
database_lib,
Classes, SysUtils;
type
{ TWordpressNews }
TWordpressNews = class(TSimpleModel)
private
function GetCountPosts: integer;
public
constructor Create(const DefaultTableName: string = '');
function FindByTags(const Tag... |
unit Helper.TSyntaxNode;
interface
uses
DelphiAST.Consts,
DelphiAST.Classes;
type
TSyntaxNodeExtention = class helper for TSyntaxNode
public
function HasClassChildNode(): boolean;
function IsTypeDeclaration(): boolean;
function IsClassNode(): boolean;
end;
implementation
function TSyntaxNodeE... |
unit LuaMemoryRecordHotkey;
{$mode delphi}
interface
uses
Classes, SysUtils, lua, lualib, lauxlib, CEFuncProc;
procedure initializeMemoryRecordHotkey;
implementation
uses luaclass, luahandler, luacaller, luaobject, MemoryRecordUnit;
function memoryrecordhotkey_getDescription(L: PLua_State): ... |
program testchar02(output);
{test a function that accepts and returns char}
var
c:char;
function identity(mychar:char):char;
begin
identity:=mychar;
end;
begin
c:='a';
writeln(identity('X'));
writeln(identity(c));
end.
|
unit uDMBase;
interface
uses
System.SysUtils, System.Classes, 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,
Data.DB, FireDAC.Comp.Client,Vcl.Forms, FireDAC.Comp.... |
unit stack;
interface
uses
SysUtils,token;
type
stacks = class
private
public
stackarr : array of Tokens;
pos , i : integer ;
constructor createstack( size : Integer);
procedure push(t :Tokens);
function pop(): Tokens ;
function get(at: integer): Tokens;
f... |
unit TextEditor.Search.Highlighter.Colors;
interface
uses
System.Classes, Vcl.Graphics, TextEditor.Consts, TextEditor.Types;
type
TTextEditorSearchColors = class(TPersistent)
strict private
FBackground: TColor;
FBorder: TColor;
FForeground: TColor;
public
constructor Create;
procedure Ass... |
unit TTwoNum;
{ Author: Michael Ax,
Copyright (c) 1996 HREF Tools Corp.
Written for distribution with _Delphi 2.0 In-Depth_,
Cary Jensen, Editor.
TPack is here: https://www.href.com/tpack
WebHub is here: https://www.href.com/
}
(*
Permission is hereby granted, on 03-Oct-1996, free of charg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.