text stringlengths 14 6.51M |
|---|
unit kwPopEditorGetSelectionTextInFormat;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopEditorGetSelectionTextInFormat.pas"
// На... |
unit uTransferAntarGudang;
interface
uses
uModel, System.SysUtils, System.Generics.Collections;
type
TTransferAntarGudangItem = class;
TTransferAntarGudang = class(TappObject)
private
FCabang: TCabang;
FKeterangan: string;
FNoBukti: string;
FPetugas: string;
FTglBukti: TDatetime;
FTra... |
{: This unit implements a Quicksort procedure that can
be used to sort anything as well as a binary sarch
function.
This is u_dzQuicksort in dzlib http://blog.dummzeuch.de/dzlib/
@author(Thomas Mueller http://www.dummzeuch.de)
}
unit GX_dzQuicksort;
interface
type
TCompareItemsMeth = functi... |
unit vlm_5030;
interface
uses {$IFDEF WINDOWS}windows,{$else}main_engine,{$ENDIF}
sound_engine,timer_engine;
const
FR_SIZE=4;
// samples per interpolator */
IP_SIZE_SLOWER=(240 div FR_SIZE);
IP_SIZE_SLOW=(200 div FR_SIZE);
IP_SIZE_NORMAL=(160 div FR_SIZE);
IP_SIZE_FAST=(120 div FR_SIZE);
IP_SIZE_FA... |
{
$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... |
{server icon from http://www.fasticon.com}
unit unit1;
{$mode objfpc}{$H+}
interface
uses
SysUtils, Classes, Controls, Forms, StdCtrls,
LCLIntf, httpswebserver;
type
{ TForm1 }
TForm1 = class(TForm)
Memo1: TMemo;
btnStartStop: TButton;
btnOpenLog: TButton;
btnClearLog: TButton;
proced... |
unit Cautious_controls;
interface
uses Cautious_Edit,StdCtrls,Controls,Classes,Messages,graphics,TypInfo;
type
TDisablingCheckBox=class(TCheckBox)
private
fControlToDisable: TControl;
procedure SetControlToDisable(value: TControl);
public
constructor Create(owner: TComponent); override;
procedu... |
{*********************************************************************
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Autor: Brovin Y.D.
* E-mail: y... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, StdCtrls, Math;
type
TfrmGeldeenhede_Omskakeling = class(TForm)
lblOmskakelingKoers: TLabel;
lblsTotaleUitgawesRenV_Vreem: TLabel;
lblSakgeldVreem: TLabel;
lblTotaleUitgawesRe... |
unit Exportar;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, Dialogs, Mask, ToolEdit;
type
TExportDlg = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
Bevel1: TBevel;
Label1: TLabel;
cbArchivo: TComboEdit;
OpenDlg: TOpenDialog;
rg... |
unit clEnderecosEmpresas;
interface
uses clendereco, clConexao, Vcl.Dialogs, System.SysUtils;
type
TEndrecosEmpresa = class(TEndereco)
private
FEmpresa: Integer;
FSequencia: Integer;
FTipo: String;
FCorrespondencia: Integer;
conexao : TConexao;
procedure SetEmpresa(val: Integer);
proc... |
unit stringutils;
interface
uses
SysUtils, classes;
procedure SymbolSeparated( str : string; symbol : char; res : TStringList );
function stringToId( str : string; texts : array of string; Ids : array of integer ) : integer;
implementation
procedure SymbolSeparated( str : string; symbol : char; res : T... |
//**************************************************************************************************
//
// Unit uAbout
// unit for the Delphi Preview Handler https://github.com/RRUZ/delphi-preview-handler
//
// The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License");
// you may n... |
unit UnitControl;
interface
uses
Math, TypeControl;
type
TUnit = class
private
FId: Int64;
FX: Double;
FY: Double;
protected
constructor Create(const id: Int64; const x: Double; const y: Double);
public
function GetId: Int64;
property Id: Int64 read GetId;
... |
unit Providers.Mascaras.Factory;
interface
uses
Providers.Mascaras.Intf;
type
TMascaras = class
public
class function CPF: IMascaras;
class function CNPJ: IMascaras;
class function Data: IMascaras;
class function Telefone: IMascaras;
class function Celular: IMascaras;
class function CEP... |
(* SimUnit.pas *)
(* Library of Pascal functions/procedures used by Sim68k.pas November 1999 *)
unit simunit;
INTERFACE
(* Constants and types. DO NOT REDEFINE them in Sim68k.pas *)
const
(* Data Size *)
byteSize = 0;
wordSize = 1;
longSize = 2;
type
bit = boolean; ... |
{
$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 DAO.Menus;
interface
uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Control.Sistema, Model.Menus;
type TMenusDAO = class
private
FConexao: TConexao;
public
constructor Create;
function Inserir(AMenus: TMenus): Boolean;
function Alterar(AMenus: TMenus): Boolean;
function Exclui... |
(**
This module contains the main wizard / menu wizard code for the IDE plugin.
@Version 1.0
@Author David Hoyle
@Date 07 Apr 2016
**)
Unit WizardInterface;
Interface
Uses
ToolsAPI,
Menus,
ExtCtrls,
IDEOptionsInterface;
{$INCLUDE CompilerDefinitions.inc}
Type
(** This class defines the main... |
{
$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 TCPSocket;
interface
uses
scktcomp, winsock, Sysutils, consts, RTLConsts, windows, StatusThread,
Classes, SyncObjs;
type
TSocket = winsock.TSocket;
TTCPHost = record
IP: String;
Port: Word;
end;
TSimpleTCPSocket = class
private
function GetPeerAddr: SockAddr_In;
prot... |
unit D_TextMessages;
// $Id: D_TextMessages.pas,v 1.4 2013/04/19 13:05:03 lulin Exp $
// $Log: D_TextMessages.pas,v $
// Revision 1.4 2013/04/19 13:05:03 lulin
// - портируем.
//
// Revision 1.3 2012/02/20 08:48:00 narry
// Сообщение о состоянии экспорта (340167865)
//
interface
uses
Windows, Messages, SysUtil... |
unit ssDBTreeView;
interface
uses
SysUtils, Classes, Controls, cxControls, cxContainer, cxTreeView, DB, ComCtrls,
DBGrids;
type
TssDBTreeView = class;
TssTreeViewDataLink = class(TDataLink)
private
FControl: TssDBTreeView;
protected
procedure ActiveChanged; override;
end;
... |
unit evContentsTree;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Everest"
// Автор: Инишев Д.А.
// Модуль: "w:/common/components/gui/Garant/Everest/evContentsTree.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML... |
unit UseDict;
interface
uses SysUtils, Generics.Defaults, Generics.Collections, tfNumerics, tfGNumerics;
// HashTableSize must be a power of 2
function DLog(const Value, Base, Modulo: BigInteger;
HashTableSize: Integer = 1024 * 1024): Int64;
implementation
function DLog(const Value,... |
unit csServerCommandsManager;
interface
Uses
l3Base,
Classes,
CsDataPipe, csCommandsManager, csCommandsTypes, ddAppConfigTypes, ddServerTask;
type
TcsServerCommandsManager = class(TcsCommandsManager)
private
public
procedure AddCommand(aID: TcsCommands; aCaption: String; aOnExecute: TNotifyEvent); overload;... |
unit Sequences;
interface
uses Classes;
type
PSingle=^Single;
TDynamicArrayOfSingle=array of Single;
TSequence=class(TObject)
private
FItems:TDynamicArrayOfSingle;
function Get_LastValue: Single;
function Get_Items(i: Integer): Single;
function Get_PItems(i: Integer): PSingle;
function G... |
unit DateL;
interface
uses
Classes, Dates, Contnrs;
type
// inheritance based
TDateListI = class (TObjectList)
protected
procedure SetObject (Index: Integer; Item: TDate);
function GetObject (Index: Integer): TDate;
public
function Add (Obj: TDate): Integer;
procedure Insert (Index: Integer... |
unit tdADSIEnum;
interface
uses
System.SysUtils, System.StrUtils, System.Classes, System.TypInfo, System.DateUtils,
System.Math,
System.Generics.Collections, Winapi.Windows, Winapi.ActiveX, ActiveDs_TLB, MSXML2_TLB,
JwaActiveDS, ADC.Types, ADC.DC, ADC.Attributes, ADC.ADObject, ADC.ADObjectList,
ADC.Common, ... |
unit udmCodigoIMO;
interface
uses
Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS;
type
TdmCodigoIMO = class(TdmPadrao)
qryManutencaoCODIGO: TStringField;
qryManutencaoGRUPO: TStringField;
qryManutencaoDESCRICAO:... |
unit GX_eConvertStrings;
interface
uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
StdCtrls,
ExtCtrls,
GX_BaseForm;
type
TPasteAsType = (paRaw, paStringArray, paAdd, paSLineBreak,
paChar10, paChar13, paChars1310, paCRLF, paCR_... |
unit TestHash;
interface
uses
System.Classes, ZMHashTable;
type
TZMHashTableX = class(TZMHashTable)
private
FActive: Integer;
FDupHashes: Integer;
FMaxLinks: Integer;
FTotalLinks: Integer;
procedure BuildDup(var AStr: string; Node: TZMHashEntry);
procedure DumpEntries(SL: TStringList);
... |
{
Inno Setup Preprocessor
Copyright (C) 2001-2002 Alex Yackimoff
$Id: CParser.pas,v 1.3 2009/04/01 15:47:44 mlaan Exp $
}
unit CParser;
interface
uses SysUtils;
type
EParsingError = class(Exception)
Position: Integer;
end;
TTokenKind = (tkError, tkEOF, tkIdent, tkNumber, tkString, opGreater,
o... |
unit uProdutoVO;
interface
uses System.SysUtils, uKeyField, uTableName;
type
[TableName('Produto')]
TProduto = class
private
FId: Integer;
FCodigo: Integer;
FNome: string;
FAtivo: Boolean;
public
[KeyField('Prod_Id')]
property Id: Integer read FId write FId;
[FieldName('Prod_Codig... |
unit DMX.Data.DSRepDataSets;
interface
uses
System.Classes, Data.DB;
type
TDataSetRepDataSet = class(TCollectionItem)
private
FDataSet: TDataSet;
FDataName: string;
published
property DataSet: TDataSet read FDataSet write FDataSet;
property DataName: string read FDataName write FDataName;
e... |
unit vector_lib;
interface
uses Classes,streaming_class_lib,sysUtils,simple_parser_lib,quaternion_lib,variants,TypInfo;
type
TVector=class(TStreamingClass)
private
fx,fy,fz: Real;
function vector2str: string;
procedure str2vector(str: string);
function getLength: Real;
public
constructor Crea... |
unit BaiduMapAPI.ViewService.Android;
//author:Xubzhlin
//Email:371889755@qq.com
//百度地图API 地图服务 单元
//官方链接:http://lbsyun.baidu.com/
//TAndroidBaiduMapViewService 百度地图 安卓 地图服务
interface
uses
System.Classes, System.Generics.Collections, System.Types, FMX.Maps,
Androidapi.JNI.Embarcadero, Androidapi.JNI.GraphicsCont... |
unit rc4;
interface
type
TRC4 =
class
private
fStrKey : string;
fBytKeyAry : array[0..255] of byte;
fBytCypherAry : array[0..255] of byte;
private
procedure InitializeCypher;
procedure SetKey(pStrKey : string);
public
... |
program exFunction;
var
a, b : string;
c, d : integer;
(*function definition *)
function max(num1, num2: integer): integer;
var
(* local variable declaration *)
result: integer;
begin
if (num1 > num2) then
result := num1
else
result := num2;
max := result;
end;
begin
a := 'letra ... |
unit HGM.WinAPI.ShellDlg;
interface
uses Vcl.Dialogs, System.UITypes;
function AskYesNo(aCaption, aQuestion:string):Boolean;
implementation
function AskYesNo(aCaption, aQuestion:string):Boolean;
begin
Result:=False;
with TTaskDialog.Create(nil) do
begin
Caption:=aCaption;
CommonButtons:=[tcbYes, tcbN... |
unit Unit_Principal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus,
Unit_Persistencia, Unit_Clientes, Unit_Produtos, Unit_Supermercado, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls,
Vcl.Mask, Unit_Forn... |
unit Main;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
System.Generics.Collections,
Quick.Commons,
Quick.Config.YAML;
type
TMyPriority = (msLow, msMed, msHigh);
TWin... |
unit TurnOffTimeMachine_Form;
////////////////////////////////////////////////////////////////////////////////
// Библиотека : Проект Немезис.
// Назначение : Диалог выключения машины времени.
// Версия : $Id: TurnOffTimeMachine_Form.pas,v 1.5 2013/05/15 14:31:43 morozov Exp $
/////////////////////////////////////... |
program TM1638_sample;
uses
RaspberryPi,
GlobalConfig,
GlobalConst,
GlobalTypes,
Platform,
Threads,
SysUtils,
Classes,
Ultibo,
Console,
TM1638;
var
TM1630Ac: TTM1630;
Handle: TWindowHandle;
procedure Setup();
begin
{Let's create a console window again but this time on the ... |
unit WPTBarConfig;
{ -----------------------------------------------------------------------------
Copyright (C) 2002-2015 by wpcubed GmbH - Author: Julian Ziersch
info: http://www.wptools.de mailto:support@wptools.de
__ __ ___ _____ _ _____
/ / /\ \ \/ _ \/__ ... |
unit uServer;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, IdGlobal, IdYarn,
Winapi.Winsock2, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IdBaseComponent, IdComponent, IdCustomTCPServer, IdTCPServer,
Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.WinXCtrls, Vcl.Them... |
{ GDAX/Coinbase-Pro client library tester
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 ... |
unit l3Script;
{ Библиотека "L3 (Low Level Library)" }
{ Автор: Люлин А.В. © }
{ Модуль: l3Script - }
{ Начат: 03.10.2007 16:59 }
{ $Id: l3Script.pas,v 1.12 2007/10/04 16:30:13 lulin Exp $ }
// $Log: l3Script.pas,v $
// Revision 1.12 2007/10/04 16:30:13 lulin
// - опреде... |
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.Generics.Collections;
type
TForm1 = class(TForm)
Button1: TButton;
Button2: TButton;
procedure FormCreate(Sender: TO... |
unit CacheManagerRDO;
interface
uses
SyncObjs, RDOInterfaces, CacheHistory;
const
MaxWorlds = 20;
ConnectionTime = 20*1000;
ProxyTimeOut = 2*60*1000;
ExpireTTL = 1;
type
IWorldProxy =
interface
procedure Lock;
procedure Unlock;
function GetNam... |
unit evCellsCharOffsets;
{* работа со смещениями ячеек }
// Модуль: "w:\common\components\gui\Garant\Everest\evCellsCharOffsets.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevCellsCharOffsets" MUID: (4F2F6CA40273)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
uses
l3IntfUses
... |
unit UAccessUser;
interface
uses Classes, UAccessBase, UAccessContainer;
type
TSAVAccessUser = class(TSAVAccessContainer)
private
FDomain: string;
procedure SetDomain(const Value: string);
protected
public
property Domain: string read FDomain write SetDomain;
constructor Create;... |
unit kwQueryCardSetCanSaveState;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "F1 Shell Words"
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/F1_Shell_Words/kwQueryCardSetCanSaveState.pas"
// Родные Delphi интерфейсы... |
unit BTypes;
{ Common basic type definitions }
interface
{$I STD.INC}
(* ************************************************************************
DESCRIPTION : Common basic type definitions
REQUIREMENTS : TP5-7, D1-D7/D9-D12, FPC, VP, WDOSX
EXTERNAL DATA : ---
MEMORY USAGE : ---
DISPLA... |
unit CAppTemplateClass;
interface
//CTRL + K + I indent
//CTRL + K + U unindent
//CTRL + left click go to code
/// <summary>
/// Removes the specified item from the collection
/// </summary>
/// <param name="Item">The item to remove
///
/// </param>
/// <param name="Collection">The group containing the item
/// </... |
unit TreeViewWordsPack;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\TreeViewWordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "TreeViewWordsPack" MUID: (512F47C80388)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts) AND NOT De... |
unit ExtTimer;
interface
uses
SyncObjs;
type
TTimerProc = procedure of object;
TExtTimer =
class
public
constructor Create(aInterval : integer);
destructor Destroy; override;
private
fLock : TCritic... |
unit PHPUtils;
{$mode delphi}
{**
* Light PHP Edit project
*
* This file is part of the "Mini Library"
*
* @url http://www.sourceforge.net/projects/minilib
* @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html)
* See the file COPYING.MLGPL, included in this dist... |
unit LoggerInterface;
interface
uses
System.SyncObjs;
type
TMessageStatus = (msCritical, msWarning, msInfo);
ILogger = interface (IInterface)
procedure Add(AMessage: string; AMessageStatus: TMessageStatus);
function GetAddMessageEvent: TEvent;
function GetLastMessages: TArray<String>;
property... |
{
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... |
unit Eagle.Alfred.HelpCommand;
interface
uses
System.SysUtils,
Console,
Eagle.ConsoleIO,
Eagle.Alfred.Command,
Eagle.Alfred.CreateCommand;
type
THelpCommand = class(TInterfacedObject, ICommand)
private
FConsoleIO: IConsoleIO;
public
constructor Create(ConsoleIO: IConsoleIO);
... |
unit YWRTLUtils;
interface
type
TAttributeType = class of TCustomAttribute;
function GetStoredAttributeNames(T: TClass) : TArray<String>;
function GetClassesWithAttributes(T : TClass; S : String): TArray<TClass>; overload;
function GetClassesWithAttributes(T : TClass; S : TAttributeType): TArray<TClass>; ... |
unit K358976777;
{* [Requestlink:358976777] }
// Модуль: "w:\archi\source\projects\Archi\Tests\K358976777.pas"
// Стереотип: "TestCase"
// Элемент модели: "TK358976777" MUID: (4F8FDEE8009B)
{$Include w:\archi\source\projects\Archi\arDefine.inc}
interface
{$If Defined(nsTest) AND Defined(InsiderTest)}
uses
l3IntfU... |
unit Outliner_Form;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Forms"
// Автор: Инишев Д.А.
// Модуль: "w:/common/components/gui/Garant/Daily/Forms/Outliner_Form.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML... |
unit xpr.lexer;
{
Author: Jarl K. Holta
License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html)
A straight forward tokenizer
}
{$I express.inc}
interface
uses
Classes, SysUtils,
xpr.dictionary,
xpr.express;
type
(*
Tokenizer, used to turn text into an array of TTokens
It's not the mo... |
unit K590757091;
{* [Requestlink:590757091] }
// Модуль: "w:\common\components\rtl\Garant\Daily\K590757091.pas"
// Стереотип: "TestCase"
// Элемент модели: "K590757091" MUID: (5510067D003A)
// Имя типа: "TK590757091"
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas}
interface
{$If Defined(nsTest)... |
unit TestUnit1;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework, Unit1;
type
// Test methods f... |
unit uPrinc;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Buttons,
Vcl.ComCtrls;
type
Tform1 = class(TForm)
m1: TMemo;
pn0: TPanel;
cbCampo: TComboBox;
cbOp... |
unit uMenuInicial;
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, FMX.Controls.Presentation, FMX.StdCtrls,
udmPrincipal, System.Rtti, System.Bindings.Outputs... |
unit WindowsLocationInfo;
interface
uses System.Sensors, System.SysUtils, System.Net.HttpClient,
System.Net.HTTPClientComponent, XSuperObject, System.Classes;
type
TWindowsLocationInfo = class
class function GetLocation: TLocationCoord2D;
end;
implementation
class function TWindowsLocationInfo.GetLocation... |
unit uMJD.Messages;
interface
resourcestring
rsErroConexaoBD = 'Ocorreu um erro ao tentar conectar com o banco de dados';
rsOperacaoNaoSuportada = 'Operação %s não suportada';
rsProtocoloNaoInformado = 'Protocolo não informado';
rsStatusNaoSuportado = 'Status %s não suportado';
rsConexaoFalhou = 'Conexão fa... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
**********************************************************... |
unit ValidationRules.TIsEmptyValidationRule;
interface
uses
System.SysUtils, System.Variants,
Framework.Interfaces;
type
TIsEmptyValidationRule = class(TInterfacedObject, IValidationRule)
const
IS_EMPTY_MESSAGE = 'Field is empty';
strict private
FAcceptEmtpy: Boolean;
procedure Se... |
unit ObjectContainer;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ImgList, ComCtrls, EditableObjects, Editors;
type
TObjectContainerEditor =
class(TInPlaceVisualControl)
lvItems: TListView;
Images: TImageList;
procedure lvItemsDblClick(Se... |
//UDEBUG code already inserted. Please do not remove this line.
unit xIBQuery;
interface
uses
{$IFDEF ZEOS}ZDataset, ZStoredProcedure,{$ENDIF}
{$IFDEF IBO}IB_Components, IB_Query,{$ENDIF}
{$IFDEF IBX}IBCustomDataSet, IBQuery,{$ENDIF}
SysUtils, Classes, DB;
type
TxIBQuery = class(
{$IFDEF Z... |
unit regexpname;
(*******************************************************************************
* Autor: Ulrich Hornung
* Date: 05.05.2008
*
* This Unit extend the TRegExpr-Class with named sub-expressions
*
******************************************************************************)
interface
u... |
unit NPSAddForma;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Mask, DBCtrlsEh,
Vcl.ImgList, Vcl.Buttons, FIBQuery, pFIBQuery;
type
TNPSAddForm = class(TForm)
ilSmiles: TImageList;
... |
unit nevControlPara;
// Модуль: "w:\common\components\gui\Garant\Everest\new\nevControlPara.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnevControlPara" MUID: (48D11BE0015E)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
{$If Defined(k2ForEditor)}
uses
l3IntfUses
, nevTextPara
... |
unit MPWS.MainForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Edit, FMX.Controls.Presentation,
MPWS.WebServer;
type
TMainForm = class(TForm)
ButtonStart: TBu... |
unit MainExamplesUnit;
interface
uses
Classes, SysUtils;
type
TExamples = class
public
class procedure Run;
end;
implementation
uses
System.Generics.Collections,
DataObjectUnit, Route4MeExamplesUnit, NullableBasicTypesUnit, AddressUnit,
AddressBookContactUnit, OutputUnit, ConnectionUnit, OrderUni... |
unit MenuGroupDialog;
interface
uses
System.SysUtils, System.Generics.Collections, System.Types, System.UITypes,
System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
UDialog,
FMX.Objects, UModel;
type
TGroupDialog = class(TDialogFrame)
MenuGrou... |
unit MyPlayground;
interface
uses GraphABC, MySnake, MyApple, MyQueue;
type
Playground = class
x1: integer;
y1: integer;
x2: integer;
y2: integer;
cellSize: integer;
field: array [,] of integer;
const emptyId :integer = 0;
const borderId: integer = 1;
const ... |
unit kwDeleteFilesByMask;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwDeleteFilesByMask.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML m... |
unit MFichas.View.Dialog.AberturaCaixa;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Graphics,
FMX.Controls,
FMX.Forms,
FMX.Dialogs,
FMX.StdCtrls,
FMX.Objects,
FMX.Edit,
FMX.Controls.Presentation,
FMX.Layouts;
type
TFra... |
program parser_test;
var
i,j,num : integer;
function divides(x,y : integer) : boolean;
begin
divides := y = x*(y div x)
end;
function mul(x,y : integer) : boolean;
begin
divides := y = x*(y div x)
end;
procedure DrawLine(X : integer; Y : integer);
var Counter, t : integer;
begin
GotoXy(X,Y); {here I use t... |
unit kwCase;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwCase.pas"
// Начат: 29.04.2011 21:00
// Родные Delphi интерфейсы (.pas)
/... |
{
Original Pyhton Code From: https://github.com/patgo25/RenaultRadioCodes
Delphi 7 Convertion by direstraits96
16-07-2021
}
unit RenaultRadioCalculator;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, XPMan;
type
TForm1 = class(TForm)
... |
unit evControlsBlockHotSpotTesterPrim;
// Модуль: "w:\common\components\gui\Garant\Everest\evControlsBlockHotSpotTesterPrim.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevControlsBlockHotSpotTesterPrim" MUID: (4A27B51303A7)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
{$If Defi... |
unit cmdlinecfg;
{$mode delphi}{$H+}
interface
uses
Classes, SysUtils, contnrs;
type
TCmdLineCfgValues = record
CmdLineValue : String; // the actual command that goes to the cmd line
DisplayName : String; // the default display name (in English)
Condition : String; // condition for the value of ... |
unit GlobalData;
interface
uses
SysUtils, Classes, GsDocument, Generics.Collections, Forms, Windows, Variants, VirtualTrees, ComObj, Parsers.Excel;
type
TGsDocumentList = TObjectList<TGsDocument>;
function Documents: TGsDocumentList;
function GetStringHash(Str: string): Cardinal;
function ComponentsDir: string;
... |
unit Updater;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TUpdateStartEvent = procedure (Sender : TObject; UpdateFileName:string) of object;
TUpdater = class(tcomponent)
private
FOnUpdate: TUpdateStartEvent;
FUpdatePath: String;
FCo... |
{ Date Created: 5/22/00 11:17:32 AM }
unit InfoINSCODESTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoINSCODESRecord = record
PCompanyCode: String[4];
PDraftAccount: String[2];
PTrackingCode: String[2];
PName: String[60];
PAddress: Str... |
unit abstract_command_lib;
interface
uses Introspected_streaming_class,classes;
type
TAbstractCommand=class(TIntrospectedStreamingClass) //чтобы историю изменений можно было хранить вместе со всем остальным
public
class function ImageIndex: Integer; virtual;
constructor Create(Aowner: TComponent); overri... |
unit UProximityClient;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Math,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Layouts, FMX.Memo, System.Bluetooth,
FMX.Controls.Presentation, FMX.Edit, FMX.ListBox;
type
TPos... |
unit f2DecorScript;
interface
uses
Classes,
d2dUtils;
type
Tf2DSOperatorType = (otMove, otColor, otRotate, otRotateSpeed, otScale, otPause, otRestart, otDelete);
If2DSParameter = interface
['{2C80B9E2-0C5B-445C-AD71-B05264EFEF88}']
function GetValue: Double;
procedure Save(const aFiler: Td2dFiler);
end;
... |
{$I ACBr.inc}
unit pciotOperacaoTransporteR;
interface
uses
SysUtils, Classes,
{$IFNDEF VER130}
Variants,
{$ENDIF}
pcnAuxiliar, pcnConversao, pciotCIOT, Dialogs,
SOAPHTTPTrans, WinInet, SOAPConst, Soap.InvokeRegistry, ASCIOTUtil, ACBRUtil,
IdCoderMIME;
type
TOperacaoTransporteR = class(TPersistent)
... |
unit UFormMain;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ATFileNotification, ExtCtrls, XPMan, Filectrl;
type
TFormMain = class(TForm)
Label1: TLabel;
EditDir: TEdit;
btnBrowseDir: TButton;
EditFile: TEdit;
btnBrowseFile: TButton;
... |
{$include lem_directives.inc}
unit GameWindow;
interface
uses
Windows, Classes, Controls, Graphics, MMSystem, Forms, SysUtils, Dialogs, Math, ExtCtrls,
GR32, GR32_Image, GR32_Layers,
UMisc, UTools,
LemCore, LemLevel, LemDosStyle, LemGraphicSet, LemDosGraphicSet, LemRendering,
LemGame,
GameCon... |
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie
All rights reserved.
For more info see: Copyright.txt
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
{*
Flips the matrices order.
... |
{*******************************************************************************
作者: dmzn@163.com 2009-7-1
描述: 全局定义
备注:
*.活动窗体gActiveForm用于表示当前用户在操作的窗口
*.文件前缀sFilePostfix,指在后台管理相关文件的基础上,添加后缀标致.
例如配置文件Config.ini,加完后缀为Config_B.ini
********************************************************************... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.