text stringlengths 14 6.51M |
|---|
unit transparency;
//{$mode objfpc}{$H+}
{$mode delphi}
interface
uses
windows, graphics;
type
_MARGINS = packed record
cxLeftWidth : Integer;
cxRightWidth : Integer;
cyTopHeight : Integer;
cyBottomHeight : Integer;
end;
PMargins = ^_MARGINS;
TMargins = _MARGINS;
DwmIsComposit... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit uUsuarioPermissaoController;
interface
uses
System.SysUtils, uDMModulo, uRegras, uEnumerador, uDM, Data.DB,
System.Generics.Collections, uDMUsuario, Data.DBXJSON , Data.DBXJSONReflect,
uUsuarioPermissaoVO, uConverter, System.Variants;
type
TUsuarioPermissaoController = class
private
FModel: TD... |
unit vtDialogsRes;
// Модуль: "w:\common\components\gui\Garant\VT\vtDialogsRes.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "vtDialogsRes" MUID: (4B8E6793024B)
{$Include w:\common\components\gui\Garant\VT\vtDefine.inc}
interface
uses
l3IntfUses
, l3StringIDEx
;
const
{* Локализуемые строки TvtMiscMessage... |
unit uAmsoftBackup;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs,
Vcl.ImgList, Vcl.Menus, Vcl.ExtCtrls, System.Win.Registry, System.UITypes, System.DateUtils, Vcl.Forms,
IBServices, uBackupThread, ShellApi;
const
wm_IconMess... |
//=============================================================================
// sgEventProcessing.pas
//=============================================================================
//
// This unit handles the processing of events, including the reading of text
// for SwinGames. This unit and its code is not directl... |
unit ChromeLikeInterfaces;
// Модуль: "w:\common\components\gui\Garant\ChromeLikeControls\ChromeLikeInterfaces.pas"
// Стереотип: "Interfaces"
// Элемент модели: "ChromeLikeInterfaces" MUID: (53F2D7B00186)
interface
{$If NOT Defined(NoVGScene) AND NOT Defined(NoVCM) AND NOT Defined(NoTabs)}
uses
l3IntfUses
, Types... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit eventEdit;
interface
uses
Forms,
SysUtils,
event,
Classes, Controls, ComCtrls, StdCtrls;
type
TEventEditForm = class(TForm)
TimeEdit: TDateTimePicker;
DateEdit: TDateTimePicker;
OccurEdit: TComboBox;
NotesMemo: TMemo;
OkButton: TButton;
CancelButton: TButton;
Label5: TLabel... |
PROGRAM TestReadNumber(INPUT, OUTPUT);
CONST
NegOne = -1;
VAR
Number: INTEGER;
PROCEDURE ReadDigit(VAR InF: TEXT; VAR D: INTEGER);
VAR
Ch: CHAR;
BEGIN {ReadDigit}
D := NegOne;
IF NOT(EOLN(InF))
THEN
BEGIN
READ(InF, Ch);
IF (Ch = '0') THEN D := 0 ELSE
IF (Ch = '1') THEN D := 1 ELSE
... |
unit kwFor;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwFor.pas"
// Начат: 26.04.2011 19:06
// Родные Delphi интерфейсы (.pas)
// ... |
{$include lem_directives.inc}
unit LemPalette;
interface
uses
GR32;
type
TLemmixPalette = class
private
fColorArray: TArrayOfColor32;
fColorCount: Integer;
procedure SetColorCount(Value: Integer);
function GetColorS(Index: Integer): TColor32;
protected
public
property C... |
unit Mat.AnalysisProcessor;
interface
uses
SysUtils, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.SQLite,
FireDAC.Phys.SQLiteDef, FireDAC.Stan.ExprFuncs, FireDAC.VCLUI.Wait,
FireDAC.Stan.Param, FireDAC.DatS, FireDAC.DApt.Intf, ... |
Unit Dt_err;
{ $Id: DT_ERR.PAS,v 1.29 2013/04/19 13:07:39 lulin Exp $ }
// $Log: DT_ERR.PAS,v $
// Revision 1.29 2013/04/19 13:07:39 lulin
// - портируем.
//
// Revision 1.28 2008/04/04 15:16:32 fireton
// - внешние номера документов из диапазона
//
// Revision 1.27 2008/02/06 16:16:31 voba
// no message
//
// ... |
{$I OVC.INC}
{$B-} {Complete Boolean Evaluation}
{$I+} {Input/Output-Checking}
{$P+} {Open Parameters}
{$T-} {Typed @ Operator}
{$W-} {Windows Stack Frame}
{$X+} {Extended Syntax}
{$IFNDEF Win32}
{$G+} {286 Instructions}
{$N+} {Numeric Coprocessor}
{$C MOVEABLE,DEMANDLOAD,DISCARDABLE}
{$ENDIF}
{********************... |
unit RDOObjectServer;
interface
uses
SyncObjs, RDOObjectRegistry;
type
TRDOObjectServer =
class
public
constructor Create( ObjectRegistry : TRDOObjectsRegistry; CriticalSection : TCriticalSection );
public
procedure SetCriticalSection( CriticalSection : TCritical... |
unit WebBrowserHostTest;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, CustomWebBrowser;
type
TWebBrowserForm =
class(TForm)
procedure FormShow(Sender: TObject);
private
{ Private declarations }
fWebBrows... |
unit Model.EnderecosBases;
interface
uses Common.ENum, FireDAC.Comp.Client, System.SysUtils, DAO.Conexao;
type
TEnderecosBases = class
private
FLogradouro: string;
FSequencia: integer;
FBairro: string;
FUF: string;
FCEP: string;
FNumero: string;
FPadrao: integer;
FComplemento: str... |
unit MapTypes;
interface
uses
Windows, Classes, Graphics, GameTypes, LanderTypes, Protocol, VoyagerServerInterfaces,
Circuits, CircuitsHandler, Land, Vehicles, LocalCacheTypes, Config;
const
cBasicZoomRes : TZoomRes = zr32x64;
cBasicRotation : TRotation = drNorth;
type
TZoomFactor =
... |
unit Model.Bases;
interface
uses Common.ENum, FireDAC.Comp.Client, System.SysUtils, DAO.Conexao;
type
TBases = class
private
FConexao : TConexao;
FCodigo: Integer;
FRazaoSocial: String;
FNomeFantasia: String;
FTipoDoc: String;
FCNPJCPF: String;
FIE: String;
FIEST: String;
FIM:... |
unit adl_structures;
interface
uses adl_defines;
/////////////////////////////////////////////////////////////////////////////////////////////
///\brief Structure containing information about the graphics adapter.
///
/// This structure is used to store various information about the graphics adapter. This
... |
unit BlockTicker;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TBlockTicker =
class( TCustomControl )
public
constructor Create(AOwner: TComponent); override;
private
fFont : TFont;
fBuffer : TB... |
unit IntegerList;
interface
uses
Classes;
{ TLongIntListCom class }
type
PLongIntItem = ^TLongIntItem;
TLongIntItem = record
FLongInt: LongInt;
FObject: TObject;
end;
PLongIntItemList = ^TLongIntItemList;
TLongIntItemList = array[0..MaxListSize] of TLongIntItem;
TIntegerList... |
unit l3TempMemoryStream;
{ Библиотека "L3 (Low Level Library)" }
{ Автор: Люлин А.В. © }
{ Модуль: l3TempMemoryStream - }
{ Начат: 25.06.2003 14:42 }
{ $Id: l3TempMemoryStream.pas,v 1.3 2006/01/17 09:23:22 narry Exp $ }
// $Log: l3TempMemoryStream.pas,v $
// Revision 1.3 2006/01/17... |
unit AppProcMonitor;
interface
uses
BaseApp,
BaseWinApp,
BaseWinThreadRefObj,
BaseCmdWin,
BaseWinProcess;
type
TAppPath = class(TBaseWinAppPath)
protected
public
end;
TExProcessCtrl = record
ExProc: TExProcess;
end;
TOwnProcessArray = array[0..16 - 1] of TOwnProcess;
TExProcessArray... |
Program a2test2;
{This program uses the same units as a1test, but it gives you a menu interface to
manage two collections (c1 and c2). You can insert, delete, join, print and
get the size of either collection. Use this to test your code during development.
Make sure you hand in a compiled version of this pro... |
unit Patterns.Observable;
interface
uses
System.Generics.Collections;
type
TObservable = class;
IObserver = interface
/// <remarks>
/// Oryginalny this method name was `update`. It was changed because of the VCL warning (W1010): Method 'Update' hides virtual method of base type 'TWinControl'
/// D... |
unit uCadastroAluno;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uBase, Data.DB, Vcl.Grids, Vcl.DBGrids,
Vcl.Buttons, Vcl.ExtCtrls, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan... |
{$ASMMODE INTEL}
VAR
num: byte;
answ: word;
BEGIN
WriteLn('Введите число [0..255]: ');
Readln(num);
answ := 0;
ASM
MOV AL, num //в AL записываем введенное число
MOV CL, 10 //в CL всегда будет запсано 10 (делить будем брять последнюю цифру числа)
MOV ESI, ESP //сохраняе... |
unit ListAnalysisTree;
{* Дерево анализа списка }
// Модуль: "w:\garant6x\implementation\Garant\tie\Garant\GblAdapterLib\ListAnalysisTree.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "ListAnalysisTree" MUID: (4A9F669C007E)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses
... |
unit Demos;
interface
uses SysUtils, Classes, tfTypes, tfBytes, tfHashes, tfCiphers, EncryptedStreams;
procedure TestAll;
implementation
// Encrypts file using TCipher
procedure EncryptAES1(const FileName: string; const Key: ByteArray; Nonce: UInt64);
var
InStream, OutStream: TStream;
begin
In... |
{
DBAExplorer - Oracle Admin Management Tool
Copyright (C) 2008 Alpaslan KILICKAYA
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 3 of the License, or
(at... |
unit UDMCarteira;
interface
uses
SysUtils, Classes, FMTBcd, DB, DBClient, Provider, SqlExpr;
type
TDMCarteira = class(TDataModule)
sdsCarteira: TSQLDataSet;
dspCarteira: TDataSetProvider;
cdsCarteira: TClientDataSet;
dsCarteira: TDataSource;
sdsCarteiraID: TIntegerField;
sdsCarteiraCODCAR... |
unit namcoio_56xx_58xx;
interface
uses timer_engine;
type
tin_f=function:byte;
tout_f=procedure (data:byte);
namco_5x_chip=class
constructor create(num_cpu,tipo:byte);
destructor free;
public
reset_status:boolean;
procedure run;
func... |
{****************************************************************}
{ TWebImage component }
{ for Delphi & C++Builder }
{ version 1.1 }
{ ... |
unit MazeStatistics;
interface
uses
MazeMain;
type
//Parameters for comparison
TStatRoute = (SolveLength, FullRoute);
TStatSolveAlg = record
case AllSolveAlg: Boolean of
False: (SolveAlg: TMazeSolveAlg);
end;
TStatGenAlg = record
case AllGenAlg: Boolean of
False: (Ge... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Generics.Collections,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cefvcl, ceflib, Vcl.ExtCtrls, Vcl.StdCtrls,
Vcl.ComCtrls, Vcl.Buttons, Vcl.Samples.Spin, System.DateUtils, Data.DB, MemD... |
namespace Sugar.Test;
interface
uses
Sugar,
RemObjects.Elements.EUnit;
type
StringBuilderTest = public class (Test)
private
Builder: StringBuilder;
public
method Setup; override;
method Append;
method AppendRange;
method AppendChar;
method AppendLine;
method C... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls,
LMessages;
type
{ TMyPanel }
TMyPanel = class(TPanel)
private
FMouseDown: boolean;
FMouseDownPnt: TPoint;
procedure UpdateCursor(AShift: TShiftState);
public
constructor Creat... |
{ *********************************************************************
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Autor: Brovin Y.D.
* E... |
unit PatchMemory;
Interface
uses Windows, ImageHlp, SysUtils;
var BasePointer: pointer;
type TPatchMemory = Class
DllNameToPatch: String; //Имя DLL, в секции импорта которой будем производить изменения
DllNameToFind: String; //Имя DLL, функцию которой мы хотим перехватить (например, 'KERNEL32.dll')
FuncNameTo... |
unit SensorFrame;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, IniFiles, Misc, ExtCtrls, SyncObjs, ConversionForm, SensorTypes;
type
TFrameSensor = class(TFrame)
Panel1: TPanel;
cbOn: TCheckBox;
stCount: TStaticText;
Label4: TLabel;
stRe... |
unit View.LancamentosExtratosExpressas;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, dxSkinsCore,
dxSkinsDefaultPainters, cxClasses, dxLayou... |
unit TestUnmarshalMultipleArrayUnit;
interface
uses
TestFramework, System.JSON, SysUtils;
type
TTestUnmarshalMultipleArray = class(TTestCase)
private
function Etalon: String;
published
procedure TestUnmarshal();
end;
implementation
{ TTestUnmarshalMultipleArray }
uses GetOrdersWithCustomFieldsRe... |
unit d03.mocking.DriverTests;
interface
uses
DUnitX.TestFramework,
d03.mocking.ManualMock, d03.mocking.Driver, d03.mocking.Car;
type
[TestFixture]
TDriverTests_ManualMock = class
public
[Test]
procedure cannot_drive_a_running_car();
end;
implementation
procedure TDriverTests_ManualMock.cannot... |
// Filename : EventConsumer.pas
// Version : 1.1 (Delphi)
// Date : July 4, 2003
// Author : Jeff Rafter
// Details : http://xml.defined.net/SAX/aelfred2
// License : Please read License.txt
unit EventConsumer;
interface
uses Classes, SAX;
type
IEventConsumer = interface(IUnknown)
['{2... |
unit uCheckValiable;
interface
const
ALARMCONTROL = 1; //알람제어
ALARMSTATECHECK = 2; //방범상태체크
ALERTLAMPSIREN = 3; //비상알람시램프사이렌
ALERTLAMPTIME = 4; //
ALERTSIRENTIME = 5; //
ARMDSCHECK = 6; //경계시 DS체크
ARMRELAYTYPE = 7; //경계시 릴레이타입
CAR... |
unit ZombieController;
interface
uses
Graphics,
PositionRecord,
Animation,
AnimationArchive,
Frame,
ZombieAction,
ZombieDirection,
ZombieCharacter;
type
TZombieController = class
protected
fAnimationArchive : TAnimationArchive;
procedure MakeAnimation_stance();
procedure MakeAnimation_lurch();
... |
unit RasHelperClasses;
interface
uses
Windows, Messages, Classes, SysUtils, Forms, Contnrs, Ras, RasError, RasUtils;
type
TRasBaseList = class(TPersistent)
private
FOnRefresh: TNotifyEvent;
function GetCount: Integer;
protected
FItems: TObjectList;
procedure DoRefresh; dynamic;
public
c... |
unit LaySwitch;
interface
uses
Windows,
Messages,
SysUtils,
Classes,
Controls,
StdCtrls,
Forms,
Dialogs,
extctrls,
typinfo;
Const
BELARUSSIAN = LANG_BELARUSIAN;
RUS = LANG_RUSSIAN;
ENG = LANG_ENGLISH;
BLR = LANG_BELARUSIAN;
type
TOnLayoutChange = procedure(Sender: tobject;Lang: string)... |
unit MFichas.Model.Usuario.Interfaces;
interface
uses
MFichas.Controller.Usuario.Operacoes.Interfaces,
MFichas.Model.Entidade.USUARIO,
ORMBR.Container.ObjectSet.Interfaces,
ORMBR.Container.DataSet.interfaces,
FireDAC.Comp.Client;
type
iModelUsuario = interface;
iModelUsuarioMetodos ... |
{$include lem_directives.inc}
unit LemCore;
interface
const
GAME_BMPWIDTH = 1584;
(*
{ TODO : find good settings }
we cannot get a nice minimapscale 1/16 so instead we chose the following:
image width of game = 1584
imagewidth of minimap = 104
width ... |
unit modShapes;
interface
USES Windows, WinGraph, sysutils; (* for HDC *)
const
MAX = 254;
type
pointRec = record
x : integer;
y : integer;
end;
shape = ^shapeObj;
shapeObj = object
visible : boolean;
name : string;
procedure move(mx, my : intege... |
unit StdResPrim;
{ Библиотека "vcm" }
{ Автор: Люлин А.В. © }
{ Модуль: StdResPrim - }
{ Начат: 26.04.2011 14:15 }
{ $Id: StdResPrim.pas,v 1.7 2016/08/04 17:44:49 lulin Exp $ }
// $Log: StdResPrim.pas,v $
// Revision 1.7 2016/08/04 17:44:49 lulin
// - перегенерация.
//
// Revision 1.6 2016/08/03 09:3... |
unit UPascalCoinBank;
// blabla ;)
interface
uses
Classes, UStorage, UPCOperationsComp, UOperationBlock, UPCBankLog, UThread, UStorageClass, UBlockAccount, ULog;
type
{ TPCBank }
TPCBank = Class
private
FStorage : TStorage;
FLastBlockCache : TPCOperationsComp;
FLastOperationBlock: TOperationBloc... |
unit InsertionSort;
interface
uses
StrategyInterface;
type
TInsertionSort = class(TInterfacedObject, ISorter)
procedure Sort(var A : Array of Integer);
destructor Destroy; override;
end;
implementation
procedure TInsertionSort.Sort(var A: array of Integer);
var
i, j : Integer;
... |
unit gm_generator;
interface
uses
gm_engine, gm_patterns, gm_map, gm_creature, gm_item, PathFind;
type
PRoom = ^TRoom;
TRoom = record
TX, TY : Integer;
W, H : Integer;
Walls : array of array of Byte;
end;
procedure GenerateWalls(M: TMap);
procedure ClearSmallRooms(M: TMap);... |
unit MdiChilds.CheckPricesCECT;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MdiChilds.CustomDialog, Vcl.ComCtrls,
Vcl.StdCtrls, Vcl.ExtCtrls, DocumentViewer, GlobalData, GsDocument,
MdiChilds.ProgressFo... |
{----------------------------------------------------------------------------
|
| Library: Envision
|
| Module: EnMsg
|
| Description: Centralization of exceptions and messages.
|
| History: Nov 28, 1998. Michel Brazeau, first version
|
|---------------------------------------------------------------------------}
unit ... |
{
This file is part of the Free Pascal run time library.
A file in Amiga system run time library.
Copyright (c) 1998-2003 by Nils Sjoholm
member of the Amiga RTL development team.
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is dis... |
unit LibMoney;
{$I defines.inc}
interface
(*
c=0 - 21.05 -> "Двадцать один рубль 05 копеек."
с=1 - 21.05 -> "двадцать один"
c=2 - 21.05 -> "21-05", 21.00 -> "21="
*)
function MoneyToStr(n: double; c: byte = 0): string;
function NumToStr(n: double; c: byte = 0): string;
function F2W(number: Currency): String; s... |
unit dev_base_form;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
extdev_driver, ext_global;
{
Это класс базовой формы и базового объекта
Формы должны быть Inherited от TfrmBase
}
type
TGetTi... |
unit MdiChilds.SetNRSPIndex;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MdiChilds.CustomDialog, JvComponentBase, JvDragDrop, Vcl.StdCtrls, Vcl.ExtCtrls,
MdiChilds.ProgressForm, GsDocument, Parsers.Excel.Tools... |
unit Dates;
interface
type
TDate = class
private
fDate: TDateTime;
procedure SetDay(const Value: Integer);
procedure SetMonth(const Value: Integer);
procedure SetYear(const Value: Integer);
function GetDay: Integer;
function GetMonth: Integer;
function GetYear: Integer;
public
co... |
unit Model.PenalizacaoAtrasos;
interface
type TPenalizacaoAtrasos = class
private
var
FId: System.Integer;
FData: System.TDate;
FAtraso: System.Integer;
FValor: System.Double;
FPercentual: System.Double;
FLog: System.string;
public
property ID: System.Integer read FId write FId;
... |
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François Piette
Creation: Aug 27, 2002
Description:
Version: 1.02
EMail: francois.piette@overbyte.be http://www.overbyte.be
Support: Use the mailing list twsocket@elists.org
Fol... |
unit bomba;
interface
uses
SysUtils, DateUtils;
type
T_Bomba = class(TObject)
private
F_Id: Integer;
F_Tanque_Id: Integer;
F_Numero: Integer;
// F_Id
function getId(): Integer;
procedure setId(pId: Integer);
... |
unit MappedFiles;
interface
uses
Windows;
const
usgReadOnly = 0;
usgReadWrite = 1;
usgWriteCopy = 2;
type
TMemoryMappedFile =
class
public
constructor Create( const aFileName : string; Usage : integer );
destructor Destroy; ... |
unit DibRle;
interface
uses
Windows, Dibs, NumUtils;
procedure UnpackRle4( DibWidth : integer; RlePixels : pointer; DibPixels : pointer );
procedure UnpackRle8( DibWidth : integer; RlePixels : pointer; DibPixels : pointer );
procedure PackRle8( DibHeader : PDib; DibPixels, RlePixels, PrevFramePixels : p... |
unit UStudent;
interface
type
TStudent = class
private
FName: string;
FAge: Integer;
procedure SetAge(const Value: Integer);
procedure SetName(const Value: string);
public
property Name: string read FName write SetName;
property Age: Integer read FAge write SetAge;
constructor Create... |
program ViewWith;
{
Test program for ViewDoc unit.
}
{$IFDEF FPC}
{$MODE Delphi}
{$ELSE}
{$APPTYPE CONSOLE}
{$ENDIF}
{$R+,Q+}
uses
SysUtils,
ViewDoc;
var
VwrIdx : Integer;
Viewer : Integer;
Options : TViewerOptions;
InStr : string;
ErrorMsg : string;
Done : Boolean;
begin
if P... |
unit TileU;
interface
uses
System.Math, System.UITypes, System.SysUtils, System.StrUtils;
type
TIncScoreEvent = procedure(const aScore: Integer) of object;
TTile = class
strict private
const
COLOR_DEFAULT: TColor = $B4C0CD;
COLORS: array [1 .. 11] of TColor = ($DAE4EE, $C8E0ED, $79B1... |
unit DAO.CadastroRH;
interface
uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Model.CadastroRH;
type
TCadastroRHDAO = class
private
FConexao : TConexao;
public
constructor Create;
function Inserir(ACadastro: TCadastroRH): Boolean;
function Alterar(ACadastro: TCadastroRH): Boolean;
... |
unit sn_76496;
interface
uses {$IFDEF WINDOWS}windows,{$else}main_engine,{$ENDIF}sound_engine;
type
SN76496_chip=class(snd_chip_class)
constructor Create(clock:dword;amp:single=1);
destructor free;
public
UpdateStep:dword;
VolTable:array[0..15] of single; // volume table
Registers:ar... |
PROGRAM Demo1;
{*******************************************************
** **
** DEMO1: Show mouse in text and graphics modes **
** **
*******************************************************}
USES
... |
//Exercicio 23: Faça um algoritmo que leia dois valores inteiros A e B. Se os valores forem iguais deverão se somar os
//dois, caso contrário multiplique A por B e exiba o resultado na tela.
{ Solução em Portugol
Algoritmo Exercicio 23;
Var
A,B: inteiro;
Inicio
exiba("Programa que faz operações com 2 números... |
{!DOCTOPIC}{ Standard functions }
{!DOCREF} {
@method: function se.IndexOf(var Haystack, Needle; HaystkLen:UInt32; ElmntSize:SizeInt): Int32;
@desc:
Finds the position of the Needle in the Haystack. Both needle and haystack can be [u]any data-type[/u], tho haystack should always be an Array.
Requres ... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit FoldersKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы Folders }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Folders\FoldersKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "FoldersKeywordsPack" MUID: (CEAC79654954)
{$Include w:\garant6x\imp... |
unit uFuncoesApp;
interface
uses
uClassPODO, System.IniFiles, System.SysUtils, CCR.PrefsIniFile,
Datasnap.DSClientRest;
type
TConfiguraREST = class(TObject)
public
class procedure configuracaoREST(poDadosConfig: TConfiguracaoApp; var poRestConnection: TDSRestConnection);
end;
type... |
{ *********************************************************** }
{ * TForge Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2016 * }
{ ----------------------------------------------------------- }
{ * # Standard secure pseudorandom generator ... |
{ query FreeDB for audio cd title informations
written by Sebastian Kraft
sebastian_kraft@gmx.de
This software is free under the GNU Public License
(c)2005
}
unit cddb;
{$mode objfpc}{$H+}
{$ifndef Darwin}{$define HAS_CDROM}{$endif}
interface
uses
Classes, SysUtils,
{$ifdef HAS_CDROM}cdrom, discid,{$... |
unit Unbound.Game.Renderer;
interface
uses
Pengine.Camera,
Pengine.VAO,
Pengine.GLState,
Pengine.ResourceManager,
Pengine.GLProgram,
Pengine.ICollections,
Pengine.GLEnums,
Pengine.MarchingCubes,
Pengine.Vector,
Pengine.IntMaths,
Pengine.Color,
Pengine.EventHandling,
Unbound.Shaders,
Unb... |
unit GX_IdeBaseDock;
interface
{$UNDEF DoNotCompileThis}
{$IFDEF DoNotCompileThis}
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DockForm, IDEMessages, ActnList, ecoHackDockForm;
type
TBaseDockHostForm = class(TDockableForm)
procedure FormClose(Sender: TObject... |
// AKTools akDataCvt unit.
// Модуль, содержащий функции по преобразованию формата данных.
//=============================================================================
unit akDataCvt;
interface
uses SysUtils, Windows, Graphics, akSysCover;
resourcestring
exRectCoordWrong = 'Unable to convert ''%s'' in... |
unit UABMProfesores;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UABMGeneral, DB, IBCustomDataSet, dxMasterView, StdCtrls,
cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit, Grids, DBGrids,
Buttons, ExtCtrls, UDatosDB, jpeg, IBQuery, UPrincipal,
cxL... |
{ Subroutine SST_ORDVAL (VAL,ORDVAL,STAT)
*
* Find the ordinal integer value from the constant value descriptor VAL.
* The ordinal value is returned in ORDVAL. STAT is the returned completion
* status code. It is set to an error if the value in VAL does not have an
* ordinal value.
}
module sst_ORDVAL;
defi... |
{
Модуль компонента управления файлом XML.
Версия: 0.0.2
}
unit ICXMLConfig;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, XMLConf;
type
TICXMLConfig = class(TXMLConfig)
private
{ Имя XML файла по умолчанию. В случае если не определено основное имя ... |
{ *******************************************************************************
Copyright (c) 2004-2010 by Edyard Tolmachev
IMadering project
http://imadering.com
ICQ: 118648
E-mail: imadering@mail.ru
******************************************************************************* }
unit AddConta... |
unit karatechamp_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,controls_engine,gfx_engine,rom_engine,pal_engine,
sound_engine,ay_8910,timer_engine,dac;
function karatechamp_iniciar:boolean;
implementation
const
karatechamp_rom:array[0..5] of tipo_roms=(
(n:'b014.bin';l:$2000... |
unit AddressUnit;
interface
uses
REST.Json.Types, System.Generics.Collections, System.Rtti, Classes, SysUtils,
Generics.Defaults,
JSONNullableAttributeUnit,
NullableBasicTypesUnit, AddressNoteUnit, EnumsUnit,
DirectionUnit, ManifestUnit, DirectionPathPointUnit, AddressGeocodingUnit,
JSONDictionaryIntermed... |
unit SubscriptionsService;
interface
uses
JunoApi4Delphi.Interfaces,
Data.DB,
System.JSON;
type
TSubscriptionsService = class(TInterfacedObject, iSubscriptions)
private
FBilling : iBilling<iSubscriptions>;
FSplit : iSplit<iSubscriptions>;
FParent : iJunoApi4DelphiConig;
... |
unit PDMainForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
OutputEngine, RMEngineInt, Engine3D, Dresser, ClassLibrary, VisualClasses,
Notifications;
const
GridSizeX = 100;
GridSizeZ = 100;
type
TForm1 =
class(TForm, IHook, IModelLoader)
procedu... |
unit App;
{ Based on TextureWrap.c from
Book: OpenGL(R) ES 2.0 Programming Guide
Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner
ISBN-10: 0321502795
ISBN-13: 9780321502797
Publisher: Addison-Wesley Professional
URLs: http://safari.informit.com/9780321563835
http://www.openg... |
unit CustomFormFactory;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "DUnitTuning"
// Модуль: "w:/common/components/rtl/Garant/DUnitTuning/CustomFormFactory.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, ... |
{*******************************************************}
{ }
{ Delphi FireMonkey Notification Service }
{ }
{ Implementation Notification Center for iOS }
{ ... |
{
controlsexports.pas
Exports the functionality from the Controls LCL unit
This file is part of the LCL Exports library.
LICENSE: The same modifyed LGPL as the Free Pascal Runtime Library
and the Lazarus Component Library
Copyright (C) 2008 Felipe Monteiro de Carvalho
}
unit controlsexports;
{$mode objfpc... |
unit PI.Config;
interface
uses
// PushIt
PI.Types;
type
TPushItConfig = class(TObject)
private
class var FCurrent: TPushItConfig;
class destructor DestroyClass;
class function GetCurrent: TPushItConfig; static;
class function GetFileName: string;
private
FAPIKeyMRU: TAPI... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit l3ListenersManager;
// Модуль: "w:\common\components\rtl\Garant\L3\l3ListenersManager.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "Tl3ListenersManager" MUID: (4F636139008F)
{$Include w:\common\components\rtl\Garant\L3\l3Define.inc}
interface
uses
l3IntfUses
, l3ProtoObject
, l3WndProcListenersList
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.