text stringlengths 14 6.51M |
|---|
unit Standard;
interface
uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, DBLookup, StdCtrls, DB, DBTables, Buttons, Spin, Grids,
DBGrids,Printers;
{function AccessValid(Name:string;Level:integer):Boolean;}
function Encrypt(S,C:String):String;
function Encript(S:String):S... |
// SuperIB
// Copyright © 1999 David S. Becker
// dhbecker@jps.net
// www.jps.net/dhbecker/superib
unit SIBFIBEA;
interface
uses Classes, SIBEABase, SIBAPI, FIBDatabase;
type
{ TSIBfibEventAlerter }
TSIBfibEventAlerter = class(TSIBEventAlerter)
private
FDatabase: TFIBDatabase;
FAutoRegister: Boolea... |
unit LandlordSearch;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseSearch, Data.DB, Vcl.StdCtrls,
Vcl.Grids, Vcl.DBGrids, RzDBGrid, Vcl.Mask, RzEdit, RzLabel,
Vcl.Imaging.pngimage, Vcl.ExtCtrls, RzPanel... |
unit uPlugin;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, uDefine, gnugettext, neUtil, Math, ShellAPI,
StrUtils;
type
TfrmPlugin = class(TForm)
lvPlugins: TListView;
Label2: TLabel;
Label3: TLabel;
Label4... |
// Nama: Morgen Sudyanto
// NIM: 16518380
unit upecahan;
interface
type pecahan = record
n : integer;
d : integer;
end;
function IsPecahanValid (n, d : integer) : boolean;
{ Menghasilkan true jika n dan d dapat membentuk pecahan yang valid dengan n... |
// ===============================================================================
// | THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF |
// | ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO |
// | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A ... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Classe de controle do Sintegra.
The MIT License
Copyright: Copyright (C) 2010 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associate... |
unit PascalCoin.RPC.API;
interface
uses System.JSON, PascalCoin.RPC.Interfaces, PascalCoin.Utils.Interfaces;
type
TPascalCoinAPI = class(TInterfacedObject, IPascalCoinAPI)
private
FClient: IPascalCoinRPCClient;
FLastError: string;
FTools: IPascalCoinTools;
FNodeStatus: IPascalCoinNodeStatus;
... |
unit Dialogs4D.Input;
interface
uses Dialogs4D.Input.Intf;
type
TDialogInput = class(TInterfacedObject, IDialogInput)
private
/// <summary>
/// Displays a dialog box for the user with an input box.
/// </summary>
/// <param name="Description">
/// Input box description.
/// </param>
... |
unit DyLook;
interface
uses
Windows,Messages,SysUtils,Classes,Controls,StdCtrls,ExtCtrls,Buttons,
DB,DBCtrls,IBCustomDataSet,Variants;
var
DefLookupPause: integer = 500;
UseFullSearch: boolean = true;
type
TDyLookupStyle = set of (lsFiltered,lsAllowScroll,lsAllowScrollOut,lsSQLFilter);
TDyOnFilter = p... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC design time setup dialog }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit BrickCamp.Model.IQuestion;
interface
uses
Spring;
type
IQuestion = interface(IInterface)
['{5ECFEDBD-3635-4CFE-ABBA-F6AF16ECD1A7}']
function GetId: Integer;
function GetProductId: Integer;
function GetUserId: Integer;
function GetText: string;
function GetIsOpen: SmallInt;
procedur... |
unit cCampaigns;
interface
uses System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, System.SysUtils,
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.VCLUI.Wait, Data.DB... |
unit ReadingQuestionFrame;
interface
uses
LTConsts,
LTClasses,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TfmReadingQuestion = class(TFrame)
lbExample1: TLabel;
lbExample2: TLabel;
lbExample3: TLabel;
lbExample4: TLabel;
lbSelect: ... |
unit oglVector;
{$modeswitch typehelpers}
interface
uses
Classes, SysUtils, Dialogs, Clipbrd, dglOpenGL;
type
TglFloatArray = array of glFloat;
TVector2f = array[0..1] of GLfloat;
TVector3f = array[0..2] of GLfloat;
TVector4f = array[0..3] of GLfloat;
TFace3D = array[0..2] of TVector3f;
TFace3DArray... |
unit FrmRange;
{$mode objfpc}{$H+}
interface
uses
Controls, Forms, StdCtrls, OriEditors;
type
TRangeFrm = class(TFrame)
fedMax: TOriFloatEdit;
fedMin: TOriFloatEdit;
labMin: TLabel;
labMax: TLabel;
private
procedure SetMin(const Value: Double);
procedure SetMax(const V... |
unit WIMHandler;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, DateUtils, WIMGAPI, Windows, DOM, XMLRead, XMLWrite,
xmlutils, Dialogs;
const
WIMAGERFIELDS = 'WIMAGERFIELDS';
type
WIMContainer = class;
WIMImage = class;
WIMImageList = class;
WIMImageField = class;
{ WIMCo... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, FileCtrl, ExtCtrls, ID3v1;
type
TMainForm = class(TForm)
DriveList: TDriveComboBox;
FolderList: TDirectoryListBox;
FileList: TFileListBox;
CloseButton: TButton;
Remove... |
unit Editor;
interface
{Процедура инциализации редактора }
procedure InitEditor();
{Процедура отлова нажатия клавиш в редакторе }
procedure HandleInputInEditor();
{Процедура обновления логики редактора }
procedure UpdateEditor(dt : integer);
{Процедура отрисовки редактора }
procedure RenderEditor();
implementation
... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by Sérgio Flores (relfos@gmail.com)
*
***************************************************... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
{ Vladimir Klimov 1.0
classes for Postgres data access
wintarif@narod.ru
}
unit PostgresClasses;
interface
uses Windows, libpq_fe, postgres_ext, SyncObjs;
const
DEFAULT_PORT = '5432';
DEFAULT_HOST = 'localhost';
type
TNotifyEvent = procedure(Sender: TObject) of object;
IPostgresQuery = interface;
... |
{
*******************************************************************************************************************
SpiderUtils: Contains Request and Response classes for Free Spider web application for lazarus
Author: Motaz Abdel Azeem
email: motaz@code.sd
Home page: http://code.sd
Licens... |
unit ClienteC;
interface
uses
System.SysUtils, ZConnection, ZDataset;
type
TCliente = class
private
FConn: TZConnection;
FID: Integer;
FLogradouro: String;
FIbgeUf: String;
FCep: String;
FNumero: String;
FComplemento: String;
FNome: String;
FCidade: String;
FSiglaUf: Str... |
unit uLicExeCryptor;
{
ResourceString: Dario 13/03/13
}
interface
uses
SyncObjs,
Classes,
Windows,
EXECryptor,
Sysutils;
type
TTipoChave = (tcTemporaria, tcDefinitiva, tcTeste, tcLocacao, tcInvalida, tcFreePremium, tcFreePro, tcNenhum);
TStatusConta = (scSemConta, scAtivar, scFree, scPremium, scP... |
unit ConverteNumEmExtenso;
interface
Uses SysUtils, Classes, FolhaFuncs;
Function NumeroEmExtenso(crValor: Currency): String;
Function Converte(sDesc1,sDesc2,sNum: String): String;
implementation
Var
aUnidades: Array[1..10] of String;
aDezenas1: Array[1..9] of String;
aDezenas2: Array[2..9]... |
unit uEmprestimoModel;
interface
uses
uEnumerado, FireDAC.Comp.Client;
type
TEmprestimoModel = class
private
FAcao: TAcao;
FIdLivro: string;
FIdUsuario: string;
FInicio: string;
FVencimento: string;
FCodigo: integer;
FRenovacoes: integer;
function Buscar: TFDQuery;
proced... |
unit FIToolkit.Consts;
interface
uses
System.SysUtils,
FIToolkit.Types,
FIToolkit.Commons.Consts, FIToolkit.CommandLine.Consts,
FIToolkit.Localization;
const
{ About }
STR_APP_ABOUT_STRIP = '----------------------------------------------------------------------';
STR_APP_COPYRIGHT_HOLDER = 'Xcentric... |
unit uLockBroker;
interface
// put in seperate unit so it can be shared with PKI package
procedure LockBroker; // OK to nest calls as long as always paired with UnlockBroker calls
procedure UnlockBroker;
implementation
uses
System.SyncObjs;
var
uLock: TCriticalSection = nil;
procedure LockBroker; // OK to ... |
unit UMain_Form;
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, System.Actions, FMX.ActnList,
FMX.StdActns, FMX.MediaLibrary.Actions, FMX.MultiView, FMX.ListB... |
unit guid_1;
interface
implementation
var
G1, G2: TGUID;
procedure CreateGUID(out GUID: TGUID); external 'system';
procedure Test;
begin
CreateGUID(G1);
G2 := G1;
end;
initialization
Test();
finalization
Assert(G1 = G2);
end. |
unit uWBGoogleMaps;
interface
uses
SysUtils, Forms, Graphics, Windows, Classes, ShDocVw,
uWebBrowser;
type
TWBGoogleMaps = class(TWBWrapper)
private
fLoadedGoogleMaps: Boolean;
public
constructor Create(const HostedBrowser: TWebBrowser);
procedure LoadDefaultGoogleMapsDocument;
property... |
unit intensive.view.Editar;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Data.DB,
Vcl.Grids, Vcl.DBGrids, intensive.Controller.Interfaces,
intensive.Controller;
type
TfrmEdit... |
unit ComponentsGroupUnit2;
interface
uses
BaseComponentsGroupUnit2, System.Classes, NotifyEvents,
ComponentsQuery, FamilyQuery, ComponentsCountQuery, EmptyFamilyCountQuery,
ComponentsExcelDataModule, System.Generics.Collections,
ExcelDataModule, Data.DB, CustomErrorTable, DSWrap;
type
TAutomaticLoadErrorTa... |
unit FC.Trade.Trader.MACross1;
{$I Compiler.inc}
interface
uses
Classes, Math,Graphics, Contnrs, Forms, Controls, SysUtils, BaseUtils, ActnList, Properties.Obj, Properties.Definitions,
StockChart.Definitions, StockChart.Definitions.Units, Properties.Controls, StockChart.Indicators,
Serialization, FC.Definition... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1995-2001 Borland Software Corporation }
{ ... |
unit testweakintf;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fpcunit, testutils, testregistry, weakable;
type
TTestWeakIntf= class(TTestCase)
protected
procedure SetUp; override;
procedure TearDown; override;
published
procedure Test1;
end;
implementation
var
_GentlemanCount, ... |
PROGRAM Maximum;
var x, y, z, out: integer;
FUNCTION Max2(x, y: integer): integer;
BEGIN (* Max2 *)
IF (x < y) THEN BEGIN
Max2 := y;
END ELSE BEGIN
Max2 := x;
END; (* IF *)
END; (* Max2 *)
FUNCTION Max3(x, y, z: integer): integer;
BEGIN (* Max3 *)
Max3 := Max2(Max2(x, y), z);
END; (* Max3 *)
BEGIN (... |
unit Dictionary;
interface
uses
Windows, Classes, Forms, SysUtils, ForestConsts, ForestTypes, Dialogs;
type
TDictionary = class(TObject)
private
FDictionaryFile: AnsiString;
FCaption: AnsiString;
FCatalogArray: TCatalogArr;
FDictArray: TDictArr;
FForceSkip: Boolean;
FDictionaryFormatStr... |
program info(output);
procedure WriteHeader;
begin
writeln('Content-type: text/html');
writeln;
writeln('<html>');
writeln('<head>');
writeln('<title>Irie Pascal sample CGI application</title>');
writeln('<h1>CGI environment variables.</h1>');
writeln('</head>')
end;
procedure WriteBody;
procedure DisplayEnvVar(name... |
En una casa viven una abuela y sus N nietos.
Además la abuela compró caramelos que quiere convidar entre sus nietos.
Inicialmente la abuela deposita en una fuente X caramelos, luego cada nieto intenta comer caramelos de la siguiente manera:
si la fuente tiene caramelos el nieto agarra uno de ellos, en el caso de que ... |
unit uPerfilUsuarioEdt;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls,
Vcl.DBCtrls;
type
TOperacao = (OpIncluir, OpAlterar, OpExcluir);
TfrmPerfi... |
unit AProcessaProdutividade;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
StdCtrls, ComCtrls, Componentes1, Buttons, ExtCtrls, PainelGradiente, Db, UnOrdemProducao,
DBTables, DBClient, Tabela;
type
TFProcessaProdutividade = class(TFormularioP... |
// **************************************************************************************************
// Delphi Aio Library.
// Unit GreenletsImpl
// https://github.com/Purik/AIO
// The contents of this file are subject to the Apache License 2.0 (the "License");
// you may not use this file except in compliance with t... |
{$mode objfpc}
{$m+}
program Queue;
const MAX_SIZE = 5;
type
ArrayQueue = class
private
arr : array[0..MAX_SIZE] of integer;
first : 0..MAX_SIZE;
last : 0..MAX_SIZE;
count : 0..MAX_SIZE;
public
constructor create();
procedure pushLeft(i : integer);
procedure pushRight(i : integer);
... |
unit FinInfoDetail;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BasePopupDetail, Vcl.StdCtrls, Vcl.Mask,
RzEdit, RzDBEdit, Vcl.DBCtrls, RzDBCmbo, RzButton,
RzTabs, RzLabel, Vcl.Imaging.pngimage, Vcl.ExtCt... |
{-------------------------------------------------------------------------------
PROGRAM-NAME : 사우회 신규회원 추출/갱신
SYSTEM-NAME : 종합인사정보시스템
SUBSYSTEM-NAME : 복리후생(사우회)
PROGRAMMER : 차정훈
VERSION : 1.00
DATE : 1997.10.31
UPDATE CONTENTS
1.00 97.10.31 차정훈 신규프로그램개발 ... |
{******************************************}
{ }
{ vtk GridReport library }
{ }
{ Copyright (c) 2003 by vtkTools }
{ }
{******************************************}
{Con... |
unit Main;
interface
uses
SysUtils, Classes, Controls, Forms, Dialogs, Graphics, StdCtrls,
ScktComp, ExtCtrls,
ClientsList, Client, RoomsList, Room, Error, CommonUtils;
type
TSimpleChatServer = class(TForm)
ServerSocket: TServerSocket;
Panel1: TPanel;
RoomsListBox: TListBox;
Cli... |
unit SpectrumControls;
{$mode objfpc}{$H+}
interface
uses
Classes, Controls, ComCtrls, ExtCtrls, Buttons, FGL, Graphics, ImgList;
type
TNotebookTab = class;
TNotebookTabList = specialize TFPGList<TNotebookTab>;
TNotebookTabPosition = (ntpTop, ntpBottom);
TNotebookTabs = class(TCustomPanel)
private
... |
unit UNewOrgName;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
cxGraphics,
cxControls,
cxLookAndFeels,
cxLookAndFeelPainters,
cxContainer,
cxEdit,
dxSkinsCore,
cxGroupBox,
UF... |
{*******************************************************}
{ }
{ FMX UI 组件注册单元 }
{ }
{ 版权所有 (C) 2016 YangYxd }
{ ... |
unit UsersFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, TB2Item, TBX, TB2Dock, TB2Toolbar, ExtCtrls, RzPanel, StdCtrls,
RzLabel, DB, DBAccess, MSAccess, MemDS, Grids, DBGridEh, UpUsersForm,
RzLstBox, RzChkLst, GridsEh, DBGridEhGrouping;
type
TFme... |
{*******************************************************}
{ VCL helpers/hacks for C++Builder }
{ }
{ $Revision: 1.0.1.0 $ }
{ $Date: 21 Sep 1999 12:54:52 $ }
{**************************... |
unit ncTran;
{
ResourceString: Dario 13/03/13
}
interface
uses
SysUtils,
DB,
MD5,
Classes,
Windows,
ClasseCS,
ncClassesBase;
type
TncTransacao = class
public
trID : Integer;
trDataHora : TDateTime;
trTipo : Byte;
trCancelado : Boolean;
trCancel... |
unit ACadPaises;
{ Autor: Douglas Thomas Jacobsen
Data Criação: 19/10/1999;
Função: Cadastrar um novo Caixa
Data Alteração:
Alterado por:
Motivo alteração:
}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Componente... |
unit Perimeter;
interface
{$DEFINE HARDCORE_MODE}
type
TExternalChecking = record
ProcPtr: function: LongWord; stdcall;
DebuggerResult: LongWord;
end;
type
TPerimeterInputData = record
ResistanceType: LongWord;
CheckingsType: LongWord;
ExtProcOnChecking: TExternalChecking;... |
unit Persistence.CodeGenerator.IBX;
interface
uses
System.Classes,
IBX.IBDatabase,
IBX.IBCustomDataSet,
Persistence.CodeGenerator.Abstract,
Spring.Persistence.Mapping.CodeGenerator.Abstract;
{$M+}
type
TCodeGeneratorIBX = class(TCodeGenerator<TIBDataBase>)
private const
StatementForAllPrimaryKey =... |
//
// Created by the DataSnap proxy generator.
// 2017-06-09 ¿ÀÀü 10:27:09
//
unit UClientClass;
interface
uses System.JSON, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBXDBReaders, Data.DBXCDSReaders, Data.DBXJSONRef... |
unit cStack;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TCompareMode = (Text, Binary);
type
TMyStack = class
private
//Hold stack size and stack position.
Stack_size, StackPtr: integer;
//This hold items for our stack
//Stack items
T_Items: array of variant;
//Compa... |
unit uFrmDataDict;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uFrmRoot, ImgList, ActnList, dxSkinsCore, dxSkinsdxBarPainter,
dxSkinsDefaultPainters, cxClasses, dxBar, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxCustomData, cx... |
unit uFLDThread;
interface
uses
Classes, Windows, SysUtils, SyncObjs;
type
TFLDThread = class(TThread)
private
{ Private declarations }
mEvent: TEvent;
protected
procedure Execute; override;
public
constructor Create;
procedure Terminate;
end;
imple... |
unit eSocial.Controllers.Factory;
interface
uses
eSocial.Controllers.Interfaces,
eSocial.Controllers.Competencia,
eSocial.Controllers.Operacao,
eSocial.Controllers.Configuracao;
type
TControllerFactory = class
private
public
class function Competencia : IControllerCompetencia;
... |
{ GS1 interface library for FPC and Lazarus
Copyright (C) 2020-2021 Lagunov Aleksey alexs75@yandex.ru
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 the License,... |
{
this file is part of Ares
Aresgalaxy ( http://aresgalaxy.sourceforge.net )
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 2 of the License, or (at your option) any ... |
unit UDownloader;
interface
uses
WinApi.Windows, WinApi.Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, XPMan, IdAntiFreezeBase, IdAntiFreeze,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP,
WinApi.URLmon;
type
IDownloadCallBack = interfac... |
unit Winapi_BCrypt;
interface
uses
Windows;
{$IF not DECLARED(PVOID)}
type
PVOID = Pointer;
{$EXTERNALSYM PVOID}
{$IFEND}
{$IF not DECLARED(PWSTR)}
type
PWSTR = PWideChar;
{$EXTERNALSYM PWSTR}
{$IFEND}
{$REGION 'bcrypt.h'}
{$WARN SYMBOL_PLATFORM OFF}
{$IF not DECLARED(NTSTATUS)}
type
NTSTATUS = Integ... |
unit server_thread;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fphttpserver;
type
THTTPServerThread = Class(TThread)
Private
FServer : TFPHTTPServer;
Public
constructor Create(APort : Word; const OnRequest : THTTPServerRequestHandler; const ParallelRequest : boolean);
procedure Execu... |
unit Test_FIToolkit.Reports.Parser.Types;
{
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,
FITo... |
unit UExWebType;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs;
type
TExWebResult = (ewrOk,ewrUnknownError,ewrNoResponse,ewrNoValidJSON,ewrErrorCreateHash,ewrRes0,ewrNeedConfirm,ewrHashSumNotCompare,ewrErrorPrepare);
TExWebState = record
public
//1 иден... |
unit ZLib;
{we: ZLIB (functions), ZLIBH(types/consts), GZIO(gz functions)
should be the only units USED by applications of zlib}
(************************************************************************
zlib -- interface of the 'zlib' general purpose compression library
version 1.1.3, July 9th, 1998
... |
{ This maker note reader can handle CANON cameras. }
unit fpeMakerNoteCanon;
{$IFDEF FPC}
// {$mode objfpc}{$H+}
{$MODE DELPHI}
{$ENDIF}
interface
uses
Classes, SysUtils,
fpeGlobal, fpeTags, fpeExifReadWrite;
type
TCanonMakerNoteReader = class(TMakerNoteReader)
protected
function AddTag(AStream: TSt... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit nxLookupEdit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, LCLType, Forms, Controls, Graphics, Dialogs, StdCtrls, DB, rxdbgrid;
type
{ TnxLookupEdit }
TnxLookupEdit = class(TCustomEdit)
private
FDataset: TDataset;
FDisplayField: string;
FEmptyReturnCount: integer;
... |
unit Security4D.Aspect;
interface
uses
System.SysUtils,
System.Rtti,
Aspect4D,
Security4D;
type
RequiredPermissionAttribute = class(AspectAttribute)
private
fResource: string;
fOperation: string;
protected
{ protected declarations }
public
constructor Create(const resource, operation... |
Program 4Act7;
Type
// Lista de enteros
lista = ^nodoL;
nodoL = record
dato: integer;
sig: lista;
end;
// Arbol de enteros
arbol= ^nodoA;
nodoA = Record
dato: integer;
HI: arbol;
HD: arbol;
End;
// Lista de Arboles
listaNivel = ^nodoN;
nodoN = record
info: arbol;
sig... |
{
LaKraven Studios Standard Library [LKSL]
Copyright (c) 2014, LaKraven Studios Ltd, All Rights Reserved
Original Source Location: https://github.com/LaKraven/LKSL
License:
- You may use this library as you see fit, including use within commercial applications.
- You may modify this library to suit yo... |
unit Test.SecurityDialogsView;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.ExtCtrls, Security.User, Security.Matrix, Security.Permission, Security.ChangePassword, Security.Login, Security.Ma... |
{$mode objfpc}{$H+}{$J-}
uses
SysUtils;
type
TGun = class
end;
TPlayer = class
Gun1, Gun2: TGun;
constructor Create;
destructor Destroy; override;
end;
constructor TPlayer.Create;
begin
inherited;
Gun1 := TGun.Create;
raise Exception.Create('Предизвикано изключение от конструктор!');
Gu... |
unit caMessages;
interface
uses
// Standard Delphi units
SysUtils,
Classes,
Messages;
type
//---------------------------------------------------------------------------
// IcaMessages
//---------------------------------------------------... |
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+}
{$M 16384,0,0}
{
by Behdad Esfahbod
Algorithmic Problems Book
April '2000
Problem 71 O(N2) Dynamic Memoize Method Nim Value Calc.
}
program
AnnihilationGame;
const
MaxN = 100;
var
N, E, M : Integer;
G : array [1 .. MaxN, 1 .. MaxN] of Boolean;
Nim : ... |
unit AutoCtl;
{ This program demonstrates Delphi's automation control abilities by
inserting a query into a document, using Microsoft Word as an automation
server }
interface
uses Windows, Classes, SysUtils, Graphics, Forms, Controls, DB, DBGrids,
DBTables, Grids, StdCtrls, ExtCtrls, ComCtrls, Dialogs;
type
... |
unit Form;
interface
uses
{$IFDEF VER150}
// Delphi 7 declaration
Windows, SysUtils, Controls, Forms, Dialogs,
StdCtrls, Classes;
{$ELSE}
Winapi.Windows, System.SysUtils, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, System.Classes, StdCtrls, Controls, Classes;
{$ENDIF}
type
TFormOTP = class(... |
unit BaseComponentsGroupUnit2;
interface
uses
QueryGroupUnit2, NotifyEvents, System.Classes, System.Generics.Collections,
ProducersQuery, BaseComponentsQuery, BaseFamilyQuery, DocFieldInfo,
ComponentsCountQuery, EmptyFamilyCountQuery;
type
TBaseComponentsGroup2 = class(TQueryGroup2)
private
FAfterApply... |
unit uIntXLibTypes;
{$I ..\Include\IntXLib.inc}
interface
uses
{$IFDEF FPC}
fgl,
{$ENDIF FPC}
SysUtils;
type
TFormatSettings = SysUtils.TFormatSettings;
EOverflowException = EOverflow;
EArgumentNilException = class(Exception);
EFhtMultiplicationException = class(Exception);
EFormatException = class(E... |
unit FC.StockChart.UnitTask.Calendar.BarListDialog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, FC.Dialogs.DockedDialogCloseAndAppWindow_B, JvDockControlForm, ImgList, JvComponentBase, JvCaptionButton, StdCtrls,
ExtendControls, ExtCtrls,StockChart.Definitio... |
namespace RemObjects.Elements.Linq;
interface
uses
Foundation;
[assembly: NamespaceAlias('Linq', ['RemObjects.Elements.Linq'])]
type
PredicateBlock = public block(aItem: not nullable id): Boolean;
IDBlock = public block(aItem: not nullable id): id;
ForSelector<T> = public delegate(aIndex: Integer): T;
I... |
unit Word;
interface
uses System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, System.Generics.Collections;
type
TTypeCase = (TNormal, TLeftCommun, TRightCommun, TTopCommun, TBottomCommun,
TBottomTopCommun, TRightLeftCommun, TCommun, TEnd);
TSens = (TVertical, THorizontal);
TC... |
unit DecisionBox;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BasePopup, RzButton, Vcl.StdCtrls, RzLabel, Vcl.Imaging.pngimage, Vcl.ExtCtrls, RzPanel;
type
TfrmDecisionBox = class(TfrmBasePopup)
Image1... |
unit char_symbols;
interface
implementation
var
c: char;
b: UInt8;
procedure Test;
begin
c := #65;
b := UInt8(c);
end;
initialization
Test();
finalization
Assert(b = 65);
end. |
Program Lists_26;
Uses myIntegerList; //подключение собственноручно созданного модуля
Type lPoint = ^lLists;
nonNegativeNumber = 0..Integer.MaxValue;//неотрицательное множесвто целых чисел
lLists = record
info: ^oList;
next: lPoint;
end;
Var lHead,lTail:lPoint; //глобальные указатели
Procedur... |
unit AConsolidarCR;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Componentes1, ExtCtrls, PainelGradiente, DBKeyViolation, StdCtrls,
Buttons, Localizacao, ComCtrls, Mask, numericos, UnDados, UnContasAReceber;
type
TFConsolidarCR = class(TFormu... |
unit nkMqtt;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, MQTT;
type
//运行状态
TnkMQTTStates = (nkmCONNECT,nkmWAIT_CONNECT,nkmRUNNING,nkmFAILING);
//Log事件
TnkMQTTOnLogEvent = procedure (AInfo:string) of object;
//发布前事件
TnkMQTTOnBeforePublishEvent... |
unit uContent;
{$mode objfpc}{$H+}
interface
uses
SynCommons, mORMot, uForwardDeclaration;//Classes, SysUtils;
type
// 1
TSQLContent = class(TSQLRecord)
private
fEncode: RawUTF8;
fContentTypeEncode: RawUTF8;
fContentType: TSQLContentTypeID;
fOwnerContent: TSQLContentID;
fDeco... |
unit MediaStream.Statistics;
interface
uses SysUtils,Classes,SyncObjs,MediaStream.DataSource.Base,Generics.Collections,Player.VideoOutput.Base,MediaProcessing.Definitions;
type
TBytesInfo = record
Value:cardinal;
DateTime: TDateTime;
end;
TFrameInfo = record
DateTime: TDateTime;
end;
TMediaS... |
unit Main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Types, Forms, Controls, Graphics, Dialogs,
ExtCtrls, StdCtrls, ComCtrls, Buttons, IntfGraphics, ColorBox,
mvGeoNames, mvMapViewer, mvTypes, mvGpsObj, mvDrawingEngine,
mvDE_RGBGraphics, mvDE_BGRA;
type
{ TMainForm }
TMainForm = class(TFor... |
unit p2jsres;
{$mode objfpc}
{$h+}
{$modeswitch externalclass}
{$define SkipAsync}
interface
uses types;
Type
TResourceSource = (rsJS,rsHTML);
TResourceInfo = record
name : string;
encoding : string;
resourceunit : string;
format : string;
data : string;
end;
TResou... |
unit uVTVDisableAutoScroll;
interface
procedure Register;
implementation
uses
System.TypInfo, VCL.Controls, VCL.Forms;
const
AllowResetFonts = True;
function Append(const Left, Delim, Right: string): string;
begin
if Left = '' then
Result := Right
else if Right = '' then
Result := Left
else
... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLCelShader<p>
A shader that applies cel shading through a vertex program
and shade definition texture.<p>
<b>History : </b><font size=-1><ul>
<li>23/08/10 - Yar - Upgraded program handles
<li>22/04/10 - Yar - Fixe... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.