text stringlengths 14 6.51M |
|---|
unit DW.Firebase.InstanceId.iOS;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library ... |
unit SDLKeyDatas;
interface
uses
SDL;
type
TSDLKeyEvent = procedure (Key: TSDLKey) of object;
TBuckyKey = (bkShift, bkCtrl, bkAlt);
TBuckyState = set of TBuckyKey;
TKeyData = class
protected
FKeyDown: array[0..511] of Boolean;
FKeyPress: array[0..511] of Boolean;
FOnKeyDown: array[0..511] of TSDLKeyEven... |
unit AutoHider;
{ TODO :
Design-Time Support
Form AutoHide Position Support }
interface
uses Windows, Messages, Classes, WinUtils, Controls, Forms;
type
TAutoHider = class(TMessageComponent)
private
FEnabled: Boolean;
FInterval: Cardinal;
FTestingHide: Boolean;
FForm: TCustomForm;
FMargin: In... |
unit UShop;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Dialogs, UMademan;
Type
{ TShop }
TShop = class TShop: TShop;
Name: string;
Income: integer;
ShopID: Integer;
Owner: Pointer;
OwnerID: Integer;
ShopIDsHad: Integer;
protection: Integer;
ProtectionPaid: boolean;
FightingTime: I... |
unit UtilObject;
interface
uses Windows, Messages;
type
THandledObject = class
private
FHandle: HWND;
protected
procedure WndMethod(var Msg: TMessage); virtual;
public
constructor Create;
destructor Destroy; override;
property Handle: HWND read FHandle;
end;
implementation
uses Classe... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit Frames.Dataset;
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.ListView.Types, FMX.ListView, Data.Bind.Components, Data.Bind.DBScope
, Data.DB, System.Rtti, System.Bindings.Out... |
unit Frm_MaestroNIF_Editor;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses,
uniGUIClasses, uniGUIForm, Frm_Dialogo, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.Phys.Intf, FireDAC.... |
unit Spinner;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, systryparent, AndroidWidget;
type
TOnItemSelected = procedure(Sender: TObject; itemCaption: string; itemIndex: integer) of object;
{Draft Component code by "Lazarus Android Module Wizard" [6/12/2014 3:35:32]}
{https://github.com/jmpessoa/la... |
unit UMyUtils;
interface
uses classes, SysUtils, shlobj, Controls, shellapi, windows, Graphics, inifiles, IOUtils, StrUtils,
Dialogs, DateUtils, types;
type
MyFilePath = class
public
class function getIsRoot( Path : string ): Boolean;
class function getPath( Path : string ) : string;
class func... |
unit RepositorioAdicionalItem;
interface
uses
DB,
Auditoria,
Repositorio;
type
TRepositorioAdicionalItem = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
functio... |
unit KM_Achievements;
{$I KaM_Remake.inc}
interface
uses
Classes, KromUtils,
KM_CommonClasses, KM_Defaults, KM_ResourceHouse, KM_ResourceUnit;
type
//Achievements represent the behavior we want to encourage, they are to
//help player to explore the game and try out all its possibilities.
//These ... |
unit HttpDownload;
interface
uses
Classes, SysUtils, HttpMessage, HttpHeaderExtracter, GFHTTPGet2, MyUtils2,
Windows, SyncObjs{$IFDEF DEBUG}, ULog{$ENDIF};
const
CDefaultThreasNum: Integer = 10;
type
THttpDownloadList = class
private
FOwner: TComponent;
FCountDone: Integer;
FCountRunning: Inte... |
unit tiFileSync_Mgr;
{$i tiDefines.inc}
interface
uses
tiBaseObject
,tiFileName_BOM
,tiObject
,tiFileSyncReader_Abs
,tiFileSyncSetup_BOM
,Classes
,Forms
,SysUtils
,Contnrs
// ,SyncObjs
;
const
cErrorCreatePathFailed = 'Unable to create path';
cErrorDeletePathFailed = 'Unable to delete path';... |
unit MassInfo;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, BaseModel;
type
IBaseMassInfo = interface(IBaseModel) ['{6D9E71BA-D34F-40FF-B77E-E78DBB1F3071}']
function GetKilograms: Double;
function GetPounds: Double;
procedure SetKilograms(AValue: Double);
procedure SetPounds(AValue: D... |
unit system.text.parser;
interface
(* Introduction
============
A classical parser setup consists of 3 parts:
1. The parser
2. The context
3. The object model
The context contains a reference to the buffer and whatever information
you may need on a global scale;, and the p... |
object KPrintSetupForm: TKPrintSetupForm
Left = 808
Top = 247
ActiveControl = CBFitToPage
BorderStyle = bsDialog
Caption = 'Page setup'
ClientHeight = 377
ClientWidth = 464
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahom... |
unit ModflowTimeSeriesWriterUnit;
interface
uses
CustomModflowWriterUnit, ModflowTimeSeriesUnit, PhastModelUnit;
type
TTimeSeriesWriter = class(TCustomModflowWriter)
private
FTimeSeries: TTimeSeries;
procedure WriteAttributes;
procedure WriteTimeSeries;
protected
class function Extension: str... |
unit UFormSelectFtp;
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,
Vcl.ValEdit;
type
TfrmSelectFtp = class(TForm)
plButtons: TPanel;
btnOK: TButton;
btnC... |
{==============================================================================*
* Copyright © 2020, Pukhkiy Igor *
* All rights reserved. *
*============================================================================... |
//
// Created by the DataSnap proxy generator.
// 12/10/2015 13:16:18
//
unit uProxy;
interface
uses System.JSON, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBXDBReaders, Data.DBXCDSReaders, Data.DBXJSONRefle... |
unit AuxiliaryDateFunctions;
interface
uses
SysUtils;
function IsDateTimeValid(const DateTime: TDateTime): Boolean;
implementation
uses
DateUtils;
function IsDateTimeValid(const DateTime: TDateTime): Boolean;
var Year, Month, Day, Hour, Minute, Second, Millisecond: Word;
begin
DecodeDateTime(
DateT... |
{*******************************************************}
{ }
{ Delphi FireMonkey Notification Service }
{ }
{ Helpers for iOS implementations }
{ ... |
//==============================================================================
// Module name : $RCSfile: DataBuffer.pas,v $
// Description : This unit defines a class of ring buffer and some of its subclasses
// Copyright : (c) Metronix 2014
// Reversion : $Revision 1.0$
// Compiler : Delphi 2007
// Auth... |
{******************************************************}
{ }
{ XML Data Binding }
{ }
{ }
{**********************************... |
{$ifdef license}
(*
Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com )
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this li... |
program displayalert;
{$IFNDEF HASAMIGA}
{$FATAL This source is compatible with Amiga, AROS and MorphOS only !}
{$ENDIF}
{
Project : displayalert
Source : RKRM
}
{*
** This program demonstrates an alert. An explanation of the positioning
** values for the alert strings is in the comment that precedes the... |
{*******************************************************************************
* *
* TksNetHttpClient - Enhanced NetHTTP component with ASync methods *
* ... |
unit dmActualizarDatos;
interface
uses
SysUtils, Classes, IBDatabase, IBSQL, Windows, dmLoginServer,
BusCommunication, dmDescargarDatos, dmImportarDatos, dmInternalUserServer;
type
MessageDatosActualizados = class(TBusMessage);
MessageStructureMessageChanged = class(TBusMessage);
TActualizarDatos = class(... |
unit dmBrokerCartera;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, dmBroker, DB, IBCustomDataSet, IBQuery, IBUpdateSQL, dmCuenta,
IBSQL, ScriptComision;
type
TBrokerCartera = class(TBroker)
qMaxBrokerID: TIBQuery;
qMaxBrokerIDMAX: TIntegerField;
... |
unit ServerMethodsUnit1;
interface
uses System.SysUtils, System.Classes, System.Json,
DataSnap.DSProviderDataModuleAdapter,
Datasnap.DSServer, Datasnap.DSAuth, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,
FireDAC.DApt.Intf, FireDA... |
unit UMapEditorFrame;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms... |
unit SurchargeWages;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorDBGrid, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxPCdxBarPopupMenu, cxStyles, cxCustomData, cxFilter,
cxData... |
unit Form_Textures;
//
// Created by: Alexander Oster - tensor@ultima-iris.de
//
(*****
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* ... |
unit auxiliares;
interface
uses
System.SysUtils, System.Hash, classes;
function GetFileHashMD5(FileName: String): String;
implementation
function GetFileHashMD5(FileName: String): String;
var
HashMD5: THashMD5;
Stream: TStream;
Readed: Integer;
Buffer: PByte;
BufLen: Integer;
begin
HashMD5 := THashMD... |
unit Script;
interface
uses Classes, ScriptObject, TypInfo, ScriptEngine, ScriptRTTI;
type
TScript = class(TComponent)
private
RootObjects: TStringList;
// code: TStrings;
// line: integer;
// procedure OnScriptObjectGetVars(varNames, varTypes: TStrings);
function GetScriptRTTIAndFreeScriptObjec... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit NoiseGeneratorOctaves_u;
interface
uses NoiseGenerator_u, NoiseGeneratorPerlin_u,RandomMCT,generation_obsh;
type
NoiseGeneratorOctaves=class(NoiseGenerator)
private
generatorCollection:array of NoiseGeneratorPerlin;
field_1191_b:integer;
public
constructor create(... |
{**********************************************************************}
{ }
{ "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 comp... |
{* MPLAYER.PAS
*
* Module Player definitions
*
* Copyright 1995 Petteri Kangaslampi and Jarno Paananen
*
* This file is part of the MIDAS Sound System, and may only be
* used, modified and distributed under the terms of the MIDAS
* Sound System license, LICENSE.TXT. By continuing to use,
* modify... |
unit frmLogWindow;
// simple window that shows a ListBox field
// the ListBox can be accessed through methods
// logging is only enabled when the window is open (through the Enabled-Property
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Control... |
unit UFTP;
interface
uses System.Classes;
procedure send_files_ftp(local_dir: string; files: TStringList);
implementation
uses System.SysUtils, idFTP, ULogger, URegistry;
procedure send_files_ftp(local_dir: string; files: TStringList);
var
idFTP: TIdFTP;
I: Integer;
begin
log('Preparando para enviar archiv... |
Unit GraphicsGPImage;
Interface
Uses
System.SysUtils, System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Graphics,
Winapi.GDIPAPI, Winapi.GDIPOBJ;
Type
TGraphicsGPImage = Class(TGraphicControl)
Private
{ Private declarations }
FNoBorder: Boolean;
FImage : TGPBitmap;
Protected
{ Protected declarations }
... |
(*
MIT License
Copyright (c) 2020 Jean-Jacques François Reibel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, m... |
unit MainUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
System.Win.ComObj, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGridExportLink, cxGraphics, Math,
cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, System.RegularExpressions,
... |
unit LoadMerlinFormTest;
interface
uses
TestFramework, Forms;
type
TLoadFormTest = class (TTestCase)
private
function GetForm(FormClass: string): TForm;
protected
// подготавливаем данные для тестирования
procedure SetUp; override;
published
procedure MainFormTest;
procedure LoadBankFo... |
unit uDeviceFormData;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Windows, Forms,
upropertyeditor,
uConfiguratorData;
type
{ TDeviceBaseData }
TDeviceBaseData = class(TPropertyData)
private
fDeviceData: TDeviceData;
fReadOnly: Boolean;
protected
function GetValue: string; overri... |
unit ui.bitmap_pixel;
interface
uses
ui.color,
ui.bitmap;
function Bitmap32GetPixelPtr(ABitmap32: PBitmap32; X, Y: Integer): PColor32;
function Bitmap32GetScanLine(ABitmap32: PBitmap32; Y: Integer): PColor32Array;
function Bitmap32GetPixel(ABitmap32: PBitmap32;... |
unit Udf.JSON;
interface
uses
WinAPI.Windows,
System.JSON,
System.SysUtils,
mungis.utils;
type
PTimeStamp = ^TTimeStamp;
{
DECLARE EXTERNAL FUNCTION JSON_OBJECT_CREATE
RETURNS INTEGER BY VALUE
ENTRY_POINT 'JsonObjectCreate' MODULE_NAME 'mungis.dll';
COMMENT ON EXTERNAL FUNCTION JSON_OBJECT_CREATE IS
'Фу... |
//
// Codepages info:
// http://msdn2.microsoft.com/en-us/library/ms776446.aspx
//
unit ATxCodepages;
interface
uses
Windows;
type
TATEncodingFamily = (
EncFamSystem,
EncFamWEuropean,
EncFamCEuropean,
EncFamBaltic,
EncFamCyrillic,
EncFamUS,
EncFamGreek,
EncFa... |
{$A+,B-,D+,E-,F-,G+,I-,L+,N-,O-,P+,Q-,R-,S-,T+,V-,X+,Y+}
{$M 4096,0,262144}
program hmi2mid;
{ Copyright (C) 1999 by Josef Drexler <jdrexler@uwo.ca>
May be distributed under the terms of the GNU General
Public License, version 2 or higher. }
uses
dos;
{ $DEFINE DEBUG}
const
blocksize = 65520;
... |
(*
Copyright (c) 2011-2012, Stefan Glienke
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 conditions ... |
unit ExportTabularARMO;
uses ExportCore,
ExportTabularCore,
ExportJson,
ExportTabularLOC;
var ExportTabularARMO_outputLines: TStringList;
var ExportTabularARMO_LOC_outputLines: TStringList;
function initialize(): Integer;
begin
ExportTabularARMO_outputLines := TStringList.create();
ExportTab... |
unit Caixa;
interface
uses
SysUtils,
Contnrs, Movimento, Repositorio, Printers, Generics.Collections, SangriaReforco;
type
TCaixa = class
private
Fcodigo: integer;
Fvalor_abertura: Real;
Fvalor_fechamento: Real;
Fdata_fechamento: TDateTime;
Fdata_abertura: TDateTime;
FTotal_dinheiro ... |
unit logging;
interface
type
TLog = class
private
FileName :string;
public
constructor Create (Filename :string);
destructor Destroy; override;
procedure Add (st :string); overload;
procedure Add (st :string; g :TGuid); overload;
procedure Add (st :string; p :pointer); ove... |
unit zmq_utils;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, zmq;
function zmq_send_string(socket: pointer; s: string): integer;
function zmq_recv_string(socket: pointer): string;
function zmq_recv_stream(socket: pointer; s: TMemoryStream): integer;
implementation
function zmq_send_string(socket: point... |
unit NvInfo;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, NvmlApi;
type
{ TNvInfoSingleton }
TNvInfoSingleton = class
private
FDevice: NvHandle;
FDeviceName: String;
FNvmlVersion: String;
FDriverVersion: String;
FCudaDriverVersion: Integer;
FCudaDriverVersionMajor: Integer... |
unit ulocoreutils;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
StrUtils,
FileUtil,
uloCoreConstants;
{ TODO -oAPL 2 Change ToSQL to something that can work with all database implementations }
function ToSQL(aString: String): String;
function FilenameIsLazORMUnit(const AFileName: String): Boolea... |
unit UValid;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
WorkViews, StdCtrls, WVCtrls, Mask, KSHints;
type
TForm1 = class(TForm)
WorkView1: TWorkView;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
WVEdit1: TWVEdit;
WVEdit2: TWVEdit;
WVE... |
program KuroZora;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp, libkz, inifiles
{ you can add units after this };
type
{ TKuroZoraApp }
TKuroZoraApp = class(TCustomApplication)
protected
var
ConfigFileName:UT... |
unit DateAndTimeTests;
interface
uses
DUnitX.TestFramework;
type
[TestFixture]
TDateAndTimeTests = class(TObject)
public
[Test]
procedure DateTimeSerialization;
[Test]
procedure DateTimeDeserialization;
[Test]
procedure TestUTCSettingsSerialization;
[Test]
procedure TestU... |
unit PaintBeams;
interface
uses
Classes, RTDisplay, IdBaseComponent,
IdComponent, IdTCPConnection, IdTCPClient;
const
ClientRefreshFrequency = 50;
type
TPaintBeams = class(TThread)
private
RTClient : TIdTCPClient;
BeamData : PBytes;
RawCellSize,
RawCellCount : cardinal;
... |
{! Unified reading from StdIn for MS-Windows.
@copyright
(c)2021 Medical Data Solutions GmbH, www.medaso.de
@license
MIT:
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 r... |
unit Di04;
{
ULDI04.DPR ================================================================
File: DI04.PAS
Library Call Demonstrated: cbDIn()
Purpose: Reads a digital input port.
Demonstration: Reads the value on AUXPORT.
Other Library Ca... |
unit FindUnit.DelphiReservedWords;
interface
uses
System.Classes;
type
TDelphiReservedWords = class(TObject)
public
class function GetReservedWords: TStringList;
end;
implementation
{ TDelphiReservedWords }
class function TDelphiReservedWords.GetReservedWords: TStringList;
begin
Result := TStringLis... |
unit BuilderPizzaExample.Domain.ValueObject.EdgeType;
interface
type
TEdgeType = (Catupiry, Cheddar, Chocolate);
type
TEdgeTypeUtil = class
public
class function GetText(AEdgeType: TEdgeType): string;
end;
implementation
{ TPizzaSizeUtil }
class function TEdgeTypeUtil.GetText(AEdgeType: TEdgeType): st... |
{
mteBase
Base for mteFunctions.
See http://github.com/matortheeternal/mteFunctions
}
unit mteBase;
const
mteVersion = '0.0.0.1';
vcOlderBroken = 1;
vcOlder = 2;
vcEqual = 3;
vcNewer = 4;
vcNewerBroken = 5;
{
VersionCompare:
Takes two version strings and returns an integer
corresponding ... |
unit ufrmExportSettings2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls;
type
TfrmExportSettings = class(TForm)
btnOK: TButton;
Label2: TLabel;
Label1: TLabel;
Labe... |
{ Invokable interface IDelphiConference }
unit untDelphiConferenceIntf;
interface
uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns;
type
TCliente = class(TRemotable)
private
FDataNascimento: string;
FSexo: string;
FNome: string;
FCidade: string;
procedure SetCidade(cons... |
{ @abstract(This file is part of the KControls component suite for Delphi and Lazarus.)
@author(Tomas Krysl)
Copyright (c) 2020 Tomas Krysl<BR><BR>
<B>License:</B><BR>
This code is licensed under BSD 3-Clause Clear License, see file License.txt or https://spdx.org/licenses/BSD-3-Clause-Clear.html.
}
... |
unit CrearPlaquetas;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, CustomModule, Menus, cxLookAndFeelPainters, StdCtrls, cxButtons,
StdActns, ActnList, JvComponentBase, JvFormPlacement, ExtCtrls, JvExControls,
JvComponent, JvEnterTab, Buttons, DB, ADODB, cx... |
unit CustomOutlineEditor;
interface
uses Controls, Classes, Outlines, CustomOutlines, Graphics, Painter, PinNoEntry;
type
TMouseSubCellMove = procedure( SubCellX, SubCellY, CellX, CellY : integer ) of object;
TCmoEditMode = ( emSelect, emLine, emPin );
TCmofMouseMoveTask = ( mvNone, mvMoveShap... |
unit Unit2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IPPeerClient, Vcl.StdCtrls, REST.Client,
Data.Bind.Components, Data.Bind.ObjectScope, Vcl.ExtCtrls, Vcl.ComCtrls;
type
TForm2 = class(TFo... |
// Copyright (c) 2001-2004 Richard C Haven
unit uInternetUtils;
interface
uses
Windows, SysUtils, Classes, Graphics,
UCraftClass;
const
DEFAULT_TIMEOUT_MSEC = 30000;
NO_PORT_ASSIGNED = 0;
type
TWebDownloadProgressEvent = procedure(Sender : TObject; Perc : Integer; Transferred : LongInt) of objec... |
unit FGDemandConfigWin;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
IniFiles, Dialogs, StdCtrls, ExtCtrls;
type
TFGDemandConfig = class
public
UpperLimit: Double;
LowerLimit: Double;
UpperBrush: TColor;
LowerBrush: TColor;
UpperFont: TColor;... |
unit generator;
{
Этот модуль содержит описание абстрактных классов,
которые описывают генераторы значений случайных величин.
}
interface
uses sv;
type
//Класс, генерирующий значение случайной величины
TGenerator = class
protected
distr: TSv;
//Случайная величина
public
constructor Create(distri... |
{Copyright: Vlad Karpov
mailto:KarpovVV@protek.ru
http:\\vlad-karpov.narod.ru
ICQ#136489711
Author: Vlad Karpov
Remarks: Freeware with pay for support, see license.txt
}
unit VKDBFSortedList;
interface
uses
Windows, Messages, SysUtils, Classes, contnrs;
const
FNULL = -1;
FRO... |
unit tiFileName_TST;
{$I tiDefines.inc}
interface
uses
TestFramework
;
type
TTestTIFileName = class( TTestCase )
protected
published
procedure PathNames_AsXML;
procedure PathName_AsXML;
procedure FileNames_AsXML;
procedure FileName_AsXML;
procedure PathNames_FindLikeRootRemoved ;
... |
unit zEmailUnpacker;
interface
uses windows, Classes, SysUtils, zBase64, zUUE;
type
TMailPart = record
Header : string;
Body : string;
Encoding : string;
FileName : string;
end;
TEmailParser = class
private
FFileName: string;
FTekLine : integer;
EmailLines, HeaderLi... |
unit FrameMotor;
interface
uses
Windows, SysUtils, Forms,
Antena, Menus, StdCtrls, ComCtrls, Onoff, Buttons, ExtCtrls,
Controls, Classes, MotorWS, InvokeRegistry, ObservationsWS, CommonObjs;
type
TFrame_Motor = class(TFrame)
Panel2: TPanel;
SpeedButton1: TSpeedButton;
Bulb1: TBulb;
... |
{**********************************************************************************}
{ }
{ Project vkDBF - dbf ntx clipper compatibility delphi component }
{ ... |
unit Component1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TComponent1 = class(TComponent)
private
FMyComponent: TComponent;
FOnComponentChanged: TNotifyEvent;
procedure SetMyComponent(const Value: TComponent);
procedure SetOnComponentChanged(... |
unit DryHelp;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Math;
function CreateHelp(ExeName: string; const ProgramDescription: string;
const Usage: array of string; const Options: array of string): string;
implementation
function RepeatString(const Count: Integer; const Text: string): string;
var
... |
// PDB file format from
// http://deposit.rcsb.org/adit/docs/pdb_atom_format.html
// atom color coding from
// http://mrdoob.github.com/three.js/examples/js/loaders/PDBLoader.js
// part of ThreeJS "molecules" demo:
// http://mrdoob.github.com/three.js/examples/css3d_molecules.html
unit MolHero.ImportPDB;
i... |
unit Test.SqlDataSetProxy;
interface
uses
DUnitX.TestFramework,
System.Classes,
System.SysUtils,
System.Variants,
Data.DB,
Data.DataProxy;
{$M+}
type
[TestFixture]
TestSqDemoProxy = class(TObject)
private const
TestUsingFireDefinitionName = 'SQLite_Demo';
private
fOwner: TComponent;
... |
unit dmConfigMensajes;
interface
uses
SysUtils, Classes, DB, IBCustomDataSet, IBQuery;
const
MENSAJE_PRINCIPAL: string = '###PRINCIPAL###';
type
TConfigMensajes = class(TDataModule)
TipoMensajes: TIBQuery;
TipoMensajesOID_TIPO_MENSAJE: TSmallintField;
TipoMensajesDESCRIPCION: TIBStringField;
T... |
unit RepositorioProdutoValidade;
interface
uses DB, Auditoria, Repositorio;
type
TRepositorioProdutoValidade = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function ... |
unit SignalField;
// Let's make the convention that the ordering is (tau, t) and (tau, w)
// Use Re^[tau*N + t] etc.
interface
uses
FrogObj, Numerics;
type
TSignalField = class(TFrogObject)
private
mN: integer;
public
Re: PArray;
Im: PArray;
procedure TransformToFreq;
procedure... |
unit ValidatorEditController;
interface
uses
Classes, SysUtils, tiObject, mapper, mvc_base, widget_controllers, AppModel,
ValidatorEditViewFrm, BaseOkCancelDialogController;
type
// -----------------------------------------------------------------
// Class Objects
// --------------------------------------... |
{ **************************************************************************** }
{ Project: ConnectFour3D
{ Module:
{ Author: Josef Schuetzenberger
{ E-Mail: schutzenberger@hotmail.com
{ WWW: http://members.fortunecity.com/schutzenberger/download/en.html#ConnectFour3D
{ *************************************... |
{Hint: save all files to location: C:\android\workspace\AppDrawingInBitmap\jni }
unit unit1;
{$mode delphi}
interface
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, AndroidWidget, Laz_And_Controls;
type
{ TAndroidModule1 }
TAndroidModule1 = class(jForm)
jBit... |
unit SetupScript;
interface
uses
{$IFDEF USE_VCL}SysUtils, Classes{$ELSE}AvL{$ENDIF};
type
TSetupScript = class
private
FSections: array of record
Name: string;
Data: TStringList;
end;
function FindSection(const Name: string): Integer;
function GetSection(const Name: ... |
unit ClubWorkflow;
interface
uses FuncModel, Models, StdCtrls, Dialogs, UnitLog, PlayerWorkflow;
procedure CBDelDisp(pins: PModel);
procedure cbShowInBox(start: PModel; lb: TListBox);
procedure cbAdd(lg: League; name: string);
procedure cbDelete(var start... |
unit uBase;
{$ZEROBASEDSTRINGS ON}
interface
uses
System.SysUtils,
System.Math,
IntegerX,
uUtils;
type
IBase = interface
['{105A4B0A-69E8-41D1-9954-5D1CED996326}']
function Encode(data: TArray<Byte>): String;
function Decode(const data: String): TArray<Byte>;
function EncodeString(const... |
unit uOptions;
{$IFDEF FPC}
{$mode objfpc}
{$H+}
//{$modeswitch typehelpers}
{$ENDIF}
interface
uses
{$IFDEF DARWIN}
{$IFDEF UseCThreads}
cthreads,
{$ENDIF}
{$ENDIF}
{$IFDEF DARWIN}
cwstring,
{$ENDIF}
Classes;
type
TOptions = record
StdIn: Boolean;
StdOut: Boolean;
InputFil... |
unit dmCalendarioValor;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, dmCalendario, DB, IBCustomDataSet, IBQuery;
type
TCalendarioValor = class(TCalendario)
private
FOIDValor: integer;
protected
procedure BuscarFechas; override;
public
cons... |
unit createnative;
interface
uses windows;
implementation
//Section Table
type
TSections = array [0..0] of TImageSectionHeader;
type
TImage_Import_Descriptor = packed record
OriginalFirstThunk: Cardinal;
TimeDateStamp: Cardinal;
ForwarderChain: Cardinal;
Name: Cardinal;
FirstThunk: Cardin... |
{ Модуль - <Mouse> } { Неронов Е.Ю. 04.05.03 }
Unit Mouse;
InterFace
Uses Dos;
Procedure MsOn;{Показать курсор}
Procedure MsOff;{Спрятать курсор}
Procedure InitMouse;{Сменить изображене курсора на <<прицел>> }
Procedure MsSendXY(x,y:Integer);{ Указать координаты }
Procedur... |
unit EventLog;
interface
type
TEventLog = class
private
class procedure CheckEventLogHandle;
class procedure Write(AEntryType: Word; AEventId: Cardinal; AMessage: string); static;
public
class var Source: string;
class destructor Destroy;
class procedure WriteInfo(AMessage: string); static;... |
(*
this file is a part of audio components suite v 2.3.
copyright (c) 2002-2005 andrei borovsky. all rights reserved.
see the license file for more details.
you can contact me at mail@z0m3ie.de
*)
{
Status: tested
}
{$define FFTREAL_}
unit acs_indicator;
interface
uses
SysUtils, Classes, ACS_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.