text
stringlengths
14
6.51M
unit entidade.Cliente.Endereco; interface uses orm.attributes, orm.attributes.types; type [Table('CLIENTE_ENDERECO')] TClienteEndereco = Class Private [Column('ID',[ftPrimaryKey,ftAuto])] FID : Integer; [Column('DATAHORA',[ftAuto,ftReadOnly])] FDataHora : TDateTime; ...
unit Server.Models.Cadastros.Unidades; 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('unidades...
{ 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 UMixer; Interface uses MMSystem ,Windows // zeroMemory ; type TMixerLineSourceType = (lsDigital, lsLine, lsMicrophone, lsCompactDisk, lsTelephone, lsWaveOut, lsAuxiliary, lsAnalog, lsLast); function SetMixerLineSourceMute(AMixerLineSourceType: TMixerLineSourceTyp...
(* @created(2019-12-27) @author(J.Delauney (BeanzMaster)) Historique : @br @unorderedList( @item(27/12/2019 : Creation ) ) --------------------------------------------------------------------------------@br ------------------------------------------------------------------------------ Description : Simulation d...
unit Log; interface type HCkLog = Pointer; HCkByteData = Pointer; HCkString = Pointer; function CkLog_Create: HCkLog; stdcall; procedure CkLog_Dispose(handle: HCkLog); stdcall; procedure CkLog_getDebugLogFilePath(objHandle: HCkLog; outPropVal: HCkString); stdcall; procedure CkLog_putDebugLogFilePath(objHandle: HC...
{ Collection of routines that convert floating point numbers to strings. * All the conversion is actually done in the low level routine STRING_F_FP. * The remaining routines are convenient wrappers. } module string_f_fp; define string_f_fp_free; define string_f_fp_fixed; define string_f_fp_ftn; define string_f_fp...
// Copyright 2018 by John Kouraklis and Contributors. All Rights Reserved. // // 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.org/licenses/LICENSE-2.0 // // Unle...
(* @abstract(Contient un objet dont les performances d'acces et d'affichage ont étés optimisés pour un affichage en 32bits avec prise en charge de la transparence en mode RGBA ou BGRA suivant l'OS.) ------------------------------------------------------------------------------------------------------------- ...
unit teste.lib.util; interface uses system.sysutils, system.classes ; type Tutil = class private public class function isvalInteger(value: string): Boolean; class function isvalFloat(value: string): Boolean; class function SoNumeros(Text: string): string; end; implementation { Tutil } ...
unit uSysUser; interface uses SysUtils, DB, ADODB, Classes, uSysDataBase; type TSysUser = class(TPersistent) private { Private declarations } FUserSysId: string; FUserCode: string; FUserName: string; FUserLoginName: string; constructor Create; virtual; destructor Destroy; override...
{==============================================================================| | Project : Ararat Synapse | 003.012.009 | |==============================================================================| | Content: HTTP client ...
// Copyright 2018 by John Kouraklis and Contributors. All Rights Reserved. // // 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.org/licenses/LICENSE-2.0 // // Unle...
unit sGauge; {$I sDefs.inc} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs{$IFNDEF DELPHI5}, Types{$ENDIF}, sConst, sGraphUtils, sVclUtils, acntUtils, sCommonData, ExtCtrls; type TsGaugeKind = (gkText, gkHorizontalBar, gkVerticalBar, gkPie, gkNeedle); TsGauge = class...
{*******************************************************} { } { NTS Aero UI Library } { Created by GooD-NTS ( good.nts@gmail.com ) } { http://ntscorp.ru/ Copyright(c) 2011 } { License: Mozilla Pu...
unit frmSelectionlistunit; {$MODE Delphi} interface uses LCLIntf, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, LResources; type { TfrmSelectionList } TfrmSelectionList = class(TForm) ListBox1: TListBox; Panel1: TPanel; Button1: TButton; ...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [NFSE_CABECALHO] The MIT License ...
unit uLog; interface uses forms, sysutils, Windows; type TLogWriter = class class procedure LogException(Sender: TObject; E: Exception); class procedure Log(const AStr: String); end; procedure LogMessage(text: string); implementation uses dialogs, classes; var fileName: string; f: TextFile; var ...
Unit AdvStringStreams; { 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 th...
unit ClosureManagerFrm; { Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.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 ...
unit unitSelectZAkaz; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Grids, DBGrids, ExtCtrls,Ibquery, Menus; type TfrmSelectZakaz = class(TForm) pnlMain: TPanel; gridZakazi: TDBGrid; pnlTop: TPanel; Label1: TLa...
program circles; uses graph; var gd, gm: integer; x, y, r, count, change, dir: integer; procedure process(change, dir: integer; var x, y: integer); begin if dir = 0 then y := y - change else if dir = 1 then y := y + change else if dir = 2 then x := x - change else if dir = 3 then x := x + change ...
unit RRManagerPeriodNavigatorFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, LicenseZone, ImgList, ActnList, ComCtrls, StdCtrls, Mask, ToolEdit, ToolWin; type TfrmLicensePeriod = class(TFrame) ToolBar1: TToolBar; lblPeriod: TLabel; lblStar...
unit okcore.pas; {components for floating 'cancel' box and running processes.} (* Permission is hereby granted, on 24-Mar-2003, free of charge, to any person obtaining a copy of this file (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, ...
unit CustomPath; {$mode objfpc}{$H+} {$ModeSwitch advancedrecords} interface uses Classes, SysUtils; type EInvalidPathException = class(Exception); EPathNotRelativeException = class(Exception); { TCustomPath } generic TCustomPath<Params> = record public type TPath = specialize TCustomPath<Params>;...
unit Vector2iFunctionalTest; {$mode objfpc}{$H+} {$CODEALIGN LOCALMIN=16} interface uses Classes, SysUtils, fpcunit, testregistry, BaseTestCase, BZVectorMath; type { TVector2fFunctionalTest } TVector2iFunctionalTest = class(TVectorBaseTestCase) private at2i1, at2i2, at2i3, at2i4: TBZVector2i; ...
unit TNT_GUI; // Gestion du GUI // -------------- // Moteur de GUI (Graphical User Interface) interface uses SDL, TNT_Texture, TNT_HUD, TNT_Font; type TMethod = procedure of object; TColor = record r, g, b, a: Single; end; TPic = record FileName: String; Texture: TTextur...
unit AsyncIO.StreamReader; interface uses System.SysUtils, System.Classes; type StreamReader = interface {$REGION 'Property accessors'} function GetEncoding: TEncoding; function GetStream: TStream; function GetOwnsSourceStream: boolean; function GetEndOfStream: boolean; {$ENDREGION} ...
(* @created(2019-12-27) @author(J.Delauney (BeanzMaster)) Historique : @br @unorderedList( @item(27/12/2019 : Creation ) ) --------------------------------------------------------------------------------@br ------------------------------------------------------------------------------ Description : Simulation d...
// Copyright 2018 The Casbin Authors. All Rights Reserved. // // 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.org/licenses/LICENSE-2.0 // // Unless required by a...
(*====< BZSoundFileMP3.pas >===================================================@br @created(2016-11-16) @author(J.Delauney (BeanzMaster)) Historique : @br @unorderedList( @item(09/11/2017 : Creation ) ) --------------------------------------------------------------------------------@br @bold(Descripti...
unit FileSystemUtils; interface uses ShellAPI, Graphics, Windows, SysUtils, Dialogs, Classes, IniFiles, Registry; type TDirectoryContents = Array of String[255]; function GetSystemDir(): TFileName; function GetExecutableSmallIcon(const filePath: String):TIcon; function GetExecutableLargeIcon(const fil...
{------------------------------------ 功能说明:服务信息接口 创建日期:2010/04/21 作者:WZW 版权:WZW -------------------------------------} unit SvcInfoIntf; {$weakpackageunit on} interface type ISvcInfo = interface ['{A4AC764B-1306-4FC3-9A0F-524B25C56992}'] function GetModuleName: String; function GetTitle: String;...
Unit AdvDispatchers; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} { 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: * Redistr...
{******************************************************************************* 作者: dmzn 2008-9-3 描述: 编辑特定方式的数据 *******************************************************************************} unit UFormDataEdit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,...
unit ZhPubUtils; interface uses Windows, Classes, ComCtrls, SysUtils, ComStrs, TlHelp32, ZhFileTreeImpl; procedure StreamWriteInteger(Stream: TStream; Value: Integer); function StreamReadInteger(Stream: TStream): Integer; procedure StreamWriteByte(Stream: TStream; Value: Byte); function StreamRea...
unit TestOvcDbSimpleField; interface uses Testframework; type TTestOvcDbSimpleField = class(TTestCase) published procedure TestStringField; procedure TestText; end; implementation uses DB, DBClient, Forms, ovcdbsf; { TTestOvcDbSimpleField } procedure TTestOvcDbSimpleField.TestStringField; var ...
unit View.Vcl.Board; interface uses System.UITypes, Vcl.ExtCtrls, Model.Board, View.Board; type TBoardView = class(TInterfacedObject, IBoardView) private FPaintBox: TPaintBox; FBoard: TBoard; function GetColor(value: Integer): TColor; public constructor CreateAndInit(APaintBox: TPaintBo...
unit ServersList; interface uses Windows, Messages, AvL, avlUtils, avlEventBus, Utils; type TOnServerChange = procedure(Sender: TObject; PrevServer: TServerInfo) of object; TServersList = class(TTabControl) private FOnChange: TOnServerChange; FServer: TServerInfo; FServers: TList; ...
//========================================================================================== // FMOD Main header file. Copyright (c), FireLight Multimedia 1999-2001. //========================================================================================== unit FMOD; interface uses Windows; //=======...
unit PascalCoin.RPC.Exceptions; interface uses System.SysUtils; Type ERPCException = Class(Exception) private FStatusCode: Integer; public constructor Create(AStatusCode: Integer; AMessage: string); property StatusCode: Integer read FStatusCode write FStatusCode; End; ERPCExceptionClass = Cla...
unit Phys_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 librar...
program w2_1_array_record; uses crt; type // membuat record rec_buku = record kode_buku : string; judul_buku : string; jml_halaman : integer; harga : double; end; // membuat array dari record arr_buku = array [1 .. 5] of rec_buku; var buku,bayangan : arr_buku; ...
{ Wrappers around GEOS library structures. } unit GeosGeometry; interface uses System.Classes, System.Contnrs, Math, Geos_c, CommonGeometry; type { TODO -oDVF: - Exception handling - Add: Clone, GetSequence/GetVertices (?) } { OGC Geometry Root of wrappers' family. If owns the wrap...
{ License: wtfpl; see /copying or the Internet } { Provides a node class for creating abstract syntax trees } unit as_tree; {$mode objfpc}{$H+} interface uses Classes, SysUtils, contnrs; type ksToken = (tk_invalid, tk_nop, tk_lParen, tk_rParen, tk_identifier, tk_variable, tk_value, tk_function, t...
unit DW.Androidapi.JNI.Util; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...
(* zlibpas -- Pascal interface to the zlib data compression library * * Copyright (C) 2003 Cosmin Truta. * Derived from original sources by Bob Dellaca. * For conditions of distribution and use, see copyright notice in readme.txt *) unit zlibpas; interface const ZLIB_VERSION = '1.2.13'; ZLIB_VERNUM = $12a0...
unit Simhh; { ================================================================== WinWCP - Voltage-activated current simulation (c) J. Dempster 1996-99 14/7/99 V3.0 .... Converted to 32 bit 4/9/99 ... Display grid added 30/10/99 ... NewFile method added 24/1/99 .... Inactivation kinetics fixed 25/2/02 .... D...
unit CreateTable; interface uses System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CreateObjectDialog, DB, MemDS, DBAccess, Ora, Vcl.Buttons, Vcl.StdCtrls, Vcl.DBCtrls, BCControls.Edit, BCDialogs.Dlg, Vcl.ImgList, SynEditHighlighter, SynHighlighterSQL, ActnList, ComCtrl...
unit uUser; interface uses uModApp, uUnit, System.Generics.Collections; type TModUser = class; TModUserUnit = class(TModApp) private FUSER: TModUser; FUSERUNIT: TModUnit; public class function GetTableName: String; override; published [AttributeOfHeader('UserID')] property USER: TModU...
unit xxHash32NormalTest; interface uses DUnitX.TestFramework, System.SysUtils, System.Classes, Vcl.Forms, xxHash32; type [TestFixture] TxxHash32NormalTest = class(TObject) protected Const DictionaryPath = 'Res\xxHash32_Dict.txt'; class var FStringList: TStringList; public [Setup] ...
unit sGroupBox; {$I sDefs.inc} {.$DEFINE LOGGED} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, {$IFDEF TNTUNICODE}TntGraphics, TntControls, TntActnList, TntClasses, TntSysUtils, TntForms, TntStdCtrls,{$ENDIF} {$IFDEF DELPHI7UP}Themes, {$ENDIF} StdCtrls, sCommonData, ...
{ p_33_1 - Программа для исследования форматов вывода вещественных чисел } program p_33_1; begin Writeln(10/3); { без спецификаторов} Writeln(10/3 : 12); { указывается только ширина поля} Writeln(10/3 : 15:0); { только целая часть} Writeln(10/3 : 15:2); { два знака после точки} Wr...
{ ID: ndchiph1 PROG: fence9 LANG: PASCAL } uses math; //const //type var fi,fo: text; n,m,p,res: longint; procedure input; begin readln(fi,n,m,p); end; function npoint(po: longint): longint; var i,t,npo: longint; begin npo:= 0; for i:= 1 to m-1 do begin t:= po * i div ...
{ ******************************************************************************* Title: T2Ti ERP Description: Unit de controle Base - Servidor. 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 document...
unit ValueSetEditorRegisterServerForm; { Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.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: * Redistribut...
unit unProduto; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, unPadrao, Menus, DB, ActnList, StdCtrls, Buttons, ExtCtrls, ComCtrls, DBClient, Provider, SqlExpr, ConstPadrao, Mask, DBCtrls, FMTBcd, System.Actions, uniButton, uniBitBtn, uniSpeedButton, un...
unit uCameraCap; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, ScktComp, ComCtrls,Jpeg,uSound; type TfCameraCap = class(TForm) Panel1: TPanel; btnStart: TSpeedButton; btnSinglePic: TSpeedButton; edtQuality: TEdit;...
unit BaseComponent; interface uses BaseObjects, Contnrs, ExceptionExt; type TSetting = class private FValue: OleVariant; FName: string; public property Name: string read FName write FName; property Value: OleVariant read FValue write FValue; end; TSettingsObject = class(TObjectList) pr...
unit FormMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Samples.Spin, Vcl.ExtCtrls, Vcl.OleCtrls, SHDocVw, ActiveX, Vcl.Menus; type TfrmMain = class(TForm) Browser: TWebBrowser; ...
unit AviCaptura; interface uses Windows, MMSystem, Messages; const // ------------------------------------------------------------------ // Window Messages WM_CAP... which can be sent to an AVICAP window // ------------------------------------------------------------------ // Defines start of the messag...
unit Telefone; interface type TTelefone = class private id: Integer; idFornecedor: Integer; telefone: String; public function getId(): Integer; function getIdFornecedor(): Integer; function getTelefone(): String; procedure setId(AValue: Integer); procedure setIdFornecedor(AValue...
unit mGetSearchResPics; interface uses API_MVC, eExtLink, System.SysUtils; type TModelGetSearchResPics = class(TModelAbstract) public inSearchArr: TExtMovieSearchArr; outPicData: TBytes; outSearchResID: Integer; procedure Start; override; end; implementation uses API_HTTP, API_Types...
unit qconverter_csv; interface uses qstring, qdb, qvalue, fmtbcd, classes, sysutils, db; type TQTextReformatEvent = procedure(ASender: TQConverter; AField: TQFieldDef; var AText: QStringW) of object; TQGetTextFieldTypeEvent = procedure(ASender: TQConverter; AField: QStringW; var AType: TFieldType; var AS...
unit RegularExpressions; { .Net-style Regular Expression Library for use with Delphi 2009 or later. Copyright (C) 2009 by Erik van Bilsen. Email: erik@bilsen.com Website: www.bilsen.com/regularexpressions License in plain English: 1. I don't promise that this software works. (But if you find any bugs, pleas...
unit fModeloOrcamento; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, fBasicoCrud, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinBlack, dxSkinscxPCPainter, dxBarBuiltInMen...
program LexTranslator; { Let's start translate! } uses sysutils; var inputName, outputName: string; // Имена входного и выходного файлов input, output: text; // Входной и выходный файлы tempChar: Char; // Буферный симовл tempString: string; //Буферная строка StringNumber: Integer; // Номер строки divider: str...
unit LuaSettings; {$mode delphi} interface uses Classes, SysUtils, lua, lauxlib, lualib, registry; procedure initializeLuaSettings; implementation uses luahandler, LuaClass, LuaObject, LuaByteTable, mainunit2; type TLuaSettings=class //A wrapper for the registry object to make access to th...
unit UFastKeys; interface uses Classes, SysUtils, UUtilsJSON; type TFastKeyMergeOption = (moAdd, moUpdate, moIncrement, moDelete); TFastKeyMergeOptions = set of TFastKeyMergeOption; TFastKeyValuesBase = class(TJSONPersistent) public destructor Destroy; override; procedure Clear; virtual; abstract;...
unit uCompromisso; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.WinXPickers, Vcl.Buttons; type TfrmCompromisso = class(TForm) lblTitulo: TLabel; edtTitulo: TEdit; ...
unit uRegras; interface Uses MinhasClasses, uSQLERP,Comandos,Classes,SysUtils, Math,DB,pFIBClientDataSet, StrUtils; Type TParcela = record NumParcela: Integer; Valor: Currency; end; Tparcelas = array of Tparcela; TRegreasProdutos = class class Function CalculaPrecoVenda(Custo, M...
unit ClientApplicationVerifier; { Copyright (c) 2017+, Health Intersections Pty Ltd (http://www.healthintersections.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 ...
unit LQMessage; interface type TLiveQueryMessage = record Query : string; Error : Boolean; TextMessage : string; Rows : string; RemoteAddr : string; end; TLiveQueryEntry = record ID : Integer; TimeStamp : TDateTime; Msg : TLiveQueryMessage; //...
unit uFrmRelatorioCorrespondencia; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UFrmFormDataSetRelatorio, System.Actions, Vcl.ActnList, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, siComp, siLngLnk, uDM; type...
program test_atomicweight; {$APPTYPE CONSOLE} {$IFDEF FPC} {$linklib libxrl} {$ENDIF} {$mode objfpc} {$h+} uses xraylib, xrltest, Classes, SysUtils, fpcunit, testreport, testregistry; type TestAtomicWeight = class(TTestCase) private procedure _Test_bad_Z; published procedure Test_Fe; procedure Test_U; pro...
unit TransparentBitmap; interface uses Windows; procedure DrawTransparentBitmap(DC: HDC; hBmp : HBITMAP ; xStart: integer; yStart : integer; cTransparentColor : COLORREF); implementation procedure DrawTransparentBitmap(DC: HDC; hBmp : HBITMAP ; xStart: integer; yStart : integer; cTransparentCol...
unit MsgAPI; ///////////////////////////////////////////////////////////////////// // // Hi-Files Version 2 // Copyright (c) 1997-2004 Dmitry Liman [2:461/79] // // http://hi-files.narod.ru // ///////////////////////////////////////////////////////////////////// {$IFDEF Win32} {$DEFINE USE_FILE_MAPPING}...
{------------------------------------ 功能说明:主窗体接口单元 创建日期:2008/11/09 作者:wzw 版权:wzw -------------------------------------} unit MainFormIntf; {$weakpackageunit on} interface uses Forms, Classes, Graphics; type //单击(选择)快捷项 IShortCutClick = interface ['{AEC846D1-8E5D-4EAE-993C-12616927C754}'] //注册快捷菜单...
unit TerminalUserInput; interface function ReadString(prompt: String): String; function ReadInteger(prompt: String): Integer; function ReadIntegerRange(prompt: String; min, max: Integer): Integer; function ReadDouble(prompt: String): Double; implementation uses SysUtils; function ReadString(prompt: String): String;...
unit VBBase_DM; interface uses System.SysUtils, System.Classes, Data.DBXDataSnap, Data.DBXCommon, Vcl.Forms, Vcl.Controls, System.Win.Registry, System.ImageList, Vcl.ImgList, Winapi.Windows, System.IOUtils, System.Variants, System.DateUtils, System.StrUtils, VBProxyClasses, Base_DM, CommonValues, VBCommonVal...
{ Application: LockDisk Auteur: Gladis NDOUAB'S Pseudo CodesSources: Diglas e-mail: gndouabs@hotmail.de Version 1.1 Copyrigth Mai 2010 Description: Avez-vous deja eu envie d'interdire au gens la lecture d'un de vos CD ou DVD préféré sur votre PC? Eh bien! voici une solution. Comme le n...
unit BZRayMarchMath; // from http://www.iquilezles.org/www/articles {$mode objfpc}{$H+} {$i ..\bzscene_options.inc} {$CODEALIGN LOCALMIN=16} interface uses Classes, SysUtils, BZMath, BZVectorMath; //-----[ Ray Marching functions ]----------------------------------------------- { A list of useful distance func...
unit RemoteStream; interface uses Windows, Messages, SysUtils, Variants, Classes, ADODB, DB, RemoteStreamSocket, DefineUnit; type TRemoteStream = class(TStream) protected FRemoteStreamSocket: TRemoteStreamSocket; procedure SetSize(const NewSize: Int64); override; function GetSize: In...
unit GeneralizedSectionDataPoster; interface uses PersistentObjects, DBGate, BaseObjects, DB, Straton, Area, Well; type TGeneralizedSectionSlottingDataPoster = class(TImplementedDataPoster) private FAreas: TSimpleAreas; FWellCategories: TWellCategories; FSimpleStratons: TSimpleStratons; public ...
unit Main; interface uses Dialogs, MainForm, FileSystemUtils, SysUtils, Classes, StringUtils, LocalizationUtils, IniFiles, Forms, Windows, Logger, Graphics, ShellAPI, User, FileCtrl, CmdLineParam; const DATA_FOLDER_NAME = 'Data'; SETTING_FOLDER_NAME = 'Settings'; SKIN_FOLDER_NAME = 'Skin'; ...
{$ifndef PROCESSING_NDI_STRUCTS_H} {$define PROCESSING_NDI_STRUCTS_H} type // An enumeration to specify the type of a packet returned by the functions TNDIlib_frame_type = ( NDIlib_frame_type_none = $00000000, NDIlib_frame_type_video = $00000001, NDIlib_frame_type_audio = $00000002, NDIlib_frame_type_meta...
{$include kode.inc} unit kode_libtcc; { http://bellard.org/tcc/ http://repo.or.cz/w/tinycc.git } {#ifdef LIBTCC_AS_DLL #define LIBTCCAPI __declspec(dllexport) #else #define LIBTCCAPI #endif} // {$define LIBTCCAPI:=cdecl; external name 'libtcc';} //------------------------------------------------------------...
unit uUserMessage; interface uses System.Generics.Collections, System.SyncObjs, Classes, SysUtils; type TUserMessage = class public SenderGUID: string; SenderAddr: string; SenderUserName: string; //Time: TDateTime; Text: string; constructor Create(aText: string); overload; funct...
unit SDReport; interface uses CommonReport, BaseObjects, Classes, Contnrs; type TCollectionReportSubTotal = class; TCollectionReportSubTotals = class; TStringArray = array of string; TIntArray = array of integer; TSDReport = class(TBaseReport) private FBaseObject: TIDObject; procedure SetBase...
(** * $Id: dco.framework.Executor.pas 794 2014-04-28 16:00:24Z QXu $ * * Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either * express or implied. See the License for the specific language governing rights and limitations under the License. *) unit dco.f...
unit qsp_zlib; interface {$I qdac.inc} uses classes, sysutils, qstring, qdb, ZLib; type {$IFNDEF UNICODE} TZCompressionStream = TCompressionStream; TZDecompressionStream = TDecompressionStream; TZCompressionLevel = TCompressionLevel; {$ENDIF} {$IF RTLVersion>=23} [ComponentPlatformsAttribute(pidWin32 or pid...
unit UCadastroProduto; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UCadastroPadrao, Data.DB, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf...
(*======================================================================* | SSPIUtils for SSPI authentication & impersonation | | | | Very complicated. Supports pluggable security packages. As well as | | providing the SSP...
unit ModelMs3d; (* Version: MPL 1.1 * * 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/ * * Software distributed under the L...
unit UUtils; interface uses Windows, Classes, StdCtrls, PNGImage, Graphics, Types, GR32, IdHashElf, IdHash; type TCachedBoolean = (cbUnknown, cbFalse, cbTrue); const CCachedBoolean: array[TCachedBoolean] of boolean = (false, false, true); type TMemoDlgBtn = (mdYesNo, mdOK, mdOKCancel); TSelectionType = (s...
{********************************************************} { CeosServer Apps Form } { } { Copyright (c) 2013 JBS Soluções. } { } {************************...
unit Test.Utils.MemoryLeaks; interface uses DUnitX.TestFramework; type [TestFixture] TMemory = class(TObject) public [Setup] procedure Setup; [TearDown] procedure TearDown; [Test][Ignore] procedure TestMemoryLeaks; end; implementation uses System.Classes; procedure TMemory.Setup...
unit ibacorpolicenumber_integration; { // USAGE: with TPajakKendaraanIbacorIntegration.Create do begin Result := Find('policenumber'); Free; end; } {$mode objfpc}{$H+} interface uses fpjson, RegExpr, common, http_lib, Classes, SysUtils; type { TPajakKendaraanIbacorIntegration } TPajakK...
// Copyright (c) 2017, Jordi Corbilla // 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 above copyright notice, // this list of cond...
unit LoginForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uBaseForm, StdCtrls, Buttons, SysSvc, DBIntf; type Tfrm_Login = class(TBaseForm) Label1: TLabel; Label2: TLabel; cb_User: TComboBox; edt_Psw: TEdit; btn_Ok: TBitBtn; btn_C...