text
stringlengths
14
6.51M
unit cn_fr_ModeUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, DM_Mode, cn_Common_Types, cn_Common_Funcs, cnConsts, cxRadioGroup, cxControls, cxGroupBox, ExtCtrls, PrintLoader, cn_Common_Loader; type TfrmCh...
program problem04; uses crt; (* Problem: Largest palindrome product Problem 4 @Author: Chris M. Perez @Date: 5/14/2017 *) function isPalindrome(arg: longint): Boolean; var temp: longint; reversed: longint = 0; begin temp := arg; while temp > 0 do begin reversed := reversed *...
unit o_GridDataList; interface uses SysUtils, Classes, o_baselistobj, o_GridData, o_VorgangposSorter, o_Vorgangpossort; type TGridDataList = class(TBaseListObj) private fSorter: TVorgangposSorter; function getGridData(Index: Integer): TGridData; procedure UebernehmeSortNrVonSorter; function g...
//////////////////////////////////////////////////////////////////////////// // PaxCompiler // Site: http://www.paxcompiler.com // Author: Alexander Baranovsky (paxscript@gmail.com) // ======================================================================== // Copyright (c) Alexander Baranovsky, 2006-2014. All rig...
unit UEstadoVO; interface uses Atributos, Classes, Constantes, Generics.Collections, SysUtils, UGenericVO,UPaisVO; type [TEntity] [TTable('Estado')] TEstadoVO = class(TGenericVO) private FIdEstado: Integer; FnomeEstado: String; FIdPais : Integer; // Atributos Transientes FnomePais: Stri...
function KeyLeads:String; {verificação das teclas Caps, Scroll e NUM que usa um evento do Delphi e naum o Timer} Var State : String; KeyState : TKeyboardState; begin State := ''; GetKeyboardState(KeyState); if (KeyState[VK_NUMLOCK] = 1) then begin State := State + 'Num Lock'; end; if (KeyState[VK_CAPITAL...
unit CIFormUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, NppForms, SHDocVw, StdCtrls, Registry, Buttons, ExtCtrls, ActnList, System.Actions, Vcl.Menus, System.ImageList, Vcl.ImgList; type TCIForm = class(TNppForm) Panel1: TPanel; actionLabel:...
unit OpenCV.ImgProc; interface uses Winapi.Windows, OpenCV.Lib, OpenCV.Core; (* Image smooth methods *) const CV_BLUR_NO_SCALE = 0; CV_BLUR = 1; CV_GAUSSIAN = 2; CV_MEDIAN = 3; CV_BILATERAL = 4; (* Filters used in pyramid decomposition *) CV_GAUSSIAN_5x5 = 7...
namespace NSMenu; interface uses AppKit, Foundation; type [IBObject] AppDelegate = public class(INSApplicationDelegate) private fMainWindowController: MainWindowController; protected public [IBAction] method addNewMenus(sender : id); [IBAction] method sayHello(sender : id);...
unit EcranTribu; interface uses Variables; { Affichage de l'écran et appel des fonctions & procédures associées } procedure afficher(Joueur : TJoueur); implementation uses GestionEcran, OptnAffichage, EcranAccueil, EcranElevage, EcranMilitaire, EcranCombat; { Actions effectuées lors d'un passage au ...
namespace com.example.android.wiktionary; {* * Copyright (C) 2007 The Android Open Source Project * * 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....
program SpriteRotationTest; uses SwinGame, sgTypes; function SpriteLocationMatrix(s: Sprite): Matrix2D; var scale, newX, newY, w, h: Single; anchorMatrix: Matrix2D; begin scale := SpriteScale(s); w := SpriteLayerWidth(s, 0); h := SpriteLayerHeight(s, 0); anchorMatrix := TranslationMatrix(SpriteAnchorPoint(s)); ...
unit ThDbTextArea; interface uses Classes, DB, DBCtrls, ThTextArea, ThDbData; type TThCustomDbTextArea = class(TThTextArea) private FData: TThDbData; protected function GetFieldName: string; function GetDataSource: TDataSource; procedure SetFieldName(const Value: string); procedure Set...
unit Chapter09._09_Solution2; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Math, DeepStar.UString, DeepStar.Utils; /// LCS问题 /// 动态规划 /// 时间复杂度: O(len(s1)*len(s2)) /// 空间复杂度: O(len(s1)*len(s2)) type TSolution = class(TObject) public function GetLCS(const s1, s2: UString): UString; end;...
unit mckLVColumnsEditor; interface {$I KOLDEF.INC} uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ComCtrls, StdCtrls, {$IFDEF _D6orHigher} DesignIntf, DesignEditors, DesignConst, Variants {$ELSE} DsgnIntf {$ENDIF} ; type TfmLVColumnsEditor = class(TForm) ...
program HelloWorld; uses sgTypes, SwinGame, sgBackendTypes, GeometryHelper; procedure KeepOnScreen(s: Sprite); begin if SpriteX(s) > ScreenWidth() - SpriteWidth(s) then begin SpriteSetDX(s, -SpriteDX(s)); SpriteSetX(s, ScreenWidth() - SpriteWidth(s)); end; if SpriteY(s) > ScreenHeight() - SpriteHeigh...
PROGRAM Test3; PROCEDURE Union(a, b: ARRAY OF INTEGER; countA, countB: INTEGER; VAR result: ARRAY OF INTEGER; VAR countResult: INTEGER); VAR i, j: INTEGER; BEGIN i := 0; j := 0; countResult := 0; WHILE (i < countA) and (j < countB) DO BEGIN IF a[i] < b[j] THEN BEGIN result[countResult] := a[i]; ...
unit LiteButton; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, uColorTheme, uUtils, uParser; { Lite Button } type TLiteButton = class(TPanel, IUnknown, IThemeSupporter) private theme: ColorTheme; isPressed: boolean; isTrigg...
unit UnitRefreshDBRecordsThread; interface uses Winapi.ActiveX, System.Classes, System.SysUtils, Vcl.Forms, UnitPropeccedFilesSupport, UnitDBDeclare, uLogger, uMemory, uDBUtils, uDBContext, uDBEntities, uCollectionEvents, uDBForm, uDBThread, uConstants; type ...
unit Images; interface uses Windows,Graphics, SysUtils, Classes; Type TStoredAs=(ByLines,ByCols); TImageInfo=class StoredAs:TStoredAs; width,height:word; end; TImageSource=class Protected FInfo:TImageInfo; Public Pal:Array[0..255] of TRGBQuad; Property Info:TImageInfo read FInfo; Function...
{******************************************************************************* Title: T2TiPDV Description: Permite a digitação e importação de um número inteiro. The MIT License Copyright: Copyright (C) 2012 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ...
unit DPM.Core.Package.SearchResults; interface uses Spring.Collections, JsonDataObjects, DPM.Core.Types, DPM.Core.Dependency.Version, DPM.Core.Spec.Interfaces, DPM.Core.Package.Interfaces; type TDPMPackageSearchResultItem = class(TInterfacedObject, IPackageSearchResultItem) private FIsError : boo...
//////////////////////////////////////////////////////////////////////////// // PaxCompiler // Site: http://www.paxcompiler.com // Author: Alexander Baranovsky (paxscript@gmail.com) // ======================================================================== // Copyright (c) Alexander Baranovsky, 2006-2014. All rig...
unit TestMVCBrModel; { Delphi DUnit Test Case ---------------------- This unit contains a skeleton test case class generated by the Test Case Wizard. Modify the generated code to correctly setup and call the methods from the unit being tested. } interface uses TestFramework, System.Classes, System.Gener...
unit UDVersion; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, UCrpe32, ComCtrls; type TCrpeVersionDlg = class(TForm) btnOk: TButton; pnlVersion: TPanel; gbCrpe: TGroupBox; lblDLL: TLabel; lblEngine: TLabel; lblFileVersion: T...
(* Category: SWAG Title: POINTERS, LINKING, LISTS, TREES Original name: 0009.PAS Description: Generic Linked List Author: SWAG SUPPORT TEAM Date: 06-22-93 09:20 *) { UNIT LinkList; } {------------------------------------------------- Generic linked list object - ------------------------...
unit DPM.IDE.Utils; interface uses System.classes, Vcl.Controls; // Find a control that is a child of Application.Mainform or it's children function FindIDEControl(const className : string; const controlName : string) : TControl; implementation uses System.SysUtils, Vcl.Forms; function DoFindIDEControl(c...
unit ufrmDialogBeginningBalancePOS; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMasterDialog, ExtCtrls, StdCtrls, System.Actions, Vcl.ActnList, ufraFooterDialog3Button, cxGraphics, cxControls, cxLookAndFeels, Data.DB, cxLookAndFeelPainters, cxContaine...
unit xmltvdb.DateUtils; interface //uses // System.SysUtils ,System.DateUtils ,Soap.XSBuiltIns; type TUTCDateTime = Record strict private var FDT : TDateTime; private function GetAsUTC : TDateTime; function GetAsLocal : TDateTime; function GetAsISO8601String : String; ...
unit orcoredll_unit1; interface // unit's public functions. use "C-style" stdcall stack // for better compatibility to other applications. function WideStringToAnsiString(const pw: PWideChar; const buf: PAnsiChar; var lenBuf: Cardinal): boolean; stdcall; function URLDecodeUTF8(const s: PAnsiChar; const buf: PWi...
unit SDL_Tools; {:< Basic tools to make SDL Graphics programming easier} { Simple GUI is based upon Lachlans GUI (LK GUI). LK GUI's original source code remark is shown below. Written permission to re-license the library has been granted to me by the original author. } {************************************...
unit UItensLeituraGasVO; interface uses Atributos, Classes, Constantes, Generics.Collections, SysUtils, UGenericVO, UUnidadeVO; type [TEntity] [TTable('ItensLeituraGas')] TItensLeituraGasVO = class(TGenericVO) private FidItensLeituraGas : Integer; FidLeituraGas : Integer; FidUnidade : Integer; ...
unit docs.admin; interface uses Horse, Horse.GBSwagger; procedure registry(); implementation uses schemas.classes; procedure registry(); begin Swagger .Path('administrador') .Tag('Administradores') .GET('listar administradores', 'listar administradores') .AddParamHeader('Au...
unit ThDataConnectionProperty; interface uses Classes, DesignIntf, DesignEditors, ThDataConnection; type TThConnnectionStringPropertyEditor = class(TStringProperty) public function GetAttributes: TPropertyAttributes; override; procedure GetValues(Proc: TGetStrProc); override; procedure Edit; o...
unit u_PosSorter; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AdvUtil, Vcl.Grids, AdvObj, BaseGrid, AdvGrid, Vcl.StdCtrls, Vcl.ExtCtrls, o_GridDataList, o_GridData; type TForm1 = class(TForm) Panel1:...
unit Windows.Services; interface uses Xplat.Services, FMX.Platform.Win, System.UITypes, FMX.Types; type TWinPleaseWait = class(TInterfacedObject, IPleaseWaitService) private FCurrent: TCursor; FService: IFMXCursorService; private function GetService: IFMXCursorService; proper...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Math, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, JNI, JNIUtils; type TForm1 = class(TForm) btn1: TButton; procedure btn1Click(Sender: TObject); proced...
Program IdadesFuncao; var vetor: array[1..20] of integer; idade: integer; i: integer; // Armazena Idades no Vetor procedure ArmazenaIdades (idade, i: integer); Begin vetor[i] := idade; End; //Calcula Média procedure CalculaMedia; var soma: integer; k: integer; media: real; Begin...
unit uMsgBox; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; const vbOKOnly = 0; // Display OK button only. vbOKCancel = 1; // Display OK and Cancel buttons. vbAbortRetryIgnore = 2; // Display Abort, Retry, and Ignore butto...
unit DesignController; interface uses Windows, Messages, SysUtils, Classes, Controls, Graphics, Forms, ExtCtrls, DesignHandles; type TDesignController = class(TComponent) private FActive: Boolean; FContainer: TWinControl; FHandles: TDesignHandles; FHintWin: THintWindow; FMouseIsDown: Boo...
unit uGraphicUtils; interface uses System.Math, System.Classes, System.SysUtils, Winapi.Windows, Winapi.Messages, Vcl.Graphics, Vcl.Imaging.Jpeg, Vcl.Forms, Vcl.Imaging.pngimage, Dmitry.Graphics.Types, Dmitry.Utils.Files, GIFImage, uRAWImage, uBitmapUtils,...
unit ProxyUnit; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ExtCtrls, Spin, WinInet, IniFiles, UrlMon; type TProxySettings = class(TForm) OKBtn: TButton; CancelBtn: TButton; Proxy: TGroupBox; UseProxy: TCheckBox; ProxyServer: TLabeledEdit; Lab...
// // Generated by JavaToPas v1.4 20140515 - 182218 //////////////////////////////////////////////////////////////////////////////// unit android.test.ActivityUnitTestCase; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, android.app.Activity, android.content.Intent, Androidapi.JNI.os, andro...
// // Generated by JavaToPas v1.5 20150831 - 132251 //////////////////////////////////////////////////////////////////////////////// unit javax.net.ssl.SSLEngine; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, javax.net.ssl.SSLEngineResult_HandshakeStatus, javax.net.ssl.SSLSession, javax.net...
unit uCompany; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, uTSBaseClass; type TCompany = class(TSBaseClass) private FID: Integer; FKode: string; FNama: string; function FLoadFromDB( aSQL : String ): Boolean; public constructor Creat...
unit MainUnit; //*************************************************************************************** // XMVector Sample by Frank Luna (C) 2015 All Rights Reserved. //*************************************************************************************** // Pascal Translation by Sonnleitner Norbert (C) 2018 // Codi...
unit sgDriver; //============================================================================= // sgDriver.pas //============================================================================= // // The Driver is responsible for acting as the interface between driver // code and swingame code. Swingame code uses the Driv...
unit Odontologia.Modelo.Entidades.Usuario; interface uses SimpleAttributes; type [Tabela('DUSUARIO')] TDUSUARIO = class private FUSU_CODIGO: Integer; FUSU_LOGIN: String; FUSU_NIVEL: Integer; FUSU_CLAVE: String; FUSU_FOTO: String; FUSU_COD_EMPRESA: Integer; FUSU_COD_ESTADO: Intege...
unit SQLiteClientDataSet; interface uses SysUtils, Classes, DB, DBClient, SQLiteDataSetProvider, SQLite3; type {$IFDEF VER180} PByte = PAnsiChar; {$ENDIF} PRecordNode = ^TRecordNode; TRecordNode = record Id: Int64; BdId: Integer; Next: PRecordNode; Prior: PRecordNode; end; PRecordBuf...
{$I-,Q-,R-,S-} {Problema 12: Rompecabezas Comestible [Rob Kolstad, 2006] Bessie está haciendo una dieta en la cual ella no puede comer más de C (10 <= C <= 35,000) calorías por día. El Granjero Juan está molestándola poniéndole B (1 <= B <= 21) baldes de comida, cada uno de los cuales con algún número (potencialmen...
unit uWizImportPerson; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uParentWizImp, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB, cxDBData, DBClient, ImgList, StdCtrls, ExtCtrls, Grids, cxGridLevel, cxClasses, cxControls, cxGridCustomVie...
//============================================================================= // sgText.pas //============================================================================= // // The Font unit relates to writing text to the screen, // and to loading and styling the associated fonts. // //==============================...
{*****************************************************} { CRUD orientado a objetos, com banco de dados Oracle } { Reinaldo Silveira - reinaldopsilveira@gmail.com } { set/2019 } {*****************************************************} unit U_Conexao; interface uses Syst...
unit uPctPetRegistryFch; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uParentButtonFch, mrConfigFch, DB, XiButton, ExtCtrls, cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit, mrDBEdit, cxMaskEdit, cxDropDownEdit, cxLookupEdit, cxDBLookupEdit, cxDBLo...
unit Unit_Setup_Consts; interface resourcestring TFZ_SETUP_Caption = 'Властивості системи'; TFZ_SETUP_LabelShortName_Caption = 'Коротка назва:'; TFZ_SETUP_LabelFullName_Caption = 'Повна назва:'; TFZ_SETUP_LabelOkpo_Caption ...
unit uEditForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, cxSpinEdit, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxLookAndFeelPainters, cxButtons, ConstSumsDM,ZTypes,ZMessages, Unit_ZGlobal_Consts, FIBDatabase, ...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [FISCAL_PARAMETRO] The MIT License ...
unit ibSHProposalHintRetriever; interface uses Classes, SysUtils, SHDesignIntf, ibSHDesignIntf, ibSHSQLs, ibSHValues, ibSHConsts, ibSHMessages, pSHIntf; type TibBTProposalHintRetriever = class(TSHComponent, IpSHProposalHintRetriever, ISHDemon) private FCodeNormalizer: IibSHCodeNorma...
PROGRAM DatingService (INPUT,OUTPUT,Datafile); {********************************************************************** Program Assignment 1 for Pascal 187 Author: Scott Janousek Duedate: Mon Feb 22, 1993 Username: [ScottJ] Instructor: Cris Pedregal Program Description: This program is software d...
unit dt_Type_Doc_Form; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Db, FIBDataSet, pFIBDataSet, Buttons, ToolWin, ComCtrls, Grids, DBGrids, FIBQuery, pFIBQuery, pFIBStoredProc, tagBaseTypes, Menus, cxGridCustomTableView, cxGridTableView, cxGridDBTableView, ...
unit uniteProtocole; interface uses SysUtils, uniteReponse, uniteRequete, uniteConsigneur; //Traite les requêtes HTTP et fournit une réponse appropriée selon l'état du serveur type Protocole = class private //Le répertoire local qui contient tous les sites web de notre serveur reperto...
{*****************************************************************} { } { by Jose Benedito - josebenedito@gmail.com } { www.jbsolucoes.net } {***********************************************...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit ufrmDialogCostCenter; 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, uInterface, uModCostCenter, uTSC...
{ @abstract(form for use with ) @author(Aaron Hochwimer <aaron@graphic-edge.co.nz>) @created(June 27, 2003) @lastmod(June 29, 2003) This unit provides the TformGEImporter - which is used in conjunction with the TGEImportFile component. } unit frmImport; interface uses Windows,Messages, System.SysUti...
unit OpenCV.ObjDetect; interface uses Winapi.Windows, OpenCV.Lib, OpenCV.Core; const CV_HAAR_FEATURE_MAX = 3; const CV_HAAR_DO_CANNY_PRUNING = 1; CV_HAAR_SCALE_IMAGE = 2; CV_HAAR_FIND_BIGGEST_OBJECT = 4; CV_HAAR_DO_ROUGH_SEARCH = 8; type TSumType = integer; pSumType = ^TSumType; Tsq...
unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Layouts, FMX.ListBox, FMX.TreeView, FMX.StdCtrls, FMX.Controls.Presentation, FMX.TabControl; type TForm1 = class(TForm) Button1: TButton; Lis...
unit L_SpecialFolders; //////////////////////////////////////////////////////////////////////////////////////////////////// interface {$REGION 'PVCS-header'} (* © DGMR raadgevende ingenieurs BV * * Created by: MCO on 31-01-2012 * * $Header: $ * * Description: TSpecialFolders is een class waar het pad van a...
unit UnitOpenGLImage; {$ifdef fpc} {$mode delphi} {$ifdef cpui386} {$define cpu386} {$endif} {$ifdef cpu386} {$asmmode intel} {$endif} {$ifdef cpuamd64} {$asmmode intel} {$endif} {$ifdef fpc_little_endian} {$define little_endian} {$else} {$ifdef fpc_big_endian} {$define big_endian}...
unit MyXMLParser; interface uses Classes, SysUtils; type TSetOfChar = Set of ANSIChar; TAttr = record Name: String; Value: String; Compare: Char; qtype: boolean; end; TAttrs = array of TAttr; TAttrList = class(TObject) private FAttrs: TAttrs; FTag: Integ...
// MRQZZZ 2003 // Simple fire/smoke effect class // (surely needs many improvements..) unit UFireFxBase; interface Uses Windows, Classes, SysUtils, JPeg, GLScene, GLVectorFileObjects, GLObjects, GLSound, GLTexture, GLVectorGeometry, GLVectorTypes, GLMaterial; Type TFireFxSprite = class(TG...
{*********************************************************} { } { WZDUmp Mysql Objects } { WZeos Backup component } { } { Origin...
unit SDL2_SimpleGUI; {:< The Library Unit} { Simple GUI is a generic SDL2/Pascal GUI library by Matthias J. Molski, get more infos here: https://github.com/Free-Pascal-meets-SDL-Website/SimpleGUI. It is based upon LK GUI by Lachlan Kingsford for SDL 1.2/Free Pascal, get it here: https://sourceforge.net/proj...
unit feli_user; {$mode objfpc} interface uses feli_collection, feli_document, feli_user_event, feli_event, fpjson; type FeliUserKeys = class public const username = 'username'; displayName = 'display_name'; salt = 'salt'; ...
unit SyntaxU; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, Add, Registry, ScktComp, RichEdit, DCPockets; type TStyle = record Color: TColor; Styles: TFontStyles; end; TSkobki = record First, La...
unit uDadosBasicos; {********************************************************************** ** unit uDadosBasicos ** ** ** ** UNIT DESTINADA A MANIPULAR AS INFORMAÇÕES NO CADASTRO DE PACIENTE ** ** REFERENT...
{ just adds a pop up menu with a 'paste' item to TPasswordRichEdit} unit OTFEFreeOTFE_PasswordRichEdit; interface uses Classes, Menus, PasswordRichEdit; type TOTFEFreeOTFE_PasswordRichEdit = class (TPasswordRichEdit) private FInternalPopupMenu: TPopupMenu; protected procedure SetPop...
{* FtermSSH : An SSH implementation in Delphi for FTerm2 by kxn@cic.tsinghua.edu.cn Cryptograpical code from OpenSSL Project *} unit sshmac; interface uses sshhash, sshsha; type TSSH2MAC = class protected function GetMacSize: integer; virtual; function GetName: string; virtual; ...
unit UserScript; var i: Integer; sortedList, unsortedList: TStringList; // function ripped from mator's library function HexFormID(e: IInterface): String; var s: String; begin s := GetElementEditValues(e, 'Record Header\FormID'); if SameText(Signature(e), '') then Result := '00000000' ...
unit uSelectParams; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CheckLst, uFControl, uLabeledFControl, uSpravControl, ActnList, Buttons, DB, FIBDataSet, pFIBDataSet, uCommonSp, uMemoControl, uInvisControl, uCharControl, qFTools; type TfmSelec...
// Wheberson Hudson Migueletti, em Brasília, 03 de abril de 1999. // Codificação/Descodificação de arquivos ".cur" e ".ico" (Windows CUR/ICO). // Captura a primeira (caso tenha mais de 1) imagem e a primeira máscara. unit DelphiCursorIcon; interface uses Windows, SysUtils, Classes, Graphics, DelphiImage; type PCu...
unit TriangleFiller; interface uses BasicMathsTypes, BasicDataTypes, Vector3fSet, BasicFunctions, math3D, Windows, Graphics, Abstract2DImageData; type CTriangleFiller = class private // Pixel Utils function IsP1HigherThanP2(_P1, _P2 : TVector2f): boolean; procedure ...
unit pSHConsts; interface const SCaptionButtonOK = 'OK'; SCaptionButtonCancel = 'Cancel'; SCaptionButtonHelp = 'Help'; SAskReplaceText = 'Replace this occurence of "%s"?'; SNoMoreStringFound = 'No more string ''%s'' found'; SLineNumberOutOfRange = 'Line number must be between 1 and %d'; // S...
unit StopWatch; interface // Adapted from // http://delphi.about.com/od/windowsshellapi/a/delphi-high-performance-timer-tstopwatch.htm uses Windows, SysUtils, DateUtils; type TStopWatch = class private fFrequency : TLargeInteger; fIsRunning: boolean; fIsHighResoluti...
unit MyMsgBox; interface uses Windows; function MbIserIcon_Ok(hWnd : HWND; Text, Caption : String; IDIcon : DWORD) : BOOL; function MbIserIcon_YesNo(hWnd : HWND; Text, Caption : String; IDIcon : DWORD) : Integer; function MbIserIcon_Error(hWnd : HWND; Text, Caption : String; IDIcon : DWORD) : BOOL; implementation...
unit ccnUtils; interface uses Windows, Classes, DB, SysUtils, DBCtrls, Uni, InterBaseUniProvider, IdHashMessageDigest, idHash, Registry, TLHelp32, IdSMTP, IdMessage, IdBaseComponent, IdComponent, IniFiles; function MD5(const text_str : string) : string; function GetRegistryValue(keyName...
unit uDDStex; interface uses System.Classes, System.SysUtils, GLCompositeImage, GLFileDDS, GLMaterial, GLTexture; function libmat(AMatLib: TGLMaterialLibrary; AMatName: string): TGLLibMaterial; function DDStex(AMatLib: TGLMaterialLibrary; ATexName, AFileName: string; ASecondTexName: str...
unit ModelLib; interface uses Classes; type TService = class(TObject) sercieName:string; key:string; value:string; treeKey:string;//父类ID end; TServiceAdvance = class(TPersistent) private function GetItems(Key: string): TService; function GetC...
unit VirtualUnicodeControls; // Version 1.3.0 // // 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/ // // Alternatively, yo...
unit E_UtilsGeo; //------------------------------------------------------------------------------ // Модуль гео-подпрограмм //------------------------------------------------------------------------------ // Содержит процедуры и функции для работы с гео-координатами (в широком смысле) // // *** аргументы указываются в...
unit BasicMathsTypes; interface type TVector4f = record X, Y, Z, W : single; end; PVector4f = ^TVector4f; TAVector4f = array of TVector4f; PAVector4f = ^TAVector4f; TVector3f = record X, Y, Z : single; end; PVector3f = ^TVector3f; TAVector3f = array of TVect...
{..............................................................................} { Summary Clear Inside - Delete objects within an area defined by user. } { Confirm before deleting. Use on a schematic document. } { Copyright (c) 2003 by Altium Limited ...
unit OilSlickControl; interface uses Math, TypeControl, CircularUnitControl; type TOilSlick = class(TCircularUnit) private FRemainingLifetime: LongInt; function GetRemainingLifetime: LongInt; public property RemainingLifetime: LongInt read GetRemainingLifetime; constructor Create(const AId: ...
program part; {$IFDEF FPC}{$mode objfpc}{$H+}{$ENDIF} {$H+} {$D-,O+,Q-,R-,S-} {$include isgui.inc} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, dialogsx, define_types,upart,nii_core; const kDefaultBins = 20; procedure WriteHelp; var E, B: string; b...
{$I Directives.inc} unit UDirChangeNotifier; interface uses Windows, SysUtils, Classes; type TDirChangeNotifier = class; { Liste des notifications possibles } TDirChangeNotification = (dcnFileAdd, dcnFileRemove, dcnRenameFile, dcnRenameDir, dcnModified, dcnLastWrite, dcnLastAccess, dcn...
unit Empresa; interface uses System.Classes, System.Generics.Collections, // Aurelius.Mapping.Attributes, Aurelius.Types.Blob, Aurelius.Types.Nullable, Aurelius.Types.Proxy, // Contador, EmpresaEndereco; type [Entity] [Table('EMPRESA')] [Id('Id', TIdGenerator.IdentityOrSequence)] TEmpresa = class ...
unit Objekt.DHLLabelDataList; interface uses System.SysUtils, System.Classes, Objekt.DHLLabelData, Objekt.DHLBaseList, System.Contnrs; type TDHLLabelDataList = class(TDHLBaseList) private function getDHLLabelData(Index: Integer): TDHLLabelData; public constructor Create; override; destructor De...
unit BaseDAO; interface uses Classes, SqlExpr, DBXCommon; type {$MethodInfo ON} TBaseDAO = class(TPersistent) protected FComm: TDBXCommand; procedure PrepareCommand; end; implementation uses uSCPrincipal; { TBaseDAO } { TBaseDAO } procedure TBaseDAO.PrepareCommand; begin if not(Assigned(FCo...
unit Server.Repository; interface uses System.SysUtils, System.Classes, Data.DB, MemDS, DBAccess, Uni, RDQuery, RDSQLConnection, System.Generics.Collections, System.JSON, Spring.Container.Common, Spring.Collections, Spring.Logging, Common.Entities.Player, Common.Entities.Card, Common.Entities.Round, Common.E...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2011 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of Delphi, C++Builder or RAD Studio (Embarcadero Products). // This software is considered a Redis...