text stringlengths 14 6.51M |
|---|
unit MFichas.Model.Usuario.Funcoes.Buscar;
interface
uses
System.SysUtils,
MFichas.Model.Usuario.Interfaces,
MFichas.Controller.Types,
FireDAC.Comp.Client,
FireDAC.Comp.DataSet;
type
TModelUsuarioFuncoesBuscar = class(TInterfacedObject, iModelUsuarioFuncoesBuscar)
private
[weak]
FParent :... |
unit copiarCtas;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons;
const
ctRubros = 'SELECT * FROM CO_RUBROS';
ctGrupos = 'SELECT * FROM CO_GRUPO';
ctCuentas = 'SELECT * FROM CO_CUENTAS';
type
TFCopiarCtas = class(TForm)
btnCopiar: ... |
unit TTSNOTCTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSNOTCRecord = record
PLenderNum: String[4];
PCategory: String[8];
PStage: String[1];
PModCount: Integer;
End;
TTTSNOTCBuffer = class(TDataBuf)
protected
function PtrInd... |
unit SimpleTrainView;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, Vehicles, StdCtrls, InternationalizerComponent;
type
TSimpleTrains = class(TForm)
Image: TImage;
Panel1: TPanel;
Label1: TLabel;
Label2: TLabel;
xVal: TLabel;
yVal: T... |
unit vcmItems;
{ Библиотека "vcm" }
{ Автор: Люлин А.В. © }
{ Модуль: vcmItems - }
{ Начат: 15.01.2007 17:15 }
{ $Id: vcmItems.pas,v 1.14 2010/02/24 17:39:51 lulin Exp $ }
// $Log: vcmItems.pas,v $
// Revision 1.14 2010/02/24 17:39:51 lulin
// - удаляем излишнюю виртуальность.
//
// Revision 1.13 2... |
unit WWChart;
interface
uses
//
XMLFlowChartUnit,
XMLNSChartUnit,
SysRecords,
SysConsts,
//
XMLDoc,XMLIntf, Graphics,
SysUtils, Classes, Controls;
type
TWWChartMode = (cmFlowChart, cmNSChart);
TWWChart = class(TCustomControl)
private
XML : TXML... |
unit NtUtils.Transactions.Remote;
interface
uses
NtUtils.Exceptions;
// Get a handle value of the current transaction on a remote thread
function RtlxGetTransactionThread(hProcess: THandle; hThread: THandle;
out HandleValue: THandle): TNtxStatus;
// Set a handle value of the current transaction on a remote thre... |
unit np.dirmon;
interface
uses sysUtils, np.common, np.core, np.fs, np.promise, np.libuv, np.value, np.EventEmitter;
const
RefreshDelayDefault = 2000;
evScanComplete = 1;
evResourceChanged = 2;
evResourceInitialized = 3;
evScanProgress = 4;
type
TResourceStat = class;
PResourceChanged = ... |
unit uAR;
interface
uses
uModel, System.SysUtils,System.Classes, uSupplier;
type
TAR = class(TAppObject)
private
FCabang: TCabang;
FCustomer: TSupplier;
FIDTransaksi: string;
FNoBukti: string;
FNominal: Double;
FPembayaranTerakhir: TDatetime;
FTerBayar: Double;
FTransaksi: strin... |
unit MediaNameHistory;
interface
uses
Classes, SysUtils, Persistent, BackupInterfaces;
type
TMediaNameHistory =
class(TPersistent)
public
constructor Create;
destructor Destroy; override;
private
fHistory : TStringList;
public
procedu... |
unit Unit_CustomXMLWriter;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, XMLRead, DOM;
type
{ TCustomXMLWriter }
TCustomXMLWriter = class(TObject)
FLines: TStringList;
FLineBuffer: String;
FLevel: Integer;
constructor Create();
procedure AddLine(Line: Str... |
unit MultEditPropertyEditor;
interface
uses
DesignIntf,
DesignEditors,
System.Classes,
System.SysUtils,
VCL.Dialogs,
System.TypInfo,
MultEdit;
type
TMultEditPropertyEditor = class(TComponentEditor)
private
function Instance: TMultEdit;
public
function GetVerbCount: Integer;... |
{ Date Created: 5/30/00 3:28:18 PM }
unit InfoGRUPEVNTTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoGRUPEVNTRecord = record
PGroup: String[6];
PEventCode: String[6];
End;
TInfoGRUPEVNTBuffer = class(TDataBuf)
protected
function PtrIn... |
unit EuroForm;
// ************************************************************************ //
// WARNING
// -------
// The code declared in this file was generated from data read from a
// a *.DFM file using Dfm2Pas 1.0. This tool was meant to help you
// with the conversion of Delphi forms into Morpheus until ... |
unit DAO.ExtratosExpressas;
interface
uses FireDAC.Comp.Client, DAO.Conexao, Control.Sistema, System.DateUtils, System.Classes, Model.ExtratosExpressas;
type
TExtratosExpressasDAO = class
private
FConexao : TConexao;
public
constructor Create;
function GetID(): Integer;
function Insert(aExtrato... |
unit Unbound.Shaders;
interface
uses
Pengine.Vector,
Pengine.Color,
Pengine.GLProgram,
Pengine.Skybox;
type
TSkyboxShader = class(TSkyboxGLProgramBase)
protected
class procedure GetData(out AName: string; out AResource: Boolean); override;
end;
TTerrainShader = class(TGLProgramResource)
publ... |
unit App;
{ Based on 016_cartoon_torus.cpp example from oglplus (http://oglplus.org/) }
{$INCLUDE 'Sample.inc'}
interface
uses
System.Classes,
Neslib.Ooogles,
Neslib.FastMath,
Sample.App,
Sample.Geometry;
type
TCartoonTorusApp = class(TApplication)
private
FProgram: TGLProgram;
FVerts: TGLBuf... |
{
* CGDirectDisplay.h
* CoreGraphics
*
* Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
*
}
{ Pascal Translation Updated: Peter N Lewis, <peter@stairways.com.au>, August 2005 }
{
Modified for use with Free Pascal
Version 210
Please report any bugs to <gpc@microbizz.nl>
}
{$mod... |
unit vcmFormSet;
// Модуль: "w:\common\components\gui\Garant\VCM\implementation\vcmFormSet.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TvcmFormSet" MUID: (5087BD37023E)
{$Include w:\common\components\gui\Garant\VCM\vcmDefine.inc}
interface
{$If NOT Defined(NoVCM)}
uses
l3IntfUses
, vcmAggregate
, vcmInt... |
unit pbxcontainer;
(*-------------------------------------------------------------------------------
* by Dmitry Boyarintsev - Oct 2014 *
* *
* license: free for use, but please leave a note to the... |
unit ddCustomRTFReader;
{* Попытка разделить TddRTFReader на две части, чтобы используемые в нем классы могли знать об нем. }
// Модуль: "w:\common\components\rtl\Garant\dd\ddCustomRTFReader.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TddCustomRTFReader" MUID: (51E7BF4200C0)
{$Include w:\common\components\r... |
unit fmComputerInfo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
System.StrUtils, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
Winapi.ActiveX, ActiveDs_TLB, ADC.ADObject, ADC.Types, ADC.Common, ADC.AD, ADC.LDAP,
ADC.Globa... |
program numberScales(input, output);
const
MAX_RADIX = 10;
MAX_LEN = 32;
type
radix = 2 .. MAX_RADIX;
var
datum : integer;
scale : radix;
procedure writenumber(num : integer; rad : radix);
var
jp, kp : 0 .. MAX_LEN;
buffer : array[1 .. MAX_LEN] of char;
begin
if num < 0 then begin
wri... |
unit HashedStringList;
interface
uses
classes;
type
PPHashItem = ^PHashItem;
PHashItem = ^THashItem;
THashItem = record
Next: PHashItem;
Key: string;
Value: Integer;
end;
TStringHash = class
private
Buckets: array of PHashItem;
protected
function Find(const Key: string): PPHash... |
unit enet_peer;
(**
@file peer.c
@brief ENet peer management functions
freepascal
1.3.14
*)
{$GOTO ON}
interface
uses enet_consts, enet_socket, enet_list, enet_packet;
procedure enet_peer_disconnect (peer : pENetPeer; data : enet_uint32);
procedure enet_peer_disconnect_later (peer : pENetP... |
unit MarkAddressAsDetectedAsVisitedUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TMarkAddressAsDetectedAsVisited = class(TBaseExample)
public
procedure Execute(RouteId: String; RouteDestinationId: integer;
IsVisited: boolean);
end;
implementation
procedure TMarkAddressAsDetectedAsVisited.... |
unit SeverUpdateForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ComCtrls, Synchro, ExtCtrls;
type
TForm1 = class(TForm)
Source: TEdit;
Label1: TLabel;
Label2: TLabel;
Dest: TEdit;
Button1: TButton;
OverallStatus: TLabel;
Total... |
unit ULocationManager;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.TMSNativeCLLocationManager, FMX.TMSNativeUIBaseControl,
FMX.TMSNativeMKMapView, FMX.TMSNativeUICore;
type
TForm1185 = clas... |
unit nsRedactionCurrentPara;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Editions"
// Автор: Люлин А.В.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/Editions/nsRedactionCurrentPara.pas"
// Начат: 10.08.2009 14:25... |
{***************************************************************************}
{ }
{ ICollections - Copyright (C) 2013 - Víctor de Souza Faria }
{ }
{ victo... |
unit MdiChilds.FmResourcesUpdate;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MdiChilds.CustomDialog, JvComponentBase, JvDragDrop, Vcl.StdCtrls, Vcl.ExtCtrls, MdiChilds.ProgressForm,
GsDocument, ActionHandl... |
unit GBMatrixOperations;
interface
uses
math, Util;
const
UA_RandomSeed = 123;
type
T1DArray = array of double;
T2DArray = array of array of double;
T3DArray = array of array of array of double;
T4DArray = array of array of array of array of double;
T1DBoolean = array of boolean;
T2DBoolean = array of... |
unit uMlSearch;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Ora, DB, Grids, DBGrids, uSupportLib,
Buttons, DBGridAux;
type
TfmMlSearch = class(TForm)
pnTools: TPanel;
grSearch: TDBGridAux;
dsSearch: TDataSource;
bbOk: ... |
unit UtInputHelper;
interface
uses Windows,Controls,Messages,SysUtils;
type TInputHelper = class
private
public
class procedure KeyPress(Handle:THandle;Key:Char); overload;
class procedure KeyDown(Handle:THandle;Key:Word); overload;
class procedure KeyInputString(Handle:THandle;AStrin... |
unit AnonCommand;
interface
{x$DEFINE ANON_SYNC_EXEC}
uses
debug, System.Classes, System.SysUtils, System.Generics.Collections, better_collections, typex, systemx, managedthread, commandprocessor;
type
EAnonymousThreadException = class(Exception);
Tcmd_Test = class(TCommand)
public
procedure DoExecute;... |
unit uEnviarEmail;
interface
uses
IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL,
IdSSLOpenSSL, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,
IdExplicitTLSClientServerBase, IdMessageClient, IdSMTPBase, IdSMTP, IdMessage,
IdAttachmentFile, System.SysUtils, System.Generics.Collections, uE... |
PROGRAM Hello_World (INPUT,OUTPUT);
BEGIN
WRITELN('Hello World :)')
END.
|
unit DW.FirebaseApp.Android;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library ... |
unit iOSIdeIntf;
{$mode objfpc}{$H+}
interface
uses
Classes, Forms, ProjectIntf, iPhoneExtOptions, ComponentEditors;
type
{ TiOSApplicationDescriptor }
TiOSApplicationDescriptor = class(TProjectDescriptor)
public
constructor Create; override;
function GetLocalizedName: string; override;
functi... |
unit MusiPlayer;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
MMSystem, stdctrls;
type
TMusiPlayer = class(TCustomControl)
private
{ Private-Deklarationen }
Sounds : array of Word;
ii : integer;
procedure CloseDevice(nr: Integer);
p... |
{$include lem_directives.inc}
unit LemLevelLoad;
interface
uses
Classes, SysUtils,
LemLevel;
type
// tlevelloadinfo = style, file etc.
TLevelLoader = class
private
protected
public
class procedure LoadLevelFromFile(const aFileName: string; aLevel: TLevel);
class procedure Sa... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit UDaoImagemDSClient;
interface
uses
Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy,
System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBXDBReaders, Data.DBXJSONReflect,
UConstante;
type
TdaoImagemDSClient = class(TDSAdminClient)
private
FImagemCommand... |
unit ev;
{ Библиотека "Эверест" }
{ Начал: Люлин А.В. }
{ Модуль: ev - }
{ Начат: 28.09.1999 10:18 }
{ $Id: ev.pas,v 1.1 2008/04/16 08:40:37 lulin Exp $ }
// $Log: ev.pas,v $
// Revision 1.1 2008/04/16 08:40:37 lulin
// - выделяем фасад для скрытия различий старого и нового редакторов.
//
// Revision 1.6 ... |
{$R+}
{$B+}
program TesteSortiereListe(input, output);
{ sortiert eine Liste durch Einfügen }
type
tNatZahl = 0..maxint;
tRefListe = ^tListe;
tListe = record
wert : tNatZahl;
next : tRefListe;
end;
var
RefListe : tRefListe;
inSuchwert : tNatZahl;
gefunden: boolean;... |
{
mksymbian.pas
Main program file
Copyright (C) 2006-2007 Felipe Monteiro de Carvalho
This file is part of MkSymbian build tool.
MkSymbian is free software;
you can redistribute it and/or modify it under the
terms of the GNU General Public License version 2
as published by the Free Software Foundation.
... |
//-----------------------------------------------------------------+
// Global Function
// 파일이나 문자열 처리시에 간편하게 쓰고자 만든 함수들의 모음.
//-----------------------------------------------------------------+
unit Unit_GlobalFunction;
interface
uses
Classes, SysUtils, iniFiles, DB, Variants, HashMap, DCL_intf;
function CreateT... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
unit Providers.Mascara.Data;
interface
uses
Providers.Mascaras.Intf, System.MaskUtils, System.SysUtils;
type
TMascaraData = class(TInterfacedObject, IMascaras)
private
procedure RemoveBarras(var Value: string);
public
function ExecMask(Value: string): string;
end;
implementation
{ TMascaraData }
... |
unit GridForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Db, DBTables, Grids, DBGrids, ExtCtrls, MdDbGrid;
type
TForm1 = class(TForm)
MdDbGrid1: TMdDbGrid;
DataSource1: TDataSource;
Table1: TTable;
Panel1: TPanel;
Button1: TButton;
... |
program ejercicio1;
type
str40 = String[40];
planta = record
nomCientifico : str40;
tiempoVida : Integer;
tipoPlanta : str40;
clima : str40;
pais : str40;
end;
procedure leerPlanta(var p:planta);
begin
with p do
begin
write('Ingrese el nombre CIENTIFICO: ');
readln(nomCientifico);
write('Ingres... |
unit uDSRestLib;
interface
uses
uAppUtils;
const
_PANJANG_NOBUKTI_ANGKA : Integer = 10;
type
TDSRestLib = class(TObject)
public
class function FormatNoBukti(APrefix : String; ACounter : Integer): string;
end;
implementation
class function TDSRestLib.FormatNoBukti(APrefix : String; ACounter : Integer... |
unit ThostFtdcMdApiDataType;
interface
uses
ThostFtdcBaseDataType;
type
TThostFtdcDirectionType = AnsiChar;
TThostFtdcExchangeIDType = array[0..8] of AnsiChar;
TThostFtdcExchangeInstIDType = array[0..30] of AnsiChar;
PhostFtdcDepthMarketDataField = ^ThostFtdcDepthM... |
unit SMCheck;
interface
uses
ShareMem;
const
LeadingBytes = 34;
TrailingBytes = 25;
function PrevBlock(pp: pointer): pointer;
function IsObject(a: pointer): boolean;
implementation
uses
SysUtils, windows;
type
PInteger = ^integer;
const
Magic = (ord('A') shl 24) or (ord('B') shl 16... |
unit Logging;
{
Inno Setup
Copyright (C) 1997-2007 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Logging functions
$jrsoftware: issrc/Projects/Logging.pas,v 1.12 2009/03/23 23:27:14 mlaan Exp $
}
interface
procedure Log(const S: String);
procedure LogF... |
unit sThirdParty;
{$I sDefs.inc}
interface
uses
SysUtils, Classes, Windows, Graphics, Controls, imglist, comctrls, StdCtrls,
{$IFNDEF ALITE} sToolBar, {$ENDIF}
{$IFDEF USEPNG} PngImageList, PngFunctions, PngImage, {$ENDIF}
acntTypes, sSkinManager, sCommonData, sConst, sBitBtn, sSpeedButton;
var
ThirdParty... |
unit BaseUtils;
interface
// ABC is the numerical base which figures are A,B,C,...,Z
function IntToAbc(value, digits : integer) : string;
function DateToAbc(date : TDateTime) : string;
function TimeToAbc(date : TDateTime) : string;
function DateTimeToAbc(date : TDateTime) : string;
implementation
uses... |
unit DelphiUp.View.Pages.Menu.Generic;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Layouts,
DelphiUp.View.Components.Button001, De... |
unit SafeDLLPath;
{
Inno Setup
Copyright (C) 1997-2016 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
To provide protection against "DLL preloading" attacks, this unit calls
SetDefaultDllDirectories. SetDefaultDllDirectories is available on Windows 8
and... |
unit Portal;
interface
uses
Protocol, Kernel, Environmental;
type
TPortal =
class( TEnvironmentalBlock )
published
function GetStatusText( kind : TStatusKind; ToTycoon : TTycoon ) : string; override;
public
function Evaluate : TEvaluationResult; override;
... |
unit config;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
IniFiles;
const
DefaultConfigFile = 'config.ini';
type
{ TIRCConfig }
TIRCConfig = class
private
FHost: string;
FPort: integer;
FUsername: string;
FNickname: string;
FRealName: string;
FAltNickname: stri... |
unit undmsrv;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Win.Registry,
System.IOUtils,
System.Classes, Vcl.Graphics, Vcl.Controls,
Vcl.SvcMgr, Vcl.Dialogs, uConsts, inifiles;
type
TRestDWsrv = class(TService)
procedure ServiceAfterInstall(Sender: TService);
procedure Se... |
unit uMultiTaskQueue;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
uCS;
type
tMultiTaskQueue = class;
tTaskProc = procedure;
tTaskMethod = procedure of object;
tOn_New_Task = procedure of object;
tTaskPriority = (tpFirst, tpHigh, tpNormal, tpLow, tpLast);
tMultitaskEn... |
unit GX_OpenFile;
{$I GX_CondDefine.inc}
interface
uses
Classes, Controls, Forms, Actions, ActnList, Dialogs, StdCtrls,
ComCtrls, ExtCtrls, GX_GenericUtils, ToolWin, Messages,
GX_OpenFileConfig, GX_BaseForm;
const
UM_REFRESHLIST = WM_USER + 746;
UM_NEXTFILTERBLOCK = WM_USER + 747;
type
... |
unit wwUtils;
interface
Uses
Types,
wwTypes;
function Equal(A, B: TPoint): Boolean;
{ Проверяет, совпадают ли координаты переданных точек }
procedure IncPoint(var APoint: TPoint; ADir: TwwDirection);
{ Перемещает переданную точку в указанном направлении }
procedure MovePoint(FromPoint: TPoint; Dir: TwwDirection; ... |
//******************************************************************************
//*** COMMON DELPHI FUNCTIONS ***
//*** ***
//*** (c) Massimo Magnano 11-11-2004. ... |
// --------------------------------------------------------------
//
// For Background Playing:
//
// 1) Goto Project->Options->Version Info:
// 2) Add this key in your version list:
// Key: DPFAudioKey1
// Value: </string><key>UIBackgroundModes</key><array><string>audio</string></array><key>DPFAudioKey2</key><string>
... |
// 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 Timers;
interface
uses
Windows, Classes, Messages, TimerTypes;
type
TWindowsTicker =
class(TInterfacedObject, ITicker)
public
constructor Create;
destructor Destroy; override;
private // ITicker
function GetEnabled : boolean;
procedure SetEnabled(which : b... |
{$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 UPRT_UDP;
interface
uses
Classes, NMUDP, UPRT, UTime;
const
UDPLinkTimeout = toTypeSec or 65;
type
TPRT_UDP = class(TPRT_ABSTRACT)
protected
IP:String;
Port:Integer;
UDP:TNMUDP;
RxQue:TStringList;
toutLink:TTIMEOUTOBJ;
public
constructor Create(UDP:TNMUDP; IP:String; Port:Inte... |
unit PluginDefinition;
{$I Notpad_Plugin.inc}
interface
uses
Windows, Classes, Messages, SysUtils, NppPluginClass, NppPluginInc, Scintilla,
Dialogs, System.Generics.Collections, Vcl.Menus, System.Variants, IdHTTP;
type
TNppPluginEx = class(TNppPlugin)
private
FPm: TPopupMenu;
procedure AddNewMenu(AC... |
unit uJurnal;
interface
uses
uModel, uAccount, System.Classes, System.SysUtils, System.Generics.Collections;
type
TJurnalItem = class;
TJurnal = class(TAppObject)
private
FCabang: TCabang;
FDebet: Double;
FIDTransaksi: string;
FIsPosted: Integer;
FJurnalItems: TObjectList<TJurnalItem>;
... |
(**
This module contains a class to provide a key binding wizard to capture the F1 keypress
in the IDE and if unhandled do an internet search.
@Version 1.0
@Author David Hoyle
@Date 07 Apr 2016
**)
Unit KeyboardBindingInterface;
Interface
Uses
ToolsAPI,
Classes;
{$INCLUDE CompilerDefinitions.inc... |
unit Unit2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, Buttons;
type
TForm2 = class(TForm)
StringGrid1: TStringGrid;
SpeedButton1: TSpeedButton;
procedure StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer;
Rect: TRect; Stat... |
unit flListView;
interface
uses
SysUtils, Classes, Controls, StdCtrls, flLabel, messages, Types;
type
TflListView = class(TflLabel)
private
FItems: TStrings;
FRowInterval: Integer;
FMaxRowCount: Integer;
FMoveInterval: Integer;
FMargin: Cardinal;
procedure SetItems(const ... |
unit LogUtils;
interface
procedure Log(AFilename: String; ALine: String); overload;
procedure Log(ALine: String); overload;
implementation
uses SysUtils;
procedure Log(ALine: String); overload;
begin
Log(ChangeFileExt(ParamStr(0), '.log'), Aline);
end;
procedure Log(AFilename: String; ALine: Str... |
constructor _COLLECTION_.Create (const aOwner : TComponent);
begin
inherited Create (aOwner, _COLLECTION_ITEM_);
end;
function _COLLECTION_.Add : _COLLECTION_ITEM_;
begin
Result := _COLLECTION_ITEM_ (inherited Add);
end;
function _COLLECTION_.FindItemID (const aID : Integer) : _COLLECTION_ITEM_;
begin
Result := _C... |
unit Frame.Tracking;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
System.Generics.Collections,
FMX.Types,
FMX.Graphics,
FMX.Controls,
FMX.Forms,
FMX.Dialogs,
FMX.StdCtrls,
FMX.Controls.Presentation;
type
TFrameTracking = class(TFrame)
... |
unit UMyShape;
interface
uses
System.Classes, System.Types, System.Rtti, System.UITypes, System.UIConsts,
FMX.Types,FMX.Objects, FMX.Controls, FMX.TextLayout, FMX.Text, FMX.Messages,
FMX.Platform,FMX.Graphics;
{$SCOPEDENUMS ON}
Type
TMyEllipse = class(TEllipse)
private
FText :String;
FFont :TFont;
... |
unit fmExportProgress;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ADC.ExcelEnum, ADC.Types, ADC.GlobalVar,
ADC.Common, ADC.ADObject, ADC.ADObjectList, tdDataExport, Vcl.StdCtrls, Vcl.ComCtrls;
type
TFor... |
unit _3DCameraView;
interface
uses _Types, Types, Math;
type
///////////////////////////////////////////////////////////////////////////////
// //
// TCamera3DView - виртуальная камера в пространстве //
// ... |
unit destListTable;
// Модуль: "w:\common\components\rtl\Garant\dd\destListTable.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TdestListTable" MUID: (51DD4CDC0343)
{$Include w:\common\components\rtl\Garant\dd\ddDefine.inc}
interface
uses
l3IntfUses
, ddRTFdestination
, rtfListTable
, destList
, ddCustom... |
unit valida;
interface
uses
Controls, Dialogs, SysUtils, variants;
resourcestring
rsConfElimina = 'Confirma Eliminación de dato ?';
rsConfGrabar = 'Confirma Grabación de dato ?';
rsConfOpera = 'Confirma Operacion ?';
type
DlgTipo = ( dialElim, dialGrabar, dialOpera );
stringArray = ... |
unit uModeloRelatorioVO;
interface
uses
System.SysUtils, uKeyField, uTableName;
type
[TableName('Modelo_Relatorio')]
TModeloRelatorioVO = class
private
FDescricao: string;
FCodigo: Integer;
FId: Integer;
FArquivo: string;
FIdRevenda: Integer;
procedure SetArquivo(const Value: string);... |
unit udmConfiguracoes;
interface
uses
Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS,
LibGeral, LibSatwin;
type
TdmConfiguracoes = class(TdmPadrao)
qryManutencaoMODULO: TStringField;
qryManutencaoCLAUSULA: TStrin... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons;
type
//conjunto de variáveis
TDADOS = Record
id:Integer;
nome, email, sexo:String;
end;
type
//conjunto de variáveis
TDADOS_CLIENTE = Record
id:Integer;
... |
unit location;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, And_jni_Bridge, Laz_And_Controls, AndroidWidget;
type
TLocationChanged = procedure(Sender: TObject; latitude: double; longitude: double; altitude: double; address: string) of object;
TLocationStatusChanged = procedure(Sender: TObject; statu... |
{$MODE OBJFPC}
program BodyGuards;
const
InputFile = 'GUARDS.INP';
OutputFile = 'GUARDS.OUT';
maxN = 100000;
type
TGuard = record
s, f: Integer;
id: Integer;
Selected: Boolean;
end;
PGuard = ^TGuard;
TCmpFunc = function (x, y: PGuard): Integer;
THeap = record
nItems: Integer;
Items:... |
{$I ATViewerOptions.inc}
unit ATxREProc;
interface
uses
Windows, Classes, ComCtrls, Graphics;
function RE_CurrentLine(Edit: TRichEdit): Integer;
function RE_LineFromPos(Edit: TRichEdit; Pos: Integer): Integer;
function RE_PosFromLine(Edit: TRichEdit; Line: Integer): Integer;
procedure RE_ScrollToStart(Edit: TRic... |
unit dcMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Mask, ToolEdit,
evSCSub, evSCSubAttr, evSubCompareInterfaces, evSCSubAttrList, evSCSubList, evSCCollectFilter;
type
TForm1 = class(TForm)
fnFile1: TFilenameEdit;
fnFile2: TFilenam... |
unit csDeliveryProfileTask;
// Модуль: "w:\common\components\rtl\Garant\cs\csDeliveryProfileTask.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TcsDeliveryProfileTask" MUID: (57F4DAED0254)
{$Include w:\common\components\rtl\Garant\cs\CsDefine.inc}
interface
{$If NOT Defined(Nemesis)}
uses
l3IntfUses
, csPro... |
unit DW.Form.Contents;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library }
... |
unit DDrawPaletteFilters;
interface
uses
Classes, DirectDraw;
type
TPaletteFilter = (pfReddenPalette, pfTintPalette, pfColorToGray, pfRedFilter, pfGreenFilter);
function FilterPalette(const OrgPalette : IDirectDrawPalette; Filter : TPaletteFilter; Data : array of const) : IDirectDrawPalette;
implemen... |
unit TestStUtils;
interface
uses
SysUtils, TestFramework;
type
TTestStUtils = class(TTestCase)
strict private type
TStruct = record
Left: Integer;
Right: Integer;
end;
TWordStruct = record
Left: Word;
Right: Word;
end;
published
procedure TestExc... |
program primitiveCalculator;
var
sign : char;
a, b, ans : integer;
{}
begin
write('Please enter a sign (+, -, *, /, %): ');
read(sign);
write('Enter two values: ');
read(a, b);
case sign of
'+':
ans := a + b;
'-':
ans := a - b;
'*':
ans := a * b;
'/':
ans := a div b;
'%':
ans := a mod b;... |
unit MainExpress;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, MainLiteExpress, StdActns, ActnList, evAction, dxBar,
l3InternalInterfaces, l3Base,
l3ProgressComponent, l3Filer, k2Reader, evEvdRd, k2TagGen, k2DocumentGenerator,
evdWriter, ImgList, OvcBase... |
{
$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 uMainDM;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.IB,
FireDAC.Phys.IBDef, FireDAC.FMXUI.Wait, FireDAC.Stan.Par... |
{
This file is part of the Free Pascal run time library.
Copyright (c) 1999-2014 by Maciej Izak aka hnb (NewPascal project)
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITH... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.