text stringlengths 14 6.51M |
|---|
unit uspQuery;
interface
uses
System.SysUtils, System.Classes, Data.DB, FireDAC.Comp.DataSet,
FireDAC.Comp.Client;
type
TspQuery = class(TFDQuery)
private
FspCondicoes: TStrings;
FspColunas: TStrings;
FspTabelas: TStrings;
procedure VerificaErros;
function CriarClausulaSelect: String;
... |
unit ScrollingWinControlWordsPack;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\ScrollingWinControlWordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "ScrollingWinControlWordsPack" MUID: (54F5881101AC)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If ... |
{$include lem_directives.inc}
unit LemTriggers;
interface
type
TTrigger = class
end;
(*
// Object Trigger Effects
ote_None = 0; // no effect (harmless)
ote_Exit = 1; // lemming reaches the exit
ote_BlockerLeft = 2; // not used in ... |
{ *************************************************************************** }
{ }
{ This file is part of the XPde project }
{ }
... |
// 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... |
// Filename : XmlChars.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 XmlChars;
interface
uses SAX;
// !! Eventually I may need to add a version attribute
// !! for alter... |
unit TextViaEditorProcessorWithExternalSave;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Abstract Tests"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/Abstract_Tests/TextViaEditorProcessorWithExternalSave.... |
{
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... |
(*
* 接收数据的专用单元
*
* C/S、WebSocket 模式数据接收器
*)
unit iocp_receivers;
interface
{$I in_iocp.inc} // 模式设置
uses
{$IFDEF DELPHI_XE7UP}
Winapi.Windows, System.Classes, System.SysUtils, {$ELSE}
Windows, Classes, SysUtils, {$ENDIF}
iocp_base, iocp_md5, iocp_mmHash,
iocp_msgPacks, iocp_WsJSON;
type
//... |
unit clOrdemServico;
interface
uses clConexao;
type
TOrdemServico = Class(TObject)
private
function getData: TDateTime;
function getEntregador: Integer;
function getExecutor: String;
function getHoraRetorno: String;
function getHoraSaida: String;
function getKmFinal: Integer;
function... |
unit dcInfoEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Mask, ToolEdit, dcEdit;
type
TdcInfoEdit = class(TdcEdit)
private
{ Private declarations }
protected
{ Protected declarations }
public
{ Public declarations }
... |
unit Main;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Layouts, FMX.Memo;
type
TFormMain = class(TForm)
ButtonInfo: TButton;
Memo: TMemo;
procedure ButtonInfoClick(S... |
unit uGraph;
{$MODE OBJFPC}
interface
uses Classes;
type
TNode = class
strict private
FName: String;
FEdges: TList<TNode>;
function GetEdge(Index: Integer): TNode;
function GetEdgeCount: Integer;
function SetName(aName: String);
function GetName: String;
public
constructor Create(c... |
unit VSM.Rest.Auth;
interface
uses VSM.Rest.Enumeradores;
type
TSolucoesAuth = (VSMCard, VSMEcommerce, Orizon);
type TVSMRestAutentication = class
private
Furl: string;
Fuser: string;
Fpass: string;
FtimeOut: Integer;
FgrantType: string;
FToken: string;
FType_Author... |
unit QueryForma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, GridsEh, DBGridEh, ExtCtrls, Buttons,
FIBDatabase, pFIBDatabase, DB, FIBDataSet, pFIBDataSet, SynEditHighlighter,
SynHighlighterSQL, SynEdit, pFIBScripter, DBGridEhImpExp,
... |
unit udmPagParcela;
interface
uses
Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS;
type
TdmPagParcela = class(TdmPadrao)
qryManutencaoIDPARC: TFloatField;
qryManutencaoIDPGTITULOPARC: TFloatField;
qryManutencaoN... |
namespace Sugar.Threading;
interface
{$IF COOPER}
uses
java.util.concurrent;
{$ENDIF}
type
{$IF COOPER}
ThreadPool = public static class
private
var fExecutor: ThreadPoolExecutor := new ThreadPoolExecutor(4, 1000, 0, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<Runnable>()); readonly;
... |
unit Rule_REF;
interface
uses
BaseRule,
BaseRuleData;
(*//
REF
含义:引用若干周期前的数据。
用法:REF(X,A),引用A周期前的X值。
例如:REF(CLOSE,1)表示上一周期的收盘价,在日线上就是昨收
//*)
type
TRule_REF = class(TBaseRule)
protected
fParamN: Word;
fInt64Ret: PArrayInt64;
fFloatRet: PArrayDouble;
function Get_REF_ValueF(AIndex: in... |
unit periva;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Datasnap.DBClient, cxGraphics,
cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit,
EnPngGr, Vcl.ExtCtrls, Vcl.StdCtrls... |
unit DAO.ExpedicaoExpressas;
interface
uses
FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Model.ExpedicaoExpressas, System.DateUtils;
type
TExpedicaoExpressasDAO = class
private
FConexao : TConexao;
public
constructor Create;
function GetID(): Integer;
function Inserir(AExpedicao: TExped... |
unit evContentsNodeFilter;
{* фильтр оглваления документа }
// Модуль: "w:\common\components\gui\Garant\Everest\evContentsNodeFilter.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevContentsNodeFilter" MUID: (4DFEF1DF009F)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
uses
l3Int... |
unit fClientForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,
uROClient, uROClientIntf, uRORemoteService, uROJSONMessage, uROIndyTCPChannel;
type
TClientForm = class(TForm)
ROMessage: TROJSONMessage;
ROChannel: TROIndyTCPChannel;
RO... |
unit OverbyteIcsWinnls;
// From Winnls.h
{ Normalization requires Vista+ or XP SP2 with additional install of:
Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1 }
{$ALIGN ON}
{$MINENUMSIZE 4}
{$WEAKPACKAGEUNIT}
{.$DEFINE CPP_WINHEADER_VISTA}
interface
uses
Windows;
type
//#i... |
unit ExtAIDelphi;
interface
uses
System.SysUtils,
ExtAILog, ExtAIBaseDelphi;
type
// Here will be the main algorithm of the ExtAI
// It works just like dynamic scripts (it reacts to Events with Actions and States)
TExtAIDelphi = class(TExtAIBaseDelphi)
private
// Game variables and methods
procedur... |
{-----------------------------------------------------------------------------
hpp_options (historypp project)
Version: 1.0
Created: 31.03.2003
Author: Oxygen
[ Description ]
Options module which has one global options variable and
manages all options throu all history windows
[ History ]... |
{*******************************************************************************
作者: dmzn@163.com 2011-11-30
描述: 商品订单调整
*******************************************************************************}
unit UFormProductBillAdjust;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, ... |
unit qrpBaseCtrls;
interface
uses
Classes, QRCtrls, QRPrntr, Quickrpt;
type
TLabelSettings = class(TPersistent)
private
fFirstLabel : Longint;
fLabelCount : Longint;
protected
public
published
property FirstLabel: Longint Read fFirstLabel Write fFirstLab... |
{$mode objfpc}{$h+}
program demo;
uses classes, sysutils,
FPImage, FPCanvas, FPImgCanv,
FPWritePNG;
var canvas : TFPcustomCanvas;
image : TFPCustomImage;
writer : TFPCustomImageWriter;
{
Colors range from 0 to 65535 in each primary color.
They can also show as hexideciaml:
... |
unit TM1638;
interface
uses
GlobalConfig,
GlobalConst,
Platform,
Threads,
SysUtils,
Classes,
Ultibo;
type
TShiftOrder = (soLsbFirst = 0, soMsbFirst = 1);
{ TTM1630 }
TTM1630 = class
private
strobe_: Integer;
clock_: Integer;
data_: Integer;
procedure Set... |
unit stDocumentPrintAndExportFontSizeItem;
{* Визуализатор для настройки "Использовать для экспорта и печати следующий размер шрифта" }
// Модуль: "w:\common\components\SandBox\VCM\View\Document\stDocumentPrintAndExportFontSizeItem.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TstDocumentPrintAndExportFontSize... |
unit State.Model.Item;
interface
uses State.Model.Interfaces, State.Model.Item.Ativo, State.Model.Item.Vendido;
type
TModelItem = class(TInterfacedObject, iItem, iItemOperacoes, iState<iItemOperacoes>)
private
FState : iItemOperacoes;
public
constructor Create;
destructor Destroy; override;
cla... |
unit NLDTranslate;
{
:: NLDTranslate is a set components which make it easy to apply
:: runtime translation to an application. It uses the flexible XML
:: format to define language files.
:$
:$
:$ NLDTranslate is released under the zlib/libpng OSI-approved license.
:$ For more information: htt... |
inherited dmMvtoAcertoContas: TdmMvtoAcertoContas
OldCreateOrder = True
inherited qryManutencao: TIBCQuery
SQLInsert.Strings = (
'INSERT INTO STWACRTMOV'
' (FIL_ORIGEM, LANCAMENTO, ANO, HISTORICO, VEICULO, MOTORISTA, D' +
'T_EVENTO, DESCRICAO, VL_EVENTO, DC, FIL_ORDEM, NR_ORDEM, DT... |
unit main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.DBGrids, Data.DB,
Vcl.StdCtrls, Vcl.DBCtrls, Vcl.Mask;
type
TForm1 = class(TForm)
DBGrid1: TDBGrid;
e_standard: TEdit;
l_... |
unit uMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.Base,
FMX.ListView, FMX.Edit, FMX.StdCtrls, FMX.Objects, FMX.Lay... |
unit uEventAgg;
interface
uses SysUtils, Classes, Generics.Collections;
type
TEvent = class(TObject);
TEventClass = class of TEvent;
TCallbackProc = procedure(const aPublisher: TObject; const anEvent: TEventClass) of object;
TDispatch = record
private
FNotification: TCallbackProc;
FPublisher: TO... |
unit PicShopForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, FramedButton, StdCtrls, OpaquePanel, MarqueeCtrl, ComCtrls,
SocketComp, ExtDlgs, InternationalizerComponent;
const
PictureTransferPort = 6010;
BufferSize = 1024;
PhotoWidth ... |
{
Double Commander
-------------------------------------------------------------------------
Custom edit control with the look and feel like TLabel
Copyright (C) 2017-2018 Alexander Koblov (alexx2000@mail.ru)
This program is free software; you can redistribute it and/or
modify it under the ter... |
unit clServicosFuncionarios;
interface
uses clConexao;
type
TFuncionariosServicos = class(TObject)
private
constructor Create;
destructor Destroy;
function getCadastro: Integer;
function getCodigo: Integer;
procedure setCadastro(const Value: Integer);
procedure setCodigo(const Value: Int... |
unit fmuEKLZ2;
interface
uses
// VCL
Windows, StdCtrls, Controls, Classes, Forms, Sysutils, ExtCtrls, Graphics,
// This
untPages, untDriver, TestManager, untUtil;
type
TfmEKLZ2 = class(TPage)
gbStatus: TGroupBox;
Memo: TMemo;
btnGetEKLZSerialNumber: TButton;
btnGetEKLZVersion: TButton;
... |
unit Migrator;
interface
uses
daTypes,
htInterfaces,
htDataProviderParams,
pgConnection,
pgDataProviderParams,
pgCommandExecutor
;
type
TReportCallback = procedure (const aStr: String; WriteToLog: Boolean) of object;
TMigrator = class(TObject)
private
f_CallBack: TReportCallback;
f_Connection: TpgCo... |
unit tfwDictionaryEx;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\tfwDictionaryEx.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TtfwDictionaryEx" MUID: (559E8B2E0385)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts)}
uses
l3IntfUses
, t... |
{ CSI 1101-X, Winter, 1999 }
{ Assignment 1-P }
{ Identification: Mark Sattolo, student# 428500 }
{ tutorial group DGD-4, t.a. = Manon Sanscartier }
program a1 (input,output) ;
label 170;
const
points_nowhere = nil ;
type
element = real ;
pointer = ^node ;
node = recor... |
unit ifelLotto;
interface
uses
Collection;
const
TICKET_LEN = 3;
TICKET_MAX = 20;
TICKET_PRICE = 100000000;
IFEL_PERC = 50;
TWO_WIN_PERC = 10;
type
TLottoTicket = class;
TLottoSystem = class;
TLottoTicket =
class
public
constructor Creat... |
unit ChampionsLogic;
interface
uses
SysUtils, Dialogs;
type
TChampion = record
Name : String;
Role : String;
Health : Integer;
HealthRegen : Integer;
AbilityPower : Integer;
ResourceType : String;
ResourceRegen : Integer;
AttackType : String;
AttackDamage : ... |
{
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 NtUtils.WinStation;
interface
uses
Winapi.winsta, NtUtils.Exceptions;
type
TSessionIdW = Winapi.winsta.TSessionIdW;
// Enumerate all session on the server for which we have Query access
function WsxEnumerateSessions(out Sessions: TArray<TSessionIdW>;
hServer: TWinStaHandle = SERVER_CURRENT): TNtxStatus;
... |
namespace RemObjects.Train;
interface
uses
System.Collections.Generic,
System.IO,
System.Reflection;
type
SharedSettings = public sealed class
private
class var defaultInstance: SharedSettings;
//var fValues: Dictionary<String, String>;
//method get_MachineName: System.String;
... |
{*************************************************}
{* *}
{* Generics unit *}
{* *}
{*************************************************}
unit Generics;
interface
{$IFDEF DEBUGSTATE}
var DebugOut... |
unit DW.OSDevice;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library }
{ ... |
unit PyramidalModifier;
interface
uses
Windows, Surfaces;
type
TPyramidalModifier =
class( TSurfaceModifier )
protected
function GetValueAt( x, y : integer ) : TSurfaceValue; override;
function GetArea : TRect; override;
procedure... |
unit system16b_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,m68000,main_engine,controls_engine,gfx_engine,rom_engine,pal_engine,
sound_engine,ym_2151,dialogs,upd7759,mcs51,sega_315_5195;
function iniciar_system16b:boolean;
implementation
const
//Altered Beast
altbeast_rom:arr... |
unit HGM.Mail.ServerOptions;
interface
uses Classes, System.Types, Generics.Collections, HGM.Common.Settings,
System.SysUtils, IdPOP3, IdSSLOpenSSL, IdIMAP4;
type
TServerType = (stIMAP, stPOP, stSMTP);
TSocketType = (sSSL, sSTARTTLS, sPlain);
TUserName = (unAddress, unLocalPart, unDomain);
TPassTyp... |
unit nsThreadNotifier;
{ Автор: Тучнин Д.А. © }
{ Модуль: nsThreadNotifier - объект для синхронизации нотификаций, приходящих с сервера в другой триаде}
{ Начат: 25.10.2005 13:00 }
{ $Id: nsThreadNotifier.pas,v 1.10 2016/03/31 11:52:55 lulin Exp $ }
//$Log: nsThreadNotifier.pas,v $
//Revision 1.10 2016/03/31 11:52:5... |
unit NoticeStdSetup;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, dcCheckBox, dcLabel, ExtCtrls, DataController, ComCtrls,
WPDefs, WPPrint, WpWinCtr, WPRich, editlist, FFSMemo2, Placemnt, Mask,
ToolEdit, CurrEdit, dcCalcEdit, Grids, AdvGri... |
unit deco_16ic;
interface
uses main_engine,gfx_engine;
type
tipo_deco16ic_bank=function(direccion:word):word;
type_pf=class
constructor create(pant:byte;col_bank:byte;call_bank:tipo_deco16ic_bank);
destructor free;
public
data,rowscroll:array[0..$7ff] of word;
bu... |
unit Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, System.UITypes;
type
TRegExpForm = class(TForm)
Input: TLabeledEdit;
procedure InputChange(Sender: TObject);
p... |
unit sql;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ZConnection, ZDataset, ZDbcIntfs, IBConnection, sqldb,
mssqlconn, sqldblib, DateUtils, FileUtil;
type
TMeltingCharacteristics = Record
tid_ : string[50];
heat_ : string[50];
grade_ : string[50];
StrengthClass_ : s... |
unit vtSaveDialog;
{------------------------------------------------------------------------------}
{ Библиоткека : VT }
{ Автор : М. Морозов }
{ Создан : 25.05.2006 г. ... |
unit udmHabilidade;
interface
uses
Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS;
type
TdmHabilidade = class(TdmPadrao)
protected
private
FRegistro: Double;
FCurso: String;
public
property Registro: Doubl... |
uses DrugDealData,DOS;
{$V-}
function fileExist(var s : string) : boolean;
begin
fileExist := fSearch(s, '') <> '';
end;
procedure Update;
begin
writeln;
writeln(' You are in: ',City[Dealer.CurCity].Name,'.');
writeln(' Your weapon is: ',GunName[Dealer.Gun],'.');
write... |
unit PolUnit;
interface
const
// Точность сравнения с нулем чисел с плавающей запятой
POL_UNIT_EPSILON = 0.0001;
type
// Линейный односвязный список, в каждом элементе списка 3 поля:
// Coef - Коэффициент при члене степени Degree
// Degree - Степень члена
// Next - Указатель на следующий ... |
unit Sample.Platform.iOS;
{$INCLUDE 'Sample.inc'}
interface
uses
System.TypInfo,
Macapi.ObjectiveC,
iOSapi.UIKit,
iOSapi.Foundation,
iOSapi.QuartzCore,
iOSapi.CoreGraphics,
iOSapi.OpenGLES,
Sample.Platform;
type
id = Pointer;
SEL = Pointer;
type
{ We create our own view derived from UIView. I... |
{
$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... |
unit kwGetActiveEditorPageName;
{* *Формат:* main_form:GetActivePageName
*Описание:* Помещает в стек номер активной вкладки в окне редактирования документа.
*Примечания:*
Константы с номерами вкладок находятся в файле:
[code]
w:\archi\source\projects\Archi\TestSet\Dictionary\ArchiControls.script"
[code] }
// Модул... |
program moneyChange(input, output);
const
VALUE_1 = 25;
VALUE_2 = 10;
VALUE_3 = 5;
VALUE_4 = 1;
var
number : integer;
five : integer;
ones : integer;
tens : integer;
tfve : integer;
sum : integer;
flag : integer;
begin
write('Enter amount of money, and hit ENTER: ');
readln(number);
flag := number;
if no... |
unit dcYrMo;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, datacontroller, db, FFSUtils,
LMDCustomControl, LMDCustomPanel, LMDCustomBevelPanel, LMDBaseEdit,
LMDCustomEdit, LMDEdit, lmdgraph, FFSTypes, dcEdit;
type
TYrMoStorageFormat = (ysfMMYYYY... |
program NPTestD;
type
Emplacement_obj = object
private
Z : Boolean;
public
X, Y : Integer;
procedure No_param; virtual;
constructor Init(InitX, InitY : Integer);
protected
function AkiX : Integer;
function AkiY : Integer;
private
destructor Done;
... |
{Hint: save all files to location: C:\adt32\eclipse\workspace\AppTFPNoGUIGraphicsBridgeDemo1\jni }
unit unit1;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, And_jni_Bridge, Laz_And_Controls,
Laz_And_Controls_Events, AndroidWidget, FPNoGUIGraphicsBridge, ViewPort,
GridData, FPColorBridge, GeometryUt... |
{@html(<hr>)
@abstract(List classes used in Telemetry library.)
@author(František Milt <fmilt@seznam.cz>)
@created(2013-10-04)
@lastmod(2014-06-07)
@bold(@NoAutoLink(TelemetryLists))
©František Milt, all rights reserved.
Classes in this unit (for details, refer to declaration of individual class):
@preformatte... |
unit ADC.UCMAEvents;
interface
uses
ActiveX, windows, ComObj, SysUtils;
type
IUCMAEvents = interface(IDispatch)
['{7F0A6F02-8FA2-46DB-A444-6962635218D5}']
procedure OnClientSignIn; safecall;
procedure OnClientSignOut; safecall;
procedure OnClientDisconnected; safecall;
procedure OnSettingCha... |
unit GeneralFunctions;
interface
uses
Winapi.Windows,
vcl.dialogs,
Winapi.Messages,
System.SysUtils,
System.Win.Crtl,
System.Classes,
System.SyncObjs,
System.TypInfo,
FilterAPI,
GlobalConfig;
function FilterAPIMessageCallback(pSendMessage: PMESSAGE_SEND_DATA; pReplyMessage: PMESSAGE_REPLY_DATA):... |
PROGRAM Stat(INPUT, OUTPUT);
CONST
NegOne = -1;
NegTwo = -2;
VAR
Overflow, InvalidData: BOOLEAN;
Average, Num, NumMax, NumMin, Counter: 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... |
unit WPCTRStyleScroller;
{ -----------------------------------------------------------------------------
Copyright (C) 2002-2015 by wpcubed GmbH - Author: Julian Ziersch
info: http://www.wptools.de mailto:support@wptools.de
__ __ ___ _____ _ _____
/ / /\ \ \/ _... |
unit FileWriter;
interface
procedure initOutFile(outFileExt : string);
procedure closeOutFile;
procedure writeToFile(line : string; indent : integer); (* write and restructure*)
implementation
const
INDENT_STR = ' ';
var
outFile : text;
currentIndent : integer;
procedure addToIndent(indent : inte... |
{ Interface to the SYN symbol table. This table holds the symbols that are
* defined in the syntax definition file being read.
}
module sst_r_syn_sym;
define sst_r_syn_sym_init;
define sst_r_syn_sym_delete;
define sst_r_syn_sym_add;
define sst_r_syn_sym_lookup;
define sst_r_syn_sym_called;
define sst_r_syn_sym_loo... |
unit uParamTransicao;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, contnrs;
type
{ TParamTransicao }
TParamTransicao = class(TObject)
private
FInput: string;
FSimboloPilhaCompara: string;
FSimboloPilhaInsere: string;
FDestino: TObject;
public
constructor Create... |
unit ChargeService;
interface
uses
JunoApi4Delphi.Interfaces, RESTRequest4D, REST.Types, Charge,
System.JSON, REST.Json;
type
TChargeService = class(TInterfacedObject, iChargeService)
private
FParent : iJunoApi4DelphiConig;
FAuth : iAuthorizationService;
FJSONCharge : TJSONOb... |
unit Model.ListagemAssinantesJornal;
interface
uses Common.ENum, FireDAC.Comp.Client, DAO.Conexao, Generics.Collections, Controller.PlanilhaListagemJornal,
Model.PlanilhaListagemJornal,FireDAC.Comp.DataSet, Data.DB, System.SysUtils;
type
TListagemAssinantesJornal = class
private
FProduto: String;
FB... |
unit midi.output.form;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TOutputMIDIDevicesForm = class(TForm)
Label1: TLabel;
DevicesList: TListBox;
SelectBtn: TButton;
CloseB... |
{6. Realizar un programa que lea información de 200 productos de un
supermercado. De cada producto se lee código y precio (cada código es un
número entre 1 y 200). Informar en pantalla:
- Los códigos de los dos productos más baratos.
- La cantidad de productos de más de 16 pesos con código par.
}
program ejercicio6;
c... |
(* ***** 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 FindUnit.FileCache;
interface
uses
Generics.Collections, Classes, FindUnit.PasParser;
type
TUnitsController = class(TObject)
private
FSearchHistory: TDictionary<string,string>;
FNeedGenerateFindInfo: Boolean;
FUnits: TObjectList<TPasFile>;
FContent: TStringList;
FReady:... |
{ *******************************************************************************
Copyright (c) 2004-2010 by Edyard Tolmachev
IMadering project
http://imadering.com
ICQ: 118648
E-mail: imadering@mail.ru
******************************************************************************* }
unit ContactI... |
{
texteditor.pas
This example shows how to create a simple text editor with PasCocoa
This example project is released under public domain
AUTHORS: Felipe Monteiro de Carvalho
}
program texteditor;
{$mode delphi}
{$linkframework Cocoa}
{$linklib objc}
uses
Math,
objc, ctypes, MacOSAll, AppKit, Foundation,
... |
unit kwPopEditorSelectPara;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Автор: Костицын М.
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopEditorSelectPara.pas"
// Начат: 16.12.2011
// Родные D... |
unit UNumPad;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes,
System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs,
FMX.StdCtrls,UDialog, FMX.Objects, FMX.Edit;
type
TNumPadDialog = class(TDialogFrame)
ok: TButton;
Number0: TButton;
Dot: TBut... |
{*******************************************************************************
作者: dmzn@163.com 2011-11-30
描述: 商品退货调整
*******************************************************************************}
unit UFormProductReturnAdjust;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clHttpAuth;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, Contnrs, SysUtils, Windows, SyncObjs,
{$ELSE}
System.Classes, System.Contnrs, System.SysUtils, Winapi.Windows, System.Sy... |
unit PrimShutDown_Form;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "View"
// Автор: Люлин А.В.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/PrimCommon/Forms/PrimShutDown_Form.pas"
// Начат: 21.08.2009 21:18
... |
unit tcItem;
interface
uses
l3Interfaces,
l3CacheableBase,
tcInterfaces;
type
TtcItem = class(Tl3CacheableBase,
ItcItem)
private
f_ID: Il3CString;
f_Caption: Il3CString;
protected
// ItcItem
function pm_GetID: Il3CString;
function pm_GetCaption: Il3CString;
procedure pm_SetCaption... |
unit TTSPENDTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSPENDRecord = record
PLenderNum: String[4];
PCifFlag: String[1];
PLoanNum: String[20];
PCollNum: Integer;
End;
TTTSPENDBuffer = class(TDataBuf)
protected
function PtrIn... |
unit VideoUtils;
interface
uses
Windows, Dibs, VideoICM, VideoDraw;
// DIBs compression I/O hooks
procedure DibUnpackVideo( SourcePixels : pointer; DibHeader : PDib; DibPixels : pointer; ForceTopDown : boolean );
procedure RegisterVideoDibIoHooks;
procedure UnregisterVideoDibIoHooks;
// Compressio... |
unit FloatEdit;
interface
uses classes,Cautious_edit;
type
TFloatEdit = class(TCautiousEdit)
private
function get_value: Real;
procedure set_value(value: Real);
public
constructor Create(owner: TComponent); override;
procedure Change; override;
function isValid: boolean;
published
pr... |
object ExportDlg: TExportDlg
Left = 245
Top = 108
BorderStyle = bsDialog
Caption = 'Exportar Datos'
ClientHeight = 246
ClientWidth = 347
Color = clBtnFace
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Verdana'
Font.Style = []
OldCreateOrder = True
Posit... |
unit EditUser_Frm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, Vcl.Forms,
System.Classes, Vcl.Graphics, System.ImageList, Vcl.ImgList, Vcl.Menus,
Vcl.StdCtrls, Vcl.Controls, Vcl.Dialogs, System.Actions, Vcl.ActnList,
Data.DB,
BaseLayout_Frm, CommonValues, VBCommonValue... |
unit trackandfield_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
m6809,nz80,main_engine,controls_engine,sn_76496,vlm_5030,gfx_engine,
dac,rom_engine,pal_engine,konami_decrypt,sound_engine,qsnapshot,file_engine;
function iniciar_trackfield:boolean;
implementation
const
trackfield_rom:array[0..... |
namespace Sugar;
interface
type
SugarException = public class({$IF TOFFEE}Foundation.NSException{$ELSE}Exception{$ENDIF})
public
constructor;
constructor(aMessage: String);
constructor(aFormat: String; params aParams: array of Object);
{$IF TOFFEE}
constructor withError(aError: NSErr... |
unit ssGraphUtil;
interface
uses Types, Graphics;
type
TGradientDirection=(gdHorizontal, gdVertical);
TTriVertex = packed record
x : Longint;
y : Longint;
Red : SmallInt;
Green: SmallInt;
Blue : SmallInt;
Alpha: SmallInt;
end;
function PointInRect... |
unit ExportSeparatedByMainTest;
{* Экспорт в NSRC, разделённые по мейну, с помощью свойства DivideBy }
// Модуль: "w:\archi\source\projects\ImportExportTest\ExportSeparatedByMainTest.pas"
// Стереотип: "TestCase"
// Элемент модели: "ExportSeparatedByMainTest" MUID: (55FFA0290014)
// Имя типа: "TExportSeparatedByMainT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.