text stringlengths 14 6.51M |
|---|
/// Conference Domain services implementation
unit DomConferenceServices;
interface
uses
SysUtils,
Classes,
SynCommons,
mORMot,
DomConferenceTypes,
DomConferenceInterfaces,
DomConferenceDepend;
type
TConferenceBooking = class(TInterfacedObject, IConferenceBooking)
protected
fRepository: IBookin... |
(* BigInts: F.Li, 1998-11-22
------- HDO, 2018-11-27
Artihmetic for arbitrary sized integers which are
represented as singly-linked lists.
==================================================================*)
PROGRAM BigInts;
... |
unit UDocDataMgr;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted 2003-2011 by Bradford Technologies, Inc. }
{ This unit handles data associated with the container. }
{ It basically is a manager of data o... |
{$optimize 7}
{---------------------------------------------------------------}
{ }
{ Scanner }
{ }
{ External Variables: ... |
unit MainFormU;
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.WinXCtrls, BOsU;
type
TMainForm = class(TForm)
LabeledEdit1: TLabeledEdit;
LabeledEdit2: TLabeledEdit... |
unit unRemoteController;
interface
uses
Classes, idHTTP, DB, VirtualTable;
type
TUrlType = (utOpen, utExecute);
// класс для выполнения запросов на удаленном хосте
// через Indi (HTTP) при помощи GET с параметрами
TRemoteController = class
private
FIdHTTP : TIdHTTP;
FRef : string;
proced... |
unit fmAltSenhaPatterns;
interface
uses
fmFormPatterns, MainModule,
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses,
uniGUIClasses, uniGUIForm, uniSpeedButton, uniButton, uniBitBtn,
uniGUIBaseClasses, uniPanel, uniGroupBox, uniE... |
unit DW.Orientation.iOS;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library }
{ ... |
//***************************************************************************
//
// 名称:RTXC.Plugin.pas
// 工具:RAD Studio XE6
// 日期:2014/11/8 15:11:21
// 作者:ying32
// QQ :396506155
// MSN :ying_32@live.cn
// E-mail:yuanfen3287@vip.qq.com
// Website:http://www.ying... |
unit Frm_SolicitudAsistencia;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.Phys.Intf,
FireDAC.St... |
unit Base.ProxyGenerator;
interface
uses
Data.DB,
System.Classes,
System.SysUtils;
type
EProxyGenError = class(Exception);
type
TProxyGenerator = class (TComponent)
private
FDataSet: TDataSet;
FCode: String;
function FieldToClass (aField: TField): TClass;
procedure SetDataSet(const aData... |
unit LaunchReddit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, BaseModel;
type
IBaseLaunchReddit = interface(IBaseModel) ['{9159D6AA-11F4-4705-B2EF-144184C1BC01}']
function GetCampaign: string;
function GetLaunch: string;
function GetMedia: string;
function GetRecovery: string;
p... |
unit ShortcutEx;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TShortcutItem = class(TCollectionItem)
private
FShortcut: TShortcut;
FOnShortcut: TNotifyEvent;
procedure SetShortcut(const Value: TShortcut);
protected
function GetDisplayName: str... |
{*******************************************************************************
A simple wrapper around the Intel Threading Building Blocks memory allocation
library - tbbmalloc.dll. Implements memory manager based on Intel TBB
memory allocator.
Usage:
Put this unit to the very first place on your program in se... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, TCaptureXLib_TLB, TSelectionLib_TLB, UIElementLib_TLB;
type
TForm1 = class(TForm)
btnSelWnd: TButton;
Label1: TLabel;
txtHandle: TEdit;
Label2: TLabel;
txtID: TMemo;
... |
{$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 l... |
unit help;
{ SimThyr Project }
{ A numerical simulator of thyrotropic feedback control }
{ Version 3.2.3 }
{ (c) J. W. Dietrich, 1994 - 2013 }
{ (c) Ludwig Maximilian University of Munich 1995 - 2002 }
{ (c) Ruhr University of Bochum 2005 - 2013 }
{ This unit draws a help window with clickable options to get additi... |
unit QualityDoc;
interface
uses
AncestorEditDialog, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters,
Vcl.Menus, cxControls, cxContainer, cxEdit, Vcl.ComCtrls, dxCore, cxDateUtils,
dsdGuides, cxDropDownEdit, cxCalendar, cxMaskEdit, cxButtonEdit, cxTextEdit,
cxCurrencyEdit, Vcl.Controls, cxLabel, dsdDB, dsdA... |
unit MSSQLAcs;
{
The data access class for MSSQL
}
interface
uses windows,classes,sysUtils,IntfUtils,contnrs,DBAIntf,Listeners, BDAImpEx;
const
lcMSSQL = 14;
type
TMSSQLError = class;
TMSSQLErrorObj = class
private
FSeverity: integer;
FOSErrCode: integer;
FDBErrCode: integer;
FOSErrMsg: ... |
unit CoolCtrls;
// %CoolCtrls : 具有特殊外观的Label,Button
(***** Code Written By Huang YanLai *****)
interface
uses
Windows, Messages, SysUtils, Classes, Graphics,
Controls, Forms, Dialogs,StdCtrls,ComCtrls,
Buttons,ImgList,AppearUtils,LibMessages,ComWriUtils,
ExtCtrls,AbilityManager;
const
LM_ButtonDown = ... |
unit map7a;
interface
uses
Classes, Graphics, Types, ExtCtrls,
city10;
type
TMap = class
private
cx,cy, nview, nmap: Float;
fCity: TCity;
fPaint: TPaintBox;
property paint: TPaintBox read fPaint;
procedure SetCity(value: TCity);
function GetView: Float;
function i... |
unit GUI.MainForm;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls,
Vcl.AppEvnts, Vcl.ComCtrls, Vcl.ExtDlgs,
GUI.ExternalInterface, GUI.Timeline;
type
TAnimationEditorForm = cl... |
{ LazDebian settings dialog for package creation
Copyright (C) 2012 Bernd Kreuss prof7bit@gmail.com
This source 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 (at you... |
unit Util.Enum;
interface
type
TOperacao = (oCreate, oRead, oUpdate, oDelete);
TModoViewList = (mvlNormal, mvlSearch);
implementation
end.
|
unit uWaveApi;
interface
uses
SysUtils, Windows, Dialogs, MMSystem, Math, Classes;
const
Format_nChannels = 1;
Format_wBitsPerSample = 8;
Format_nSamplesPerSec = 8000;
// Format_wBitsPerSample = 16;
// Format_nSamplesPerSec = 44100;
BufferSizeInMillis = 50;
SamplesPerBuffer = Format_nSamp... |
unit core_game_items;
{$mode objfpc}{$H+}
interface
uses
core_types,
VectorGeometry;
type
//general class
rGameObject = record
//flags if array position can be reused
allocated:boolean;
id:integer;
position:TAffineVector;
//actor that is currently 'manipulating' the object
ownerID:in... |
unit OAuth2.ResponseType.RedirectResponse;
interface
uses
Web.HTTPApp,
OAuth2.ResponseType.Abstract;
type
TOAuth2RedirectResponse = class(TOAuth2AbstractResponseType)
private
{ private declarations }
FRedirectUri: string;
protected
{ protected declarations }
public
{ public declarations ... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit UIStyleEditors;
{$I KSConditions.INC }
interface
uses sysUtils,classes, TypInfo, UIStyles, ImagesMan
{$ifdef VCL60_UP }
,DesignIntf, DesignEditors
{$else}
,dsgnintf
{$endif}
;
type
TItemNameProperty = class(TStringProperty)
private
FItemClass: TUICustomStyleItemClass;
public
//proce... |
unit dmMensajeria;
interface
uses
SysUtils, Classes, Dialogs, JvBaseDlg, JvDesktopAlert, JvComponentBase,
Graphics, IBSQL, IBDatabase, DB, IBCustomDataSet, IBQuery,
kbmMemTable, Messages, dmHandledDataModule;
const
WM_CHEQUEAR_CORREO = WM_USER + 1;
type
TMensajeria = class(THandledDataModule)
JvDeskto... |
unit uProdPositionCalcSDK;
{$i twcomp.pas}
interface
uses
uProdPositionCalc, SysUtils, uOpportunityPositions, Vcl.Dialogs, uVariantTools,
CAS_ToolsVariant;
{==============================================================================}
{ CLASS TProductPositionDataSDK }
{=========================================... |
unit ListViewCheckListForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.ListView.Types,
Data.Bind.GenData, System.Rtti, System.Bindings.Outputs, Fmx.Bind.Editors,
Data.Bind.EngExt, Fmx.Bind.DBEngExt... |
{$R+} {Directiva de compilador R}
program CargaMatrices;
const
max = 5;
type
rangofila= 1..max;
rangoCol= 1..max;
Matriz = array [rangofila, rangoCol] of integer;
var
Mat: Matriz;
Procedure Cargar (var M:Matriz);
var
fil: rangofila;
col: rangoCol;
Begin
randomize;... |
unit core_shader_program;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,dglOpenGL,core_types;
type
{ TProgram }
TProgram = class
ID:gluint;
shaderName:string;
resizeDirty:boolean;
//wrapper around glGetUniformLocation, just makes sure uniform exists in shader code
//actually prog is no... |
PROGRAM XPrint(INPUT, OUTPUT);
CONST
MIN = 1;
MAX = 25;
TYPE
Sieve = SET OF MIN..MAX;
VAR
UserSieve: Sieve;
Ch: CHAR;
PROCEDURE PickUpSymbol(VAR Ch: CHAR; VAR SourceSieve: Sieve);
BEGIN{PickUpSymbol}
CASE Ch OF
'A': SourceSieve := [3, 7, 9, 11, 15, 16, 17, 18, 19, 20, 21, 25];
'B': SourceSi... |
unit console;
interface
uses
exec, inputevent, keymap {$IFDEF AROS},utility{$ENDIF};
const
//* console.device commands */
CD_ASKKEYMAP = CMD_NONSTD + 0;
CD_SETKEYMAP = CMD_NONSTD + 1;
CD_ASKDEFAULTKEYMAP = CMD_NONSTD + 2;
CD_SETDEFAULTKEYMAP = CMD_NONSTD + 3;
//* SGR paramet... |
{*****************************************************************************
Name : psvPluginReg
Author : Perevoznyk Serhiy
Description : psvPlugin Registration and Experts
History :
Date By Description
---- -- -------... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
//被二维码单元引用的函数
unit ReedSolomon;
interface
type
TPloy = array of byte;
function Add(x, y : byte) : byte;
function Mul(x, y : byte) : byte;
function PloyMod(x, y : TPloy) : TPloy;
implementation
uses SysUtils;
function Add(x, y : byte) : byte;
begin
Result := x xor y;
end;
function Mul(x, y : byte) : byte;
... |
unit RPProgress;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, RPProcessors, ProgressShowing;
type
TProgressStatus = (psRun,psPause,psStop,psCancel,psStopped,psCanceled);
TdlgPrintProgress = class(TForm, IWaitingForm)
btnStop: TBitBtn;
bt... |
unit class_edit_view;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, base_dialog_view, StdCtrls, ComCtrls, Menus;
type
TClassEditView = class(TBaseDialogView)
eBaseClassName: TEdit;
lblBaseClassName: TLabel;
eBaseClassParent: TEdit;
lblBaseCla... |
//Copyright 2015 Andrey S. Ionisyan (anserion@gmail.com)
//
//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 applicabl... |
unit zxml;
// ***************************************************************************
// ***************** Библиотека классов для работы с XML ********************
// ********************** (C) Зайцев О.В.,2002 г. ****************************
// *****************************************************************... |
unit uSysinfo;
interface
uses
Forms,
SysUtils,
Dialogs,
Classes,
Controls,
windows,
Registry;
type
SystemInfoRecord = record
VolumeName, // 디스크 볼륨명
VolumeSerial, // 디스크 시리얼번호
FileSystemName, // 파일구조
Drives: shortstring; // ... |
{
This is part of Vortex Tracker II project
Version 2.0 and later
(c)2017-2021 Ivan Pirog, ivan.pirog@gmail.com
https://github.com/ivanpirog/vortextracker
}
unit ntfs;
interface
uses Types, Windows, SysUtils, Dialogs;
const
FILE_ATTRIBUTE_REPARSE_POINT = 1024;
IO_REPARSE_TAG_MOUNT_POINT = $A0000003;
FILE_FLA... |
unit uFindInHtml;
interface
uses System.RegularExpressions, System.SysUtils, System.Variants, System.Classes, REST.Types, REST.Client, IdHTTP,
IdSSLOpenSSL, System.Net.HttpClientComponent;
type
IFindInHtml = interface
['{518A6559-859B-4AAB-BDD8-B722F2CF14AC}']
end;
TFindInHtml = class(TInterfacedObjec... |
unit UClientVoucher;
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, System.Contnrs,
Vcl.ValEdit, Vcl.Buttons, Vcl.ImgList, Vcl.CheckLst, Vcl.ComCtrls;
type
TFClientVou... |
unit DIOTA.Utils.StopWatch;
interface
type
TStopWatch = class
private
FStartTime: Int64;
FRunning: Boolean;
FCurrentTime: Int64;
public
constructor Create;
procedure ReStart;
function Stop: TStopWatch;
procedure Pause;
procedure Resume;
{
* Elapsed time in milliseconds.
... |
unit frameHorario;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, Spin;
type
THorario = class(TFrame)
lblNomeDoHorario: TGroupBox;
lblHoras: TStaticText;
edtHoras: TSpinEdit;
lblMinutos: TStaticText;
edtMinutos: TSpinE... |
unit frMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Memo.Types,
System.Rtti, FMX.Grid.Style, FMX.Grid, FMX.ScrollBox, FMX.Memo,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.TabControl, Sy... |
unit ulodmretrieverfactory;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
XMLConf,
SyncObjs,
FGL,
SQLDB,
uloCoreInterfaces,
uloCoreTypes,
uloDMTypes,
uloDMRetriever,
uloDMRetriever_MSSQLServer;
type
{ TloDMRetrieverFactoryFunction }
TloDMRetrieverFactoryFunction = function (aCo... |
unit rTgIntf2;
interface
uses
SysUtils, rHttpUtils;
type
ETgError = class (Exception)
protected
FErrorCode: Integer;
public
constructor CreateError(const AErrorCode: Integer;
const AReplyMessage: string); reintroduce; virtual;
property ErrorCode: Integer read FErrorCode;
end;
tTgAccessM... |
function ArrayCharToString(arrChar: ArrayChar): string;
var index: integer;
begin
ArrayChartoString := '';
for index := 0 to HIGH(arrChar) do
begin
ArrayChartoString := ArrayChartoString + arrChar[index];
end;
end;
|
unit uFrmConsulta;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.Buttons, Vcl.StdCtrls,
Vcl.ExtCtrls, uDM, uLembreteDAO, uLembrete, generics.defaults, generics.collections;
type
TfrmConsu... |
unit dll_kernel32_sysobj;
interface
uses
atmcmbaseconst, winconst, wintype;
const
MAXIMUM_WAIT_OBJECTS = 64;
type
TWOHandleArray = array[0..MAXIMUM_WAIT_OBJECTS - 1] of THandle;
PWOHandleArray = ^TWOHandleArray;
PRTLCriticalSection = ^TRTLCriticalSection... |
//
// Created by the DataSnap proxy generator.
// 21/10/2015 18:03:03
//
unit uCC;
interface
uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBXDBRead... |
//------------------------------------------------------------------------------
// Name der Unit: unitTypes
//
// Projekt: bva.dpr
// In diesem Praktikum sollen Algorithmen zur Polarabtastung implementiert
// und ihre Anwendnugsmöglichkeiten, aber auch ihre Grenzen experimentell
// untersucht werden.
//
//
//... |
unit RPDLLImp;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit>RPDLLImp
<What>实现了一个打印报表的动态连接库的接口函数
<Written By> Huang YanLai (黄燕来)
<History>
**********************************************}
interface
uses RPDBCB;
// 定义错误信息
const... |
object formStatusEdit: TformStatusEdit
Left = 0
Top = 0
BorderStyle = bsDialog
Caption = 'Status Edit'
ClientHeight = 88
ClientWidth = 364
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = F... |
unit uiwindow_wndproc_uispace;
interface
uses
Windows,
Messages,
uiwindow_clip;
function UIWndProcA_UISpace(AUIWindow: PUIWindow; AMsg: UINT; wParam: WPARAM; lParam: LPARAM; var AWndProcResult: LRESULT): Boolean;
implementation
function WndProcA_WMNCCALCSIZE(AUIWindow: P... |
{%RunFlags BUILD-}
unit xlbtdevice;
{$mode objfpc}{$H+}
interface
uses
SysUtils,
Classes,
synaser;
const
AUX_RSSI_CALC = 255.0; // floating point precision needed
// positions
RESPONSE_LENGTH_POS = 3;
MAC_ADDRESS_START_POS = 9;
MAC_ADDRESS_LEN = 6;
MAC_ADDRESS_END_POS = MAC_ADDRESS_START_POS... |
unit InventoryTest;
interface
uses dbTest, dbMovementTest, ObjectTest;
type
TInventoryTest = class (TdbMovementTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TInventory = class(TMovementTest)
private
protected
function InsertDefault: integer; override;
... |
PROGRAM LowerToUpperCase(Infile,Outfile,output);
{takes text from Infile.dat in lower case and writes it to
Outfile.Dat in uppercase}
VAR InFile,OutFile: Text;
LineCounter: integer;
(**************************************************************************)
PROCEDURE TurnToUpperCase(var Ch: c... |
{******************************************************************************}
{ }
{ Icon Fonts ImageList: An extended ImageList for Delphi }
{ to simplify use of Icons (resize, colors and more...) ... |
unit V_Historico_Produtos_01;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, StdCtrls, Buttons, ExtCtrls, Mask;
type
TVHistoricoProdutos01 = class(TForm)
GroupBox1: TGroupBox;
GroupBox2: TGroupBox;
Panel1: TPanel;
BitBtn1: ... |
unit ufrmTipsWindow;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Winapi.MMSystem, Vcl.Imaging.pngimage,
Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ImgList, Vcl.Buttons;
type
Tfrm_TipsWindow = class(TForm)
img... |
unit UMacUtils;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2005 by Bradford Technologies, Inc. }
interface
Uses
SysUtils,ComCtrls,
UGlobals, UFileGlobals;
//generic mac to win transposers
f... |
unit server;
{
Bridge TCP server pro komunikaci s panely, ktere daemonovi davaji lokomotivy
k rizeni.
}
interface
uses SysUtils, IdTCPServer, IdTCPConnection, IdGlobal, SyncObjs,
Classes, StrUtils, tUltimateLIConst, Graphics, Windows,
IdContext, ComCtrls, IdSync, Generics.Collections;
const
_BRIDGE_... |
(*============================================================================
-----BEGIN PGP SIGNED MESSAGE-----
This code (c) 1994, 1997 Graham THE Ollis
GENERAL NOTES
=============
This is 16bit DOS TURBO PASCAL source code. It has been tested using
TURBO PASCAL 7.0. You will need AT LEAST version 5.0 ... |
unit AdmClass_AdmObjects_Unit;
{ объекты администрирования и всё что с ними связано }
interface
uses SysUtils;
const
{ имя таблицы, где хранятся права на все таблицы, кроме справочников }
RIGHTS_TABL_NAME = 'S_RIGHTS';
type
TUserRightsEnum =
(
turRead, turZav, turRask,
turZadv, turPoter, tu... |
unit RetornoLoteNFe;
interface
type
TRetornoLoteNFe = class
private
FCodigoLote :Integer;
FStatus :String;
FMotivo :String;
FRecibo :String;
private
function GetCodigoLote: Integer;
function GetMotivo: String;
function GetRecibo: String;
function GetStatus: String;
... |
// Fit4Delphi Copyright (C) 2008. Sabre Inc.
// 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 (at your option) any later version.
//
// This program is... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit uFormDefault;
interface
uses
Classes, SysUtils, Controls,
Forms, StdCtrls, ExtCtrls, RaApplication, RaBase, RaControlsVCL;
type
{ TFormDefault }
TFormDefault = class(TRaFormCompatible)
RaButton1: TRaButton;
procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit TipoJurosRN;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.Mask, RxToolEdit, RxCurrEdit, Vcl.ComCtrls, Vcl.ToolWin,
Vcl.ExtCtrls, System.ImageList, Vcl.ImgList, PngImageList, RxLook... |
program e8p1;
uses
crt;
const
MAX_CARACTERES = 10;
type
tArr = array [1..MAX_CARACTERES] of char;
tCaracter = file of char;
////////////////////////////////////////////////////////////////////////
procedure mostrarArchivo(var archivo:tCaracter);
var
letra:char;
begin
reset(archivo);
wh... |
unit uMongoDataSetPersonal;
interface
uses
FireDAC.Phys.MongoDBWrapper, FireDAC.Phys.MongoDBDataSet, System.Classes, UMongoCursor;
type
TMongoDataSetPersonal = class(TFDMongoDataSet)
private
FAtivarCursor: Boolean;
Focrs: TMongoCursor;
procedure setAtivarCursor(const Value: Boolea... |
unit u_VectorItemLocal;
interface
uses
Classes,
t_GeoTypes,
i_EnumDoublePoint,
i_LocalCoordConverter,
i_VectorItemLocal;
type
TLocalLineSet = class(TInterfacedObject)
private
FList: IInterfaceList;
FLocalConverter: ILocalCoordConverter;
private
function GetCount: Integer;... |
unit Pickdate;
interface
uses Windows, Classes, Graphics, Forms, Controls, Buttons,
SysUtils, StdCtrls, Grids, Calendar, ExtCtrls;
type
TBrDateForm = class(TForm)
Calendar1: TCalendar;
OkBtn: TButton;
CancelBtn: TButton;
TitleLabel: TLabel;
PrevMonthBtn: TSpeedButton;
NextMo... |
(* ***** BEGIN LICENSE BLOCK *****
* 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/
*
* Softwa... |
unit gdxshaperenderer;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, {And_jni_Bridge,} AndroidWidget;
type
TGDXShapeType = (stFilled);
{Draft Component code by "LAMW: Lazarus Android Module Wizard" [9/22/2019 18:55:32]}
{https://github.com/jmpessoa/lazandroidmodulewizard}
{jControl template}
{ jGd... |
//****************************************************************************
//
// Program Name : - AT Library -
// Program Version: 1.00
// Filenames : AT.Windows.Graphics.Watermark.pas
// File Version : 1.00
// Date Created : 26-JAN-2014
// Author : Matthew S. Vesperman
//
// Description:
... |
(*
Base audio in/out classes
This file is a part of Audio Components Suite.
All rights reserved. See the license file for more details.
Copyright (c) 2002-2009, Andrei Borovsky, anb@symmetrica.net
Copyright (c) 2005-2006 Christian Ulrich, mail@z0m3ie.de
Copyright (c) 2014-2015 Sergey Bodrov, serbod@gmail.co... |
program TestSwap;
procedure Swap(var v1, v2 : Integer);//out a, b : Integer
var temp : Integer;
begin
temp:=v1;
v1:=v2;
v2:=temp;
end;
procedure Main();
var v1,v2 : Integer;
begin
Write('Enter a number ');
ReadLn(v1);
Write('Enter another number ');
ReadLn(v2);
WriteLn ('v1 is :',v1,' and v2 is :',v2);
Swap... |
unit ColumnarCellAlignedLayoutManager;
interface
uses
BoxLayoutManager,
HorizontalBoxLayoutManager,
Windows,
LayoutManager,
LayoutItem,
Controls,
SysUtils,
Classes,
VariantListUnit;
type
{ Refactor }
TColumnarCellAlignedLayoutManager = class (THorizontalBoxLayoutManager)
protected
... |
unit rDateUtils;
interface
// Декодирование даты в формате RSS "Thu, 08 Mar 2018 17:36:43 +0300"
function RSSToDateTime(const sDateValue: string; const bUTC: Boolean = False): TDateTime;
// Преобрабование даты из UTC в локальную
function UTCDateTimeToDateTime(aDate: TDateTime): TDateTime;
// Преобрабование даты из фо... |
unit ThoughtWorks.QRCode.Codec.QRCodeEncoder;
interface
uses
GdiPlus, QType, System.Classes, System.Generics.Collections, System.Variants,
System.SysUtils, Winapi.Windows, ThoughtWorks.QRCode.Codec.Util.QRCodeUtility;
type
TQRCodeEncoder = class
public
type
ENCODE_MODE = (ALPHA_NUMERIC, NUMERIC, BY... |
unit uprtsettings;
{
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions t... |
unit uDm;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,
FireDAC.DApt.Intf, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client,
System.JSON, uRestDataWare, uFiredac
{$IFDEF ANDROID}
... |
unit UColorImages;
interface
uses
Graphics, UPixelConvert, UGrayscaleImages;
type
TCColorImage = class
private
ImgHeight: word;
ImgWidth: word;
ImgPixels: array of array of TColorPixel;
procedure SetHeight(newHeight: word);
function GetHeight: word;
procedure SetWidth... |
unit Utama;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls,
ComCtrls, MaskEdit;
type
{ TFormUtama }
TFormUtama = class(TForm)
btnLoad: TButton;
btnSave: TButton;
btnWarna: TButton;
btnInvers: TButton;
btnGray: TButton;
b... |
unit AlignmentPattern;
{
* Copyright 2008 ZXing authors
*
* 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 requi... |
unit AlxFileMerge;
interface
uses
SysUtils, Classes, AlxCommon, Math;
type
TAlxFileMerge = class(TObject)
private
FFileName: String; //Имя файла соединенного
FFileCount: Integer; //Кол-во файлов в файле
FArrCount: Integer; //Кол-во заполненых элементов в массиве
CurrFile: TAlxSpecFileRec;
F... |
unit Evaluator;
interface
uses
Classes, SimpleStack;
type
TAssociativity = (asNone, asLeft, asRight);
TParity = (paUnary, paBinary);
TOperator = record
Simbol: string;
Precedence: byte;
Associativity: TAssociativity;
Parity: TParity;
procedure Create(Simbol: string; Precedence: Byte; ... |
{******************************************************************************}
{ }
{ Icon Font Image fmx: An extended Image for Delphi/FireMonkey }
{ to simplify use of Icons (resize, colors and more...) ... |
Unit WinPaint;
Interface
Uses
System.SysUtils, System.Classes, Vcl.Controls, Winapi.Messages, Winapi.Windows,
System.UITypes, Vcl.Graphics,
Winapi.GDIPAPI, Winapi.GDIPOBJ;
Type
TWinPaintEvent = Procedure(DC: HDC) Of Object;
TWinPaint = Class(TWinControl)
Private
{ Private declarations }
FOnPaint: TWinPain... |
{$MODESWITCH RESULT+}
{$GOTO ON}
(*************************************************************************
Copyright (c) 2007, Sergey Bochkanov (ALGLIB project).
>>> SOURCE LICENSE >>>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as p... |
unit WXAppPayUnit;
interface
uses //xml解析
SysUtils, Classes, TUTools, DateUtils, ActiveX, XMLIntf, XMLDoc, HttpPostXML_TLB;
function WXAppPayGetOrder(body, out_trade_no, spbill_create_ip, total_fee,
callback_info: string): string; //返回订单
function AliAppPayVerify(Data: string): string;
function WXAPPPAYReadXml(x... |
unit FormStorage;
interface
uses
Classes, Forms, dsdDB, Xml.XMLDoc, ParentForm, UnilWin, UtilConst,
StorageSQLite, Datasnap.DBClient;
type
TdsdFormStorage = class
strict private
class var
Instance: TdsdFormStorage;
private
XMLDocument: TXMLDocument;
StringStream: TStringStream;
Memor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.