text
stringlengths
14
6.51M
unit ServiceBase; interface uses System.SysUtils, UDataModuleConexao, MVCFramework.Serializer.Commons, FireDAC.Comp.Client, Rtti; type TServiceBase = class public class var FDataModule: TFDataModuleConexao; class function GetDataModule: TFDataModuleConexao; class function GetQuery(ASQL: string):...
unit IETFLanguageCodeServices; { 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 ...
{ 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...
(******************************************************************************* XP Button v1.0 (c) 2001 Transpear Software Coding by Kelvin Westlake Contact: Http://www.transpear.net kwestlake@yahoo.com Please read enclosed License.txt before continuing any further, you may also find some useful i...
unit POOCalculadora.Model.Calculadora.Interfaces; interface uses POOCalculadora.Model.Classs.Eventos; type iCalculadora = interface; iOperacoesDisplay = interface; iOperacoes = interface ['{88A2272D-6A95-4ABC-8D90-56938EC99A13}'] function Executar : String; function Display : iOperacoesDisplay;...
unit CommonComplexIDCombo; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CommonComplexCombo, StdCtrls, BaseObjects, Registrator; type TfrmIDObjectListCombo = class(TfrmComplexCombo) procedure btnShowAdditionalClick(Sender: TObject); procedure cmbxNam...
unit session_controller; {$mode objfpc}{$H+} interface uses fpcgi, md5, IniFiles, fpjson, Classes, SysUtils; const MaxIniCreate = 5; _SESSION_SESSION = 'session'; _SESSION_DATA = 'data'; _SESSION_ACTIVE = 'active'; // Start time of session _SESSION_KEYSTART = 'start'; // Start time of...
{ ID: a_zaky01 PROG: climb LANG: PASCAL } uses math; type cow = record u,d:longint; end; var n,i,answer:longint; a,ans:array[0..30000] of cow; function less(x,y:cow):boolean; begin exit(max(x.u+y.u+y.d,x.u+x.d+y.d)<max(y.u+x.u+x.d,y.u+y.d+x.d)); end; procedure sort(l,r:lo...
unit SHA1; interface uses SysUtils, Windows, Classes; type PSHA1Digest = ^TSHA1Digest; TSHA1Digest = packed record case Integer of 0: (A, B, C, D, E: DWORD); 1: (V: array[0..19] of Byte); end; TSHA1Context = record Hash: array[0..4] of DWORD; Hi, Lo: Integer; Buffer: array[0.....
{$include kode.inc} unit syn_s2_osc_phase; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses kode_control, kode_editor, kode_plugin, kode_voice, kode_voicemanager, kode_widget; type s2_osc_ph...
unit chslang; interface uses SysUtils, Types, Classes, Variants, QTypes, QGraphics, QControls, QForms, QDialogs, QStdCtrls; type TFrmChooseLang = class(TForm) GroupBox1: TGroupBox; RadFr: TRadioButton; Button1: TButton; RadEn: TRadioButton; RadEs: TRadioButton; procedure...
{ ******************************************************* } { } { Monitor de versiones 1.0 } { } { Copyright (C) 2014 DR2G SISTEMAS } { } { ******************************************************* } UNIT DanFW.Monitors; INTERFACE USES system.classes, system.sysutils, vcl.stdctrls, vcl.comctrls, vcl.extctrls, winapi....
unit Frames.GreenRoom; 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.Layouts, FrameStand, SubjectStand, FMX.ListView.Types, FMX.ListView.Appearances, FMX...
unit OptionsDateFormat; interface uses System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, BCControls.Edit, Vcl.ExtCtrls, Ora, BCCommon.OptionsContainer, BCFrames.OptionsFrame; type TOptionsDateFormatFrame = class(TOptionsFrame) Panel: TPanel; D...
{******************************************************************} { } { Borland Delphi SFont } { Conversion of the Linux Games- SFont Library for SDL } { ...
UNIT BackgroundRender; INTERFACE USES Zone; PROCEDURE RenderBackground(Zone:TDZone); IMPLEMENTATION USES SysUtils, Classes, Graphics, General_Res, DeMPAK; PROCEDURE RenderBackground; VAR TileWidth,TileHeight : Integer; UseDDS : Boolean; TexName : STRING; iX,iY : Integer; CatalogStream,ConvertStream : TS...
unit OptionsOutputTabs; interface uses System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, BCControls.CheckBox, Vcl.ExtCtrls, BCCommon.OptionsContainer, BCFrames.OptionsFrame, JvExStdCtrls, JvCheckBox; type TOptionsOutputTabsFrame = class(TOptionsFrame) Panel: TPanel...
{ ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: QuickReport 5.0 for Delphi and C+Builder :: :: :: :: QRPrgres.pas - Foreground printing progress form :: :: :: ...
(* NIM/Nama : 16515019/Stevanno Hero Leadervand*) (* Nama file : upecahan.pas *) (* Topik : Prosedural Pascal *) (* Tanggal : 6 April 2016 *) (* Deskripsi : Memeriksa pecahan valid, 2 pecahan yang lebih kecil, selisih 2 pecahan, dan menuliskannya *) unit upecahan; interface type pecahan = record n,d: integer...
unit Logger; {$mode objfpc}{$H+} interface { Source created by Wisnu Widiarta - 23rd April 2005 } uses Classes, ExtCtrls, SysUtils, SyncObjs, LoggerItf; type TDLogger = class(TInterfacedObject, IDLogger, IDLoggerSettings) private FCSection : TCriticalSection; FTmrLogger : TTime...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [VIEW_NFCE_CLIENTE] The MIT License ...
unit dmdCadParadas; interface uses SysUtils, Classes, DmdDatabase, FMTBcd, DB, SqlExpr, DBClient, Provider, arTypes; type TdmCadParadas = class(TDataModule) sdsParadas: TSQLDataSet; dspParadas: TDataSetProvider; cdsParadas: TClientDataSet; dsParadas: TDataSource; sdsParadasCODIGO: TIntegerF...
(* @created(2019-12-27) @author(J.Delauney (BeanzMaster)) Historique : @br @unorderedList( @item(27/12/2019 : Creation ) ) --------------------------------------------------------------------------------@br ------------------------------------------------------------------------------ Description : Simulation d...
{******************************************************************************* Title: T2Ti ERP Description: Controller do lado Cliente relacionado à tabela [FUNCAO] The MIT License Copyright: Copyright (C) 2010 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software a...
// ************************************************************* // Unit RECO_BlockAndRelease // // 18.11.2010 RIA erstellt // 22.01.2013 ria 4.16.1 neue Sprachumschaltung // // Funktion: Rezepte sperren und freigeben // ************************************************************* unit RECO_BlockAndRelease; interface...
unit ConnectionModule; interface uses Aurelius.Drivers.Interfaces, Aurelius.SQL.SQLite, Aurelius.Schema.SQLite, Aurelius.Drivers.FireDac, System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC....
{******************************************************************************} { } { Neon: Serialization Library for Delphi } { Copyright (c) 2018-2019 Paolo Rossi ...
PROGRAM exer4; USES Crt; TYPE Person = record name: String; surname: String; birthdate: Integer; end; PeopleFileT = file of Person; procedure PrintPerson(var rec: Person); begin with rec do WriteLn(name: 20, surname: 10, birthdate: 10); end; procedure ReadPerson(var r...
unit Logging.Interfaces; interface type TLogMessageType = (lmtError, lmtWarning, lmtDefault); type ILogger = interface ['{D0391630-3A81-44CC-B717-4ED8614AAEF0}'] function getWarningCount: integer; function getErrorCount: integer; procedure Add(msg: string; const mType: TLogMessageTy...
unit DocShell; interface uses System.Classes; procedure ShellDoc(var FOutputStream: TMemoryStream); implementation uses System.IOUtils, System.SysUtils, ShellApi, Vcl.Dialogs, Winapi.Windows, System.Types, System.DateUtils; procedure DeleteOldFile; var LList: TStringDynArray; I: Integer; LS...
unit Data.Remote; interface uses System.SysUtils, System.Classes, REST.Types, REST.Client, Data.Bind.Components, Data.Bind.ObjectScope, FMX.Types , datamodel, cwCollections ; type TErrorProc = reference to procedure (const AMessage: string); TRemoteData = class(TDataModule) RESTClient1: TRESTClient; ...
unit AbstractModel; {$mode objfpc}{$H+} interface uses Classes, SysUtils, vkcmobserver; type IModel = interface ['{B5F05DB1-2E42-485F-9318-A27EB0155148}'] end; { TObserverModel } TObserverModel = class(TInterfacedObject, IModel) private FObservable: TVKCMObservable; FObserver: TVKCMObserve...
{******************************************************************************} { } { SVG Shell Extensions: Shell extensions for SVG files } { (Preview Panel, Thumbnail Icon, SVG Editor) ...
namespace Sugar.Test; interface uses Sugar, Sugar.TestFramework; type StringTest = public class (Testcase) private Data: String; public method Setup; override; method LengthProperty; method CharsProperty; method Contactenation; method ImplicistCast; method For...
unit WorkDataPoster; interface uses PersistentObjects, DBGate, BaseObjects, DB, Work; type TWorkDataPoster = class (TImplementedDataPoster) public function GetFromDB(AFilter: string; AObjects: TIdObjects): integer; override; function PostToDB(AObject: TIDObject; ACollection: TIDObjects): integer; over...
{$include kode.inc} unit kode_utils; // {$define TDSPFloat := double} //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses kode_array; // KPCharArray //---------- function KFourChar(FC:array of char) : ...
unit StratClientSubdivisionEditFrameTest; interface uses TestFrameWork,StratClientSubdivisionEditFrame, SubdivisionTable, Forms, Well; type TStratClientSibdivisionEditFrameTest = class(TTestCase) private FSubdivisionTable: TSubdivisionTable; FWells: TWells; FFileName: string; frm: TForm; ...
unit InfoObjectFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ComCtrls, ActnList, Buttons, ToolWin, StdCtrls, ImgList, Well, Slotting, CoreDescription, InfoPropertiesFrame, InfoWellsFrame; type TfrmInfoObject = class(TFrame) Splitter1...
unit UCalcHandler; interface uses Windows, UCalculator, UDictionary, UxlRichEdit, UxlClasses, UxlExtClasses, UTypeDef, UxlList; // 普通页:shift+enter 进行嵌入式计算或查词;ctrl+enter 嵌入式计算不回车;多词典(或单词典)查词 // (若以$或@开头则为查词,否则软件自行判断); // 计算页:shift+enter 计算后将值放入下一行;ctrl+enter 计算后不回车 // 词典页:ctrl+enter 多词典(或单词典)查词 typ...
unit Controller.Categoria; interface uses Services.ComplexTypes , Classes.ScriptDDL , Model.Categoria , System.Generics.Collections , FireDAC.Comp.Client , Data.DB; type TCategoriaController = class strict private class var _instance : TCategoriaCOntroller; private ...
unit UEfetivaReserva; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UBasePesquisaSimples, Vcl.ExtCtrls, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCor...
{$include kode.inc} unit kode_beatdetector; // http://www.musicdsp.org/showArchiveComment.php?ArchiveID=200 //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- type KBeatDetector = class private KBeatFilt...
{*******************************************************} { } { Copyright (c) 2001-2011 by Alex A. Lagodny } { } {*******************************************************} unit aOPCConsts; interface ...
unit uInNomineSuperiors; interface uses SysUtils, uInNomineSystem; function GetFamousSuperior(famousSuperior: TFamousSuperior): TSuperior; function IsAngelic(superior: TSuperior): boolean; overload; implementation function GetFamousSuperior(famousSuperior: TFamousSuperior): TSuperior; procedu...
{$include kode.inc} unit kode_libaam; // 32-bit only ??? //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses dynlibs, kode_library, kode_types; type //PPSingle = ^PSingle; libaam_dispatch...
unit uEdSearch; interface uses uMain, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TfEdSearch = class(TForm) Label1: TLabel; btnSearch: TButton; btnCancel: TButton; GroupBox1: TGroupBox; cbxCaseSensitive: TCheckBox; ...
unit ASMScan; { Сканер для ассемблера } { С.Свердлов 11.05.97 } interface const NameLen = 31; type tName = string[NameLen]; tLex = (lexLabel, lexOpCode, lexNum, lexName, lexEOL, lexEOT); var Lex : tLex; Num : integer; OpCode : integer; Name : tName; LexPos : integer; procedure InitSca...
(* @file UTetrominoShape.pas * @author Willi Schinmeyer * @date 2011-10-30 * * UTetrominoShape unit * * Contains definition of the TTetrominoShape type, which would in * theory fit into UGeneralTypes but that would create a circular * dependency. *) unit UTetrominoShape; interface uses UVector2i; type ...
PROGRAM PseudoGraphicPrinter(INPUT, OUTPUT); CONST Code_0 = [2, 3, 4, 6, 10, 11, 15, 16, 20, 22, 23, 24]; {Инициализация} Code_1 = [3, 7, 8, 11, 13, 18, 21, 22, 23, 24, 25]; Code_2 = [2, 3, 4, 9, 12, 13, 14, 17, 22, 23, 24]; Code_3 = [2, 3, 4, 7, 12, 13, 14, 17, 22, 23, 24]; Code_4 = [1, 4, 6, 9, 11, 12, 13, ...
{ Make variations for references from the single base object. For example there is a STAT record MyRock01 that has 100 references in worldspace. You want to create 10 variations of rock and evenly redistribute references between them, and later retexture rocks, change models, etc (landspace design). Apply thi...
unit sFontCtrls; {$I sDefs.inc} {.$DEFINE LOGGED} interface uses Windows, Messages, Classes, Graphics, Controls, StdCtrls, sListBox, sComboBox; type {$IFNDEF NOTFORHELP} FontTypes = (PS, TTF, RASTER, UNKNOWN); TFontClass = class FntName : string; FntType : FontTypes; end; TFontsArray = array of TF...
unit Pattern.ConcreteElementProgramador; interface uses Pattern.ConcreteElement; type { Concrete Element - subclasse } TProgramador = class(TFuncionario) public procedure Accept(Visitor: IInterface); override; end; implementation uses System.SysUtils, Pattern.Visitor; { TOperario } procedure TPro...
{******************************************************************************* Title: T2Ti ERP Fenix Description: Controller relacionado a sincronização dos dados The MIT L...
unit uEnumeratorExample; interface uses SysUtils; type TForInDemo = class; TForInDemoClassEnumerator = class private FString: string; FIndex: Integer; protected function GetCurrent: Char; virtual; public constructor Create(aString: string); destructor Destroy(); override; fun...
unit SubUtils; interface uses Classes, Controls, ComCtrls, VirtListView, FolderList; type PNewsRec = ^TNewsRec; TNewsRec = packed record NewsgroupID: Integer; NewsgroupName: string[200]; NewsgroupDesc: string[150]; Subscribed: Boolean; Modified: Boolean; end; TNewsList...
unit OptionsList; //TODO: Options description //TODO: Go to webdocs on F1 in options list (or embedded help?) //TODO: Save values history? //TODO: Better handling of overlay combobox //TODO: Do not select in combo by scroll, show editor by clicking on value, not name interface uses Windows, Messages, Co...
unit datamodel.game.standard; interface uses datamodel ; type TGameData = class( TInterfacedObject, IGameData ) private fSessionName: string; fLangID: string; fMinUser: integer; fMaxUser: integer; fSessionID: string; public property SessionID: string read fSessionID write fSessionID; ...
unit KAllWordsFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, UniButtonsFrame, BaseGUI, CoreDescription; type TfrmAllWords = class; TAllWordsGUIAdapter = class (TCollectionGUIAdapter) private function GetActiveDict: TDictionary; f...
unit uMonitorLocker; interface uses uLockableIntf ; type TMonitorLocker = class(TInterfacedObject, ILockable) private FMonitorObj: TObject; public constructor Create; destructor Destroy; override; procedure Lock; procedure Unlock; end; implementation { TMonitorLocker } constr...
unit HotelsPlaceEditForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, cxLookAndFeelPainters, StdCtrls, cxButtons, ActnList, cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit, cxMaskEdit, cxDropDownEdit, cxLookupEdit, cxDBLookupEdit, ...
unit UcumPublisher; { Copyright (c) 2001-2013, 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 code mu...
unit uCircularBufferTests; interface uses DUnitX.TestFramework; type [TestFixture] TestCircularBuffer = class(TObject) public [Test] // [Ignore('Comment the "[Ignore]" statement to run the test')] procedure Write_and_read_back_one_item; [Test] [Ignore] procedure Write_and_read_back_mult...
unit DTT_Input; interface type TMouse = record X, Y: Integer; dX, dY: Integer; Left, Middle, Right: Boolean; end; TKeyboard = record Character: Char; NewKey: Integer; Key: array [0..321] of Boolean; end; TInput = class public Mouse: TMouse; Keyboard: T...
unit jniTObject; {$mode delphi} interface uses Classes, SysUtils, jni, unixporthelper; procedure InitializeJniTObject(env: PJNIEnv); function JObjectToTObject(PEnv: PJNIEnv; Obj: JObject): TObject; implementation //experiment: make a memscan class in java and give it references to things lik...
Unit DrvBios; INTERFACE {$A-,G-,O-} {$DEFINE BiosDriver} Procedure _DriverBios; Procedure EndDriverBios; Procedure PhysVideo; Procedure DataVideo; IMPLEMENTATION Uses Systex; Procedure BarChrHor(X1,Y,X2:Byte;Chr:Char);Far;Forward; Procedure BarChrVer(X,Y1,Y2:Byte;Chr:Char);Far;Forward; Procedure BarSpcHor(X1,Y,X2...
unit Aurelius.Schema.PostgreSQL; {$I Aurelius.Inc} interface uses Aurelius.Drivers.Interfaces, Aurelius.Schema.AbstractImporter, Aurelius.Sql.Metadata; type TPostgreSQLSchemaImporter = class(TAbstractSchemaImporter) strict protected procedure GetDatabaseMetadata(Connection: IDBConnection...
unit Conexao; interface Uses FireDAC.Comp.Client, FireDAC.Stan.Def, FireDAC.Phys.MSSQL, FireDAC.Comp.DataSet, FireDAC.VCLUI.Wait, FireDAC.DAPT, FireDAC.Stan.Async, System.Classes; Type TConexao = class(TFDConnection) Private FHost : string; FDatabase : string; FUser ...
{ ******************************************************************************* Falcon Sistemas www.falconsistemas.com.br suporte@falconsistemas.com.br Written by Marlon Nardi - ALL RIGHTS RESERVED. ************************...
unit Reflection; interface uses System.Rtti, System.Generics.Collections; type TReflection = class helper for TRttiMember public function GetCustomAttribute<T: TCustomAttribute>: TCustomAttribute; end; implementation { TReflection } function TReflection.GetCustomAttribute<T>: TCustomAttribute; var ...
unit UConfigMySQL; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinBlueprint, dxSkinCaramel, dxSkinCoffee, dxSkinDarkRoom, dxSkinDarkSide, dxSkinDevExpr...
unit uTarefa1; interface uses Classes, SysUtils, uspQuery, Firedac.DApt; type TTarefa1 = class private FCondicoes: TStringList; FColunas: TStringList; FTabelas: TStringList; FSQL: String; FErro: String; public function GerarSQL: Boolean; constructor Create; destructor...
unit WNineSlicesButton; interface uses SysUtils, Classes, Controls, StdCtrls, WButtonBase, PNGImage, Windows, WComponent, Imaging; type TWNineSlicesButton = class(TWButtonBase) private { Private declarations } pImagePathPrefix: String; pIconImagePath: String; pIconImage: TPNGObj...
unit logutil_lib; {$mode objfpc}{$H+} interface uses fpcgi, common, Classes, SysUtils; type { TLogUtil } TLogUtil = class private log_file: TextFile; procedure SaveStringToPath(theString, filePath: string); public Dir, FileName, FullName: WideString; constructor Create; destructo...
{----------------------------------------------------------------------------- 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....
// // // TThreadedADOQuery // Based on TTHreadedQuery // Created By Gregg Teehan // Modified By David Verespey // Copyright 1997-2001 Gregg Teehan,David Verespey // // This component is intended to encapsulate all the code nessasary to run a database ado query in a // thread. // // Re...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [VIEW_FIN_CHEQUES_EM_SER] The MIT Lic...
UNIT DanFW.Selects; INTERFACE USES System.SysUtils, System.Classes, ib, IBDatabase, IBTable, IBQuery, Vcl.Controls; CONST SELECT_DEPARTAMENTOS: STRING = 'SELECT ID, DEPARTAMENTO FROM DEPARTAMENTOS ORDER BY ID'; SELECT_CARGOS: STRING = 'SELECT ID, CARGO FROM CARGOS ORDER BY ID'; SELECT_TIPOS_SALARIO: STRING = ...
{***************************************************************************} { Workflow Studio Components for Delphi & C++Builder } { } { written by TMS Software } { ...
unit Hashes; interface uses Windows, SysUtils, Classes; type THashAlgorithm = (haMD5, haSHA1); function CalcHash(Stream: TStream; Algorithm: THashAlgorithm): string; overload; function CalcHash(Archivo: string; Algorithm: THashAlgorithm): string; overload; function CalcHash2(Str: string; Algorithm: THashAlgorithm...
{*******************************************************} { } { NTS Code Library } { Created by GooD-NTS ( good.nts@gmail.com ) } { http://ntscorp.ru/ Copyright(c) 2011 } { License: Mozilla Pu...
(****************************************************************************** * * * File: lualib.pas * * Authors: TeCGraf (C headers + actual Lua libraries) ...
unit EditSong; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ImgList, ComCtrls, Mask, Buttons, BaseForm, Aurelius.Engine.ObjectManager, EditSongController, Song; type TfrmEditSong = class(TBaseForm) PanelTop: T...
unit Frm_EnumWinMAIN; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} interface uses {$IFnDEF FPC} {$ELSE} LCLIntf, LCLType, {$ENDIF} Windows, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TMainForm = class(TForm) ListBox1: TListBox; Label1: TLabel; ...
{ 单元名称: uJxdClientUpShareManage 单元作者: 江晓德(Terry) 邮 箱: jxd524@163.com jxd524@gmail.com 说 明: 负责执行P2P下载,任务释放缓存处理,任务信息的保存与载入 开始时间: 2011-09-14 修改时间: 2011-09-14 (最后修改时间) 类说明 : 管理文件上传,上传信息超过一定时间无动作,则删除。上传数量可被限制 查找顺序:自身 -> StreamManage -> FileShareManage 非自身查找到的数据转成自身所需要的结构体 } unit uJxdClientUpShareManage; ...
unit MD.Input; interface uses FMX.Edit, FMX.Types, System.UITypes, System.Classes, System.Types, FMX.ActnList, FMX.Graphics, MD.ColorPalette; type TMDEdit = class(TEdit) private FMaterialColor: TMaterialColor; FFocusedMaterialColor: TMaterialColor; FPromptTextColor: TMaterialColor; procedure ...
unit k007232; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} sound_engine,timer_engine; const KDAC_A_PCM_MAX=2; type tk007232_call_back=procedure (valor:byte); k007232_chip=class(snd_chip_class) constructor create(clock:dword;rom_adpcm:pbyte;size:dword;amplifi:single;call_back:tk007232_call_back)...
unit IncludeParser; interface uses Classes, SysUtils, RegExpr; type TIncludeParser = class (TObject) private FIncludes: TStrings; function ExpandFileName(FileName: String): String; procedure RegisterInclude(FileName: String); public constructor Create; destructor Destroy; o...
unit NewCropInt; { Interface routing for NewCrop.DLL} interface uses Windows, Classes; { There is currently one function to get to all of the NewCrop click through info procedure NewCropEPrescribe(HApplication, HConnection: THandle; NewCropData: INewCropData );StdCall; It is used by creating an object that is a TNew...
unit uJxdSystemFolder; interface uses Windows, SysUtils, ShlObj;//, uDebugInfo; type TxdSysFolder = class public constructor Create; destructor Destroy; override; procedure Reset; function ParserFile(const AFileName: string): Boolean; function Count: Integer; function Title(const AIndex...
unit FlyingCamera; // function AssignFlyingCameraToForm(A3dForm: TForm3D; AX,AY,AZ:Single): TFlyingCamera; // Adds a Camera at AX,AY,AZ and points it to the point 0,0,0 // Sets Form Camera Property // Sets Forms UseDesign Camera to false // Allocates the OnKeyDown Event (if Unassigned) interface uses System.SysUt...
{$ifdef fpc} {$mode delphi} {$endif} unit wfm_xml_nodes; interface uses lib_xml_parser; type TWfmXmlNode = class; TWfmXmlNodes = class(TObjectList) protected function GetItem(Index: Integer): TWfmXmlNode; procedure SetItem(Index: Integer; TreeNode: TWfmXmlNode); public function Add(Node: TW...
unit UdmGenericServiceToolClient; interface uses System.SysUtils, System.Classes, IdBaseComponent, IdCoder, IdCoder3to4, IdCoderMIME, uROChannelAwareComponent, uRORemoteService, uROBaseConnection, uROTransportChannel, uROIndyUDPChannel, uROComponent, uROMessage, uROBinMessage; type TdmGenericServiceToolCli...
{ Move region of worldspace by defined X,Y amount of cells. Content of destination cells is completely wiped before movement occures. Destination cells must exist in plugin, for example if cell <5,7> is moved by 10,10 cells, then the script will abort if cell <15,17> does not exist. What is moved: - la...
unit Utils; interface uses System.Beacon; function ProximityToString(Proximity: TBeaconProximity): string; implementation function ProximityToString(Proximity: TBeaconProximity): string; begin case Proximity of Immediate: Result := 'Immediate'; Near: Result := 'Near'; Far: Result :=...
unit HJYDataProviders; interface uses Classes, SysUtils, HJYUserInfos, HJYDBAccesses, UniDBAccessesImpl, IniFiles; type THJYDataProvider = class private FAppPath: string; // 系统运行路径 FConfigPath: string; // 配置文件存放路径 FTemplatePath: string; // 模板文件存放路径 FTempPath: string; //...
(* * Copyright (c) 2009-2010, Ciobanu Alexandru * 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 l...
unit Ragna.Criteria; interface uses FireDAC.Comp.Client, StrUtils, Ragna.Intf, Data.DB, FireDAC.Stan.Param, System.Hash; type TOperatorType = (otWhere, otOr, otLike, otEquals, otOrder, otAnd); TDefaultCriteria = class(TInterfacedObject, ICriteria) const OPERATORS: array [low(TOperatorTyp...
unit ObjRef; //////////////////////////////////////////////////////////////////////////////// // // Author: Jaap Baak // https://github.com/transportmodelling/Utils // // Code based on Barry Kelly's blog post: http://blog.barrkel.com/2008/11/somewhat-more-efficient-smart-pointers.html // //////////////////////////////...
unit uFuncionario_imp; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Variants, uDependente_imp; Type ListaDependentes = array of TDependente; { TFuncionario } Type TFuncionario = Class(TComponent) private Fcpf: String; FestadoCivil: String; Ffuncao: String; FNome: String; Fsalario: Double; ...
unit MinimalPanel; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls, DrawUtils; type TBorder = (bdLeft, bdTop, bdBottom, bdRight); TBorders = set of TBorder; TPictureMode = (pmNone, pmCenter, pmFit, pmStretch, pmRepeatY, pmRepeatX, pmRepeat); ...