text
stringlengths
14
6.51M
unit UxlDateTimeUtils; interface uses Windows; type TDateTimeMode = (dtmDateTime, dtmDate, dtmTime, dtmDateTimeWithSecond); TIntTimeType = (ittMinute, ittSecond, ittMilliSecond, ittFull); TTimeCompareResult = (ctrEarlier, ctrEqual, ctrLater); // 用于数据存储与读取 function StringToSystemTime (const s_dateti...
unit CommonfrmVersionCheck; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, SDUStdCtrls, ExtCtrls, SDUForms, ComCtrls, OTFEFreeOTFE_InstructionRichEdit, CommonSettings; type TfrmVersionCheck = class(TSDUForm) Label2: TLabel; ...
unit MD.Classes; interface uses FMX.Graphics, MD.ColorPalette, System.Classes, FMX.Types; type TMaterialTextSettings = class(TTextSettings) private FMaterialColor: TMaterialColor; function GetMaterialColor: TMaterialColor; procedure SetMaterialColor(const Value: TMaterialColor); public const...
unit qsdk.alipay.ios; interface uses Classes, Sysutils, System.ZLib {libz.dylib} , System.Sqlite {libsqlite3.0.dylib} , iOSapi.Foundation, Macapi.ObjectiveC, iOSapi.UIKit, Macapi.Helpers, FMX.Platform.ios, iOSapi.Security, iOSapi.CoreMotion, iOSapi.CoreTelephony, iOSapi.SystemConfiguration; {$M+} type //...
unit Html4Parser; interface uses DomCore, HtmlReader, HtmlTags; { Parses an HTML string, and generates a new TDocument object. This class uses THTMLReader, and its SAX-like eventing system, to build a TDocument from the supplied HTML string. Sample usage ------------ var doc: TDocument; doc := THtml4...
unit CatPatterns; { Catarinka Pattern Validation for Pascal/Delphi TStringPattern and TIntegerPattern Copyright (c) 2017 Felipe Daragon License: 3-clause BSD See https://github.com/felipedaragon/catarinka/ for details A flexible string and integer validation engine for Pascal/Delphi with support for cas...
unit uBairroControler; interface uses System.SysUtils, Data.DB, System.Generics.Collections, uBairroDto, uBairroModel, uBairro, uMunicipioDto, uMunicipioModel, uBairroRegra, Dialogs, System.UITypes, System.Classes, Winapi.Windows, uEstadoDto, uEstadoModel; type TBairroControler = class private oBairr...
unit EIDLIBCTRLLib_TLB; // ************************************************************************ // // WARNING // ------- // The types declared in this file were generated from data read from a // Type Library. If this type library is explicitly or indirectly (via // another type library referring to this type libr...
unit LyComm; //**************************************************************************** //* //* 模块功能:串口通讯函数 //* 程序设计:老廖 //* QQ: 418464301 //* //**************************************************************************** interface uses SysUtils, ComCtrls, Windows, Forms; function OpenComm(CommPort: Intege...
// Clock demo program program Clock; const LHr = 60; LMn = 100; LSec = 120; RTickStart = 130; RTickEnd = 160; LTail = -10; RClock = 170; var Time: Integer; Hr, Mn, Sec, HrOld, MnOld, SecOld: Real; procedure DrawArrow(Value, Rmin, Rmax: Real; Positions: Inte...
{ List records and elements that require selected master files. Can be used to deal with references before using "Clean masters" function. } unit ReportMasters; var slCheckMasters, sl: TStringList; function Initialize: integer; begin slCheckMasters := TStringList.Create; sl := TStringList.Create; sl.Dupli...
unit Voltmeter; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs; type TVoltmeter = class(TCustomControl) private fRatio:double; fNeedleColor:TColor; protected { Protected declarations } fx1,fx2,fy1,fy2, fByd, fx0,fy0, fw...
unit UIDemoWindow; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, NTS.Code.Components.WindowConfig, NTS.Code.Components.VirtualStringList, ExtCtrls; type TDemoWindow = class(TForm) WindowConfig: TWindowConfig; GroupBox1: TGroupBox; Che...
unit TrwLasFilesFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, Facade, LasFile, Well, BaseObjects, StdCtrls; type TfrmTrwLasFiles = class(TFrame) trwLasFiles: TTreeView; gbx1: TGroupBox; procedure trwLasFilesChange(Sender: TObject...
unit StringConvertImp; {$DEFINE STRINGCONVERTLIB} interface uses SysUtils; {$I StrConvert.inc} function InitStrConvert(APrepend, AAppend: String): TStringConvert; stdcall; implementation constructor TStringConvert.Create(APrepend, AAppend: String); begin inherited Create; FPrepend := APrepend; FAppend := AAp...
Unit Mouse; { Genius Mouse ver 1.1 } INTERFACE const On = true; Off = false; type ButtonType = (Left,Right); var temp, auxtemp : word; Function InitMouse : boolean; Procedure Cursor(Cursor_On : boolean); Function Button : ButtonType; Procedure GetMouse(var x,y : word); Proc...
unit BigTV.SmartGuide; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Grids, HGM.Controls.VirtualTable, Vcl.StdCtrls, System.Generics.Collections; type TSmartGuideItem = record Chann...
{$include kode.inc} unit syn_s2_osc_wave; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses kode_control, kode_editor, kode_plugin, kode_voice, kode_voicemanager, kode_widget, syn_s2_const; ty...
unit Service.Utils.DataBind; interface uses System.Classes, RTTI, System.TypInfo,Vcl.StdCtrls, Vcl.DBCtrls, Vcl.ComCtrls, Vcl.ExtCtrls, SysUtils, DB, EF.Mapping.Base, FireDAC.Comp.Client; type IDataBind = interface ['{2388D1DF-FA78-4EAC-8C97-600A89B71526}'] function Map(Component: TComponent; Entity: TOb...
(*======================================================================* | Project : | | Unit : MpuNTUser.pas | | | | Notes : Unit for a...
{ 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 Fr...
object ConfigDialog: TConfigDialog Left = 444 Top = 522 BorderIcons = [biSystemMenu] BorderStyle = bsToolWindow Caption = 'APMAlert Config' ClientHeight = 169 ClientWidth = 305 Color = clBtnFace Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -13 Font.Name = 'Arial' Font.St...
{*******************************************************} { } { HCView V1.1 作者:荆通 } { } { 本代码遵循BSD协议,你可以加入QQ群 649023932 } { 来获取更多的技术交流 2018-5-4 ...
unit UFigureParams; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FPCanvas, Graphics; type { Params } TFigureParam = class end; TFigureParamClass = class of TFigureParam; TFigureParamClassArray = array of TFigureParamClass; TFigureParamArray = array of TFigureParam; TColorParam = class(...
{******************************************************************************* 作者: dmzn 2008-8-27 描述: 字典编辑器 *******************************************************************************} unit USysDict; interface uses Windows, Classes, DB, SysUtils, UMgrDataDict, UDataModule, USysConst; type ...
Ä Fido Pascal Conference ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ PASCAL Ä Msg : 582 of 702 From : Alex Summers 1:103/714.0 22 Apr 93 02:05 To : All ...
unit DM_Tratamento; interface uses System.SysUtils, System.Classes, Vcl.AppEvnts, Vcl.Dialogs, Vcl.Forms; type TDataModule1 = class(TDataModule) ApplicationEvents1: TApplicationEvents; procedure ApplicationEvents1Exception(Sender: TObject; E: Exception); private { Private declarations } public ...
{$mode macpas} unit AboutWindowUnit; interface uses MacOSAll, TransSkel4, LWPGlobals, ProcessUtils, Settings, UtilsTypes; procedure InitAbout; procedure ShowAbout; procedure CheckJavaVersion; procedure CheckFPCVersion; procedure CheckCompilersExists; procedure CheckiOSSDKVersion; implementation uses BaseUnix; ...
unit JPP.PenStyleComboBox; { Jacek Pazera http://www.pazera-software.com https://github.com/jackdp } {$I jpp.inc} {$IFDEF FPC} {$mode delphi} {$ENDIF} interface uses {$IFDEF MSWINDOWS}Windows,{$ENDIF} Messages, SysUtils, Classes, Types, {$IFDEF HAS_SYSTEM_UITYPES}System.UITypes,{$ENDIF} Controls, St...
unit TNT_Landscape; interface uses OpenGL12, TNT_Texture, TNT_Entity; type TVertex = record u,v: GLfloat; nx,ny,nz: GLfloat; x,y,z: GLfloat; end; TFace = record v0, v1, v2: Word; end; TLandscape = class(TEntity) private Texture: TTexture; Vertices: array o...
unit CkDateTime; interface type HCkTask = Pointer; HCkDtObj = Pointer; HCkDateTime = Pointer; HCkString = Pointer; function CkDateTime_Create: HCkDateTime; stdcall; procedure CkDateTime_Dispose(handle: HCkDateTime); stdcall; procedure CkDateTime_getDebugLogFilePath(objHandle: HCkDateTime; outPropVal: HCkString); s...
{ 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 frmMainUnit6; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Grids, RbwDataGrid4, System.Generics.Collections, Vcl.ComCtrls, Vcl.Mask, JvExMask, JvToolEdit; type TIntA...
unit projeto3Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Edit1: TEdit; Button1: TButton; ListBox1: TListBox; Edit2: TEdit; Edit3: TEdit; Label1: TLabel; Label2: TLabel; Button2: TB...
unit Domain.Entity.ClienteEmpresa; interface uses System.Classes, Dialogs, SysUtils, EF.Mapping.Base, EF.Core.Types, EF.Mapping.Atributes, Domain.Entity.Empresa; type [Table('ClienteEmpresa')] TClienteEmpresa = class( TEntityBase ) private FClienteId: TInteger; FEmpresaId: TInteger; FEmpresa...
unit Client_BOM; interface uses tiObject ,tiOID ,tiOIDGUID // To force linking GUID OIDs. Must be included in application at least once. ; const cErrorClientNameMissing = 'Please enter a client name'; cErrorClientIDMissing = 'Please enter a client ID'; cErrorPhoneNumberTypeMissing = 'Please enter a phon...
unit uMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, Data.DB, Vcl.Std...
unit FManagedTypes; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, FBase, USampleClasses; type TFrameManag...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, VectorGeometry, Dialogs, GLScene, GLVectorFileObjects, GLObjects, GLWin32Viewer, GLMisc, glfilemd2, GLCadencer, Keyboard, jpeg, GLTexture, GLHeightData, GLTerrainRenderer, GLSkydome, GLFireFX, ExtCtrls, StdCtrls, GLLen...
unit RobotGroupUnit; // verzia 251109 {$mode objfpc}{$H+} interface uses Graphics, ExtCtrls, RobotUnit; type TRobotGroup = class private FR: array of TRobot; FNum: Integer; function GetRobot(I: Integer): TRobot; public destructor Destroy; override; procedure NewRobot; ...
unit UnitSQLDataBase; interface uses BaseClass, System.JSON, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.I...
unit Relatorio_NovaImpressao; interface uses Windows, SysUtils, Messages, Classes, Graphics, Controls, StdCtrls, ExtCtrls, Forms, QuickRpt, QRPrntr, QRCtrls, DB, DBClient, QRPDFFilt, CJVQRBarCode; type TRelatorioNovaImpressao = class(TQuickRep) QRBandCabecalhoUnico: TQRBand; QRBandRodape: TQRBand; ...
unit udmTarea; interface uses System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client; type TFiltroStatus = (Pend...
unit F09; interface uses loadandsave; procedure tambahBuku (var ArrayBuku: arrBuku); // Prosedur ini dapat dimanfaatkan untuk menambah identitas sebuah buku baru var buku_baru : Buku; implementation procedure tambahBuku (var ArrayBuku: arrBuku); begin // Menambah panjang array yang digunakan ArrayBuku.neff := A...
{******************************************************************************* 作者: dmzn 2008-8-29 描述: 自定义数据集 *******************************************************************************} unit USysDataSet; interface uses Classes, Controls, DB, SysUtils, cxCustomData, UMgrDataDict, USysDict, USys...
program compilefail05(output); var i:integer; begin i:=10; repeat writeln(i); {this should be an assignment, not a straight equals} i=i-1; until i=0; writeln('done'); end.
unit DX7.Op; interface uses FS1R.Params, DX7.Config, DX7.Envelope, DX7.PitchEnv, DX7.LFO, FM.Oscillator; type TLiveData=record pan : Double; outputLevel : Double; ampL, ampR : Double; Ratio, freqRatio, freqFixed : Doubl...
{******************************************************************************* 作者: dmzn@163.com 2011-5-29 描述: 数据模块 *******************************************************************************} unit UDataModule; interface uses Windows, SysUtils, Classes, DB, ADODB, SyncObjs, uROClient, uROClassFact...
unit arcgui; interface {$MODE objfpc} uses dglOpenGL, Classes, arctypes, sysutils, arcdraw, XMLRead, DOM, arcsystem, LConvEncoding; type UBFG = class protected kernings : array of BMKerningPairs; lineHeight : Shortint; ScaleW, ScaleH : Word; Glyphs : array of BMGlyph; fontTexture : Tgluint; public Const...
{ 单元名称: uMemoryManage 单元作者: 江晓德(Terry) 邮 箱: jxd524@163.com 说 明: 数据结构操作 开始时间: 2010-09-14 修改时间: 2010-09-14(最后修改) 注意事项: 线程安全 可变内存管理器,先申请一大块,分成N小块,当不够是,重复申请大块,再分小块 回收时:判断内存地址所属 TPointerQueue: 一个循环指针队列,管理内存所指向的指针 TxdFixedMemoryManager:固定内存管理模式,先申请一大块的内存块,把申请到的内存分成N多个固定的小块 小块指针存在于 TPointerQueue ...
unit uthrCalculaExtratoFiltroAgente; interface uses System.Classes, clAgentes, clCodigosEntregadores, clEntrega, clExtrato, clLancamentos, clAbastecimentos, clRestricoes, clPlanilhaCredito, clUtil, udm, Dialogs, Windows, Forms, SysUtils, Messages, Controls, System.DateUtils, clGruposVerba; type TRegExtra...
program AlgLista5Ex2; // Exercicio 2 da lista 5. Autor: Henrique Colodetti Escanferla. type vetor=array[1..100]of integer; // Criação do tipo de variável "vetor". var v: vetor; // Variáveis globais: v=> guarda a sequencia de entrada. tamv, i, x, y:integer; // tamv=> tamanho util de "v"; i=> indices de "v"; x=> nº de ...
unit RRManagerStructureHistoryFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, RRManagerObjects, RRManagerBaseGUI, RRManagerLoaderCommands, RRManagerBaseObjects, ToolWin, ComCtrls, StdCtrls, ImgList, RRManagerPersistentObjects, RRManagerDataPosters, Bas...
{$R-,S-} program Demo; {-Demonstrates use of TPALLOC} uses TpAlloc; type LongPtr = ^LongInt; var I, Elements, ErrorCount : LongInt; LongArray : LongPtr; LongArrayAddr : LongInt; function GetElementPtr(I : LongInt) : LongPtr; {-Return a pointer to the I'th element of our 0-based array} begin ...
{ Video4L2 capture and controls enumeration component for Lazarus Copyright (C) 2013 Yuriy Pilgun This program is provided under the terms of the MIT License. } unit VideoCapture; {$mode objfpc}{$H+} interface uses Classes, SysUtils, videodev2; {$define USELIBV4L2} {.$define NONBLOCKING} type EVideo4...
unit DTT_RocketTrail; interface uses OpenGL12, TNT_ParticleSystem, TNT_Vector, TNT_Texture, TNT_Timer; type TRocketTrail = class(TParticle) private Position: TVector; Frame: Cardinal; Timer: TTime; public constructor Create(Owner: TParticleSystem); override; procedure Spawn...
{ 单元名称: uJxdUdpSynchroCommon 单元作者: 江晓德(Terry) 邮 箱: jxd524@163.com jxd524@gmail.com 说 明: 封装与分析同步包命令 开始时间: 2009-3-21 修改时间: 2011-3-21 (最后修改时间) 类说明 : 只负责判断是否是同步包和提供子类使用的两个把数据封装成同步包的方法 实现方式: 在数据的前面加上四个字节,前两个字节表示同步命令,由外部定义;后两位表示同步的标志 通信协议要求格式: 1: 每一个包的最前面两个字节必须为命令 } unit uJxdUdpSynchroBasic; interfac...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Grids; type TForm1 = class(TForm) EditLine: TEdit; LabelLine: TLabel; EditColumn: TEdit; LabelColumn: TLabel; ButtonFillMatrix: TButton; ButtonCalculationResult: TBut...
unit CalculationLogger; interface uses Registrator, Classes, SysUtils, BaseObjects; type TItemState = (isNormal, isError); TCalculationLoggerItem = class(TRegisteredIDObject) private FTitle: string; FMsg: string; FTimeStamp: TDateTime; FState: TItemState; public property Title: string re...
unit UIOHandler; interface uses Windows, UxlClasses, UxlExtClasses, UPageSuper, UClientSuper, UTypeDef, UxlFile, UxlDialog, UxlComboBox, UxlWindow, UxlWinControl; type TIOHandler = class (TxlInterfacedObject, ICommandExecutor, IOptionObserver, IMessageObserver) private FMailClient: widestring; ...
unit UCloudFileScan; interface uses classes, syncobjs, Generics.Collections, SysUtils, Windows, UMyUtil; type // 扫描路径信息 TCloudScanPathInfo = class public CloudPath : string; CloudPathOwner : string; public constructor Create( _CloudPath, _CloudPathOwner : string ); end; TCloudScanPathList ...
unit frEditPessoa; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, AdvCombo, Lucombo, AdvEdit, Entidades.Cadastro; type TfrmEditPessoa = class(TFrame) Label3: TLabel; Label4: TLabel; Label5: TLabel; Label6: TLabel; Label7: TLabe...
unit Hooking; interface { Tries to hook the code at ACodeAddress and redirect it to AHookAddress. Returns True on success or False on failure. Example usage: HookCode(@TObject.NewInstance, @HookedNewInstance); This redirects all call to the TObject.NewInstance method and redirect them to the HookedNewIn...
program LinkedList; Uses sysutils; type TStudentRec = record First, Last : String; ID, Age : Integer; Gender : Char; end; TNodePtr = ^TNode; TNode = record StudentRec : TStudentRec; NodePtr : TNodePtr; end; var Head, Tail : TNodePtr; SampRec : TStud...
unit TextEditor.Tabs; interface uses System.Classes, TextEditor.Types; const TEXTEDITOR_DEFAULT_TAB_OPTIONS = [toColumns, toSelectedBlockIndent]; type TTextEditorTabs = class(TPersistent) strict private FOnChange: TNotifyEvent; FOptions: TTextEditorTabOptions; FWantTabs: Boolean; FWidth: In...
namespace Moshine.UI.UIKit; uses Foundation, UIKit; type OnTextChangedDelegate = public block(value:NSString); [IBObject] MoshineTextFieldTableViewCell = public class(MoshineBaseTableViewCell) protected method createControl:UIView; override; begin exit new UITextField; ...
{ 单元名称: uJxdParseLyric 单元作者: 江晓德(jxd524@163.com) 说 明: 歌词秀解析类 开始时间: 2007-10-08 修改时间: 2010-07-07 (最后修改) } unit uJxdLyricParse; interface uses Windows, SysUtils, Classes, Forms; type PLine = ^TLines; TLines = record LineTime: LongInt; LineString: string; end; PLineInfo = ^TLineInfo; TLineInfo = ...
{ Changes height of exterior worldspace cells in specified range, both references and landscape. Water level, WRLD properties, navmeshes and doors teleport coordinates are not affected! Tweak manually. Works for all games, apply to worldspace in xEdit. ShiftZ must be divisible by 8 Min/Max constants set the r...
unit Sessions; interface uses generics.collections, Session; Type TSessions = class strict private FSessions: TObjectList<TSession>; public constructor Create; destructor Destroy; override; function GetSession(const sessionId: String): TSession; function GetSessionStatus(const sessionI...
unit ControlThread; interface uses Windows, SysUtils, Classes, Forms, Winsock; const AS_NETCONTROLREPLAYLENGTH = 600; type TControlThread = class(TThread) private IPAddr: String; Port: Word; Login: String; Sock: TSocket; Idle: Boolean; StatusTime: Integer; SingleCommandsDone: Boo...
unit SavedQuestionsForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, SavedQuestionClass, QuestionClass, QuestionForm; type TSavedQuestions = class(TForm) memSav...
unit UMyRestoreDataInfo; interface uses Generics.Collections, UDataSetInfo; type {$Region ' 数据结构 ' } // 数据结构 TRestoreDownInfo = class public RestorePath, RestoreOwner : string; public RestoreFrom : string; public FileCount : integer; FileSize, CompletedSize : int64; public SavePat...
unit PessoaController; interface uses mvcframework, mvcframework.Commons, System.SysUtils, MVCFramework.SystemJSONUtils; type [MVCDoc('CRUD Pessoa')] [MVCPath('/pessoa')] TPessoaController = class(TMVCController) public [MVCDoc('Retorna uma lista de objetos')] [MVCPath('/($filtro)')] [MVCHTT...
unit _pal; ///////////////////////////////////////////////////////////////////// // // Hi-Files Version 2 // Copyright (c) 1997-2004 Dmitry Liman [2:461/79] // // http://hi-files.narod.ru // ///////////////////////////////////////////////////////////////////// interface procedure EditPal; procedure Loa...
unit sComboBox; {$I sDefs.inc} {.$DEFINE LOGGED} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, {$IFDEF TNTUNICODE}TntControls, TntClasses, TntActnList, TntStdCtrls, TntGraphics, {$ENDIF} StdCtrls, sConst, sDefaults, acSBUtils, sCommonData{$IFDEF LOGGED}, sDebugMsgs{$EN...
unit FMain; interface uses System.SysUtils, System.Math, System.Types, System.UITypes, System.Classes, System.Variants, System.Math.Vectors, System.Diagnostics, System.RTLConsts, FMX.Types, FMX.Controls, FMX.Forms3D, FMX.Types3D, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Pre...
unit UnitModelGroupList; interface type TGroupListItem = class const fGroupID = 'GroupID'; fDisplayName='DisplayName'; fCountUser='CountUser'; fCountGroup='CountGroup'; private GroupID: Integer; DisplayName: string; CountUser: Integer; CountGroup: Integer; public property...
{ Subroutine STRING_WRITE (S) * * Write the contents of string S to standard output. The output line will be * terminated after the string is written. } module string_WRITE; define string_write; %include 'string2.ins.pas'; procedure string_write ( {write string to standard output, close line} in...
{Ä Fido Pascal Conference ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ PASCAL Ä Msg : 299 of 318 From : Bo Bendtsen 2:231/111.0 09 Apr 93 12:28 To : All ...
unit NUMMICheckBox; interface uses Windows, Messages, SysUtils, Classes, Controls, StdCtrls; Type TNUMMICheckBox = Class(TCheckBox) Private { Private declarations } FReadOnly: Boolean; Protected { Protected declarations } procedure WndProc(var Message: TMessage); override; ...
unit ToDoBO; interface uses dorm.Mappings, MVCFramework.Commons, system.Rtti, dorm.ObjectStatus, system.SysUtils, MVCFramework.Serializer.Commons, Generics.Collections; type TBaseBO = class abstract private FObjVersion: Int64; FID : Integer; FObjStatus : TdormObjectStatus; pro...
unit uMainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdTCPServer, IdContext, IdBaseComponent, IdComponent, IdCustomTCPServer, uServerDM, ComCtrls, StdCtrls, Grids, DateUtils, uClientDM, uSt...
unit Moment4D.WithDuration; interface uses Moment4D.Main; type TOperationWithDuration = class(TInterfacedObject, IWithDuration) private FDateTime: IDateTime; public constructor Create(dt: IDateTime); function days (num: integer): IDateTime; function minutes (num: integer): IDateTime; end; im...
unit clPessoaJuridica; interface uses clpessoafisica, System.StrUtils; type TPessoaJuridica = class(TPessoaFisica) public private var FRazao: String; FFantasia: String; FCNPJ: String; FIE: String; FIEST: String; FIM: String; FCNAE: String; FCRT: Integer; FSUFRAMA: String; ...
program BoxRot; {PUBLIC DOMAIN 1993 Peter M. Gruhn Program draws a box on screen. Allows user to rotate the box around the three primary axes. Viewing transform is simple ignore z. I used _Computer_Graphics:_Principles_and_Practice_, Foley et al ISBN 0-201-12110-7 as a reference RUNNING: Borland Pascal ...
unit uFormCals; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.WinXCalendars, Vcl.WinXCtrls, Vcl.StdCtrls, System.Math; type TForm3 = class(TForm) CalendarView1: TCalendarView; CalendarPicker1...
{******************************************************************************* 作者: dmzn@ylsoft.com 2007-10-09 描述: 项目通用常,变量定义单元 *******************************************************************************} unit USysConst; interface uses Windows, SysUtils, Classes, Chart, Forms, Graphics, IniFiles, ...
unit ControllerProcess; interface uses System.Classes, Vcl.Controls, Vcl.Forms, Vcl.StdCtrls, Vcl.ExtCtrls, dco.framework.RemotingSystem, rpc.ControlRemoteWindowProtocol, remote.model.WindowHost; type TForm1 = class(TForm) Button2: TButton; Button3: TButton; LabeledEdit1: TLabeledEdit; ...
unit Expressions; interface uses SysUtils, Classes; function IsFen(const AStr: string): boolean; function ExtractFen(const ACommand: string; var AFen: string): boolean; function ExtractMoves(const ACommand: string): boolean; var LMoveList: TStringList; implementation uses RegExpr; ...
unit U_HTML; { Unit: U_HTML.pas By: H@PPyZERØ5 E-mail: happy05@programmer.net } interface uses System.SysUtils; type HTMLstr = string[8]; const HTML_length = 187; HTML_character: array[0..html_length] of char = ( //ASCII Characters: ' ','!','"','#','$','%','&','''','(',')','*','+',',','-','.','/',...
unit Features; interface uses CommonGeometry, GeosGeometry, MapTypes; type TGeometryEnabledFeature = class abstract(TPropertyEnabledFeature) private FGeometry: TGeosGeometryWrapper; protected function CalcBounds: TBounds; override; public constructor Create(AParent: TFeature; AGeometry: TGe...
unit uUtils; interface uses System.SysUtils; type TcalculateTriangleAreaDLL = function(pBase, pHeight: Extended): Extended; TcalculateSquareAreaDLL = function(pSideA, pSideB: Extended): Extended; TcalculateCircleAreaDLL = function(pRadius: Extended): Extended; TUtils = class public class procedure c...
unit davecad_file_parser; {$mode objfpc}{$H+} interface uses Classes, SysUtils, davecad_enum, {$IFDEF XMLVersionLaz2} laz2_DOM, {$ELSE} DOM, {$endif} dialogs; type //Class for loading information about an object from a TDaveCADFile.getDOM TDaveCADObject = class (TObject) private fObjN...
unit SiteStatsFrm; interface uses Forms, PluginManagerIntf, Classes, Controls, StdCtrls, cxButtons, cxGridLevel, cxClasses, cxControls, cxGridCustomView, cxGridCustomTableView, cxGridTableView, cxGridDBTableView, cxGrid, TBSkinPlus, TB2Dock, TB2Toolbar, ActnList, ImgList, TB2Item, cxLookAndFeelPain...
unit ray_math_ex; interface uses Types, Math; type TRGB32 = record B, G, R, A: Byte; end; TRGB32Array = array[0..MaxInt div SizeOf(TRGB32) - 1] of TRGB32; PRGB32 = ^TRGB32; PRGB32Array = ^TRGB32Array; PPoint4 = ^TPoint4; TPoint4 = array[0..3] of TPointF; TPolygon = array of TPoint; funct...
unit hashmap; interface uses Classes, SysUtils, Contnrs, Math; type THashNode = packed record Key: String; case ValueType: Byte of 0: (ValueString: PChar); 1: (ValueObject: TObject); end; PHashNode = ^THashNode; TAbstractHashTable = class(TObject) protected FContents: array of PHa...
unit Thread.CancelaFechamentoExtressas; interface uses System.Classes, Model.FechamentoExpressas, DAO.FechamentosExpressas, Model.ExtratosExpressas, DAO.ExtratosExpressas, Generics.Collections, Model.ParcelamentoRestricao, DAO.ParcelamentoRestricao, Model.ExtraviosMultas, DAO.ExtraviosMultas, clLancamentos, Syste...
{ Subroutine STRING_F_INT32H (S, I) * * Convert 32 bit integer I to a 8 character HEX string in S. } module string_f_int32h; define string_f_int32h; %include 'string2.ins.pas'; procedure string_f_int32h ( {make HEX string from 32 bit integer} in out s: univ string_var_arg_t; {output string} in ...
{********************************************************} { } { Zeos Database Objects } { MySql direct class API } { } { Copyright (c...
{ GeoJSON/Geometry/MultiPoint Object 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 lim...