text stringlengths 14 6.51M |
|---|
unit WordUtils;
(*************************************************************
Copyright © 2012 Toby Allen (https://github.com/tobya)
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 restr... |
unit AboutKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы About }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Common\AboutKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "AboutKeywordsPack" MUID: (7A2FEC0CB105)
{$Include w:\garant6x\implementati... |
unit ActionListWordsPack;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\ActionListWordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "ActionListWordsPack" MUID: (55B8E44302B1)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts) AND ... |
unit nscTasksPanelGroupsIterator;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Nemesis"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/gui/Garant/Nemesis/nscTasksPanelGroupsIterator.pas"
// Начат: 17.01.2011 15:06
// Р... |
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;
type
TMainForm = class(TForm)
btnChrono: TButton;
lblElapsedTime: TLabel;
lblElapsedTimeLong: TLabel;
tiCh... |
inherited dmRotasEspecificas: TdmRotasEspecificas
OldCreateOrder = True
inherited qryManutencao: TIBCQuery
SQLInsert.Strings = (
'INSERT INTO STWOPETROTE'
' (CGC, CID_ORIG, EST_ORIG, CID_DEST, EST_DEST, FILIAL, TARIFA, ' +
'TX_ENTREGA, PEDAGIO_IDA, PEDAGIO_VOLTA, DT_ALTERACAO, OPER... |
{$MODE OBJFPC}
type time = record
h:0..23;
m,s:0..59;
end;
var a,b:time;
operator <(a,b:time):boolean;
begin
result:=(a.h*3600+a.m*60+a.s)<(b.h*3600+b.m*60+b.s);
end;
begin
read(a.h,a.m,a.s);
read(b.h,b.m,b.s);
write(a<b);
end. |
unit ChOwn1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
ButtonChange: TButton;
ButtonList: TButton;
ListBox1: TListBox;
procedure ButtonChangeClick(Sender: TObject);
procedure ButtonList... |
unit uMatricula;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uBase, Data.DB, Vcl.Grids, Vcl.DBGrids,
Vcl.Buttons, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Mask, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan... |
unit uROIndyHTTPWebsocketChannel;
interface
uses
Classes, SyncObjs,
uROIndyHTTPChannel, uROClientIntf,
IdHTTPWebsocketClient, IdHTTP, IdWinsock2;
type
TROIndyHTTPWebsocketChannel = class(TROIndyHTTPChannel,
IROActiveEventChannel)
private
function Get... |
{ Leap Websocket interface Usign BauglirWebsocket
Copyright (C) 2013 Michael Van Canneyt (michael@freepascal.org);
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of... |
unit WebCam;
interface
uses
Windows, Messages;
type
TWebcam = class
constructor Create(
const WindowName: String = '';
ParentWnd: Hwnd = 0;
Left: Integer = 0;
Top: Integer = 0;
Width: Integer = 0;
height: Integer = 0;
Style: Cardinal = WS_CHILD or WS_VISIBLE;
Webc... |
program ejercicio4;
const
Df = 9300;
precioMIN = 3.40;
precioBM = 1.34
type
cliente = record
codigo : Integer;
canLineas: Integer;
end;
linea = record
nTelefono : Integer;
canMinutos: Real;
cantMB : Real;
end;
procedure leerCliente(var c: cliente);
begin
write('Ingrese el CODIGO del cliente: ');
r... |
unit fScrollEditor;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, GR32_Image, GR32, StdCtrls, ExtCtrls, ComCtrls, ToolWin, ImgList,
Buttons, cMegaROM, cConfiguration;
type
TfrmScrollEditor = class(TForm)
cmdOK: TButton;
cmdCancel: TButton;
imgS... |
unit pacland_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
m6809,m680x,namco_snd,main_engine,controls_engine,gfx_engine,rom_engine,
pal_engine,sound_engine;
function iniciar_pacland:boolean;
implementation
const
pacland_rom:array[0..5] of tipo_roms=(
(n:'pl5_01b.8b';l:$4000;p:$0;crc:$... |
unit uPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs,
IniFiles, Vcl.ExtCtrls, Registry;
type
TFPrincipal = class(TService)
TimerDesligar: TTimer;
procedure ServiceStart(Sender: TService; var Star... |
unit sqldbex;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, DB, sqldb, odbcconn, odbcsqldyn;
type
{ TExODBCConnection }
TExODBCConnection = class(TODBCConnection)
protected
FGetNext: Boolean;
FNextStmt: SQLHStmt;
procedure PrepareStatement(cursor:TSQLCursor; ATransacti... |
unit OldSituationSearchKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы OldSituationSearch }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Search\Forms\OldSituationSearchKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "OldSituationSearchKeywordsPack... |
unit AddConfigValueUnit;
interface
uses SysUtils, BaseExampleUnit, EnumsUnit;
type
TAddConfigValue = class(TBaseExample)
public
function Execute(Key, Value: String): boolean;
end;
implementation
function TAddConfigValue.Execute(Key, Value: String): boolean;
var
ErrorString: String;
begin
Result ... |
{ *********************************************************** }
{ * TForge Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2016 * }
{ *********************************************************** }
unit tfExceptions;
interface
uses SysUtils, tfTypes;... |
unit Options;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Buttons, ComCtrls, Menus, ImgList;
type
TfrmOptions = class(TForm)
pnlCont: TPanel;
pnlText: TPanel;
lblPluginVersion: TLabel;
btnAbout: TBitBtn;
btnOK: TBitB... |
unit okFontComboBox;
interface
uses
Windows, SysUtils, Classes, Controls, StdCtrls, FR_Combo, Graphics, Messages, dialogs;
type
TokFontComboBox = class(TfrFontComboBox)
private
FOverBtn: Boolean;
FDefEditProc: Pointer;
FEditInstance: Pointer;
procedure SetOverBtn(const Value: Boole... |
unit FMain;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
FMX.ScrollBox,
FMX.Memo,
FMX.StdCtrls,
FMX.Controls.Presentation,
FMX.Edit,
FMX.ListView.Types,
FMX.ListView.Appea... |
unit FramedButton;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, extctrls;
const
fbsNormal = 0;
fbsMouseDown = 1;
fbsMouseIn = 2;
fbsEnabled = 4;
fbsSelected = 8;
type
TFramedButtonState = byte;
TFramedButtonAlign = (fbaLeft, f... |
(****************************************************************************
*
* WinLIRC plug-in for jetAudio
*
* Copyright (c) 2016 Tim De Baets
*
****************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License... |
unit ladybug_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,sn_76496,controls_engine,gfx_engine,rom_engine,
pal_engine,sound_engine,misc_functions;
function iniciar_ladybug:boolean;
implementation
const
//Lady Bug
ladybug_rom:array[0..5] of tipo_roms=(
(n:'l1.c... |
unit MessageDigest5Utils;
interface
uses
SysUtils,
Classes,
IdGlobal,
IdHash,
IdHashMessageDigest;
function MD5FromString(AString: string): string;
implementation
function MD5FromString(AString: string): string;
var
md5: TIdHashMessageDigest5;
stream: TStream;
begin
md5 := TIdHashMessageDigest5.Cre... |
unit xx1_TLB;
{ This file contains pascal declarations imported from a type library.
This file will be written during each import or refresh of the type
library editor. Changes to this file will be discarded during the
refresh process. }
{ xx1 Library }
{ Version 1.0 }
interface
uses Windows, ActiveX, Classe... |
{*******************************************************}
{ }
{ Delphi REST Client Framework }
{ }
{ Copyright(c) 2013-2019 Embarcadero Technologies, Inc. }
{ All rights res... |
unit UIWappedPartUnit;
interface
uses
SearchOption_Intf, FMX.Controls, System.Classes;
type
TAbsUIWrappedPart = class(TAbsSearchOptionPart)
protected
FExpander: TExpander;
procedure Init(owner: TExpander);
function StrArrayToStrList(strArr: array of String): TStringList;
function Stri... |
unit nsUserFlagsFilters;
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Data\Users\nsUserFlagsFilters.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnsUserFlagsFilters" MUID: (4901E95F019D)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses
, l3TreeFilters
, bsIn... |
unit tipe_data;
interface
type
ttanggal = record
tanggal : integer;
bulan : integer;
tahun : integer;
end;
tuser = record
nama : string;
alamat : string;
username : string;
password : string;
... |
unit MarkAddressAsDetectedAsDepartedRequestUnit;
interface
uses
REST.Json.Types, SysUtils,
HttpQueryMemberAttributeUnit,
GenericParametersUnit;
type
TMarkAddressAsDetectedAsDepartedRequest = class(TGenericParameters)
private
[JSONMarshalled(False)]
[HttpQueryMember('route_id')]
FRouteId: String... |
{ Date Created: 5/22/00 11:17:33 AM }
unit InfoSYSTEMTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoSYSTEMRecord = record
PSite: String[4];
PNextID: String[5];
End;
TInfoSYSTEMBuffer = class(TDataBuf)
protected
function PtrIndex(Index... |
{*******************************************************************************
* *
* ksSES - AWS SES Interface *
* ... |
unit ThumbViewerClass;
interface
uses Windows, jpeg, ComCtrls, Classes, FileUtilUnit, SysUtils, Dialogs,
Graphics, ExtCtrls, TypInfo, Controls;
const IMAGE_FILE_MASKS = '.jpeg,.jpg,.bmp';
THUMB_WIDTH = 128;
THUMB_HEIGHT = 128;
type
TItemData = class
str: string;
che... |
unit Unt_DiversasThreads;
interface
uses
System.Classes,
Unt_FuncaoLog;
type
/// <summary>
/// Thread que disputará o recurso de geração de LOG
/// </summary>
TDiversaThread = class(TThread)
private
FReferencia : string;
FDescricaoErro: string;
public
/// <summary>
/// Rotina a ser... |
unit ImageLib;
// Copyright (c) 1996 Jorge Romero Gomez, Merchise.
interface
uses
Windows, Classes,
SpriteImages, FileFolders, MemUtils, StreamUtils, ListUtils;
type
TImageInfo =
class
Image : TSpriteImage;
fRefCount : integer;
constructor Create( anImage : TSprite... |
{-----------------------------------------------------------------------------
hpp_itemprocess (historypp project)
Version: 1.5
Created: 05.08.2004
Author: Oxygen
[ Description ]
Module for people to help get aquanted with ME_HPP_RICHEDIT_ITEMPROCESS
Has samples for SmileyAdd, TextFormat, Mat... |
unit kwLoadFromFile;
{* Загружает файл в форму дочернего класса TPrimTextLoadForm.
*Формат:* имя_файла LoadFromFile
*Примечание:* Создан специально для тестов DailyTests в результате переделок form:Needs. Имя файла можно подавать без пути - будет автоматически добавлен путь к данным для тестов. }
// Модуль: "w:\comm... |
unit Meta_Schema;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "SandBox"
// Модуль: "Meta_Schema.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root element: TagTable::Class Shared Delphi Sand Box::SandBo... |
unit ProbabilityValueParsingTest;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FpcUnit, TestRegistry,
ParserBaseTestCase,
ValuesParsingBaseTest,
WpcScriptCommons,
WpcStatements,
WpcScriptParser;
type
{ TProbabilityValueParsingTest }
TProbabilityValueParsingTest = class(TValuesParsingBaseT... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://www.egisnet.com.br/webservice/ServidorISAPI.dll/wsdl/IdmBloqueioLote
// >Import : http://www.egisnet.com.br/webserv... |
unit StdRankings;
interface
procedure RegisterRankings;
implementation
uses
SysUtils, ClassStorage, Accounts, Rankings, BasicRankings, Languages;
const
mtidNTARanking : TRegMultiString = nil;
mtidPrestigeRanking : TRegMultiString = nil;
mtidWealthRanking : TRegMultiString = nil;
... |
unit ExtAINetServer;
interface
uses
Windows, NetServerOverbyte,
Classes, SysUtils, Math, Generics.Collections,
ExtAICommonClasses, ExtAISharedNetworkTypes, ExtAINetworkTypes;
type
TExtAIServerClient = class;
TNewMsgEvent = procedure (aData: Pointer; aLength: Cardinal) of object;
TNewDataEvent = procedure ... |
{
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 FiveControl;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls,
GameTypes, GameControl, LocalCacheManager, MapTypes, Map, LanderTypes;
const
cMaxZoomLevel = ord(high(TZoomRes));
cMinZoomLevel = ord(low(TZoomRes));
type
TFiveControl =
class(TGameCont... |
unit kwDialogsLockDocumentSetSkipMode;
{* Устанавливает режим работы с диалогом о залочке документа:
[code]
ar_AsUsual // Показывать диалог и проверять его результат.
ar_OpenDocument // Если есть залоченный - все равно открывать.
ar_NotOpen // Если есть залоченный - не открывать.
[code]
Формат:
[code]
aMode dial... |
unit bcSettings;
interface
uses
l3StringToStringMap,
ddCSV;
type
TbcSettings = class(TddSectionedCSVLoader)
private
f_TypesMap: Tl3StringToStringMap;
f_SkipMap: Tl3StringToStringMap;
f_SourcesMap: Tl3StringToStringMap;
procedure LoadMap(const aMap: Tl3StringToStringMap; const aName: AnsiString);
functio... |
unit UMemAccount;
interface
uses
UAccountInfoKS, UDynRawBytes, URawBytes, UAccount;
{$include MemoryReductionSettings.inc}
type
{$IFDEF uselowmem}
{ In order to store less memory on RAM, those types will be used
to store in RAM memory (better than to use original ones)
This will reduce 10-15% of memory ... |
unit OXmlReadWrite;
{
Author:
Ondrej Pokorny, http://www.kluug.net
All Rights Reserved.
License:
CPAL 1.0 or commercial
Please see the /license.txt file for more information.
}
{
OXmlReadWrite.pas
Basic XML reader/writer. OXmlIntfDOM.pas, OXmlPDOM.pas and OXmlSAX.pas use
this unit to rea... |
PROGRAM HELLOWORLD(output);
VAR st : String;
BEGIN
st := 'hello world'#10'welcome to pascal!';
Writeln(st)
END.
|
unit uPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uFrmBasePadrao, Vcl.ComCtrls,
Vcl.ToolWin, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, uFrameBotao,
Vcl.Imaging.pngimage, uListagemBase;
type
... |
unit TestThermostatStates;
interface
uses
Thermostat.Classes,
TestFramework, SysUtils, Generics.Collections;
type
// Test methods for class TThermostatState
TestStates = class(TTestCase)
strict private
FThermostat: TThermostat;
private
function GetSuperState: TThermostatState;
function GetSu... |
unit Way;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ObjectID, Station;
type
TWay=object(TObjWithID)
private
Station1:TStation;
Station2:TStation;
Time:integer;
Transition:boolean; // true - путь, false - переход.
isVisited:boolean; // При поиске пути.True - посещен... |
namespace Sugar.Test;
interface
uses
Sugar,
Sugar.Xml,
RemObjects.Elements.EUnit;
type
NodeTest = public class (Test)
private
Doc: XmlDocument;
Data: XmlNode;
public
method Setup; override;
method Name;
method Value;
method LocalName;
method Document;
... |
{-------------------------------------------------- Progressive Path Tracing ---------------------------------------------------
This unit contains the TMaterial type and also contains helper functions related to spectral conversion, such as converting a
wavelength to an RGB color. It also contains functions to man... |
unit Word_TLB_Constants;
(*//*************************************************************************
This file is created as a subset of Word_TLB.pas.
We do not need the Types, Classes and Interfaces, so we have copied out the
Constants part of the file. It can be updated at any time. The file needs
to have ... |
{$MODE OBJFPC}
{$DEFINE RELEASE}
{$R-,Q-,S-,I-}
{$OPTIMIZATION LEVEL2}
{$INLINE ON}
program ConvexHull;
const
InputFile = 'CONVEXHULL.INP';
OutputFile = 'CONVEXHULL.OUT';
maxN = Round(1E5);
type
TPoint = record
x, y: Int64;
end;
TVector = TPoint;
var
p, q: array[1..maxN] of TPoint;
stack: array[1..... |
unit AreaEditForma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DBCtrlsEh, DBLookupEh, DB, FIBDataSet, pFIBDataSet,
Mask, OkCancel_frame, DBCtrls, StdCtrls, FIBDatabase, pFIBDatabase,
CnErrorProvider, PrjConst;
type
TAreaViewForm = class(TForm)
La... |
unit msmDrawArrow;
interface
uses
Windows
, Graphics
, l3Units
;
procedure DrawArrow(const AFromPoint: Tl3SPoint; const AToPoint: Tl3SPoint; ACanvas: TCanvas; APolygon: Boolean);
implementation
uses
Types,
Math
;
procedure DrawArrow(const AFromPoint: Tl3SPoint; const AToPoint: Tl3SPoint; ACanvas: TCanvas; ... |
unit Entidade.FormaPagamento;
interface
uses SimpleAttributes;
type
TFORMA_PAGAMENTO = class
private
FDESCRICAO: string;
FID: Integer;
procedure SetDESCRICAO(const Value: string);
procedure SetID(const Value: Integer);
published
[PK,AutoInc]
property ID:Integer read FID write SetID;
property ... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit LzmaEnc;
interface
uses System.SysUtils, Winapi.Windows, LzmaTypes, LzFind, LzFindMt;
{$Z4}
type
TCLzmaEncHandle = Pointer;
TCLzmaEncProps = record
level: Integer; (* 0 <= level <= 9 *)
dictSize: UInt32; (* (1 << 12) <= dictSize <= (1 << 27) for 32-bit version
... |
unit nsTypedIntegerValueMap;
{* реализация мапы "строка"-"число" для чистой замены array [TSomeType] of _string}
{$Include nsDefine.inc }
interface
// <no_string>
uses
Classes,
TypInfo,
l3Interfaces,
l3BaseWithID,
l3ValueMap,
l3Types,
vcmExternalInterfaces,
vcmInterfaces,
L10nInterfaces
;
ty... |
unit WpcScript;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
Fgl,
WpcStatements,
WpcExceptions;
const
MAIN_BARNCH = 'Main';
type
{ TWpcScript }
TWpcScript = class(TObject)
private type
TWpcScriptBranches = specialize TFPGMap<String, TWpcBranchStatement>;
private
FBranches : TWp... |
unit SMCheck;
interface
uses
ShareMem;
implementation
uses
SysUtils;
type
PInteger = ^integer;
const
Magic = (ord('A') shl 24) or (ord('B') shl 16) or (ord('C') shl 8) or ord('D');
var
OldMemMgr: TMemoryManager;
function SysGetMemCheck(Size: Integer): Pointer;
var
p : p... |
unit uBarangUtils;
interface
uses
uDBUtils, uAppUtils, uModel, System.SysUtils, System.StrUtils;
type
TBarangUtils = class
public
class function IsKodeBarangSudahAda(AKode , AID : String): Boolean;
class function KonversiUOM(ABarangID, AUOMID : string) : Double;
end;
implementation
class funct... |
{*******************************************************}
{ Проект: Repository }
{ Модуль: uPermissionImpl.pas }
{ Описание: Реализация IPermission }
{ Copyright (C) 2015 Боборыкин В.В. (bpost@yandex.ru) }
{ ... |
unit SandboxEnvironment;
interface
uses
JunoApi4Delphi.Interfaces;
type
TSandboxEnvironment = class(TInterfacedObject, iEnvironment)
private
CONST
AUTHORIZATION_SERVER = 'https://sandbox.boletobancario.com/authorization-server';
RESOURCE_SERVER = 'https://sandbox.boletobanca... |
unit gdax.api.currencies;
{$i gdax.inc}
interface
uses
Classes, SysUtils, gdax.api.consts, gdax.api, gdax.api.types;
type
{ TGDAXCurrenciesImpl }
TGDAXCurrenciesImpl = class(TGDAXRestApi,IGDAXCurrencies)
strict private
FCurrencies: TCurrencyArray;
protected
function GetCount: Cardinal;
functi... |
unit MainClientForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, IdTCPServer, IdTCPConnection, IdTCPClient, IdBaseComponent,
IdComponent, ShowDlgThreadUnit;
type
TMainForm = class(TForm)
IdTCPServer: TIdTCPServer;
IdTCPClient: TIdTCPClient;
p... |
unit nsAppConfig;
(*-----------------------------------------------------------------------------
Название: nsAppConfig
Автор: М. Морозов.
Назначение: Отображение и редактирование настроек проекта.
История:
$Id: nsAppConfig.pas,v 1.343 2016/10/17 14:23:25 kostitsin Exp $
$Log: nsAppConfig.pas,v $
Revis... |
unit UBuckets;
interface
type
// Die Klasse hat eine Anzahl von Zählern (Buckets)
// die Prozedure Increment erhöht einen best. Zähler
TBucketCounter = class(TObject)
private
FBuckets : array of Integer;
FTotalSum : Integer;
FAverage : Double;
function GetCount(idx: Int... |
unit Register_Obj;
interface
uses
Registry, Windows, Main_CV;
type
TMainReg = class
private
reg: TRegistry;
public
constructor Create;
destructor Destroy; override;
function GetMain(aKey: String; default: String=''): String;
procedure SetMain(aKey, aVal: String);
function GetVal(aKey:... |
unit uConsts;
{
Copyright 2020 Dmitriy Sosnovich, dmitriy@sosnovich.com
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 xButton;
interface
uses
SysUtils, Classes, Controls, Graphics, xGradient, Messages, xStyleContainer;
type
TxButton = class;
TxButtonState = (xbsDown, xbsUp);
TxButtonActionLink = class(TControlActionLink)
protected
FClient: TxButton;
procedure AssignClient(AClient: TObject); ove... |
unit m4DocumentAddress;
{* Адрес слова и список адресов. }
{ Библиотека "M4" }
{ Автор: Люлин А.В. © }
{ Модуль: m4DocumentAddress - }
{ Начат: 19.04.2002 12:49 }
{ $Id: m4DocumentAddress.pas,v 1.25 2015/09/21 12:31:06 lulin Exp $ }
// $Log: m4DocumentAddress.pas,v $
// Revision 1.25 2015/09/21 12:31:06... |
unit Classes;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.ScrollBox, FMX.Memo;
type
TConfig = record
Host : String;
Path : String;
Usuario... |
unit DecoderPacketForma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, FIBDataSet, pFIBDataSet, StdCtrls, DBCtrls, Mask,
DBCtrlsEh, DBLookupEh, Buttons, ExtCtrls, DBGridEh;
type
TDecoderPacketForm = class(TForm)
cbbPaket: TDBLookupComboboxEh;
... |
unit Uweatherdemo;
interface
uses
FMX.Forms, FMX.TMSCloudWeather, FMX.Objects, FMX.TMSCloudImage,
FMX.ListBox, FMX.StdCtrls, FMX.Layouts, FMX.Edit, FMX.Controls,
System.Classes, FMX.Types, FMX.TMSCloudBase, FMX.Dialogs, SysUtils;
type
TForm1 = class(TForm)
TMSFMXCloudWeather1: TTMSFMXCloudWeather;
TM... |
unit command_list_lib;
interface
uses classes,abstract_command_lib;
type
TCommandList=class(TAbstractCommandContainer) //список для undo/redo и даже для сохранения данных в файл
private
fRoot: TComponent;
fcount: Integer;
fcurrent: Integer; //наше данное положение - куда добавлять команду. Т.е по умол... |
unit FmtUtils;
{
Copyright (c) 2008, Shinya Okano<xxshss@yahoo.co.jp>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
not... |
// defines TPascalToken and descendants which are the intermediate format after parsing
// Original Author: Egbert van Nes (http://www.dow.wau.nl/aew/People/Egbert_van_Nes.html)
// Contributors: Thomas Mueller (http://www.dummzeuch.de)
// Jens Borrisholt (Jens@borrisholt.dk) - Cleanin... |
{
Exercicio 33: Dados três valores X, Y, Z, verificar se eles podem ser os comprimentos dos lados de um triângulo.
Se forem, verificar e exibir se é um triângulo eqüilátero, isósceles ou escaleno. Se eles não formarem um triângulo,
escrever uma mensagem. Antes da elaboração do algoritmo, torna-se necessária a revisão ... |
unit HGM.Controls.Edit;
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,
Vcl.ExtCtrls, System.UITypes, Vcl.Buttons, Vcl.Mask, HGM.Controls.VirtualTable, HGM.Common;
... |
{*******************************************************************************
作者: dmzn@163.com 2011-11-30
描述: 商品订单确认
*******************************************************************************}
unit UFormBillConfirm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Contro... |
unit MarshalUnMarshalUnit;
interface
uses
GenericParametersUnit, System.Rtti, Classes, SysUtils,
REST.JsonReflect, System.JSON, REST.Json.Types, System.Generics.Collections;
type
TMarshalUnMarshal = class
private
class var ctx: TRttiContext;
class procedure InitIntermediateObject(TypeInf... |
unit RemoteAdmin_TLB;
{ This file contains pascal declarations imported from a type library.
This file will be written during each import or refresh of the type
library editor. Changes to this file will be discarded during the
refresh process. }
{ RemoteAdmin Library }
{ Version 1.0 }
interface
uses Windows,... |
unit UWinTools;
interface
uses
Classes, Forms, Windows, Graphics, ShellApi, SysUtils, Controls, StdCtrls,
Registry, Messages,
UMisc;
type
EShellExecuteError = class(Exception);
TOperationParam = (opNone, opOpen, opPrint, opExplore);
procedure SelectBackwards(Edit: TEdit; SelStart, SelLength... |
unit hcQueryBuilder;
// Библиотека : Тестовый слой;
// Автор : Морозов М.А.
// Описание : Реализации построителей запросов к серверу консультаций;
// Версия : $Id: hcQueryBuilder.pas,v 1.2 2008/03/03 06:56:32 mmorozov Exp $
{-------------------------------------------------------------------------------
... |
program TM1638_buttons;
{$mode objfpc}{$H+}
{ Raspberry Pi Application }
{ Add your program code below, add additional units to the "uses" section if }
{ required and create new units by selecting File, New Unit from the menu. }
{ To compile your pro... |
unit RoB.ExtratoExpressas;
interface
uses Control.Parametros, Common.ENum, Common.Utils, Control.Sistema, Control.Entregas, FireDAC.Comp.Client, System.SysUtils,
System.DateUtils, FireDAC.Comp.Dataset, Control.ExtraviosMultas, Control.Lancamentos, Control.FechamentoExpressas, Forms,
Winapi.Windows, Control.ExtratosEx... |
unit l3ChangeNotifier;
{ $Id: l3ChangeNotifier.pas,v 1.14 2014/02/13 10:12:59 lulin Exp $ }
// $Log: l3ChangeNotifier.pas,v $
// Revision 1.14 2014/02/13 10:12:59 lulin
// - рефакторим безликие списки.
//
// Revision 1.13 2012/01/25 16:43:07 lulin
// {RequestLink:326773370}
//
// Revision 1.12 2009/12/11 15:56:1... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Description: TSnmpCli class encapsulate the SNMP client paradigm
Creation: March 2011
Version: 1.00
EMail: francois.piette@overbyte.be http://www.overbyte.be
Support: Use the mailing... |
unit BaiduMapAPI.LocationService.iOS;
//author:Xubzhlin
//Email:371889755@qq.com
//百度地图API 定位服务 单元
//官方链接:http://lbsyun.baidu.com/
//TiOSBaiduMapLocationService 百度地图 iOS定位服务
interface
uses
System.Classes, FMX.Maps, Macapi.ObjectiveC, Macapi.ObjCRuntime, iOSapi.CoreLocation,
iOSapi.Foundation, iOSapi.BaiduMapAPI_... |
unit exec_external;
interface
Uses Classes;
Function ExecApplication(CommandLine,Dir:String;Lines:TStrings):Boolean;
implementation
uses Windows, SysUtils,Forms;
Function ExecApplication;
const
ReadBuffer = 2000;
Var
Security : TSecurityAttributes;
StartUpInfo:TStartupInfo;
ProcInfo:TProcessInformation;
Err... |
unit ModCalcLex;
interface
type
symbol = (numberSy,
plusSy, minusSy,
mulSy, divSy,
leftParSy, rightParSy,
eofSy, noSy);
var
curSy : symbol;
numVal : integer; (* number value for semantic analysis *)
procedure newSy;
procedure initCalcLex(inFileNa... |
unit GenericExampleShortcutUnit;
interface
uses SysUtils, BaseExampleUnit, IConnectionUnit;
type
TGenericExampleShortcut = class(TBaseExample)
public
procedure Execute(Connection: IConnection);
end;
implementation
uses Route4MeManagerUnit, DataObjectUnit, RouteParametersQueryUnit;
procedure TGeneri... |
unit uLogon;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Variants,
Forms, Dialogs, ExtCtrls, StdCtrls, Buttons, JvExStdCtrls, JvCombobox, DB,
ZAbstractRODataset, ZDataset, JvExControls, JvNavigationPane, frxpngimage,
JvExExtCtrls, JvImage, JvBevel, JvXPCore, JvXPButtons, cxGraphic... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.