text stringlengths 14 6.51M |
|---|
{
*****************************************************************************
* *
* This file is part of the iPhone Laz Extension *
* *
*... |
unit UOrderedBlockAccountList;
interface
uses
Classes, UBlockAccount;
type
{ TOrderedBlockAccountList }
TOrderedBlockAccountList = Class
private
FMaxBlockNumber : Integer;
FList : TList;
Function SaveBlockAccount(Const blockAccount : TBlockAccount; UpdateIfFound : Boolean) : Integer;
public
... |
unit clMalote;
interface
uses clConexao;
type
TMalote = Class(TObject)
private
function getData: TDateTime;
function getDestino: String;
function getDocumento: String;
function getExpedidor: String;
function getOrigem: String;
function getOs: Integer;
function getRecebedor: String;
... |
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Softwa... |
unit xn.Items.view;
interface
uses System.Generics.Collections, System.Generics.Defaults, System.SysUtils,
xn.Items;
type
IxnItemsView<T> = interface(IxnItems<T>)
['{8E9D2328-F658-4FF9-ABB5-8E669E81EA26}']
procedure Fill;
end;
TxnItemsView<T> = class(TInterfacedObject, IxnItemsView<T>)
... |
unit DW.Firebase.Default;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library ... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
unit CompOptions;
{
Inno Setup
Copyright (C) 1997-2010 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Compiler Options form
$jrsoftware: issrc/Projects/CompOptions.pas,v 1.26 2010/10/30 04:29:19 jr Exp $
}
interface
uses
Windows, Messages, SysUtils, C... |
{ ***************************************************************************
Copyright (c) 2016-2017 Kike Pérez
Unit : Quick.AppService
Description : Allow run app as console or service
Author : Kike Pérez
Version : 1.0
Created : 14/09/2017
Modified : 01/12/2017
This file is p... |
unit Sounds;
interface
uses
Classes, SoundMixer, SoundTypes, TimerTypes, ShutDown;
type
PTargetInfo = ^TTargetInfo;
TTargetInfo =
record
hearable : boolean;
Target : ISoundTarget;
end;
type
TSoundManager =
class(TInterfacedObject, IShutDownTarget, ITickeable... |
unit ncsServerFilesDeliverer;
// Модуль: "w:\common\components\rtl\Garant\cs\ncsServerFilesDeliverer.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TncsServerFilesDeliverer" MUID: (5810A0CC0383)
{$Include w:\common\components\rtl\Garant\cs\CsDefine.inc}
interface
{$If NOT Defined(Nemesis)}
uses
l3IntfUses
,... |
unit API;
interface
uses
System.SysUtils;
Type
TData = record
ID: string[38];
DataType: String[80];
Name: String[80];
Author: String[80];
cost: String[80];
Other: String[80];
end;
ptr = ^TElement;
TElement = record
next, prev: ptr;
data: TData;
end;
TList = record
... |
unit Errores;
interface
resourcestring
rsInformeNoEncontrado = 'Error! Informe no Encontrado';
rsErrorFechaVencida = 'FECHA de comprobante (%s) ' + #13 +
'corresponde a periodo CERRADO (%s)' + #13 +
'Debe Modificar la fech... |
unit slack;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, HTTPSend, ssl_openssl, fpjson, jsonparser;
const
SL_USERNAME = 'username';
SL_ICON_URL = 'icon_url';
SL_ICON_EMOJI = 'icon_emoji';
SL_TEXT = 'text';
SL_CHANNEL = 'channel';
SL_ATTACHMENTS = 'attachments';
// attachments
SL_ATT_FALLB... |
unit Entidade.CentroCusto;
interface
uses SimpleAttributes;
type
TCENTRO_CUSTO = class
private
FID_TIPO_CC: Integer;
FDESCRICAO: string;
FID: Integer;
procedure SetDESCRICAO(const Value: string);
procedure SetID(const Value: Integer);
procedure SetID_TIPO_CC(const Value: Integer);
publish... |
unit uMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
System.Actions,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.ListView.Types, FMX.StdCtrls, FMX.ListView, FMX.ActnList, FMX.Menus,
FMX.StdActns, FMX.MediaLibrary.Actions, Fmx.Bind.... |
unit DeviceLicenseResponseUnit;
interface
uses
REST.Json.Types,
GenericParametersUnit;
type
TDeviceLicenseResponse = class(TGenericParameters)
private
[JSONName('status')]
FStatus: boolean;
[JSONName('routes_planned_this_month')]
FRoutesPlannedThisMonth: integer;
[JSONName('routes_remai... |
unit InfoPOLNOTSTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoPOLNOTSRecord = record
PlenderID: String[4];
PModCount: SmallInt;
Pprefix: String[3];
PPolicy: String[7];
End;
TInfoPOLNOTSClass2 = class
public
PlenderID: Stri... |
unit Tickservm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
IniFiles, WSocket, Menus, StdCtrls, ExtCtrls, ApSrvCli, RFormat, RBroker, ApServer,
TTSDirectDaapi, TTSDaapiObjects, ProgramSettings, sButton, sLabel,
sPanel, sMemo;
const
WM_APPSTARTUP = W... |
unit uGnRtti;
interface
uses
Rtti, SysUtils, TypInfo;
type
TKoRtti = class(TObject)
public
end;
EKoRtti = class(Exception);
TKoRttiObjectHelper = class helper for TRttiObject
strict private
public
function GetAttribute<T: class>: T;
end;
TKoValueHelper = record he... |
unit RealState.WebModule;
interface
uses
System.SysUtils,
System.Classes,
Web.HTTPApp,
MVCFramework,
MVCFramework.Commons;
type
TRealStateWebModule = class(TWebModule)
procedure WebModuleCreate(Sender: TObject);
procedure WebModuleDestroy(Sender: TObject);
private
FMVC: TMVC... |
unit Benjamim.Signature.Interfaces;
interface
Type
iSignature = interface
['{9576A323-797D-414D-AFFB-0F3CCC567AFB}']
function Sign: string;
function Verify: boolean;
end;
implementation
end.
|
unit evdTypes;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "EVD"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/EVD/evdTypes.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root element:... |
// Original Author: Piotr Likus
// Replace Components mapping list window
unit GX_ReplaceCompMapList;
interface
uses
Messages, Classes, Controls, Forms, ComCtrls, StdCtrls,
ExtCtrls, Contnrs, ToolWin, ImgList, ActnList,
GX_ReplaceCompData, GX_SharedImages, GX_ReplaceCompMapDets, GX_BaseForm;
const
... |
unit Fichas;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ActnList, Menus, ComCtrls, ExtCtrls, ImgList, Db, DBTables, StdActns,
DBActns, ToolWin, StdCtrls, Grids, Wwdbigrd, Wwdbgrid, Buttons,
wwdblook, JvFormPlacement, JvComponentBase, ADODB, System.Actions;
const
... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
//** Основное изображение.
unit uSCR;
interface
uses
Windows, Graphics,
// Own units
UCommon, uHint;
//** Отрисовка основного изображения.
type
TSCR = class(THODObject)
private
FHint: THint;
HoldHint: Boolean;
procedure SetHint(const Value: THint);
public
//** Основное изо... |
unit ErrorListDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TErrorListDialog = class(TComponent)
private
FLabelCaption: string;
FBoxCaption: string;
FItems: TStringList;
procedure SetBoxCaption(const Value: string);
proce... |
unit uCompras;
interface
uses
FireDAc.Comp.Client, FireDAc.Stan.Param, Data.DB,
FireDAc.DApt;
type
TCompras = class
private
FConexao : TFDConnection;
FCP_NUMERO: Integer;
FCP_QTDE: Double;
FCP_EMPRESA: Integer;
FCP_DATA: TDateTime;
FCP_PRODUTO: Integer;
procedur... |
unit uWcxArchiveExecuteOperation;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
uFile,
uFileSource,
uFileSourceExecuteOperation,
uWcxArchiveFileSource;
type
{ TWcxArchiveExecuteOperation }
TWcxArchiveExecuteOperation = class(TFileSourceExecuteOperation)
private
FWcxArchiveFileSource: I... |
Пример из жизни.
Пусть мы хотим сделать "компонент", который наследуется от TClienDataSet и добавляет ему некие "прелестные фичи".
Вариант "в лоб"
TmySmartDataSet = class(TClientDataSet)
constructor Create(anOwner : TComponent; тут много разных дополнительных параметров); reintroduce;
...
inherited Create(anOwner... |
{
id:rz109291
PROG:frac1
LANG:PASCAL
}
{
USER: r z [rz109291]
TASK: frac1
LANG: PASCAL
Compiling...
Compile: OK
Executing...
Test 1: TEST OK [0.000 secs, 624 KB]
Test 2: TEST OK [0.000 secs, 624 KB]
Test 3: TEST OK [0.000 secs, 624 KB]
Test 4: TEST OK [0.000 secs, 624 KB]
Test 5: TEST OK [0.000 secs, 6... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
{$I tdl_dire.inc}
{$IFDEF USEOVERLAYS}
{$O+,F+}
{$ENDIF}
unit tdl_hand;
{
Contains logic and data structures necessary to implement file handlers.
- EXTRACTION handlers decompress archive files into cache directories.
- EXECUTION handlers directly run programs, or launch a helper program to
handle the chosen file.
I... |
unit GameControl;
interface
uses
Math, TypeControl;
type
TGame = class
private
FRandomSeed: Int64;
FTickCount: LongInt;
FWorldWidth: Double;
FWorldHeight: Double;
FFogOfWarEnabled: Boolean;
FVictoryScore: LongInt;
FFacilityCaptureScore: LongInt;
FVehicleEliminat... |
unit jc.IniFile;
interface
uses
IniFiles, Classes, jc.Libs.Interfaces;
type
TJcIniFile = class(TInterfacedObject, IJcIniFile)
private
FIniFile: TIniFile;
FFileName: string;
public
constructor Create(AFileName: String);
destructor Destroy; override;
class function New(AFileName: String = '... |
unit Constants;
interface
const
NotFound = -1;
InvalidParamTypeError = 'O tipo do parâmetro informado (%s) é inválido.'#13#10'Utilize apenas os tipos varString, varOleStr, varUString, varSmallInt, varInteger, varBoolean, varShortInt, varByte, varWord, varLongWord, varInt64, varUInt64.';
ScenarioRegex = '^(\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 Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.TypInfo, Vcl.ExtCtrls,
Vcl.ComCtrls;
type TPessoa = class(Tpersistent)
private
FIdade: Integer;
FNome: String;
FDa... |
unit QuickExportSetup;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,save_txt_dialog;
type
TQuickExportSetupForm = class(TForm)
SkipDescr: TCheckBox;
WordWrap: TCheckBox;
IndentEdit: TEdit;
Hyph: TCheckBox;
Indent: TCheckBox;
... |
unit dcNDateEditBtn;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Mask, rxToolEdit, rxDateUtil, datacontroller, db, FFSUtils, ffstypes, stooledit, sConst, sPopupClndr;
type
TDateStorageFormat = (dsfMMDDYYYY, dsfYYYYMMDD);
// TdcNDateEditBtn = c... |
{ Module containing the default SST library routines for manipulating the
* output character stream. Pointers to these routines are installed in the
* SST_W call table by SST_INIT. All the state that these routines manipulate
* other than the output lines themselves is in the global record SST_OUT.
* This i... |
unit ProgramSettings;
interface
uses
Windows, Messages, SysUtils, Forms, IOUtils, ShlObj,
FFSUtils, FFSTypes, Xml.XMLDoc, Xml.XMLIntf, System.Classes;
type
TProgramSettings = class(Tcomponent)
private
FRegistryKey: string;
FServerIP: string;
FServerPort: string;
fSettingsKeyName... |
unit Trenink;
(* Trida TTrenink *)
interface
uses
Graphics, SysUtils, Hlavicka, Cviceni,
CviceniSNakresem, MyUtils;
type
TTrenink = class
private
FDelka:Integer;
FHlavicka:THlavicka;
FRozcvicka,FRozchytani,FFyzicka,FZacvicka,FHra:TCviceni;
FCvik1,FCvik2,FCvik3,FCvik4:TCviceniSNakres... |
unit Popup_2D_Info;
{ Version vom 15.9.2018 }
{$mode delphi}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Grids,
ValEdit, StdCtrls, defaults;
type
{ TForm_2D_Info }
TForm_2D_Info = class(TForm)
List_PixInfo: TValueListEditor;
List_ParNames: TValueListEditor;
... |
unit Thread.ImportarPlanilhaEntradaCarriers;
interface
uses
System.Classes, Dialogs, Windows, Forms, SysUtils, Messages, Controls, System.DateUtils, System.StrUtils,
Generics.Collections, Model.PlanilhaEntradaCarriers,
Control.Clientes, Control.DestinosTransportes,
Control.EntregadoresExpressas, Control.Entre... |
unit NtUtils.Exec.Wmi;
interface
uses
NtUtils.Exec;
type
TExecCallWmi = class(TInterfacedObject, IExecMethod)
function Supports(Parameter: TExecParam): Boolean;
function Execute(ParamSet: IExecProvider): TProcessInfo;
end;
implementation
uses
Winapi.ActiveX, System.Win.ComObj, System.SysUtils, Ntap... |
unit AmountRateWinApp;
interface
uses
BaseWinApp,
BaseStockApp,
StockInstantDataAccess;
type
TAmountRateApp = class(TBaseStockApp)
protected
fLastStockInstant: TDBStockInstant;
fCurrentStockInstant: TDBStockInstant;
public
constructor Create(AppClassId: AnsiString); override;
destructo... |
unit fw_calc;
{$MODE Delphi}
{ Calculates spectra in forward mode.
Version vom 22.8.2019 }
interface
uses defaults;
procedure calc_T_WV;
procedure calc_T_O3;
procedure calc_Tr_GC;
procedure calc_omega_a;
procedure calc_M;
procedure calc_Fa;
procedure calc_tau_a_GC;
procedure calc_T_as;
procedure calc_Ed_GreggCar... |
unit u_codesect;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, u_global, u_consts, u_writers;
type
TCodeSection = class(TObject)
public
Lines: TStringList;
Constants: TConstantManager;
Outp: TMemoryStream;
constructor Create(sl: TStringList; cnsts: TConstantManager);
... |
unit AuthorizationService;
interface
uses
JunoApi4Delphi.Interfaces,
RESTRequest4D,
AuthorizationToken,
REST.JSON,
System.JSON;
type
TAuthorizationService = class(TInterfacedObject, iAuthorizationService)
private
FParent : iJunoApi4DelphiConig;
FAuthenticationToken : TAutho... |
namespace Sugar;
interface
{$IF COOPER}
extension method java.lang.Object.«ToString»: java.lang.String;
extension method java.lang.Object.«Equals»(aOther: Object): Boolean;
extension method java.lang.Object.GetHashCode: Integer;
{$ELSEIF TOFFEE}
extension method Foundation.NSObject.ToString: Foundation.NSSt... |
// --------------------------------------------------------------------------
// Archivo del Proyecto Ventas
// Página del proyecto: http://sourceforge.net/projects/ventas
// --------------------------------------------------------------------------
// Este archivo puede ser distribuido y/o modificado bajo lo terminos ... |
unit EmulatorDevice;
// Emulator device, implements IBaseRequestOnlyDevice (look into BaseDevice.pas)
// There are no commands, it just generate random data.
interface
uses
BaseDevice, SysUtils, ExtCtrls, Classes, Forms;
type
TEmulatorDevice = class (TInterfacedObject, IBaseRequestOnlyDevice)
publ... |
{
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... |
(*
* iocp c/s 服务基本类型常量等
*)
unit iocp_base;
//
// 全部 record 不要用 packed 类型,读写速度更快。
//
interface
{$I in_iocp.inc}
uses
{$IFDEF DELPHI_XE7UP}
Winapi.Windows, System.Classes, {$ELSE}
Windows, Classes, {$ENDIF}
iocp_Winsock2, iocp_wsExt, iocp_zlib;
type
// 收发内存块的用途
TIODataType = (
ioAcc... |
{$MODE OBJFPC}
{$R-,Q-,S-,I-}
{$OPTIMIZATION LEVEL2}
{$INLINE ON}
program Garden;
const
InputFile = 'GARDEN.INP';
OutputFile = 'GARDEN.OUT';
maxMN = 2000;
maxP = maxMN + maxMN;
infty = 1E+100;
eps = 1E-10;
type
TArr = array[1..maxMN] of Extended;
TBit1D = array[1..maxP] of Extended;
var
fi, fo: TextF... |
unit MFichas.Controller.Venda.Metodos.VenderItem;
interface
uses
MFichas.Controller.Venda.Interfaces,
MFichas.Model.Venda.Interfaces,
MFichas.Model.Item;
type
TControllerVendaMetodosVenderItem = class(TInterfacedObject, iControllerVendaMetodosVenderItem)
private
[weak]
FParent : iControllerVend... |
unit NavigationInterfaces;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "View"
// Автор: Люлин А.В.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/NavigationInterfaces.pas"
// Начат: 09.10.2009 19:06
// Родные D... |
unit QFLikeTextLoad_Form;
{* Форма для работы с КЗ }
// Модуль: "w:\common\components\gui\Garant\Daily\Forms\QFLikeTextLoad_Form.pas"
// Стереотип: "VCMForm"
// Элемент модели: "QFLikeTextLoad" MUID: (4CA090120212)
// Имя типа: "TQFLikeTextLoadForm"
{$Include w:\common\components\gui\sdotDefine.inc}
interface
{$If... |
unit pgInterfaces;
// Модуль: "w:\common\components\rtl\Garant\PG\pgInterfaces.pas"
// Стереотип: "Interfaces"
// Элемент модели: "pgInterfaces" MUID: (55DAD4150001)
{$Include w:\common\components\rtl\Garant\PG\pgDefine.inc}
interface
{$If Defined(UsePostgres)}
uses
l3IntfUses
, daTypes
, daInterfaces
, ddAppCo... |
unit MFichas.Model.Caixa.Metodos.Factory;
interface
uses
MFichas.Model.Caixa.Interfaces,
MFichas.Model.Caixa.Metodos.Interfaces,
MFichas.Model.Caixa.Metodos.Abrir,
MFichas.Model.Caixa.Metodos.Fechar,
MFichas.Model.Caixa.Metodos.Suprimento,
MFichas.Model.Caixa.Metodos.Sangria;
type
TModelCaixaMetodosFac... |
unit UpdateOrderUnit;
interface
uses SysUtils, BaseExampleUnit, OrderUnit;
type
TUpdateOrder = class(TBaseExample)
public
procedure Execute(Order: TOrder);
end;
implementation
procedure TUpdateOrder.Execute(Order: TOrder);
var
ErrorString: String;
UpdatedOrder: TOrder;
begin
UpdatedOrder := Rou... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
dbugintf;
type
{ TfrmMain }
TfrmMain = class(TForm)
btnDemo: TButton;
Memo1: TMemo;
procedure btnDemoClick(Sender: TObject);
procedure FormShow(Sender: TObject);
priv... |
unit Cautious_Edit;
interface
uses
Classes, Controls,stdCtrls,messages,TypInfo,expression_lib;
type
TCautiousEditClass=class of TCautiousEdit;
TCautiousEdit=class(TEdit)
private
fAllowExpressions: Boolean;
backupHint: string;
fSeemsNormal: boolean;
fControlToDisable: TControl;
fonValidat... |
unit TTSJOBTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSJOBRecord = record
PAutoInc: Integer;
PLenderNum: String[4];
PType: Integer;
PSetting : String[100];
PPeriod: String[1];
PPer_Type: integer;
PStart: String[20];
... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit CleanArch_EmbrConf.Core.UserCase.Impl.GetParkingLot;
interface
uses
CleanArch_EmbrConf.Core.UserCase.Interfaces,
CleanArch_EmbrConf.Core.Repository.Interfaces,
CleanArch_EmbrConf.Core.Entity.Interfaces, System.JSON;
type
TGetParkingLot = class(TInterfacedObject, iGetParkingLot)
private
FParent... |
You must specify the -p option with the path to the policy file.
|
{-------------------------------------------------- Progressive Path Tracing ---------------------------------------------------
This unit contains the TPathTracer class, which is the only class that directly interacts with the interface. It's responsible
for managing the worker threads and interfacing with all the... |
{
File: HIToolbox/ControlDefinitions.h
Contains: Definitions of controls provided by the Control Manager
Version: HIToolbox-219.4.81~2
Copyright: © 1999-2005 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
... |
unit AllStars;
interface
uses
Types, UITypes, FMX_Types, contnrs;
const
STARS_COUNT = 150;
type
TStarItem = class
Loc: TPointF;
Speed: double;
procedure Draw(const c: TCanvas);
end;
TStarsApp = class
private
FWidth,
FHeight: double;
FStars: TObjectList;
public
constructor ... |
unit uModel;
interface
type
TEndereco = class
private
FLogradouro: string;
FBairro: string;
FCEP: String;
FCidade: string;
procedure SetBairro(const Value: string);
procedure SetCEP(const Value: String);
procedure SetCidade(const Value: string);
procedure SetLogradou... |
unit BaseTypesUnit;
{* Базовые типы, используемые в адаптере }
// Модуль: "w:\garant6x\implementation\Garant\tie\Garant\GblAdapterLib\BaseTypesUnit.pas"
// Стереотип: "Interfaces"
// Элемент модели: "BaseTypes" MUID: (456EA56002BF)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUse... |
unit DAO.PlanilhaEntradaEntregas;
interface
uses Generics.Collections, System.Classes, System.SysUtils, Forms, Windows, Model.PlanilhaEntradaEntregas;
type
TPlanilhaEntradaEntregasDAO = class
public
function GetPlanilha(sFile: String): TObjectList<TPlanilhaEntradaEntregas>;
end;
implementation
{ TPlanilh... |
unit uSceneClass;
interface
uses uScene, Graphics, uGraph, uResFont, uButton;
type
TSceneClass = class(TSceneCustom)
private
FLogo: TBitmap;
FIsLoad: Boolean;
FGraph: TGraph;
FTemp: TBitmap;
FFont: TResFont;
FBack: TBitmap;
FBtn: array[1..2] of TButton;
procedure L... |
unit dec8_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
m6502,m6809,main_engine,controls_engine,ym_2203,ym_3812,gfx_engine,
rom_engine,pal_engine,sound_engine,misc_functions,mcs51,timer_engine;
function iniciar_dec8:boolean;
implementation
const
srd_rom:array[0..1] of tipo_roms=(
(n:... |
namespace Sugar.Test;
interface
uses
Sugar,
Sugar.Data.Json,
Sugar.Collections,
RemObjects.Elements.EUnit;
type
JsonObjectParserTest = public class (Test)
private
JObj: JsonObject := nil;
public
method EmptyObject;
method SimpleObjectStringValue;
method SimpleObjectIntValue;
method... |
{
This file is part of the AF UDF library for Firebird 1.0 or high.
Copyright (c) 2007-2009 by Arteev Alexei, OAO Pharmacy Tyumen.
See the file COPYING.TXT, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITH... |
// ============================================================================
// Delphi-interface for Philip Hazel's PCRE Vr. 3.1
// Copyright (c) 1999, Juergen Haible. All Rights Reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... |
unit fpcorm_dbcore_constants;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
const
c_SQL_NULL = 'NULL';
c_XML_NULL = '';
c_String_NULL = '';
c_SQL_Boolean: array [Boolean] of String = ('0', '1');
c_XML_Boolean: array [Boolean] of String = ('False', 'True');
c_String_Boolean: array [Boolean] of ... |
unit m3DBFiler;
// Модуль: "w:\common\components\rtl\Garant\m3\m3DBFiler.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "Tm3DBFiler" MUID: (555C88FF0236)
{$Include w:\common\components\rtl\Garant\m3\m3Define.inc}
interface
uses
l3IntfUses
, l3Filer
, m3DBInterfaces
;
type
Tm3DBFiler = class(Tl3CustomFiler... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
unit VariantCompForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TForm1 = class(TForm)
btnEqual: TButton;
btnCompare: TButton;
radRules: TRadioGroup;
btnCompare2: TButton;
procedure btnEqualClick(Sender: TObjec... |
unit FMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, U_Usb, RXShell, Menus, ShlObj, uDir, PNGImage;
type
TTFMain = class(TForm)
lstConsole: TListBox;
rxtMain: TRxTrayIcon;
pmuMain: TPopupMenu;
pmuAbout: TMenuItem... |
unit ConsCheRech2013;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cons_2013, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, dxRibbonSkins, dxSkinsCore,
dxSkinsDefaultPainters, cxStyles, dx... |
(*---------------------------------------------------------*)
(* some algorithms for handling double linked cyclic *)
(* Neuhold Michael *)
(*---------------------------------------------------------*)
PROGRAM ListDLCA;
TYPE
NodePtr = ^Node;
Node = RECORD
... |
unit Dib2SurfaceFrames;
// Copyright (c) 1996 Jorge Romero Gomez, Merchise.
interface
uses
Windows, Dibs, SurfaceSpriteImages,
ColorTrans, ColorTableMgr;
// Dibs conversion
function SurfaceFrameFromDib(DibHeader : PDib; DibPixels : pointer) : TSurfaceFrameImage;
//procedure AddDibToSurfaceFrame(Fr... |
unit vos_win32_hw_keyboard;
interface
uses
Windows;
type
PVOS_Win32_HW_Keyboard_Rec = ^TVOS_Win32_HW_Keyboard_Rec;
TVOS_Win32_HW_Keyboard_Rec = packed record
DefaultKbLayout: HKL;
end;
const
KbLayoutRegkeyFmt = 'System\CurrentControlSet\Control\Keyboard Layouts\%.8x'; // do not loca... |
unit SelFolderForm;
{
Inno Setup
Copyright (C) 1997-2004 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
"Select Folder" form
$jrsoftware: issrc/Projects/SelFolderForm.pas,v 1.15 2010/10/22 10:33:26 mlaan Exp $
}
interface
uses
Windows, Messages, SysUt... |
unit MdiChilds.ImportStroyInformResource;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MDIChilds.CustomDialog, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxCustomData, cxStyles, cxTL, cxT... |
unit DAO.DestinosTransporte;
interface
uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Control.Sistema, Model.DestinosTransportes;
type
TDestinosTransporteDAO = class
private
FConexao: TConexao;
public
constructor Create;
function Insert(aDestinos: TDestinosTransporte): Boolean;
functio... |
{
$Project$
$Workfile$
$Revision: 1.3 $
$DateUTC$
$Id: IdTlsClientOptions.pas,v 1.3 2015/06/16 12:31:51 lukyanets Exp $
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:
... |
{**************************************************************************************************}
{ }
{ Project JEDI }
{ ... |
program checkCase;
var
grade: char;
begin
grade := 'A';
case (grade) of
'A' : ;
'B', 'C': ;
'D' :;
'F' : ;
end;
end.
|
unit sdsChangesBetweenEditions;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ChangesBetweenEditions$Domain"
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/ChangesBetweenEditions/sdsChangesBetweenEditions.pas"
// Род... |
unit DAO.CidadesCEP;
interface
uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Model.CidadesCEP;
type
TCidadesCEPDAO= class
private
FConexao : TConexao;
public
constructor Create;
function GetID(): Integer;
function Inserir(ACidades: TCidadesCEP): Boolean;
function Alterar(ACidades:... |
unit MainUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ActnList,
Vcl.StdActns, Vcl.Menus, Vcl.ExtCtrls,
VCLTee.TeEngine, VCLTee.TeeProcs, VCLTee.Chart, VCLTee.Series,
Fftw3_Common, Fftw3_64, Vcl.ComCtrls, Vcl.St... |
program Example9;
var
x, a, b: integer;
begin
readln(x);
a := 0;
b := 10;
while x > 0 do
begin
if x mod 10 > a then
a := x mod 10;
if x mod 10 < b then
b := x mod 10;
x := x div 10;
end;
writeln('Max=', a);
write('Min=', b);
end. |
unit UserCR2_WarningBaloonKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы UserCR2_WarningBaloon }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Document\Forms\UserCR2_WarningBaloonKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "UserCR2_WarningBalo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.