text stringlengths 14 6.51M |
|---|
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie
All rights reserved.
For more info see: Copyright.txt
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
{*
Find the minimum and maximum... |
unit MainFrm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls,
DW.SystemHelper, System.Sensors, System.Sensors.Components, FMX.Layouts, FMX.Objects;
typ... |
unit G2Mobile.Model.FormaPagamento;
interface
uses
FMX.ListView,
uDmDados,
uRESTDWPoolerDB,
System.SysUtils,
IdSSLOpenSSLHeaders,
FireDAC.Comp.Client,
FMX.Dialogs,
FMX.ListView.Appearances,
FMX.ListView.Types,
System.Classes,
Datasnap.DBClient,
FireDAC.Comp.DataSet,
Data.DB,
FMX.Objects,
... |
{+--------------------------------------------------------------------------+
| Unit: mwEPTokenList
| Created: 2.98
| Author: Martin Waldenburg
| Copyright 1997, all rights reserved.
| Description: Enhanced Pascal token list
| Version: 1.1
| Status: FreeWare
| DISCLAIMER: Th... |
unit notifywindow;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, sliding_window;
type
TNotify_frm_grp = class;
Tfrm_notify_class = class of Tfrm_notify;
Tfrm_notify = class(TSlidingForm)
procedure FormCreate(Sender: TO... |
unit MFichas.Controller.Types;
interface
type
TEvDoClickConfirm = procedure(Sender: TObject) of object;
TEvDoClickCancel = procedure(Sender: TObject) of object;
TTypeStatusCaixa = (scFechado, scAberto);
TTypeOperacoesCaixa = (ocSangria, ocSuprimento);
TTypeTipoVenda = (tvCancelamento, ... |
unit libSeznam;
interface
type
data = integer;
uPrvek = ^Prvek;
Prvek = record
data : data;
dalsi : uPrvek;
end;
Seznam = object
hlava, konec : uPrvek;
constructor init;
function vyjmiPrvni : uPrvek;
function nty(kolikaty : integer) : uPrvek;
procedure vlozNaKonec(var co : data);
procedure vlozNaZ... |
{$I TMSDEFS.INC}
{***********************************************************************}
{ TPlanner component }
{ for Delphi & C++Builder & Kylix }
{ for Delphi & C++Builder }
{ ... |
unit AddAddressNoteUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TAddAddressNote = class(TBaseExample)
public
procedure Execute(RouteId: String; AddressId: integer);
end;
implementation
uses NoteParametersUnit, AddressNoteUnit, EnumsUnit;
procedure TAddAddressNote.Execute(RouteId: String; Ad... |
{
File: ConditionalMacros.p
Contains: Set up for compiler independent conditionals
Version: Technology: Universal Interface Files
Release: Universal Interfaces 3.4.2
Copyright: © 1993-2002 by Apple Computer, Inc., all rights reserved
Bugs?: For bug r... |
unit ufrmDefaultLaporan;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmDefault, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, dxBarBuiltInMenu, Vcl.Menus, cxStyles,
cxCustomData, cxFilt... |
unit RttiUtils;
interface
uses
Vcl.Forms, System.Classes;
type
TTypeComponent = (tcEdit, tcMemo, tcButton);
Form = class(TCustomAttribute)
private
FWidth: Integer;
FTypeComponent: TTypeComponent;
FName: String;
procedure SetTypeComponent(const Value: TTypeComponent);
... |
unit GX_EditorShortcut;
interface
uses
Classes, Controls, StdCtrls, ComCtrls, Forms, GX_BaseForm;
type
TfmEditorShortcut = class(TfmBaseForm)
gbxShortCut: TGroupBox;
lblShortCut: TLabel;
btnCancel: TButton;
btnOK: TButton;
hkyShortCut: THotKey;
btnDefault: TButton;
proc... |
unit cmdlinecfgparser;
interface
{$mode delphi}
uses
Classes, SysUtils, cmdlinecfg, cmdlinecfgutils;
type
{ TCmdLineOptionParse }
TOptionParse = class(TObject)
key : string;
opt : TCmdLineCfgOption;
isDelimited : Boolean; // the value comes with a white-space after the key
isParameter : Bool... |
program PCODE_TRANSLATOR ( PCODE , PCODE1 , PCODE2 , PCODE3 , OUTPUT ,
OBJCODE , LIST002 , TRACEF ) ;
(********************************************************************)
(*$D-,N+ *)
(***********************************************... |
unit okEditors;
interface
uses
SysUtils, Classes, Controls, cxControls, cxContainer, cxEdit, cxTextEdit,
ExtCtrls, StdCtrls, Windows, Messages;
const
OK_DEF_CHANGE_DELAY = 500;
WM_LAYOUTCHANGED = WM_USER + 17;
type
TokTextEdit = class(TcxTextEdit)
private
FTimer : TTimer;
FOnD... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Description: TSnmpCli class encapsulate the SNMP client paradigm
Creation: March 2011
Version: 1.01
EMail: francois.piette@overbyte.be http://www.overbyte.be
Support: Use the mailing... |
unit Cviceni;
(* Trida TCviceni *)
interface
uses
SysUtils, Classes, Graphics, Controls, StdCtrls,
Windows, Messages, Variants, Forms, Dialogs, ComCtrls,
Buttons, ExtCtrls, MyUtils;
type
TCviceni = class (TPanel)
private
FNazev,FLabel1,FLabel2:TLabel;
FMinut,FKomentar:TEdit;
FDelka:Inte... |
unit TTSPasswordOptionsTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSPasswordOptionsRecord = record
PExpireDays: Integer;
PHistorySize: Integer;
PMinDaysUsage: Integer;
PMinLength: Integer;
PMinChangedChars: Integer;
PMaxLoginAttem... |
unit ParseGen_Lex;
interface
type
symbol = (noSy,
termSy, nonTermSy,
isSy, identSy,
equalSy,
leftCurlSy, rightCurlSy,
plusSy, mulSy, divSy, minusSy,
leftParSy, rightParSy,
dotSy,
arrowLeftSy, arrowRightS... |
// --------------------------------------------------------------------------
// Archivo del Proyecto Ventas
// Página del proyecto: http://sourceforge.net/projects/ventas
// --------------------------------------------------------------------------
// Este archivo puede ser distribuido y/o modificado bajo lo terminos ... |
{ seldsfrm unit
Copyright (C) 2005-2010 Lagunov Aleksey alexs@yandex.ru and Lazarus team
original conception from rx library for Delphi (c)
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foun... |
unit BuildFacilitiesTask;
interface
uses
Classes, Tasks, Kernel, Tutorial, CacheAgent, FacIds, BackupInterfaces;
const
stgZero = 0;
stgConnect = 1;
stgWait = 2;
const
ciConnected = 0;
ciDisconnected = 1;
type
TFacilityChoiceMethod = (fcmFirst, fcmCheaper, fcmRandom);
... |
unit G2Mobile.Model.Clientes;
interface
uses
FMX.ListView,
uDmDados,
uRESTDWPoolerDB,
System.SysUtils,
IdSSLOpenSSLHeaders,
FireDAC.Comp.Client,
FMX.Dialogs,
FMX.ListView.Appearances,
FMX.ListView.Types,
System.Classes,
Datasnap.DBClient,
FireDAC.Comp.DataSet,
Data.DB,
FMX.Objects,
G2Mob... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox,
FMX.Memo, FMX.Edit, FMX.Controls.Presentation, FMX.StdCtrls, Winapi.Winrt, System.WinrtHelpers,
ShlObj, ComObj, ActiveX, Wina... |
unit TaskUtils;
interface
uses
Classes, Collection, Kernel, FacIds, Population, Tasks, BuildFacilitiesTask;
const
tidConstBlockClassName = 'TBlockUnderConstruction';
function FindFacility(FacId : TFacId; Company : TCompany; var Facility : TFacility) : boolean;
function FindFacilityInTycoon(FacId : T... |
PROGRAM Encryption(INPUT, OUTPUT);
{Переводит символы из INPUT в код согласно Chiper
и печатает новые символы в OUTPUT}
CONST
Len = 26;
FileName = 'Chiper.txt';
TYPE
LengthOf = 0 .. Len;
Str = ARRAY [1 .. Len] OF CHAR;
Chiper = ARRAY [1 .. Len] OF CHAR;
VAR
Msg: Str;
Code: Chiper;
Length : LengthOf;
... |
program TicketTranslation;
uses
Classes,
RegExpr,
SysUtils;
type
RuleRange = array[0..3] of integer;
TicketRule = record
r_name: string;
r_rule: string;
r_ranges: RuleRange;
end;
Ticket = record
t_values: array of integer;
end;
ValidField = record... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ Registration of Web server application and }
{ internet components }
{ ... |
unit LOGIC_DemoAPI;
interface
uses
System.Classes,
Vcl.StdCtrls,
Commune_APIUtilities,
Winapi.Windows;
type
tDEMO = class
private
class function UTIL_ByteCountScaled(aByteCount: single; aScale: fsScaleFactor = fss_Byte): single; static;
class function UTIL_DiskFree(aDriveLetter: char): Int6... |
unit kwPopEditorNextHyperlink;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopEditorNextHyperlink.pas"
// Родные Delphi интерфейсы (.pas)
// Generated ... |
unit MdListAct;
interface
uses
ActnList, Classes, StdCtrls, ExtActns, Controls;
type
TMdCustomListAction = class (TListControlAction)
protected
function TargetList (Target: TObject): TCustomListBox;
function GetControl(Target: TObject): TCustomListControl;
public
procedure UpdateTarget (Target: T... |
unit simple_statistics_lib;
interface
uses classes,series;
type
TAbstract1DStats=class(TPersistent)
protected
fmin,fmax,fsum,fsumSquares: Real;
fcount: Integer;
function getRMS: Real; virtual; abstract;
function getStdDev: Real; virtual; abstract;
function getSampleStdDev: Real; virtual; abstra... |
unit mainNew;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls,DATEUTILS,
Vcl.ExtCtrls, Vcl.Buttons, Data.DB, Data.Win.ADODB;
type
TForm2 = class(TForm)
cbTask: TComboBox;
L... |
unit nsCustomStyleProcessor;
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\f1DocumentTagsImplementation\nsCustomStyleProcessor.pas"
// Стереотип: "ServiceImplementation"
// Элемент модели: "TnsCustomStyleProcessor" MUID: (53AC08C900D0)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
u... |
unit DW.OSDevice;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library }
{ ... |
unit FeatureParserIntf;
interface
uses
Classes, FeatureIntf;
type
IFeatureParser = interface(IInterface)
['{0017D4E2-14B2-4841-A738-7090AFF16D10}']
function GetErrors: IInterfaceList;
function GetFeatureFileName: string;
procedure SetFeatureFileName(const Value: string);
function Parse: IFeat... |
unit aeShader;
interface
uses windows, types, classes, aeConst, dglOpenGL, sysutils, aeLoggingManager;
type
TaeShader = class
private
_text: TStringList;
_handle: GLHandle;
public
constructor Create;
destructor destroy; override;
function SetShader(text: TStrings): boolean;
function L... |
unit LUX.GPU.Vulkan.Imager;
interface //#################################################################### ■
uses System.Generics.Collections,
vulkan_core,
vulkan.util,
LUX.GPU.Vulkan.root,
LUX.GPU.Vulkan.Memory,
LUX.GPU.Vulkan.Buffer;
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$... |
unit TTSELTAG2Table;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSELTAG2Record = record
PSortBy: String[120];
PSeparateby: String[10];
PGroupBy: String[10];
PCifFlag: String[1];
PLoanNum: String[20];
PAcolNum: Integer;
PTrackCode: S... |
{
Copyright (C) 2013-2019 Tim Sinaeve tim.sinaeve@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 applicable... |
unit TemplateReplace;
interface
uses
Classes, StrUtils;
//function DoTemplateReplace(const Template: String;
// DataSetRecord: TDataSet): String;
implementation
{$ifdef jshdglksghskdhg}
function DoTemplateReplace(const Template: String;
DataSetRecord: TDataSet): String;
var
sl: TStringList;
... |
unit Skill;
interface
uses gm_engine, IniFiles;
const
SkillCount = 12; // Количество навыков.
SkillMax = 5; // Максимальный уровень навыка.
SkillIconSize = 64; // Размер иконки навыка.
type
TBaseSkill = class(TObject)
private
FSkill: array [0..SkillCount] of Byte;
public
... |
unit myevent;
interface
uses
syncobjs;
type
TMyEventResult = (merSignaled, merTimeOut, merDestroyed, merError);
TMyEvent = class
private
FEvent: TEvent;
Destroying: TEvent;
public
constructor Create(ManualReset, InitialState: Boolean);
destructor Destroy; override;
func... |
unit csClientMessageRequest;
interface
uses
Classes, CsDataPipe, csRequestTask, CsNotification, DT_types;
type
TddClientMessage = class(TddRequestTask)
private
f_Data: Integer;
f_NotifyType: TCsNotificationType;
f_Text: string;
protected
procedure Cleanup; override;
procedure LoadFrom(aStream: TStream;... |
unit ServerMethodsUnit1;
interface
uses System.SysUtils, System.Classes, Datasnap.DSServer, Datasnap.DSAuth;
type
{$METHODINFO ON}
TServerMethods1 = class(TComponent)
private
{ Déclarations privées }
public
{ Déclarations publiques }
function EchoString(Value: string): string;
fun... |
unit daTabledQuery;
// Модуль: "w:\common\components\rtl\Garant\DA\daTabledQuery.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TdaTabledQuery" MUID: (5600FA2301B9)
{$Include w:\common\components\rtl\Garant\DA\daDefine.inc}
interface
uses
l3IntfUses
, daQuery
, daInterfaces
, daSelectFieldList
, daSortFi... |
unit Unit_data;
interface
uses SysUtils;
const
__multipl=1;
__min=50*__multipl;
__max=2*__min;
Max_integer=1000000000;
type
trextract=record
one, two : word;
end;{trextract}
telementtype=record
mask : word;
_topl : array[1..16] of integer;
_nagr : array[1..16] of integer;
sum_topl : inte... |
{******************************************************************************}
{ }
{ Delphi FB4D Library }
{ Copyright (c) 2018-2023 Christoph Schneider ... |
{
DO NOT USE!
}
unit uTrigger;
interface
uses
tinyglr, glrMath,
uPhysics2D, uBox2DImport;
const
CAT_SENSOR = $8000;
type
TpdTrigger = class;
TpdOnTrigger = procedure(Trigger: TpdTrigger; Catched: Tb2Fixture) of object;
{ TpdTrigger }
TpdTrigger = class
private
fWorld: Tglrb2World;
F... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.HttpServer.Intf.Cache
Description : Http Server Cache Interface
Author : Kike Pérez
Version : 1.0
Created : 12/10/2019
Modified : 27/10/2019
This file i... |
program sumOfDigits(input, output);
var
number : integer;
digit : integer;
sum : integer;
flag : integer;
begin
write('Number: ');
read(number);
if number < 0 then
writeln('Must be positive.')
else
begin
flag := number;
sum := 0;
digit := 0;
while (number > 0) do
begin
digit := number m... |
(*=============================================================================
*
* SHA1 计 算
* 来源:本代码摘自 CnPack
* 说明:只保留 WebSocket 握手必须的 SHA1 计算
* 优化: 高凉新农
*
=============================================================================*)
{***************... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://187.121.80.12:12121/wsdl/IIntegraViagens?wsdl
// >Import : http://187.121.80.12:12121/wsdl/IIntegraViagens?wsdl>0
/... |
{
PROGRAMME AlgoTP1_TD1_Boucle_Tavares_Léo
// g: convertir un nombre de la base 10 à la base 2
// i: un nombre en base 10 choisi par l'utilisateur
// o: le nombre converti en base 2.
VAR
nombreEntre, dividende : ENTIER
chaineBinaire : CHAINE
DEBUT
ECRIRE "Bienvenue dans le programme pour convertir une valeur d... |
Unit Randomize;
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie
All rights reserved.
For more info see: Copyright.txt
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
{$mode obj... |
{***************************************************************************}
{ TEllipsLabel component }
{ for Delphi & C++Builder }
{ }
{ writte... |
unit FFSPageControl;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, FFSTypes;
type
TGetTabFontEvent = procedure(Sender: TObject; ATabIndex:integer; AFont:TFont) of object;
TFFSPCMode = (pcNormal, pcFlat, pcHideTabs);
TFFSPageControl = class(T... |
unit ScriptDlg;
{
Inno Setup
Copyright (C) 1997-2012 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Custom wizard pages
}
interface
{$I VERSION.INC}
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, StdCtrls,
Wizard,
NewCheckList... |
unit ChatHandlerPanel;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, Protocol;
type
TOnMessageComposed = procedure( Msg : string ) of object;
TOnMessageCompositionChanged = procedure( State : TMsgCompositionState ) of object... |
PROGRAM Prime(INPUT, OUTPUT);
{ Программа находит простые числа в заданном диапазоне }
CONST
MinNumber = 2;
MaxNumber = 100;
TYPE
Numbers = SET OF MinNumber .. MaxNumber;
VAR
NumberInSieve, Prime: INTEGER;
Sieve: Numbers;
BEGIN {Prime}
Sieve := [MinNumber .. MaxNumber];
Prime := MinNumber; ... |
unit uMainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, BaseForms, StdCtrls, ExtCtrls;
type
TMainForm = class(TBaseForm)
btnNewModalForm: TButton;
lblModalResult: TLabel;
btnNewFormWithFreeOnClose: TButton;
btnTestAutoFree: TButton;
... |
unit glr_mesh;
{$i defines.inc}
interface
uses
glr_render, glr_scene, glr_utils;
{$REGION ' .OBJ mesh file format specific types '}
type
TglrObjFace = record
v, vt, vn: array[0..2] of LongWord;
end;
TglrObjFaceList = TglrList<TglrObjFace>;
TglrObjIndex = record
v, vn, vt: LongWord;
end;
Tgl... |
program FeldSort3 (input, output);
{ sortiert ein einzulesendes Feld von integer-Zahlen }
const
MAX = 100;
type
tIndex = 1..MAX;
tFeld = array[tIndex] of integer;
var
EingabeFeld : tFeld;
idx : tIndex;
Groesse : integer;
procedure FeldSortieren (inSortLaenge : tIndex; var ioS... |
unit Animations;
interface
uses
Windows, Classes, TimerTypes, ShutDown, VCLUtils;
type
IAnimationTarget =
interface
function IsCyclic : boolean;
function CurrentFrame : integer;
function FrameCount : integer;
function FrameDelay(frame : integer) : integer;
... |
unit myIntegerListTests;
interface
uses
TestFramework
;
type
TmyIntegerListTests = class(TTestCase)
published
procedure ListAdd;
procedure ListInsert;
procedure ListDelete;
procedure ListCount;
procedure ListItem;
procedure QCTicket1;
end;//TmyIntegerListTests
implementation
uses
System.Sy... |
unit email_validator_adapter;
interface
uses
RegularExpressions,
email_validator_intf;
type
TEmailValidatorAdapter = class(TInterfacedObject, IEmailValidator)
function isValid(const email: String): Boolean;
public
class function New: IEmailValidator;
end;
implementation
function TEmailValidatorA... |
unit GX_ePopupMenu;
interface
uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
ComCtrls,
StdCtrls,
GX_BaseForm,
GX_BaseExpert;
type
TfmEditorPopupMenuExpertConfig = class(TfmBaseForm)
pc_Main: TPageControl;
ts_Experts: ... |
unit UClasses;
interface
uses
Classes;
type
TOwnedPersistent = class(TPersistent)
private
fOwner: TPersistent;
protected
function GetOwner: TPersistent; override;
procedure CheckOwnerType(aOwner: TPersistent; const Allowed: array of TClass);
function FindOwner(aClass: TClass): T... |
unit SingleDriverRoundTripGenericRequestUnit;
interface
uses
REST.Json.Types,
AddressUnit, RouteParametersUnit, GenericParametersUnit;
type
TSingleDriverRoundTripGenericRequest = class(TGenericParameters)
private
[JSONNameAttribute('addresses')]
FAddresses: TAddressesArray;
[JSONNameAttribute('p... |
{******************************************************************************}
{* *}
{* TelemetryLog *}
{* ... |
(*Programma per l'analisi di una funzione matematica - Marco Olivo, 1998*)
(*Versione 4.0*)
(*Questo programma ? liberamente distribuibile e modificabile, a patto che rimanga
il mio nome nei crediti e a patto che non venga utilizzato per scopi di lucro e/o commerciali*)
(*Contiene parti Copyright (c) 1985, 1990 b... |
unit kwCompiledWordWorker;
{* Базовый класс для исполняемых скомпилированных слов. }
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\kwCompiledWordWorker.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TkwCompiledWordWorker" MUID: (4DCBD50101CB)
{$Include w:\common\components\rtl\Garant\ScriptEngine\se... |
{*********************************************************************
*
* 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-mail: y... |
Unit h2AnalogClock;
Interface
Uses
Messages,Windows, Classes,Controls, ExtCtrls, SysUtils,GR32_Image,GR32,
gr32_layers,Graphics,JvThreadTimer,GR32_transforms;
Type
TH2AnalogClock = Class(TControl)
Private
ftimer:tjvthreadtimer;
finterval:Cardinal;
fx,
fy,
fwidth,
fhe... |
{$MODE OBJFPC}
program Relay;
const
InputFile = 'RELAY.INP';
OutputFile = 'RELAY.OUT';
maxN = Round(1E5);
turtle = Round(1E18) + 1;
type
TRacer = record
a, b, c, xid1, xid2: Integer;
end;
TLine = record
x1, x2, d: Integer;
y1, y2: Int64;
end;
TNode = record
line: TLine;
L, H: Inte... |
// librdkafka - Apache Kafka C library
//
// Copyright (c) 2012-2013 Magnus Edenhill
// All rights reserved.
//
// 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 abo... |
unit fPreferences;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Spin, GR32_Image, GR32, ComCtrls, cConfiguration, cMegaROM;
type
TfrmPreferences = class(TForm)
cmdOK: TButton;
cmdCancel: TButton;
cmdRestoreDefaults: TButton;
pgcPre... |
unit uFrmAuto;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls;
type
TFrmAuto = class(TForm)
gbOil: TGroupBox;
Label1: TLabel;
edtMetre: TEdit;
Label2: TLabel;
edtPrice: TEdit;
Label3: TLabel;
edtC... |
{$I ACBr.inc}
unit pciotMotoristaR;
interface
uses
SysUtils, Classes,
{$IFNDEF VER130}
Variants,
{$ENDIF}
pcnAuxiliar, pcnConversao, pciotCIOT, ASCIOTUtil;
type
TMotoristaR = class(TPersistent)
private
FLeitor: TLeitor;
FMotorista: TMotorista;
FSucesso: Boolean;
FMensagem: String;
FOp... |
unit GX_ProofreaderConfig;
{$I GX_CondDefine.inc}
interface
uses
Classes, Controls, Forms, Dialogs, ComCtrls, StdCtrls,
ActnList, ToolWin, ExtCtrls, Menus, Messages,
GX_ProofreaderExpert, GX_ProofreaderData, GX_ProofreaderUtils, GX_SharedImages,
GX_BaseForm;
const
UM_UPDATECOLS = WM_USER + 63... |
unit seibu_sound;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
sound_engine,misc_functions,main_engine,nz80,ym_3812,oki6295,
ym_2151,msm5205;
type
seibu_adpcm_chip=class
constructor create;
procedure free;
public
procedure reset;
procedure adr_w(dir:word;valor:byte);
p... |
unit FFSTypes;
interface
uses windows, messages, graphics;
type
TRegistrationRecord = record
SystemActivated : boolean;
InitialRunDate : string[20];
RunCount : integer;
RunsAllowed : integer;
UserCount : integer;
CanAutoActivate : boolean;
AutoCou... |
unit ExpertInfo;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Menus, StdCtrls, ExptIntf, ToolIntf, ComCtrls, EditIntf, VirtIntf;
type
TExpert =
class(TForm)
RichEdit1: TRichEdit;
MainMenu1: TMainMenu;
Tools1: TMenuItem;
... |
unit LoginFormU;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, jpeg, ExtCtrls, md5, Buttons;
type
TLoginForm = class(TForm)
Label3: TLabel;
Label1: TLabel;
PasswordEdit: TEdit;
UserNameEdit: TEdit;
Image1: TImage;
... |
unit UIWrapper_StageGridListUnit;
interface
uses
FMX.TabControl, SearchResult, DataFileSaver, Data.DB;
const
DBMS_NAME: array[0..1] of String = ( 'MS-SQL', 'Fire Bird' );
type
TUIWrapper_StageGridList = class(TObject)
private
FTabCtrl: TTabControl;
FSearchResult: IDataSetIterator;
protecte... |
{
Clever Internet Suite
Copyright (C) 2014 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clSimpleHttpServer;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils,{$IFDEF DEMO} Windows, Forms, clEncoder, clEncryptor, clCertificate, clHtmlParser,{$ENDIF}
{$ELSE}
Syst... |
{
$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... |
{*********************************************************}
{* VPEDFMTLST.PAS 1.03 *}
{*********************************************************}
{* ***** BEGIN LICENSE BLOCK ***** *}
{* Version: MPL 1.1 ... |
unit ElScrollBarDemoMain;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ElXPThemedControl, ElScrollBar, ElImgFrm, StdCtrls, ElSpin,
ElVCLUtils, ElBtnCtl, ElStrUtils, ElCheckCtl, ExtCtrls, ElPanel,
ElGroupBox, ElClrCmb, ElEdits, ElBtnEdit, ElCombos, ElSBCtrl;
type
... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1997 Paolo Giacomuzzi }
{ Copyright (c) 1998-2003, EldoS Corporatio... |
PROGRAM ProcedureTest(INPUT, OUTPUT);
{Тест процедуры ReadDigit}
PROCEDURE ReadDigit(VAR F: TEXT; VAR D: INTEGER);
{В D возвращается цифра, соответствующая цифре-символу, прочтённому из F}
VAR
Ch: CHAR;
BEGIN {ReadDigit}
D := -1;
IF NOT EOLN
THEN
BEGIN
READ(F, Ch);
IF Ch = '0' THEN D := 0 ELSE
... |
unit observer_pattern_interfaces;
interface
uses Classes,Typinfo,command_class_lib;
type
IObserver=interface
procedure ObserverUpdate;
end;
IObservable=interface
procedure AddObserver(who: IObserver);
procedure DeleteObserver(who: IObserver);
procedure NotifyObservers;
end;
TNoRefCount=... |
unit vcmOperations;
{* Компонент для определения списка операций. }
{ Библиотека "vcm" }
{ Автор: Люлин А.В. © }
{ Модуль: vcmOperations - }
{ Начат: 13.03.2003 18:11 }
{ $Id: vcmOperations.pas,v 1.5 2011/07/29 15:08:37 lulin Exp $ }
// $Log: vcmOperations.pas,v $
// Revision 1.5 2011/07/29 15:08:37 luli... |
unit TestVK_API;
{
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, Data.DBXJSON, Reg... |
unit Ip2Country;
interface
uses Windows, SysUtils, Classes, Contnrs, Lookups;
type
TIp2Country = class
private
FIndex: AnsiString;
FIndexCount: integer;
FData: TIntToStrLookup;
FDataLen: Cardinal;
FDataOffset: Cardinal;
FStream: TFileStream;
FLastEntry: AnsiString;
protected
fun... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clUploader;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes,
{$ELSE}
System.Classes,
{$ENDIF}
clMultiDC, clSingleDC, clDCUtils, clMultiUploader, clHttpRequest;
type
TclSingleUp... |
unit QReportSetupDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ReportSetupForm, ffstypes;
type
TQReportSetupDialog = class(TComponent)
private
FReportFormat: TFFSRptFormat;
procedure SetReportFormat(const Value: TFFSRptFormat);
private... |
unit GlobalPAFData;
interface
type
ShortString = String[15];
LongString = String[50];
XLongString = UnicodeString;
TGlobalPAFData = class
procedure Clear;
protected
FStartTime, FEndTime,
FBestDatum: TDateTime;
FUsRum, FLevtId, FTdbTyp1, // Rum
FTdbTyp2, // Läkarsign
FTdbTyp3, //... |
unit rc4;
interface
const
DecChars : string = #1#2#3#4#5#6#7#8#9#10#11#12#13#15 + '¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ';
type
TRC4 =
class
public
constructor Load(var cypherAry);
private
fBytCypherAry : ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.