text stringlengths 14 6.51M |
|---|
unit SceneMainMenu;
interface
uses DGLE, DGLE_Types, Engine, SceneCustom, SceneManager, Button;
type
TMenuItem = (miNone, miTavern, miAbout, miQuit);
const
MenuCaption: array [miTavern..miQuit] of AnsiString =
('Таверна', 'Авторы', 'Выход');
type
TSceneMainMenu = class(TSceneCustom)
pr... |
unit uhttpdownload;
{$mode objfpc}{$H+}
{
****************************************************************************
uhttpdownload Unit
Threaded download with progress details using Synapse Library
(c) 2016 by Dio Affriza under BSD License
... |
{$include lem_directives.inc}
unit LemGraphicSet;
interface
uses
Classes,
GR32,
LemTypes,
LemMetaObject,
LemMetaTerrain;
type
TBaseGraphicSetClass = class of TBaseGraphicSet;
TBaseGraphicSet = class(TPersistent)
private
protected
fGraphicSetId : Integer; // number identifier... |
{$I ok_sklad.inc}
unit BankPersonsEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, ExtCtrls, StdCtrls, cxButtons,
ssFormStorage, ActnList, cxControls, cxContainer, cxEdit, cxTextEdit,
cxMemo, ssMemDS, ssBaseIntfDlg, ssBeve... |
{ Subroutine SST_R_PAS_IFUNC (SYM, TERM)
*
* Process an intrinsic function call. SYM is the symbol descriptor for the
* intrinsic function. TERM is the expression term descriptor to fill in.
* The OP2, OP1, STR_H, and VAL_EVAL fields have already been set or initialized.
* This routine needs to fill in the ... |
unit IConnectionUnit;
interface
uses Classes, GenericParametersUnit, DataObjectUnit, UtilsUnit, CommonTypesUnit;
type
IConnection = interface
['{393B451A-B5C8-4A79-8745-AB0AD2310E9A}']
procedure SetProxy(Host: String; Port: integer; Username, Password: String);
function Get(Url: String; Data: TGeneric... |
unit clEmpresaContrato;
interface
uses clConexao, Vcl.Dialogs, System.SysUtils, clTipoContrato;
type
TEmpresaContrato = class(TObject)
protected
FContrato: Integer;
FInicio: TDateTime;
FEmpresa: Integer;
FTermino: TDateTime;
conexao: TConexao;
tipocontrato: TTipoContrato;
private
pr... |
unit l3Const;
{* Константы библиотеки L3. }
{ Библиотека "L3 (Low Level Library)" }
{ Автор: Люлин А.В. }
{ Модуль: l3Const - }
{ Начат: 13.04.1998 14:05 }
{ $Id: l3Const.pas,v 1.28 2011/05/18 17:46:00 lulin Exp $ }
// $Log: l3Const.pas,v $
// Revision 1.28 2011/05/18 ... |
{ Invokable interface ISoapFish }
unit SoapFishIntf;
interface
uses InvokeRegistry, Types, XSBuiltIns;
type
{ Invokable interfaces must derive from IInvokable }
ISoapFish = interface(IInvokable)
['{4E4C57BF-4AC9-41C2-BB2A-64BCE470D450}']
function GetCds: TSoapAttachment; stdcall;
function GetImage(fis... |
unit nsLanguageMap;
{* реализация мапы "строка"-"строка" }
// $Log: nsLanguageMap.pas,v $
// Revision 1.8 2013/10/25 07:21:22 morozov
// {RequestLink: 495815045}
//
// Revision 1.7 2013/10/25 07:15:34 morozov
// {RequestLink: 495815045}
//
// Revision 1.6 2013/04/25 13:21:02 morozov
// {$RequestLink:363571639}
/... |
{ ***************************************************************************
Copyright (c) 2015-2022 Kike Pérez
Unit : Quick.JSON.Serializer
Description : Json Serializer
Author : Kike Pérez
Version : 1.12
Created : 21/05/2018
Modified : 17/05/2022
This file is part... |
unit CacheBackup;
interface
uses
ActiveX;
type
TCacheBlockMethod = procedure (row, col : integer) of object;
type
TCacheBackup =
class
private
fCacheStorage : IStorage;
fCurrentStream : IStream;
public
constructor Create;
public
... |
unit GX_eChangeCase;
interface
implementation
uses
SysUtils, Classes, Windows, Menus, Forms, Controls, ToolsAPI,
GX_EditorExpert, GX_GenericUtils, GX_OtaUtils,
{$IFOPT D+} GX_DbugIntf, {$ENDIF}
GX_dzVclUtils;
type
TChangeCase = (ccLowerCase, ccUpperCase, ccTitleCase, ccSentenceCase, ccToggleC... |
unit uObservacaoVO;
interface
uses
System.SysUtils, uTableName, uKeyField;
type
[TableName('Observacao')]
TObservacaoVO = class
private
FAtivo: Boolean;
FCodigo: Integer;
FId: Integer;
FNome: string;
FDescricao: string;
FPrograma: Integer;
FPadrao: Boolean;
FObsEmail: string;
... |
inherited dmOcorrencias: TdmOcorrencias
OldCreateOrder = True
inherited qryManutencao: TIBCQuery
SQLInsert.Strings = (
'INSERT INTO STWCPGTFUN6'
' (REGISTRO, DATA_OCORRENCIA, SEQUENCIA, DESCRICAO, OPERADOR, DT' +
'_ALTERACAO)'
'VALUES'
' (:REGISTRO, :DATA_OCOR... |
unit CollectionBackup;
interface
uses
Collection, BackupInterfaces;
type
TCollectionBackupAgent =
class(TBackupAgent)
protected
class procedure Write(Stream : IBackupWriter; Obj : TObject); override;
class procedure Read (Stream : IBackupReader; Obj : TObject); override;... |
unit uItemBonus;
interface
const
BonusMax = 24;
type
TBonus = array [1..BonusMax] of Integer;
const
BonusLabel: array [0..BonusMax, 0..1] of string =
{ 0}((#0, #0),
{ 1}('Strength', #0), ('Dexterity', #0), ('Stamina', #0), ('Magic', #0),
{ 5}('Spirit', #0), ('LightRadius', '$Радиус обзора... |
unit UPrincipal;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.MultiView,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Layouts, FMX.Objects, System.IOUtils;
type
TFPrincipal = class(T... |
unit iOSapi.BaiduMapAPI_Navi;
{ *********************************************************** }
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 2012-2014 Embarcadero Technologies, Inc. }
{ }
{ *********************************************************** }
//
// Delphi-Objective-C Bridge
// Interfaces for Coco... |
{ *************************************************************************** }
{ }
{ }
{ Copyright (C) Amarildo Lacerda }
{ }
{ https://github.com/amarildolacerda }
{ }
{ }
{ *************************************************************************** }
{ }
{ Licensed under the Apache License, Version 2.0 (th... |
unit ChangeLoanNumberDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TChangeLoanNumberDialog = class(TComponent)
private
FOldLoanNumber: string;
FNewLoanNumber: string;
FDlgCaption: string;
procedure SetNewLoanNumber(const Value... |
{ Copyright (C) 2013 Dimitar Paperov
That source 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 2 of the License, or (at your option)
any later version.
This code is distributed not all... |
// This program is only intended to read the PGM files used in the
// ORL Database of Faces, www.cam-orl.co.uk/facedatabase.html, and
// ftp://ftp.orl.co.uk:pub/data/orl_faces.zip
// This program is not necessarily general enough to read all types of PGM
// files with a P5 "magic number." See www.wotsit.org/wgra... |
{ Subroutine SST_DTYPE_ALIGN (DTYPE,RULE_ALIGN)
*
* Set the final alignment used for this data type. The following state will be
* be used as input:
*
* RULE_ALIGN - The alignment rule to apply. This may be SST_ALIGN to
* get the current default alignment rule.
*
* DTYPE.ALIGN_NAT - Alignment ... |
unit UNetConnection;
interface
uses
Classes, UTCPIP, UOperationBlock, UTickCount, UThread, UAccountKey, UNetProtocolVersion, UOrderedRawList, UOperationsHashTree, UNetHeaderData, UNetTransferType, UPCOperationsComp;
type
{ TNetConnection }
TNetConnection = Class
private
FIsConnecting: Boolean;
FTcpIp... |
unit Collections;
interface
uses
System.SysUtils,
Math,
System.Generics.Collections,
System.Generics.Defaults,
Data,
Interfaces,
Rtti;
type
TList = class(TData, ICountable)
protected
Items : TList<DataRef>;
function GetSize() : Integer;
function GetItem(n : Integer) : DataRef;... |
unit PT4Common;
{
Некоторые полезные общие функции
}
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
{$IFDEF WIN32}
Windows
{$ELSE}
System
{$ENDIF};
type
TProc = procedure;
TProcS = procedure (S: PChar); stdcall;
PInt = ^integer;
TInitTaskProc = procedure(N: integer);
PNode = ^TNode;... |
const
base = 100000000;
basedigits = 8;
maxsize = 25;
type
tlarge = array [0..maxsize] of integer;
procedure LargeAdd(var a : tlarge; const b : tlarge);
var
i : integer;
rem : integer;
begin
if (a[0] < b[0]) then
a[0] := b[0];
rem := 0;
for i := 1 to a[0] do begin
rem := rem + a[i] + b[i];
... |
unit FIniFile;
interface
uses Windows;
procedure DelIniKey(const fn: WideString; const section, key: WideString);
procedure SetIniKey(const fn: WideString; const section, key, value: WideString); overload;
procedure SetIniKey(const fn: WideString; const section, key: WideString; value: integer); overload;
p... |
program Main;
uses UFile, UTipe, UTanggal, USimulasi, UInventori, UResep;
{Kamus}
var
MasukanUser:string;
InputTerproses:UserInput;
OpsiAngka:integer;
KodeError:integer;
isInputValid, isSimulasiAktif: boolean;
i: integer;
ResepBaru: Resep;
HargaResep: longint;
StringInput: string;
Error : boolean;... |
{*********************************************************************
*
* 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 MruMenu;
(*
TMruMenu Component: Most-Recently-Used file list
by Timothy Weber
Supports Delphi 1, 2, 3, 5, 7, 2010, and XE3.
Usage: Fill in the BeforeItem and AfterItem properties. Then call AddFile
whenever a file is opened, and respond to OnClick as you would to a File|Open
command.
BeforeItem: The men... |
unit vcmCustomizeUtils;
////////////////////////////////////////////////////////////////////////////////
// Библиотека : VCM
// Назначение : Общие утилиты для настройки
// Версия : $Id: vcmCustomizeUtils.pas,v 1.8 2013/08/05 12:21:59 morozov Exp $
///////////////////////////////////////////////////////////////////... |
unit ASpellLanguages;
interface
uses
Classes;
Type
TASpellLangMap = class(TObject)
Language: string;
Code: string;
end;
var
LanguageMap: TStringList;
implementation
const
Languages: array[0..188] of string =
('Afar',
'Afrikaans',
'Akan',
'Amharic',
'Arabic',
'... |
unit RegPrep;
{===========================================================================
Copyright (c) 2002 Dmitry Gribov. 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. Redi... |
unit MFichas.Model.Usuario.Funcoes.Validacao.ValidarUsuarioESenha;
interface
uses
System.SysUtils,
MFichas.Model.Conexao.Interfaces,
MFichas.Model.Conexao.Factory,
MFichas.Model.Usuario.Interfaces;
type
TModelUsuarioFuncoesValidarUES = class(TInterfacedObject, iModelUsuarioFuncoesValidarUES)
private
... |
unit uSurfEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, MGR32_Image,Udda,SurfaceUtils, StdCtrls, Menus;
type
TFrmSurfEdit = class(TForm)
View: TMPaintBox32;
BtnRefresh: TButton;
LblCoord: TLabel;
LblColor: TLabel;
Main... |
unit ControllersBase;
interface
uses
MVCFramework, CustomersServices, CustomersTDGU;
type
TBaseController = class abstract(TMVCController)
strict private
FDM: TCustomersTDG;
FCustomersService: TCustomersService;
function GetDataModule: TCustomersTDG;
strict protected
function GetCustomersServ... |
unit popeye_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,controls_engine,gfx_engine,ay_8910,rom_engine,
misc_functions,pal_engine,sound_engine,qsnapshot;
function iniciar_popeye:boolean;
implementation
const
popeye_rom:array[0..3] of tipo_roms=(
(n:'tpp2-c_f.7a';l:$2... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit PipeOptions;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls,Misc,Math;
type
TFormPipeOptions = class(TForm)
gbDDS: TGroupBox;
BtnOk: TButton;
BtnCancel: TButton;
BtnApply: TButton;
StaticText2: TStaticText;
edWaveSpeed: TEdit;
... |
unit FireBirdDBManager;
interface
uses
Classes, iniFiles, DB, Variants, HashMap, DCL_intf, ADODB, StrUtils,
SysUtils, DBManager, DBTables, QueryReader, Data.SqlExpr, uib, Uni,
InterBaseUniProvider;
type
//-----------------------------------------------------------------+
// 클래스명: TFireBirdDBManager
// 주요역할:... |
unit upd7759;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
sound_engine;
const
CLOCK_UPD=640000;
FRAC_BITS=20;
FRAC_ONE=(1 shl FRAC_BITS);
FRAC_MASK=(FRAC_ONE-1);
// chip states
STATE_IDLE=0;
STATE_DROP_DRQ=1;
STATE_START=2;
STATE_FIRST_REQ=3;
STATE_LAST_SAMPLE=4;
STATE_DUMMY1=5;
STATE_ADDR_... |
unit Settings;
interface
uses
SettingsInterface, System.Classes, System.SysUtils;
type
TMessageThreadSettings = class(TComponent, IMessageThreadSettings)
strict private
function GetIntervals: TArray<Cardinal>;
private
FIntervals: TArray<Cardinal>;
public
property Intervals: TArray<Cardinal> rea... |
unit DataModule;
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.MySQL,
FireDAC.Phys.MySQLDef, FireDAC.VCLUI.Wait, Data.FMTBcd, Da... |
unit DirectoryViewFrame;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, VirtualTrees,
System.UITypes;
type
TGetImageIndexEvent = procedure(Source: string; SourceFileAttribute: Integer;
var ImageIndex:... |
{ CoreGraphics - CGShading.h
* Copyright (c) 2001-2002 Apple Computer, Inc.
* All rights reserved.
}
{ Pascal Translation: 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>
}
{$mode macpas}
{$packenu... |
unit flower_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,controls_engine,gfx_engine,rom_engine,
pal_engine,sound_engine,timer_engine,flower_audio;
function iniciar_flower:boolean;
implementation
const
flower_rom:tipo_roms=(n:'1.5j';l:$8000;p:0;crc:$a4c3af78);
flower_... |
unit Utiles;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Dialogs, Forms, IniFiles, DateUtils;
// devuelve fechas de consulta de sistema
// corresponde a ultima consulta hecha por usuario
function GetFechaIni: TDatetime;
function GetFechaFin: TDatetime;
{: Returns a string with all occurrences... |
{$include lem_directives.inc}
unit LemPiece;
interface
uses
Classes, SysUtils,
UTools;
type
// abstract ancestor for object, terrain and steel
TPieceClass = class of TPiece;
TPiece = class(TCollectionItem)
private
protected
fLeft : Integer;
fTop : Integer;
public
proced... |
{*******************************************************************************
作者: dmzn@163.com 2011-10-28
描述: 运行状态控制
*******************************************************************************}
unit UFrameRunStatus;
{$I link.inc}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Gr... |
program ArrayHelpers;
{$Mode delphi}
uses
SysUtils,
Quick.Commons,
Quick.Console,
Quick.Arrays.Helper;
var
myarray : TStringArray;
begin
try
myarray.Add('one');
myarray.Add('two');
myarray.Add('three');
coutFmt('count: %d',[myarray.Count],etInfo);
if myarray.Contains('two') then cou... |
unit tmsUXlsWorkbookGlobals;
{$INCLUDE ..\FLXCOMPILER.INC}
interface
uses Classes, SysUtils, tmsUXlsBaseRecords, tmsUXlsBaseRecordLists, tmsUXlsOtherRecords, tmsUXlsChart,
tmsUXlsSST, tmsXlsMessages, tmsUXlsSections, tmsUXlsReferences, tmsUSheetNameList, tmsUXlsEscher,
tmsUXlsFormula, tmsUEscherRecords, tmsU... |
unit cparserexp;
interface
uses
SysUtils, cparsertypes;
type
TIdentType = (itIdent, itIndex, itFuncCall, itField, itSubSel);
TExpDir = ( // Expression Direction describes what relative fields should be initialzed
// for the expression node.
edValue // "none" - this should be a lea... |
unit hcManager;
{------------------------------------------------------------------------------}
{ Библиотека : Тестовый слой; }
{ Автор : Морозов М.А. }
{ Начат : 26.03.2006 16.48; ... |
{$include lem_directives.inc}
unit GameOptionsScreen;
interface
uses
Windows, Classes, SysUtils, Controls,
UMisc,
Gr32, Gr32_Image, Gr32_Layers,
LemCore,
LemTypes,
LemStrings,
LemLevelSystem,
LemGame,
GameControl,
GameBaseScreen;
type
TGameOptionsScreen = class(TGameBaseScre... |
{******************************************************************************}
{ }
{ Library: Fundamentals 5.00 }
{ File name: flcSysUtils.pas ... |
unit Plotter;
interface
uses
Persistent, BackupInterfaces;
const
PlotterPointCount = 12;
PlotterMaxPoint = PlotterPointCount - 1;
type
PPlotterArray = ^TPlotterArray;
TPlotterArray = array[0..PlotterMaxPoint] of byte;
type
TPlotter =
class( TPersistent )
private
... |
unit atListener;
// Модуль: "w:\quality\test\garant6x\AdapterTest\CoreObjects\atListener.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatListener" MUID: (4807838102C9)
interface
uses
l3IntfUses
, atInterfaces
, Classes
, SyncObjs
;
type
TatListener = class(TInterfacedObject, IatListener)
private
f... |
// the main code formatter engine, combines the parser and formatter do do the work
// Original Author: Egbert van Nes (http://www.dow.wau.nl/aew/People/Egbert_van_Nes.html)
// Contributors: Thomas Mueller (http://www.dummzeuch.de)
unit GX_CodeFormatterEngine;
interface
uses
{$IFDEF debug}
// NO... |
unit ListFrame;
interface
uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ToolWin, ComCtrls, StdCtrls, ExtCtrls;
type
TFrameList = class(TFrame)
ListBox: TListBox;
Edit: TEdit;
btnAdd: TButton;
btnRemove: TButton;
btnClear: TButton;
Bevel: TBevel;
proced... |
////////////////////////////////////////////////////////////////////////////////
//
//
// FileName : SSVolumeController.pas
// Creator : Shen Min
// Date : 2002-09-28
// Comment : Component to change mixer volume
// http://www.sunisoft.com
//
//////////////////////////////... |
unit MarkAddressAsDetectedAsVisitedRequestUnit;
interface
uses
REST.Json.Types, SysUtils,
HttpQueryMemberAttributeUnit,
GenericParametersUnit;
type
TMarkAddressAsDetectedAsVisitedRequest = class(TGenericParameters)
private
[JSONMarshalled(False)]
[HttpQueryMember('route_id')]
FRouteId: String;
... |
unit MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, TeEngine, Series, ExtCtrls, TeeProcs, Chart, ComCtrls,
VclTee.TeeGDIPlus;
type
TRealPoint = record //структура, включающая x и y,
x,y:extended; //являющиеся типом чис... |
unit ddCaseCodeMaker;
{ Автоматическое создание Номеров дел для Постановлений Федеральных Арбитражных судов }
interface
Uses
l3Base, l3TempMemoryStream, l3Filer,
csServerTaskTypes, csProcessTask,
dt_Types, l3CustomString, ddProgressObj, CsExport,
csMessageManager,
ddCaseCodeTaskPrim,
ddProcessTaskPrim,
SewerPi... |
unit GX_MenusForEditorExpert;
interface
uses
Menus, ActnList, GX_Experts;
type
TGxMenusForEditorExperts = class(TGX_Expert)
private
procedure PopulatePopupMenu(const PopupMenu: TPopupMenu);
protected
procedure UpdateAction(Action: TCustomAction); override;
function SupportsSubmenu: B... |
{**************************************************************************}
{ TParamTreeview component }
{ for Delphi & C++Builder }
{ }
{ Copyright ... |
unit MMO.Client;
interface
uses
IdTcpClient, MMO.Packet, Classes, SysUtils, MMO.ClientReadThread,
MMO.PacketReader, MMO.Types, IdComponent;
type
TClient = class abstract
private
var m_client: TIdTcpClient;
var m_clientReadThread: TClientReadThread;
procedure OnClientConnected(sender: TOb... |
unit evDecorStyleEliminator;
{$Include ..\Everest\evDefine.inc}
interface
uses
evdLeafParaFilter,
k2Base,
l3Variant,
k2Interfaces
;
type
TevDecorStyleEliminator = class(TevdLeafParaFilter)
public
DocID : Integer;
NeedCorrect : Boolean;
protected
procedure LogDocID(aStyle : Integer);
procedur... |
{
This is a personal project that I give to community under this licence:
Copyright 2016 Eric Buso (Alias Caine_dvp)
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... |
{
$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 uDmPai;
interface
uses
System.SysUtils, System.Classes, Datasnap.DBClient, Data.DB;
type
TCampo = record
Nome: string;
Descricao: string;
Tipo: TFieldType;
Tamanho: Integer;
procedure Limpa;
end;
TCamposArray = array of TCampo;
TdmPai = class(TDataModule)
pri... |
unit VisualClassesData;
interface
function GetVisualRootPath : string;
procedure SetVisualRootPath(const aPath : string);
implementation
uses
Windows, Registry;
var
VisualRoot : string = '';
const
tidVisualRoot = '\Software\Oceanus\Five\VisualClasses';
function ReadVisualClassRoot : st... |
unit uFunctions;
interface
uses
System.SysUtils, System.Classes, IPPeerClient, REST.Client,
Data.Bind.Components, Data.Bind.ObjectScope, REST.Types, System.JSON,
System.Generics.Collections, FMX.Maps, System.UITypes, uMapa, uDM;
type
TDestino = class
private
FDestino: string;
publi... |
unit Model.Bancos;
interface
uses Common.ENum, FireDAC.Comp.Client, DAO.Conexao, System.SysUtils, Control.Sistema,
System.Variants;
type
TBancos = class
private
FCodigo: String;
FNome: String;
FConexao: TConexao;
FAcao: TAcao;
FQuery: TFDQuery;
function Inserir(): Boolean;
function Al... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm1 = class(TForm)
Memo1: TMemo;
Button1: TButton;
edt_m: TEdit;
edt_n: TEdit;
M: TLabel;
N: TLabel;
... |
unit iOSXIBResource;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
LCLMemManager, forms,
dom, XMLRead,XMLWrite,
ProjectIntf, UnitResources;
type
{ TXIBResourcefileFormat }
TXIBResourcefileFormat = class(TUnitResourcefileFormat)
public
class function FindResourceDirective(Source: TObject)... |
unit WinSockRDOConnectionsServer;
interface
uses
Windows,
Classes,
SyncObjs,
SmartThreads,
SocketComp,
RDOInterfaces;
type
TWinSockRDOConnectionsServer =
class( TInterfacedObject, IRDOServerConnection, IRDOConnectionsServer )
private
fQueryServer : IRDOQuer... |
unit uTipoDesp_Rec;
interface
uses System.Classes,
Vcl.Controls,
Vcl.ExtCtrls,
Vcl.Dialogs,
ZAbstractConnection,
ZConnection,
ZAbstractRODataset,
ZAbstractDataset,
ZDataset,
System.SysUtils;
type
TTipoDecRec = class
private
ConexaoDB:TZConnection;
FCodigo: In... |
{$IfNDef nsNodeNotifierImplementation_imp}
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Data\Tree\nsNodeNotifierImplementation.imp.pas"
// Стереотип: "Impurity"
// Элемент модели: "nsNodeNotifierImplementation" MUID: (48FDA9D500E4)
// Имя типа: "_nsNodeNotifierImplementation_"
{$Define nsNodeNotifierImple... |
unit nevDocumentProvider;
// Модуль: "w:\common\components\gui\Garant\Everest\nevDocumentProvider.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnevDocumentProvider" MUID: (4CB57E560195)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
uses
l3IntfUses
, l3ProtoObject
, nevTools
,... |
unit K200087275;
{* [Requestlink:200087275] }
// Модуль: "w:\archi\source\projects\Archi\Tests\K200087275.pas"
// Стереотип: "TestCase"
// Элемент модели: "K200087275" MUID: (4F30CBE30015)
// Имя типа: "TK200087275"
{$Include w:\archi\source\projects\Archi\arDefine.inc}
interface
{$If Defined(nsTest) AND Defined(I... |
{ Subroutine SST_W_C_EXP_EXPLICIT (EXP, DTYPE, SYM_P)
*
* Create a variable that will have the value of the expression EXP.
* The variable will be declared and set to the expression value.
* DTYPE is the descriptor for the data type the variable is to have.
* SYM_P is returned pointing to the variable's symbo... |
unit uPageParse;
interface
uses Winapi.Windows, System.SysUtils, System.Classes, SuperObject;
type
TPageItem = class
private
FID: Integer;
FDesc: string;
public
property ID: Integer read FID write FID;
property Desc: string read FDesc write FDesc;
end;
TAppConfig = class
private
FLast... |
{***************************************************************************}
{ }
{ }
{ Copyright (C) Amarildo Lacerda }
{ ... |
unit uProjectData;
interface
uses
uUpdateListObserverInterface, Classes, uLoadDataInterface, xmldom, XMLIntf,
msxmldom, XMLDoc, IdGlobal, IdBaseComponent, IdComponent, IdTCPConnection,
IdTCPClient, IdHTTP, SysUtils;
type
TProjectData = class(TComponent, ISubject, ILoadXMLData)
private
FDoc: IXMLDocume... |
unit UHeartRateForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Ani,
FMX.StdCtrls, System.Bluetooth, FMX.Layouts,
FMX.Memo, FMX.Controls.Presentation, FMX.Edit, FMX.Objects, IPPeerClient,
... |
program UnionFindQuickFind(input, output);
const N = 9;
type vector = array [0 .. N] of integer;
var
id : vector;
a, b : integer;
procedure init();
var i : integer;
begin
for i := 0 to N do
id[i] := i
end;
function connected(p, q : integer) : boolean;
begin
connected := id[p] = id[q];
end;
pr... |
unit NewWordDefinitorPack;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\NewWordDefinitorPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "NewWordDefinitorPack" MUID: (55895EA203B9)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts)}
... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit db.lua.api;
interface
uses
System.Classes, Winapi.Windows, System.SysUtils, System.IOUtils;
const
LUA_IDSIZE = 60;
LUAI_FIRSTPSEUDOIDX = -1001000;
LUA_VERSION_MAJOR = '5';
LUA_VERSION_MINOR = '3';
LUA_VERSION_NUM = 503;
LUA_VERSION_RELEASE = '0';
LUA_VERSION_ = 'Lua ' + L... |
{
$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... |
//Exercicio 86: Faça um algoritmo que leia uma matriz A NxM de valores inteiros, determine
//a sua matriz transposta e exiba.
{ Solução em Portugol
Algoritmo Exercicio 86;
Var
matriz: vetor[1..1000,1..1000] de inteiro;
N,M,i,j: inteiro;
Inicio
exiba("Programa que exibe a transposta de uma matriz de númer... |
unit infosistemas.view.messages;
interface
uses
WinAPI.Windows;
type
//Mensagens exibidas na aplicação.
TMessagesConst = class
const
ClientNotFound = 'Não foi encontrado um cliente com este CPF!';
InvalidHostMail = 'A caixa de destino da mensagem não pode ser vazia!';
InvalidMailData = 'Os da... |
unit MdCollect;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
ECanError = class (Exception);
TMyItem = class (TCollectionItem)
private
FCode: Integer;
FText: string;
procedure SetCode(const Value: Integer);
procedure SetText(const Value: string... |
unit IdTransactedFileStream;
interface
{$I IdCompilerDefines.inc}
{
Original author: Grahame Grieve
His notes are:
If you want transactional file handling, with commit and rollback,
then this is the unit for you. It provides transactional safety on
Vista, win7, and windows server 2008, and just falls thro... |
unit dr_script;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils
, winpeimagereader {need this for reading exe info}
, elfreader {needed for reading ELF executables}
, machoreader {needed for reading MACH-O executables}
, uPSCompiler, uPSRuntime, uPSComponent, uPSDisassembly, uPSR_std, uPSC_std,
uP... |
{*************************************************************************}
{ TImagePicker component }
{ for Delphi & C++Builder }
{ }
{ Copyright © 20... |
{ Subroutine SST_R_SYN_EXPRESSION (JTARG)
*
* Process EXPRESSION syntax.
}
module sst_r_syn_expression;
define sst_r_syn_expression;
%include 'sst_r_syn.ins.pas';
procedure sst_r_syn_expression ( {process EXPRESSION syntax}
in out jtarg: jump_targets_t); {execution block jump targets info}
val_para... |
{ rxceEditLookupFields unit
Copyright (C) 2005-2010 Lagunov Aleksey alexs@hotbox.ru and Lazarus team
original conception from rx library for Delphi (c)
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 S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.