text stringlengths 14 6.51M |
|---|
unit EnumsUnit;
interface
uses
SysUtils;
type
TTrackingInfo = (
tiOrderReceived,
tiOrderAssignedToRoute,
tiPacking,
tiLoadedToVehicle,
tiOutForDelivery,
tiUnknown
);
TPeriod = (
pToday,
pYesterday,
pThismonth,
p7days,
p14days,
p30days,
p60days,
p90days... |
unit l3Types;
{* Базовые типы библиотеки L3. }
{ Библиотека "L3 (Low Level Library)" }
{ Автор: Люлин А.В. © }
{ Модуль: l3Types - }
{ Начат: 14.04.1998 11:40 }
{ $Id: l3Types.pas,v 1.142 2016/04/06 20:24:12 lulin Exp $ }
// $Log: l3Types.pas,v $
// Revision 1.142 2016/0... |
unit CommandSet;
interface
uses
SysUtils,
Device.SMART.List, BufferInterpreter,
{$IfDef UNITTEST}
Mock.OSFile.IoControl;
{$Else}
OSFile.Handle, OSFile.IoControl, OS.Handle;
{$EndIf}
type
TCommandSet = class abstract(TIoControlFile)
public
constructor Create(const FileToGetAccess: String); overr... |
unit GX_SourceExportOptions;
{$I GX_CondDefine.inc}
interface
uses
Classes, Graphics, Controls, Forms, StdCtrls, ExtCtrls, ColorGrd,
SynEdit, Dialogs, GX_BaseForm;
type
TfmSourceExportOptions = class(TfmBaseForm)
pnlSettings: TPanel;
dlgBackground: TColorDialog;
pnlButtons: TPanel;
... |
unit SensorOptions;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Misc, ComCtrls;
type
TFormSensorOptions = class(TForm)
GroupBox1: TGroupBox;
GroupBox2: TGroupBox;
BtnOk: TButton;
BtnCancel: TButton;
BtnApply: TButton;
Stat... |
unit tclists;
{$ifdef fpc}
{$mode delphi}
{$endif}
interface
uses
Classes, SysUtils, Graphics,
constants, dbcomponents, tcutils,LCLProc;
type
{@@
@see TCElementList.ForEachDoPaint
}
TCElementListPaintCallback = procedure(ACanvas: TCanvas; AElement: PTCElement) of object;
TCElementListWriteCallbac... |
unit UTrieTree;
interface
uses
Windows,
SysUtils,
UTreeNode,
ComCtrls;
Type
TTrieTree = class
private
FTree: TNode;
public
Constructor Create;
function IsEmpty: boolean;
procedure Push (s: string);
function delete(wrd:string):integer;
procedu... |
unit ufrmPenarikanDeposit;
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, cxFi... |
unit console;
{$ifdef fpc}{$mode objfpc}{$H+}{$endif}
interface
implementation
uses
{$IFDEF FPC}ZStream, {$ENDIF}
strutils,Classes,SysUtils, mat;
procedure Showmsg(lStr: string);
begin
Writeln(lStr);
end;
{$include common.inc}
procedure WriteHelp;
var
E: string;
begin
E := extractfile... |
{ Subroutine SST_R_PAS_INTEGER
}
module sst_r_pas_INTEGER;
define sst_r_pas_integer;
%include 'sst_r_pas.ins.pas';
procedure sst_r_pas_integer ( {read UNSIGNED_LIT_INTEGER and return value}
out ival: sys_int_max_t); {returned integer value}
var
tag: sys_int_machine_t; {syntax ta... |
// Upgraded to Delphi 2009: Sebastian Zierer
(* ***** 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 a... |
unit ddBreak;
// Модуль: "w:\common\components\rtl\Garant\dd\ddBreak.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TddBreak" MUID: (51E8EFD50162)
{$Include w:\common\components\rtl\Garant\dd\ddDefine.inc}
interface
uses
l3IntfUses
, ddDocumentAtom
, RTFtypes
, ddSectionProperty
, ddCustomDestination
, ... |
unit flRuleStore;
// This Class stores the rules.
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fgl;
type
//TStringList = specialize TList<string>;
//TRealList = specialize TList<real>;
TStrList = specialize TFPGList<String>;
TRealList = specialize TFPGList<Real>;
TRuleStore = c... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
{ Date Created: 5/25/00 5:01:01 PM }
unit InfoDIRYGRUPTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoDIRYGRUPRecord = record
PGroup: String[6];
PDescription: String[30];
End;
TInfoDIRYGRUPBuffer = class(TDataBuf)
protected
function Pt... |
unit uBignumArithmetic;
interface
const
DECIMAL_SEPARATOR = '.';
MAX_SIZE = 255; // не более максимального значения TDigit
DIGITS_IN_ONE_CELL = 2; // зависит от TDigit: MAX_NUM_IN_ONE_CELL должен входить в диапазон значений TDigit
BASE = 10; // фиксированная величина: не изменять
MAX_NUM_IN_ONE_CELL = tru... |
unit LS.AndroidTimer;
interface
uses
System.Classes,
Androidapi.JNI.Os, Androidapi.JNI.JavaTypes, Androidapi.JNIBridge;
type
TAndroidTimer = class;
TTimerRunnable = class(TJavaLocal, JRunnable)
private
FTimer: TAndroidTimer;
public
{ JRunnable }
procedure run; cdecl;
publi... |
unit StageOptionPartList;
interface
uses
UIWappedPartUnit, System.Classes, FMX.Controls, UIWrapper_StageEditorUnit,
StageOptionPart, SearchOption_Intf;
type
TStageOptionList = class(TAbsUIWrappedPart)
private
FChkAutoDetect: TCheckBox;
FStageEditor: TUIWrapper_StageEditor;
//FAutoStgOpt: ... |
unit LevelFunctions;
interface
uses
SysUtils, Dialogs, Functions, Classes;
type
TFieldType = (ftUndefined, ftFullSpace, ftEmpty, ftRed, ftYellow, ftGreen);
TFieldState = (fsUndefined, fsLocked, fsAvailable, fsOccupied);
TGameMode = (gmUndefined, gmNormal, gmDiagonal);
TLevelError = (leUnde... |
unit Parsers.Excel.Resources.KSR;
interface
uses
SysUtils, Classes, GsDocument, Parsers.Excel, Parsers.Abstract, StrUtils;
type
TResourceExcelRow = class(TExcelRowWrapper)
public
function GetOKPCode: string;
function GetCaption: string;
function GetMeasure: string;
function IsChapter: Boolean;... |
unit BowlingScore;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, GameUnit, ExtCtrls;
type
TfrmBowlingGame = class(TForm)
Memo1: TMemo;
Label1: TLabel;
btnNewGame: TButton;
gbAddPlayer: TGroupBox;
edAddPlayer: TLabeledEdit;
b... |
unit BrowseFolder platform;
{.$DEFINE USE_FILECTRL_FUNCTIONS} // not recommended!
{$DEFINE USE_FORMS} // important
interface
uses
Windows, SysUtils, ShlObj, ActiveX
{$IFDEF USE_FILECTRL_FUNCTIONS}, FileCtrl{$ENDIF}
{$IFDEF USE_FORMS}, Forms{$ENDIF};
function MySelectDirectory(AMsg: string): stri... |
object fmGrepSearch: TfmGrepSearch
Left = 311
Top = 189
BorderStyle = bsDialog
Caption = 'Grep Search'
ClientHeight = 563
ClientWidth = 486
Color = clBtnFace
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
KeyPreview = T... |
unit AutoMapper.Mapper;
interface
uses
AutoMapper.ConfigurationProvider
, AutoMapper.MapEngine
, AutoMapper.Exceptions
, AutoMapper.CfgMapper
, AutoMapper.MappingExpression
, System.SysUtils
;
type
TConfigurationProvider = AutoMapper.ConfigurationProvider.TConfigurationProvider;
TMapperSetting =... |
unit EditionsContainerKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы EditionsContainer }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Editions\EditionsContainerKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "EditionsContainerKeywordsPack" MUID: ... |
unit stopwatch_lib;
interface
type
TStopWatch=class
private
ftms: Integer;
frun: Boolean;
st_time: TDateTime;
function get_current_value: Integer;
public
procedure reset;
procedure start;
procedure stop;
property tms: Integer read get_current_value;
property running: Boolean r... |
unit Mat.Settings;
interface
uses IniFiles, SysUtils, DBGrids, UnitMain, System.Classes;
type
TSettingsFile = class(Tinifile)
public
procedure LoadSettingsColumns(DBGrid: TDBGrid);
procedure SaveSettingsColumns(DBGrid: TDBGrid);
procedure LoadSettingsOther;
procedure SaveSett... |
////////////////////////////////////////////////////////////////////////////////
// FFormModule.pas
// MTB communication library
// MTB module config form
// (c) Petr Travnik (petr.travnik@kmz-brno.cz),
// Jan Horacek (jan.horacek@kmz-brno.cz),
// Michal Petrilak (engineercz@gmail.com)
////////////////////... |
unit uLogArquivo;
interface
uses SysUtils, Classes, Windows;
type
TTipoLog = (tlcInformation, tlcError, tlcWarning, tlcDebug);
ILogArquivo = interface
['{23E1C114-AFAC-4CC3-B5FB-8248459C31CE}']
function NomeArquivo: String;
procedure Info(ATexto: String);
procedu... |
unit Utils.Functions;
interface
uses
Vcl.ExtCtrls,RTTI, vcl.controls,System.classes,Vcl.StdCtrls, vcl.forms,Generics.collections,
System.UITypes;
Type
TGenericObject<T: class> = class
public
class function CreateObject: T;
end;
function Iif(Contition: Boolean; ValueTrue, ValueFalse : Variant):Variant... |
{ Version 1.0 - Author jasc2v8 at yahoo dot com
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 an... |
unit SumToText;
interface
function ConvertSumToText(AValue: real): string;
implementation
uses
SysUtils
;
function Propis(Value: int64): string;
var
Rend: boolean;
ValueTemp: int64;
procedure Num(Value: byte);
begin
case Value of
1: if Rend = true then Result := Result + 'один ' else Resu... |
unit TestForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
SpeedBmp;
type
TForm1 =
class(TForm)
procedure FormCreate(Sender: TObject);
procedure FormDblClick(Sender: TObject);
procedure FormPaint(Sender: TObject);
... |
{$REGION 'Copyright (C) CMC Development Team'}
{ **************************************************************************
Copyright (C) 2015 CMC Development Team
CMC 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 ... |
unit AppConfigBaseTest;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "DailyTest"
// Модуль: "w:/common/components/rtl/Garant/Daily/AppConfigBaseTest.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root ele... |
unit Define_AnalysisUpsDowns;
interface
uses
Define_DealItem, Define_Price, StockDayDataAccess;
type
PRT_AnalysisUpsDowns = ^TRT_AnalysisUpsDowns;
TRT_AnalysisUpsDowns = record
StockItem: PRT_DealItem;
UpDownTrueStatus: TRT_UpDownStatus;
UpDownViewStatus: TRT_UpDownStatus;
UpTrueDays: I... |
unit eeBaseTypes;
{ Библиотека "Эверест" }
{ Автор: Люлин А.В. © }
{ Модуль: eeBaseTypes - }
{ Начат: 28.05.2003 19:02 }
{ $Id: eeBaseTypes.pas,v 1.4 2011/04/14 16:19:23 lulin Exp $ }
// $Log: eeBaseTypes.pas,v $
// Revision 1.4 2011/04/14 16:19:23 lulin
// {RequestLink:257822128}.
//
// Revision 1.3 2003... |
unit fmuCustomerInfo;
{$I defines.inc}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, AtrPages, StdCtrls, ToolCtrlsEh, GridsEh,
DBGridEh, DBCtrls, DBCtrlsEh, Mask, Buttons, ExtCtrls, DB, FIBDataSet,
pFIBDataSet, Menus, DBGridEhToolCtrls, DBAxisGridsEh, PrjC... |
unit LUX.GPU.Vulkan.Comman;
interface //#################################################################### ■
uses System.Generics.Collections,
vulkan_core;
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】
TVkCommans<TVkPooler_:class> = class;
TVkComman<TVkPool... |
unit MFichas.Model.Item;
interface
uses
System.SysUtils,
MFichas.Model.Item.Interfaces,
MFichas.Model.Item.Metodos.Factory,
MFichas.Model.Item.Iterator,
MFichas.Model.Item.Metodos.GravarNoBanco,
MFichas.Model.Entidade.VENDAITENS, MFichas.Model.Venda.Interfaces;
type
TModelItem = class(TInterfacedObjec... |
unit uMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Math,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs,
DPF.iOS.BaseControl,
DPF.iOS.Common,
iOSapi.CoreGraphics,
iOSApi.UIKit,
iOSApi.QuartzCore,
iOSapi.Foundation,
iOSapi.CoreText,
iOSapi.CocoaTyp... |
{*******************************************************************************
作者: dmzn@163.com 2009-7-8
描述: 方案管理
*******************************************************************************}
unit UFormEditPlan;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, For... |
{ Routines to create various SST expressions for use in syntax parsing
* functions.
}
module sst_r_syn_exp;
define sst_r_syn_exp_ichar;
define sst_r_syn_exp_pfunc;
define sst_r_syn_exp_exp2;
%include 'sst_r_syn.ins.pas';
{
********************************************************************************
*
* Functi... |
unit GX_CodeFormatterBookmarks;
// stores the bookmarks while the source file is being reformatted
// Original Author: Thomas Mueller (http://www.dummzeuch.de)
interface
uses
SysUtils,
Classes;
type
TBookmark = class
private
fLine: Integer;
fNumber: Integer;
public
constru... |
{******************************************************************************}
{ }
{ Library: Fundamentals 5.00 }
{ File name: flcCryptoUtils.pas ... |
unit csExport;
interface
{$Include CsDefine.inc}
uses
Classes,
daTypes,
dtIntf,
CsDataPipe, csProcessTask, CsTaskTypes, dt_Sab,
k2Base,
csExportTaskPrim
;
type
TcsExport = class(TcsExportTaskPrim)
private
f_DocSab: ISab;
procedure pm_SetDocSab(Value: ISab);
protected
function RequireDeliv... |
unit AbastecimentoHelper;
interface
uses Abastecimento;
type
TAbastecimentoHelper = class helper for TAbastecimento
private
function GetValorImposto: Double;
function GetValorTotal: Double;
public
property ValorImposto: Double read GetValorImposto;
property ValorTotal: Double read ... |
{ GDAX/Coinbase-Pro client library
Copyright (c) 2018 mr-highball
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, co... |
unit OptionsHandler;
interface
uses
Classes, VoyagerInterfaces, VoyagerServerInterfaces, Controls, OptionsHandlerViewer,
Protocol, JukeBox, ChatHandler;
type
TMetaOptionsHandler =
class( TInterfacedObject, IMetaURLHandler )
// IMetaURLHandler
private
function getName ... |
unit IndustrySheet;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, VisualControls, ObjectInspectorInterfaces, PercentEdit,
GradientBox, FramedButton, SheetHandlers;
const
AllowedChars = ['0'..'9', 'a'..'z', 'A'..'Z', '.', ' ', #8, '-', '_', ',', ';', '(', ... |
unit UPedidoRepositoryIntf;
interface
uses
UPizzaSaborEnum, UPizzaTamanhoEnum, FireDAC.Comp.Client;
type
IPedidoRepository = interface(IInterface)
['{76A94FF6-4634-4C52-91E4-3F969389D917}']
procedure efetuarPedido(const APizzaTamanho: TPizzaTamanhoEnum; const APizzaSabor: TPizzaSaborEnum; const AValorPe... |
unit RSButton;
{ *********************************************************************** }
{ }
{ RSPak Copyright (c) Rozhenko Sergey }
{ http://sites.google.com/site/sergroj/ }
... |
unit QRAnsiList;
interface
uses classes, sysutils;
type
TAnsiStringHolder = class(TObject)
public
stringValue : AnsiString;
constructor Create;
end;
TAnsiStringList = class(TStringlist)
private
FNumElements : integer;
public
procedure AddString( s : An... |
unit ScriptCompiler;
{
Inno Setup
Copyright (C) 1997-2010 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Script compiler
$jrsoftware: issrc/Projects/ScriptCompiler.pas,v 1.22 2010/11/13 06:02:48 jr Exp $
}
interface
uses
Classes, uPSUtils;
type
TSc... |
// SAX for Pascal, Simple API for XML Extension Interfaces in Pascal.
// Ver 1.1 July 4, 2003
// http://xml.defined.net/SAX (this will change!)
// Based on http://www.saxproject.org/
// No warranty; no copyright -- use this as you will.
unit SAXExt;
interface
uses
SAX;
const
// There are separate ... |
{$M+}
unit uBackup_restore;
interface
uses
FireDAC.Phys.FB, IBX.IBServices, FireDAC.Comp.Client, Vcl.StdCtrls,
System.SysUtils, Vcl.Forms;
type
TBackup_restore = class(TObject)
private
FConexao : TFDConnection;
FBackupFB: TIBBackupService;
FRestoreFB: TIBRestoreService ;
FMemoB... |
unit SFXBehavior;
interface
uses
SysUtils;
type
TConflictBehavior = (cbAvoid, cbOverwrite, cbNewer, cbAsk);
TCommentPresentation = (cpNone, cpBeforeExtracting, cpAfterExtracting);
TExtractionTarget = (etExtractHere, etDesktop, etAsk);
TZIPBehavior = record
ConflictBehavior: TConflictB... |
{
id:rz109291
PROG:stamps
LANG:PASCAL
}
{
这道题的难点主要有2:
1.题目中没有说出“背包的体积”和“背包价值”,需要自己构造。一个优等的构造方法是:h:=k*max(a[i]);
2.体积循环应该在外面。因为对于每个体积,所有物品都要循环一遍以挑选出最优,和平时的背包模型不一样.
方程:f[v]:=min(f[v],f[v-cost[i]]+1);
我一开始沙茶般的让价值为COST[I],体积为K,占用为1.然后处理起来非常麻烦。
看来,背包模型的难点不只是发现背包,还有背包的构造。
}
{
USER: r z [rz109291]
TASK: stamps
LANG: PASCAL
C... |
unit D_DocumentProperties;
{ Автор: Люлин А.В. © }
{ Модуль: D_DocumentProperties - }
{ Начат: 21.02.2001 12:02 }
{ $Id: D_DocumentProperties.pas,v 1.13 2008/04/15 17:36:14 lulin Exp $ }
// $Log: D_DocumentProperties.pas,v $
// Revision 1.13 2008/04/15 17:36:14 lulin
// - авто... |
unit K540414514;
{* [Requestlink:540414514] }
// Модуль: "w:\common\components\rtl\Garant\Daily\K540414514.pas"
// Стереотип: "TestCase"
// Элемент модели: "K540414514" MUID: (53903EFB0324)
// Имя типа: "TK540414514"
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas}
interface
{$If Defined(nsTest)... |
unit ZusiTools;
interface
Uses Windows, SysUtils, Registry, Classes;
function GetZusiDir: String;
function IsZusiLoaded: Boolean;
function SendKeyToZusi(Key: Integer; Pressed, Release: Boolean): Boolean;
function ShutdownComputer(Force: Boolean): Boolean;
procedure FindFiles (aPath, aFindMask: String; aWithSub: Bool... |
unit pgDataProviderFactory;
// Модуль: "w:\common\components\rtl\Garant\PG\pgDataProviderFactory.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TpgDataProviderFactory" MUID: (55D6E2FB025D)
{$Include w:\common\components\rtl\Garant\PG\pgDefine.inc}
interface
{$If Defined(UsePostgres)}
uses
l3IntfUses
, daDat... |
unit Base.Color;
interface
Const
BRANCO = $00F9F9F9; // branco
AZUL = $00A00000; // azul
AZULC = $00FFAC59; // Azul Claro
AZULE = $00400000; // azul escuro
VERMELHO = $002020FF; // vermelho
VERMELHOC = $008080FF; // vermelho claro
VERDE = $00408000; // verde
VERDEC = $0080FF00; // verde claro
PRETO ... |
unit mrdo_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,controls_engine,sn_76496,gfx_engine,rom_engine,
pal_engine,sound_engine;
function iniciar_mrdo:boolean;
implementation
const
mrdo_rom:array[0..3] of tipo_roms=(
(n:'a4-01.bin';l:$2000;p:0;crc:$03dcfba2),(n:'c4-02... |
unit TestTrackingSamplesUnit;
interface
uses
TestFramework, Classes, SysUtils,
BaseTestOnlineExamplesUnit;
type
TRec = record
RouteId: String;
MemberId: string;
end;
TRecs = array of TRec;
TTestTrackingSamples = class(TTestOnlineExamples)
private
{ procedure InitParameters(index: Integer... |
unit uMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Math,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs,
DPF.iOS.BaseControl,
DPF.iOS.Common,
Macapi.ObjectiveC,
iOSapi.CoreGraphics,
iOSApi.UIKit,
iOSApi.QuartzCore,
iOSapi.Foundation,
iOSapi.CoreTe... |
unit F1Like_InternalOperations_Controls;
// Модуль: "w:\common\components\gui\Garant\VCM\View\F1Like_InternalOperations_Controls.pas"
// Стереотип: "VCMControls"
// Элемент модели: "InternalOperations" MUID: (4F71AD0E01FE)
{$Include w:\common\components\gui\f1LikeAppDefine.inc}
interface
uses
l3IntfUses
{$If NOT ... |
unit PictureExt;
interface
uses Classes , Graphics;
type
TExtPicture =class(TPicture)
public
procedure LoadFromStream(const AStream : TStream);
procedure SaveToStream(const AStream : TStream);
end;
implementation
{ TExtPicture }
procedure TExtPicture.LoadFromStream(const AStream: ... |
unit Control.Acessos;
interface
uses System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Common.ENum, Control.Sistema, Model.Acessos, Vcl.ActnList;
type
TAcessosControl = class
private
FAcessos: TAcessos;
public
constructor Create();
destructor Destroy(); override;
property Acessos: TAcessos ... |
// stores the bookmarks while the source file is being reformatted
// Original Author: Thomas Mueller (http://www.dummzeuch.de)
unit GX_CodeFormatterBookmarks;
{$I GX_CondDefine.inc}
interface
uses
SysUtils,
Classes,
ToolsApi,
GX_BookmarkList;
type
TBookmarkHandler = class
private
... |
{
$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 rights reserv... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit uTelaPrincipal;
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, uDMSolicitacao,
uSolicitacaoVO, uSolicitacaoViewModel, uDM;
Const C_PARAR: string = 'Parar';
... |
unit untCarregaBases;
interface
uses
Classes, Forms, SysUtils, Messages, Dialogs;
procedure CarregaBases;
implementation
uses
udmPadrao,
udmVariaveis,
udmPrincipal,
udmDadosCTe,
udmFiliais,
udmCliente,
udmConhecimentos,
udmMinutaContainer,
udmDocsFaturar,
udmEntregas,
udmNotaEmbarcada,
udm... |
unit xpr.interpreter;
{
Author: Jarl K. Holta
License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html)
Interpreter, for the execution of code
}
{$I express.inc}
interface
uses
Classes,
SysUtils,
xpr.express,
xpr.bytecode,
{$I objects.inc};
const
STACK_MIN_SIZE = 16;
STACK_MULTIPLIER = 2... |
{
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... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit ThreadReportBase;
interface
uses
Classes, dbisamtb, ReportGen, FFSProcessTable, TicklerTypes;
type
TRptStatus = (rsNone, rsDone, rsProblem, rsScan, rsReport, rsNMSR, rsDelCat);
TThdReportBase = class(TThread)
private
tblProcess : TFFSProcessTable;
ModNum : int64; // used to deter... |
unit GX_DesignerMenu;
{$I GX_CondDefine.inc}
interface
uses
Classes, DesignIntf, DesignMenus;
type
TGxDesignerMenu = class(TBaseSelectionEditor, ISelectionEditor)
Indexes: array of Integer;
procedure ExecuteVerb(Index: Integer; const List: IDesignerSelections);
function GetVerb(Index:... |
{$apptype console}
{$product KTX Console Manager 2.0}
{$company Kotov Projects}
{$copyright Alexandr Kotov}
///Модуль для удобной работы с консолью
unit KTX;
const
///Название модуля
Name = 'KTX Console Manager';
///Версия модуля
Version: record Major, Minor: integer; end = (Major: 2; Minor: 0)... |
unit uDepartamentoAcessoVO;
interface
uses
System.SysUtils, uKeyField, uTableName;
type
[TableName('Departamento_Acesso')]
TDepartamentoAcessoVO = class
private
FExcluir: Boolean;
FIdDepartamento: Integer;
FIncluir: Boolean;
FId: Integer;
FPrograma: Integer;
FRelatorio: Boolean;
F... |
namespace Sugar.Test;
interface
uses
Sugar,
Sugar.IO,
RemObjects.Elements.EUnit;
type
PathTest = public class (Test)
private
property FolderPath: String read Folder.UserLocal.Path;
public
method ChangeExtension;
method Combine;
method GetParentDirectory;
method GetExtension;
meth... |
{
$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 K619559603;
{* [Requestlink:619559603] }
// Модуль: "w:\common\components\rtl\Garant\Daily\K619559603.pas"
// Стереотип: "TestCase"
// Элемент модели: "K619559603" MUID: (56E01A9F0388)
// Имя типа: "TK619559603"
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas}
interface
{$If Defined(nsTest)... |
unit UMemOperationBlock;
interface
uses
UAccountKey, UDynRawBytes, U32Bytes;
{$include MemoryReductionSettings.inc}
{$IFDEF uselowmem}
type
TMemOperationBlock = Record // TOperationBlock with less memory usage
// block number is discarded (-4 bytes)
{$IFDEF useAccountKeyStorage}
account_keyKS: PAcco... |
unit UFrmExample;
interface
uses Vcl.Forms, System.ImageList, Vcl.ImgList, Vcl.Controls, Vcl.StdCtrls,
System.Classes, System.Types, Vcl.Graphics, DzListHeader;
type
TForm1 = class(TForm)
LH: TDzListHeader;
IL: TImageList;
L: TListBox;
procedure FormCreate(Sender: TObject);
proce... |
{
$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 ZMZipFile19;
(*
ZMZipFile19.pas - Represents the 'Directory' of a Zip file
Copyright (C) 2009, 2010 by Russell J. Peters, Roger Aelbrecht,
Eric W. Engler and Chris Vleghert.
This file is part of TZipMaster Version 1.9.
TZipMaster is free software: you can redistribute it and/or modify... |
unit caParam;
// Модуль: "w:\common\components\rtl\Garant\ComboAccess\caParam.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TcaParam" MUID: (56E14CE0012E)
{$Include w:\common\components\rtl\Garant\ComboAccess\caDefine.inc}
interface
{$If Defined(UsePostgres) AND Defined(TestComboAccess)}
uses
l3IntfUses
, ... |
unit OiMenuUtil;
interface
uses
SysUtils,
Classes,
Contnrs;
//PARAM
type
TRequestParam = class
token : PChar;
customUrl : PChar;
end;
//SIMPLE RESULT
type
TSimpleResult = class
success : Boolean;
message ... |
namespace Sugar.Collections;
interface
uses
Sugar;
type
Queue<T> = public class mapped to {$IF COOPER}java.util.LinkedList<T>{$ELSEIF ECHOES}System.Collections.Generic.Queue<T>{$ELSEIF TOFFEE}Foundation.NSMutableArray{$ENDIF}
public
constructor; mapped to constructor();
method Contains(It... |
unit WallpaperSetterProvider;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
WpcExceptions,
WallpaperSetter,
OSUtils;
type
{ TWpcWallpaperSetterProvider }
TWpcWallpaperSetterProvider = class(TObject)
public
function GetWallpaperSetter(SetterType : TWpcWallpaperSetterType) : IWallpaperSett... |
unit MenuWordsPack;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\MenuWordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "MenuWordsPack" MUID: (4FC7292F02EA)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts) AND NOT Defined(NoVCL)... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Sequences, Works, StdCtrls, ArchManThd, IniFiles;
type
TForm1 = class(TForm)
Button1: TButton;
Memo1: TMemo;
Memo2: TMemo;
stTime: TStaticText;
procedure FormCreate(Sender: TObject);
proc... |
(*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... |
unit nsDownloader;
interface
uses
Classes,
Windows,
ActiveX,
UrlMon,
l3ProtoObject,
nsDownloaderInterfaces,
nsDownloaderThread,
nsDownloaderThreadList,
nscSystemProgressDialog;
type
TnsDownloadParams = class(Tl3ProtoObject, InsDownloadParams)
private
FFileAction: TnsDownloadFileAction; ... |
unit ultiboGLES2C;
{$mode delphi} {Default to Delphi compatible syntax}
{$H+} {Default to AnsiString}
{$inline on} {Allow use of Inline procedures}
interface
{The VideoCore IV GPU supports both OpenGL ES 1.1 and 2.0 so we have enabled the Free Pascal units
for both versions in Ultibo. When using OpenGL ... |
unit settings;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls;
type
TfSettings = class(TForm)
bOK: TButton;
bCancel: TButton;
PageControl1: TPageControl;
TabSheet1: TTabSheet;
TabSheet2: TTabSheet;
Label1: TLabel;
... |
unit Sample.Targa;
{$INCLUDE 'Sample.inc'}
interface
uses
Neslib.Ooogles;
type
TPixel = array [0..3] of Byte;
type
TTgaImage = record
public
Width: Integer;
Height: Integer;
Data: TArray<TPixel>;
public
function Load(const APath: String): Boolean;
function ToTexture: TGLTexture;
end... |
{ Subroutine SST_W_C_TERMS_IMPLICIT (TERM1,N_TERMS,DTYPE,SYM_P)
*
* Create an implicit var, if neccessary, from the expression formed by the
* list of terms starting at TERM1. N_TERMS is the number of terms that are
* to be considered in the expression. SYM_P is returned pointing to the
* symbol descriptor ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.