text stringlengths 14 6.51M |
|---|
unit uGerente;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, uCidade, uEstado, uPais, uCadastroCidade,
uCadastroPais, Vcl.Menus;
type
TForm1 = class(TForm)
btnGravar: TButton;
btnRecu... |
program ejercicio_5;
type
cadena=string[40];
candidato=record
localidad:cadena;
apellido:cadena;
cant_votos:integer;
cant_votanteslocalidad:integer;
end;
procedure leerCandidato(var reg:candidato);
begin
write('Ingrese la localidad: ');
readln(reg.localidad);
write('Ingrese el apellido del ... |
Program CircleStats;
CONST PI=3.1415;
FUNCTION CircleArea(r:Double): Double;
BEGIN
result := PI*r*r;
END;
FUNCTION CircleDiameter(r:Double): Double;
BEGIN
result := 2*r
END;
FUNCTION CircleCircumference(r:Double): Double;
BEGIN
result := PI*r
END;
Procedure main();
Var
Radius: Double;
BEGIN
Write('Enter the radi... |
unit UArtefact;
interface
uses Graphics, ExtCtrls, UGameTypes, Types, UPerson, Messages;
TYPE
TOnNeedRedraw = procedure(Sender : TObject) of object; //процедура определённого формата
TArtefact = class (TObject)
private
procedure TimerTick(Sender : TObject); //процедура вызывающаяся по таймеру
... |
(*
Copyright (c) 2012-2014, 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 uBitsEditor;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, VirtualTrees, Menus, Dialogs, Windows, Forms,
Controls,
uLibrary,
u2ColumnEditor;
type
{ TBitsData }
TBitsData = class(T2ColumnData)
private
fBits: IBits;
protected
function GetShortDescription: string; override;
f... |
unit ULoginUsuario;
interface
uses
UFuncionario
, URepositorioFuncionario
, UUtilitarios
;
type
TLoginUsuario = class
private
class var FLoginUsuario: TLoginUsuario;
FRepositorioFuncionario: TRepositorioFuncionario;
FFUNCIONARIO: TFUNCIONARIO;
function RetornaFuncionario: TFUNCIONARIO... |
unit ULog;
interface
uses
System.Classes,
System.Generics.Collections,
System.SysUtils,
System.SyncObjs;
type
TLogItem = class
strict private
FFileStream: TFileStream;
FCS: TCriticalSection;
public
constructor Create(const AFileName: string);
destructor Destroy; override;
procedure ... |
unit core_block_brush;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,VectorGeometry,core_types,VectorTypes,fgl,core_listofrecords,
core_utils;
type
//brush can be build in viewport from blocks
eBrushPaintModes = (bpmPaint,bpmSample,bpmErase);
{ TBlockBrush }
TBrushDataList = specialize TFPGList... |
unit FindUnit.FileCache;
interface
uses
FindUnit.PasParser,
FindUnit.SearchStringCache,
Interf.SearchStringCache,
System.Classes,
System.Generics.Collections,
System.SyncObjs;
type
TUnits = class(TObject)
strict private
FUnitsPath: TDictionary<string, TPasFile>;
FUniqueUni... |
unit DIOTA.Dto.Request.FindTransactionsRequest;
interface
uses
System.Classes,
REST.Client,
System.JSON.Builders,
DIOTA.IotaAPIClasses;
type
TFindTransactionsRequest = class(TIotaAPIRequest)
private
FAddresses: TStrings;
FTags: TStrings;
FApprovees: TStrings;
FBundles: TStrings;
protect... |
program CustomTree;
{$mode objfpc}{$H+}
uses
SysUtils,
MUIClass.Base, MUIClass.Window, MUIClass.Tree,
MUIClass.Group, MUIClass.Area, MUIClass.Gadget;
type
{ TTreeTestWin }
TTreeTestWin = class(TMUIWindow)
Tree: TMUICustomTree;
SelText: TMUIText;
NewText: TMUIString;
constructor Create; ove... |
unit mpiComplex;
interface
type
TFloat = Extended;
TComplex = record
re, im : TFloat;
end;
TComplexArray = array of TComplex;
TComplexMatrix = array of array of TComplex;
TFloatArray = array of TFloat;
function Complex (re, im : TFloat) : TComplex;
fu... |
unit uVincReceitasIngredientes;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.StdCtrls, Vcl.Buttons,
Vcl.ExtCtrls;
type
TRegIngrediente = record
id:integer;
nome:string[1... |
unit ExtDialogs;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit>ExtDialogs
<What>包含扩充的对话框
<Written By> Huang YanLai (黄燕来)
<History>
**********************************************}
interface
uses
Windows, Messages, SysUtils, Cl... |
unit uFizzBuzzCoreTest;
interface
uses
TestFrameWork
,uFizzBuzzCore;
type
TFizzBuzzCoreTest = class(TTestCase)
procedure verificarNumeroMultiploDoDivisor();
procedure verificarNumeroContendoODivisor();
procedure verificarNumeroNaoMultiploDoDivisor();
end;
implementation
uses
System.SysUtils... |
unit untCol;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls;
type
TForm1 = class(TForm)
Label1: TLabel;
btnRed: TButton;
btnGreen: TButton;
btnYellow: TButton;
shpRed: TShape;
shpGreen: TShape;
sh... |
unit ModeloClasse;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
{ TNomeClasse }
TNomeClasse = class(TObject) //Com a declaração do tipo a Unit vira uma classe
private
{ São aqueles que só podem ser acessados por outros
métodos da classe, isto é, só são visíveis den... |
unit Unit3;
interface
uses
System.SysUtils,
Unit4;
type
IModel = interface
function Zero: string;
function One: string;
function Two: string;
function Three: string;
function Four: string;
function Five: string;
function Six: string;
function Seven: string;
... |
unit Replace;
{$include kcontrols.inc}
interface
uses
{$IFDEF FPC}
LCLType, LCLIntf, LResources,
{$ELSE}
Windows, Messages,
{$ENDIF}
SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, KEditCommon, Search;
type
{ TReplaceForm }
TReplaceForm = class(TSearchForm)
LBR... |
{$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... |
unit ce_mru;
{$I ce_defines.inc}
interface
uses
Classes, SysUtils,
ce_interfaces, ce_observer, ce_synmemo, ce_common;
type
(**
* 'Most Recently Used' list for strings.
*)
TCEMruList = class(TStringList)
private
fMaxCount: Integer;
fObj: TObject;
protected
fChecking: boolean;
proce... |
unit ExportToHtmlUnit;
interface
uses
System.Classes, Vcl.Controls, DepModelUnit, Data.SqlExpr;
type
TSetProgres = procedure of object;
TExporterToHTML = class(TThread)
private
FMainFormHandle: THandle;
FPathToHTML: string;
FIsStop: Boolean;
FDepItem: TDepItem;
FSQLDataSet: TSQLDataSet;
... |
{*******************************************************************************
Functions to interoperate with OpenOffice (basically the
same way as official documentation describes on Visual Basic).
Explanation:
The official spec of OpenOffice (and LibreOffice) gives many examples how
to automatize the work ... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
{
TCodecFileInfo Component Version 2.0b - Suite GLibWMI
Copyright (©) 2009-2013, by Germán Estévez (Neftalí)
La clase WMI Win32_CodecFile representa el códec de audio o video instalado en el sistema informático.
Utilización/Usage:
Basta con "soltar" el componente y activarlo.
Place the comp... |
{
ID:because3
PROG:sort3
LANG:PASCAL
}
program sort3;
var n:integer;
h,e:pointer;
procedure qsort(l,r:integer);
begin
i:=l;
j:=r;
tmp:=random(l-r+1)+l;
tmp:=a[tmp];
while i<=j do begin
while a[i]<tmp do inc(i);
while a[j]>tmp do dec(j);
if i<=j then begin
x:=a[i];
a... |
unit SystemUtils;
interface
uses
Windows, forms, Controls, dialogs, ExtCtrls, graphics, SysUtils, ShlObj, Classes, DataClass, filefunc, Grids,
Registry, Messages, ActiveX, Math, Procs;
const
WM_RESTOREMESSAGE = WM_USER + 3245;
function RdTSC: int64; register;
function GetSystemSpeed: integer;
procedure Registe... |
// efg, September 1998
unit GraphicsConversionsLibrary;
interface
USES
Graphics;
FUNCTION LoadGraphicsFile(CONST Filename: STRING): TBitmap;
implementation
USES
{$IFDEF GIF}
GIFImage, // TGIFImage
{$ENDIF}
JPEG, // TJPEGImage
SysUtils; // FileExists
//... |
unit SettingsUnit;
{$mode objfpc}{$H+}
interface
uses
IniFiles, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
type
{ TSettings }
TSettings = class(TForm)
Button1: TButton;
Button2: TButton;
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
Grou... |
unit c_TzWorld;
interface
uses
t_TzWorld,
c_AfricaAbidjan,
c_AfricaAccra,
c_AfricaAddis_Ababa,
c_AfricaAlgiers,
c_AfricaAsmara,
c_AfricaBamako,
c_AfricaBangui,
c_AfricaBanjul,
c_AfricaBissau,
c_AfricaBlantyre,
c_AfricaBrazzaville,
c_AfricaBujumbura,
c_AfricaCairo,
c_Af... |
unit MMReg;
interface
uses
Windows;
{$REGION 'mmreg.h'}
//* use version number to verify compatibility */
const
_INC_MMREG = 158; // version * 100 + revision
{$EXTERNALSYM _INC_MMREG}
{$ALIGN 1}
(* manufacturer IDs *)
const
//#ifndef MM_MICROSOFT
MM_MICROSOFT = 1; (* Mic... |
unit DialogHook;
interface
uses
Windows, Messages, SysUtils;
type
CBT_CREATEWND = record
lpcs: PCreateStruct;
hwndInsertAfter: HWND;
end;
LPCBT_CREATEWND = ^CBT_CREATEWND;
implementation
const
PROP_OLD_WNDPROC_NAME = 'prop_old_wndproc';
var
hHookHandle: HHOOK;
function HookWndProc(wnd: HWND; ... |
unit fb;
interface
{
Linux framebuffer unit
TODO: convert the IOW (ioctl) macro to function
2020, Thaddy de Koning
}
{
Automatically converted by H2Pas 1.0.0 from /usr/include/linux/fb.h
The following command line parameters were used:
-o
/home/asta/fb.pas
/usr/include/linux/fb.h
}
{$IFDEF FPC}
{$... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit frmAlign;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseForm, Vcl.StdCtrls,
Vcl.Buttons, System.ImageList, Vcl.ImgList, SpeedButtonEx, Vcl.ExtCtrls,
VGCore_TLB, System.Generics.Collections;
type
... |
unit NetReaderEasyPC;
interface
uses NetReader;
// Low level access to Protel Netlist files.
type TEasyPCNetReader = class( TveNetReader )
protected
CurrentNet : string;
HaveNet : boolean;
function GetNetlistDescriptor : string; override;
public
function CheckCompatibility : bool... |
unit DIOTA.IotaAPI;
interface
uses
System.Classes,
Generics.Collections,
DIOTA.IotaAPICore,
DIOTA.Pow.ICurl,
DIOTA.IotaLocalPow,
DIOTA.Model.Bundle,
DIOTA.Model.Transaction,
DIOTA.Model.Transfer,
DIOTA.Model.Input,
DIOTA.Dto.Response.GetNewAddressesResponse,
DIOTA.Dto.Response.GetTransfersRespon... |
unit oUtils;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Graphics, ExtCtrls, IniFiles, Dialogs,
ueSelector,
oGlobal;
function CreateIni: TCustomIniFile;
function CheckboxMessageDlg(const AMsg, ACheckboxMsg: string;
DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; HelpCtx: Longint;
out IsChecked: ... |
unit UFactory;
interface
uses
UUser, UPerson, UPhysicalPerson, UJuridicalPerson;
type
TFactory = class
private
public
function CreateUser(
id: integer;
username: string;
password: string
): TUser;
function CreatePhysicalPerson(
... |
unit SystemAuthorizationService;
interface
uses
ApplicationService;
type
TSystemAuthorizationServiceException = class (TApplicationServiceException)
end;
ISystemAuthorizationService = interface (IApplicationService)
function IsRoleAssignedToClient(
const ClientIdentity: Variant;
cons... |
{**********************************************************************}
{ }
{ "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... |
program ej5;
type
intendente = record
localidad : string;
apellido : string;
votos : integer;
votantes : integer;
porcentaje : Real;
end;
maximos = record
max_votos : Integer;
max_porcentaje : Real;
apellido_votos : string;
apellido_porcentaje : string;
end;
procedure leerDatos(var nuevo_inten... |
unit MtxProduct;
interface
uses Classes, IniFiles, ConnBase, ProtocolBase, DeviceBase;
type
EStartMode = (
PS_ORIGIN, //started with original BL/FW of manufacturer
PS_MTX_UPD, //started with Metronix bl-updater
PS_MTX_SRV, //started in mode of Metronix Service
... |
unit uAffiliation;
interface
uses
uSQLUtils;
type
TAffiliation = class(TSQLHelper)
private
FAff_Id: Integer;
FTitle: string;
FDescription: string;
function GetAff_Id: Integer;
function GetTitle: string;
function GetDescription: string;
public
property Aff_Id: Integer read GetAff_I... |
unit win.math;
interface
uses
BaseType;
procedure SinCos(const Theta: TFloat; out Sin, Cos: TFloat); overload;
procedure SinCos(const Theta, Radius: Single; out Sin, Cos: Single); overload;
procedure SinCos(const Theta, ScaleX, ScaleY: TFloat; out Sin, Cos: Single); overload;
const
CRad01 ... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC MSSQL driver }
{ }
{ Copyright(c) 2004-2013 Embar... |
unit DragonPayload;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, BaseModel, JSON_Helper;
type
IBaseDragonPayload = interface(IBaseModel) ['{2F53CCE8-FF4D-4676-AC78-0949B1536D54}']
function GetCapsuleId: string;
function GetFlightTimeSeconds: LongWord;
function GetLandLanding: Boolean;
... |
unit Unit_ModelLoader;
//
// 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
... |
program del (output);
type
tRefListe = ^tListe;
tListe = record
info : integer;
next : tRefListe
end;
procedure ListenElemEntfernen (var ioRefAnfang : tRefListe;
inZahl: integer;
var outGefunden : boolean);
{entfernt Liste mit Wert inZahl. Bei Erfolg gefunden auf t... |
unit WdIUnit;
Type
PRec = ^TRec;
TRec = record
Value: Integer;
Next: PRec;
end;
procedure StackPush(V: Integer);
function StackPop: Integer;
procedure QueueAdd(V: Integer);
function QueueRead:Integer;
var
Wsk: PRec;
WskAdd, WskRead: PRec;
implementation
procedure StackPush(V: Integer);
var
Now... |
{-----------------------------------------------------------------------------
Unit Name: DUStreamUtils
Author: Sebastian Hütter
Date: 2006-08-01
Purpose: Stream utility routines, less object oriented than TStream
History: 2006-08-01 initial release
----------------------------------------------------... |
unit AT.Windows.DragDrop;
interface
uses
Winapi.ShellAPI,
System.Types;
type
TATDropFiles = class
strict private
FDropHandle: HDROP;
strict protected
function GetCount: Integer;
function GetDropHandle: HDROP;
function GetDropPoint: TPoint;
function GetFiles(Index: Integer): string;
pu... |
unit uModule;
// Ths source is distributed under Apache 2.0
// Copyright (C) 2019-2020 Herbert M Sauro
// Author Contact Information:
// email: hsauro@gmail.com
// A module defines a collection of zero or more user defined functions and code.
// eg
// function add (a, b) return a+b end;
// println (add (4,5));
i... |
(* changes:
11-nov-92
Now in m+ mode "AB""CD" is accespted as AB"CD value
Earlier it were two values "AB" and "CD"
*)
{$DEFINE RAMSCAN}
{$DEFINE SCANU}
{ Rigal integrated environment (c) 1991 Software house Riga }
{ }
{ ... |
unit mnChineseTestCase;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework;
type
TmnChineseTestCas... |
unit UMyTextTable;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Math,
FastDIB,
FastFX, FastSize, FastFiles, FConvert, FastBlend;
Type
TMyOneCell = Class
Name: string;
Text: strin... |
unit PNumEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TPrecision = -1..20;
TPNumEdit = class(TCustomEdit)
private
FInternalChanging : Boolean;
FMaxValue : Double;
FMaxLimited : Boolean;
FMinValue : Double;
FMinLimited : ... |
unit uInitialize;
interface
Uses SysUtils, IniFiles, IOUtils;
procedure setUpEnvironment (appExe : string);
var
launchDir : string;
homeDir : string;
rhodusConfigDir : string;
docsDir : string;
RHODUSPATH : string;
implementation
procedure setUpEnvironment (appExe : string);
var Ini: TIniFile;
begin
... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit SIMCodeF;
// DON'T DELETE THIS COMMENT !!!
{--------------------------------------------}
{ Unit: SIMCodeF.pas }
{ Version: 1.01 }
{ }
{ Coder: Yahe <hello@yahe.sh> }
{ ... |
unit uFizzBuzzTest;
interface
uses
TestFrameWork
,uFizzBuzz;
type
TFizzBuzzTest = class(TTestCase)
procedure verificarNumeroComum();
procedure verificarFizz();
procedure verificarBuzz();
procedure verificarFizzBuzz();
end;
implementation
uses
System.SysUtils;
procedure TFizzBuzzTest.ve... |
unit UPrefFDocDisplay;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ This is the Frame that contains the Document Display Preferences}
interface
uses
Win... |
unit Cameras;
interface
Uses Math, OpenGL, PhysicsArifm;
Type
TDirectionVariants = (dvForward, dvBackward, dvLeft, dvRight);
TCamera = class
public
Position: TVector3;
Heading,
Tilt: TQuaternion;
HeadingAngle,
TiltAngle: Single;
LookDirection: TVector3;
FOVAngle,
Ne... |
{$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... |
unit AuxDataSetFunctionsUnit;
interface
uses SysUtils, Classes, DB;
// DataSet is located at first record
function IsDataSetAtFirstRecord(ADataSet: TDataSet): Boolean;
// DataSet is located at last record
function IsDataSetAtLastRecord(ADataSet: TDataSet): Boolean;
procedure SetFieldsToDataSetFromOther(
DestData... |
unit gogekAlretFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls,
Forms, GIFimg,
Dialogs, ExtCtrls, AdvPanel,
Grids, BaseGrid, AdvGrid, ComCtrls,
inifiles,
StdCtrls, Menus, AdvObj, AdvGlowButton,
Buttons, DB, MSINKAUTLib_TLB, AdvSplitter, tm... |
Структура для создания корня и узлов дерева имеет вид:
type
T = Integer; { скрываем зависимость от конкретного типа данных }
TTree = ^TNode;
TNode = record
value: T;
Left, Right: TTree;
end;
Здесь поля Left и Right - это указатели на потомков данного узла, а поле value предназначено для хранения информации.
... |
unit Alcinoe.FMX.DatePickerDialog;
interface
uses
{$IF defined(android)}
Androidapi.JNIBridge,
Alcinoe.AndroidApi.Common,
{$ENDIF}
{$IF defined(ios)}
System.TypInfo,
Macapi.ObjectiveC,
iOSapi.uikit,
iOSapi.Foundation,
{$ENDIF}
System.UITypes;
const
mrClear = 103;
type
... |
unit TSTOProject.Bin;
interface
Uses Classes, SysUtils, HsInterfaceEx, HsStreamEx, TSTOProjectIntf;
Type
ITSTOBinMasterFile = Interface(ITSTOMasterFile)
['{4B61686E-29A0-2112-ADA1-5F552FBA5DA7}']
Procedure LoadFromStream(ASource : IStreamEx);
Procedure SaveToStream(ATarget : IStreamEx);
End;
ITST... |
unit UtilGrid;
interface
uses
SysUtils, Classes, ActnList, Menus, TB2Item, JvDBGrid,
kbmMemTable, JvDBUltimGrid, SpTBXItem, dmThreadDataModule, Dialogs;
type
TUtilGridColumnasVisibles = class(TThreadDataModule)
GridPopup: TSpTBXPopupMenu;
ActionList: TActionList;
AutoSize: TAction;
Seleccionar... |
///////////////////////////////////////////////////////
// -------- PopupMenu - Файловая Менюха ------
// -------- FileName - Имя загружаемого файла ------
// -------- NotifyEvent - Событие которое происходит при нажатии Меню итем (procedure LoadFromFil... |
unit uvarsform;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls,
ExtCtrls, StdCtrls, VirtualTrees,
uLibrary,
uLibraryData,
uVarsEditor,
uVarEditor,
uBitEditor,
uPickItemEditor;
type
{ TVarsForm }
TVarsForm = class(TEditingForm)
P... |
unit MediaPlayTrackBar;
interface
uses
System.SysUtils, System.Classes, System.Types, Vcl.Controls, Vcl.ComCtrls, Vcl.Themes,
Winapi.Messages, Winapi.Windows, Winapi.CommCtrl;
type
TMediaPlayTrackBar = class(TWinControl)
private
{ Private declarations }
FOnMouseDragBegin: TNotifyEvent... |
unit UnitLiki24;
interface
uses
System.SysUtils, System.Variants, System.Classes, System.JSON, Data.DB,
Vcl.Dialogs, REST.Types, REST.Client, REST.Response.Adapter,
Winapi.Windows, Vcl.Forms, ShellApi, IdHTTP, IdSSLOpenSSL, System.IOUtils,
Datasnap.DBClient;
type
TLiki24API = class(TObject)
private
... |
unit XDataMainForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.DBGrids, Data.DB,
Aurelius.Bind.Dataset, Vcl.StdCtrls, Generics.Collections,
MyServerOperations,
DBDemosEntities,
... |
unit xlencrypt_aes;
interface
(*
高级加密标准(英语:Advanced Encryption Standard,缩写:AES)
在密码学中又称Rijndael加密法
严格地说,AES和Rijndael加密法并不完全一样(虽然在实际应用中二者可以互换),
因为Rijndael加密法可以支持更大范围的区块和密钥长度:AES的区块长度固定为128 比特,
密钥长度则可以是128,192或256比特;而Rijndael使用的密钥和区块长度可以是32位的
整数倍,以128位为下限,256比特为上限。加密过程中使用的密钥是由Rijn... |
unit MyMath;
interface
{
[2.1.1]
calcule la moyenne des entiers de l'entree standard
jusqu'a ce que l'entier -1 soit recontre
}
function Moyenne(): integer;
{
[2.1.2]
retourne le resultat de n!
}
function Factorielle(n : integer): integer;
{
[2.1.3]
calcule x a la puissance n (x... |
unit AllCals;
interface
uses
EFieldCals, AlgoCals, OutputCals, ReadIn, MargCals, Exper, StratTypes, FrogObj;
type
TAllCals = class(TFrogObject)
private
mInitialFieldCals: TEFieldCals;
mFirstGuessCals: TEFieldCals;
mOutputCals: TOutputCals;
mStrategyCals: TStrategyCals;
mAlgoCa... |
unit Model.ProSu.Interfaces;
interface
//uses
// Model.ProSu.InterfaceActions:
type
INotificationClass = Interface
['{26528B51-7972-43E6-9626-F9424533B4B1}']
End;
TUpdateSubscriberMethod = procedure(const notifyClass : INotificationClass) of Object;
ISubscriberInterface = Interface
['{AF1BEC65-1048... |
(*
Copyright (c) 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 and t... |
unit uCompSelection;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2017 by Bradford Technologies, Inc. }
{ This unit is one of the module for Service >> Analysis }
{ Comp Selection module to bring in all... |
unit Unit_ArtLoader;
//
// 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 UShortcutManager;
interface
uses
{ Winapi }
Winapi.Windows, Winapi.Messages,
{ System }
System.SysUtils, System.Variants, System.Classes,
{ VCL }
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.ExtCtrls, Vcl.StdCtrls,
{ Utils }
Utils.Registry, Vcl.Buttons, Vcl.WinXPanels, Data.DB, Vcl.G... |
unit UPtrStream;
(* Copyright (c) 2002 Twiddle <hetareprog@hotmail.com> *)
interface
uses
Classes;
type
TPointerStream = class (TCustomMemoryStream)
public
constructor Create(Ptr: Pointer; Size: Longint);
procedure SetPointer(Ptr: Pointer; Size: Longint);
function Write(const Buffer; Count: Longint... |
{Program title: Stationary scattering states in one dimension }
{Author: John R. Hiller }
{Version: 1.0 11/20/94 }
{Copyright (c) 1995 John Wiley & Sons, Inc. }
{ ... |
unit Report_KPU;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
AncestorReport, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
cxPCdxBarPopupMenu, cxStyles, cxCustomData, cxFilter, cxData, cx... |
unit Flx;
interface
type
FlxGame = external class ( Sprite )
constructor init( x, y : double; startClass : string; scale : double);
end;
FlxBasic = external class
constructor new;
end;
FlxGroup = ext... |
unit UtilException;
interface
uses SysUtils, Classes, Windows;
type
ESymbolChart = class(Exception)
protected
function GetTechnicalInfo: string; virtual;
public
procedure AfterConstruction; override;
end;
ExceptionHelper = class helper for Exception
public
procedure ClearInfo;
procedure... |
unit StringUnit;
interface
procedure cut(t:string; var s:string);
// Schneidet den (1.) String t aus s weg.
procedure change(c1,c2: char; var s:string);
// Ersetzt alle Zeichen c1 durch c2 in s.
procedure cutBefore(t: string; var s:string);
// Schneidet alles vor dem (1.) String t aus s weg.
procedure cutAfter(t: str... |
unit View.Pages.PedidoVenda;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Data.DB,
Vcl.StdCtrls,
Vcl.Grids,
Vcl.DBGrids,
Vcl.ExtCtrls,
Model.Crud.interfaces,
Model.Entities.Cliente,... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit UProcessingForm;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses
ActnList,
Classes,
Controls,
ControlWorkingIndicator,
StdCtrls,
UF... |
unit Speed;
interface
type
TSpeed = integer;
float = single;
const
spd_0 = 0;
spd_1 = 68;
spd_2 = 137;
spd_3 = 205;
spd_4 = 273;
spd_5 = 341;
spd_6 = 410;
spd_7 = 478;
spd_8 = 546;
spd_9 = 614;
const
CPSsPerRPM = 4096 / 60;
RPMs... |
{$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 OJSonObject;
Interface
Uses Classes, OWideSupp, OJsonUtils, OJsonReadWrite,
HsInterfaceEx;
Type
IJSonObject = Interface(IInterfaceEx)
['{4B61686E-29A0-2112-BCF5-B61EB8A4EA1A}']
//Writer
Function OpenArray() : TCustomJSONWriter; Overload;// "["
Function OpenArray(Const aPairName : OWideString... |
{**********************************************************************}
{ }
{ "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... |
unit uframefactory;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
uframe,
uModbus;
type
{ TFrameFactory }
TFrameFactory = class
private
class function GetStandartFrame(const aSlaveId, aFunctionCode: byte;
const aStart, aRegCount: word; const aTimeout: dword): IFrame;
public
cla... |
unit USnapFarmaReportServiceFunctions;
interface
uses
System.SysUtils,
System.Classes,
SQLiteTable3,
ShellApi,
Winapi.Windows;
type
TMode = (Tracking, Report);
type
TSnapFarmaReportServiceFunctions = class(TObject)
private
FDebug: integer;
FBasePath: String;
procedure SetBasePaht(const ... |
unit UfrListErrors;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Math,
FastDIB,
FastFX, FastSize, FastFiles, FConvert, FastBlend, Vcl.StdCtrls;
type
TMyUpDown = class
rtup: TRect;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.