text stringlengths 14 6.51M |
|---|
unit DPN.Core;
interface
uses
System.SyncObjs,
Spring,
Spring.Collections,
DPN.Core.Scheduler,
DPN.Interfaces;
type
DPNCore = class
const
CHANNEL_SINGLE_THREADED = 'DPN.SingleThreaded';
CHANNEL_MULTI_THREADED = 'DPN.MultiThreaded';
MAX_MULTITHREADING_POOL = 10;
private
... |
// this file contains code copied from linux.pp in the free pascal rtl
// i had to copy them because i use a different definition of fdset to them
// the copyright block from the file in question is shown below
{
$Id$
This file is part of the Free Pascal run time library.
Copyright (c) 1999-2000 by Micha... |
{ *******************************************************************************
DW.CORE.TDWHTTPServer is based in THttpAppSrv from
Project Overbyte ICS http://www.overbyte.be/frame_index.html
Delphi Web is
Developped by Delcio Sbeghen @ SRP Sistemas
delcio @ eavnet.com.br (remove spaces)
under MIT Licenc... |
Procedure WriteString(Value : StringTYPE);
{Write the string contents of Value without a newline.}
Var
i : integer;
Begin
For i := 1 To Value.Length Do
write(Value.Data[i])
End; {WriteString}
|
unit uMemoryMessages;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, dateutils;
type
TConnectionItem = object
id : integer;
position : string;
create_time : TDateTime;
update_time : TDateTime;
logout : boolean;
end;
type
TMessageItem = object... |
program Pas2JS_WebGL_OBJ;
uses
Types, Mat4, MemoryBuffer, GLUtils, GLTypes, SysUtils,
BrowserConsole, Web, WebGL, WebGL2, JS, Math;
var
gl: TJSWebGLRenderingContext;
shader: TShader;
projTransform: TMat4;
viewTransform: TMat4;
modelTransform: TMat4;
var
dragonModel: TModel = nil;
rotateAngle... |
unit ExportGridToExcelPDF;
interface
uses DBGrids,Windows, Messages,SysUtils,VCL.FlexCel.Core, FlexCel.XlsAdapter,
Forms,FlexCel.Render, FlexCel.Pdf,ToolWin,IOUtils, Ora,
Variants, Classes, Graphics,Controls, StdCtrls,CRGrid,ShellAPI,dialogs;
procedure ExportDBGrid(Caption : string;
Note : ... |
{$A+,B-,D+,E+,F-,G-,I+,L+,N-,O-,P-,Q-,R-,S+,T-,V+,X+,Y+}
{$M 65520,0,655360}
Program Mars (input , output);
Const Inputname = 'Mars.dat';{输入文件名}
Outputname = 'Mars.out';{输出文件名}
maxsize = 128;{地图尺寸}
maxleft = 30;{对于用网络流处理的最大规模即剩余的2号顶点数}
maxnode ... |
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html... |
(* Oz.Wasm: A fast Delphi WebAssembly interpreter
* Copyright (c) 2021 Tomsk, Marat Shaimardanov
* SPDX-License-Identifier: (GPL-3.0-or-later OR Apache-2.0)
*)
unit Oz.Tests;
interface
uses
System.SysUtils, System.Math, TestFramework, DUnitX.TestFramework,
Oz.Wasm.Instruction;
type
Tst = class(TObject)
c... |
{ **************************************************** }
{ LookFits - Lister plugin (WLX) for view FITS files }
{ }
{ Frame of the render of header block of fits-file }
{ }
{ Copyright(c) 2017, Evge... |
unit classeVendaItem;
interface
uses SysUtils, classeProduto;
type
TVendaItem = class
protected
FCodigo: Integer;
FItem: Integer;
FProdutoCodigo: Integer;
FProdutoNome: string;
FProdutoPreco: Extended;
FQuantidade: Extended;
FVendaCodigo: Integer;
FPreco: Extended;
FProduto: T... |
{$REGION 'documentation'}
{
Copyright (c) 2016, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
{
Command to scan a file system returning archive list
@created(10/02/2016)
@author Vencejo Software <www.vencejosoft.com>
}
{$ENDREGI... |
unit GeneratorU;
interface
uses
System.Classes, Data.DB, Generics.Collections, SysUtils, ioutils;
type
TGenerator = class
private
FOutput: TStringStream;
FTables: TStrings;
FDSCallback: TFunc<String, TDataSet>;
FCurrentDS: TDataSet;
procedure EmitGettersSetters;
function ... |
(* ********************************************************
* Borland Delphi *
* TCalcul object, unit uCalcul.pas *
* version 2.3 *
* Author: Jan Tungli (c) 2002 *
... |
{
sdkutil.pas
SDK utility methods
Copyright (C) 2006-2007 Felipe Monteiro de Carvalho
This file is part of MkSymbian build tool.
MkSymbian is free software;
you can redistribute it and/or modify it under the
terms of the GNU General Public License version 2
as published by the Free Software Foundation.
MkSymbian i... |
{ Unicode DUCET unit.
Copyright (c) 2013 by Inoussa OUEDRAOGO
The source code is distributed under the Library GNU
General Public License with the following modification:
- object files and libraries linked into an application may be
distributed without source code.
If you didn't... |
object smDataLoader: TsmDataLoader
OldCreateOrder = False
Height = 260
Width = 338
object qryUploadTicker: TFDQuery
SQL.Strings = (
'INSERT INTO '
' public.ticker_tab'
'('
' volume,'
' yesterday_volume,'
' price,'
' yesterday_last,'
' tick_s... |
(* This program stretches a picture to the given size and writes
* the result to the output file.
*)
program Stretch;
uses SysUtils, Types, Graphics, Interfaces;
var source, thumb : TPicture;
width, height : Integer;
begin
//check if the program is called properly
if ParamCount < 4 then begin
writeln('Usage... |
{$mode macpas}
{$modeswitch objectivec1}
unit AppDelegate;
interface
uses
iPhoneAll, ViewController;
type
HelloWorldAppDelegate = objcclass(NSObject)
fWindow: UIWindow; {* IBOutlet *}
fmyViewController: MyViewController;
{* Declare any methods we are going to override. *}
procedure dealloc; override;
... |
unit CheckControle;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls,extctrls,TipoDef,FuncoesGlobais,comctrls,ConstantesAppl;
type
TCheckControle = class(TCheckBox)
private
{ Private declarations }
ffocu:boolean;
FNextPos : TWinControl;
FObjGra... |
{***************************************************************************}
{描 述:AC自动机Trie树 }
{功 能:字符串多模匹配:用于分词、赃词过滤
{作 者:賓虎 2016.08 }
{**************************************************************************... |
unit DDCSComBroker;
{
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/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... |
{
This file is part of the FastPlaz package.
(c) Luri Darmawan <luri@fastplaz.com>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
}
{
REF:
https://developers.google.com/maps/documentation/distance-matrix/
// USAGE:
}
unit googledistancematr... |
{
This unit has been produced by ws_helper.
Input unit name : "zeosproxy".
This unit name : "zeosproxy_proxy".
Date : "12.01.2020 21:27:15".
}
Unit zeosproxy_proxy;
{$IFDEF FPC} {$mode objfpc}{$H+} {$ENDIF}
Interface
Uses SysUtils, Classes, TypInfo, base_service_intf, service_intf, zeosproxy;
Type
... |
unit udlgImmunizations;
{
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/LICENSE-2.0
Unless required by applicable law or agreed to in writing, s... |
unit PosCashup;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, Grids;
type
TfmPosCashup = class(TForm)
ButtonPanel: TPanel;
BtnOk: TBitBtn;
BtnCancel: TBitBtn;
Panel1: TPanel;
sgCashUp: TStringGrid;
procedu... |
{ Parser of the CLDR collation tailoring files.
This parser handle the textual syntax for CLDR version > 23
Copyright (c) 2014,2015 by Inoussa OUEDRAOGO
The source code is distributed under the Library GNU
General Public License with the following modification:
- object files and libraries ... |
unit BaseDockForm;
interface
uses
Windows, SysUtils, Classes, Graphics, Controls, Forms, DockForm;
type
TBaseDockableForm = class(TDockableForm)
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
end;
TBaseDockableFormClass = class of TBaseDockable... |
{ <Beschreibung>
Copyright (C) 2013 c. Ulrich info@cu-tec.de
This 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.
... |
unit DataTypes;
{Penyimpan konstanta, variabel, tipe bentukan yang dibutuhkan}
interface
const usdToIDR : longint = 13301;
const eurToIDR : longint = 14164;
type
rekening = record
nomorAkun : string;
nomorNasabah : string;
jenisRekening : string;
mataUang : string;
saldo : longint;
s... |
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html... |
unit Soccer.Voting.DLLRulesInitializer;
interface
uses
System.SysUtils,
System.Classes,
System.IOUtils,
System.Types,
Soccer.Voting.AbstractRule,
Soccer.Voting.RulesDict,
Soccer.VotingRules.DLLRule;
implementation
function GetDLLRulesPath: string;
begin
Result := ExtractFileDir(ParamStr(0)) + '\dl... |
unit Skia.Vcl.Designtime.ProjectMenu;
interface
{$SCOPEDENUMS ON}
procedure Register;
implementation
uses
{ Delphi }
Winapi.Windows,
Winapi.ShLwApi,
System.SysUtils,
System.Classes,
System.IOUtils,
System.TypInfo,
System.Generics.Collections,
Vcl.ActnList,
Vcl.Dialogs,
ToolsAPI,
DeploymentA... |
{
File: PMErrors.h
Contains: Mac OS X Printing Manager Error Codes.
Copyright (c) 2001-2006,2008 Apple Inc. All Rights Reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://bugs.freepascal.org
}
{ Pasc... |
unit uFMEqualizer;
interface
Uses
Rtti,
Classes,
Generics.Collections,
System.UITypes,
System.UIConsts,
FMX.Layouts,
FMX.Types;
type
TFMStyleLine=record
Index : Integer;
IsColor : Boolean;
Name : string;
Value : string;
Color : TAlphaColor;
end;
TStyleEqualizer=class
private
... |
unit IntfClientConfig;
interface
type
IClientConfig = interface
['{E7C229C3-79E6-47BD-81FF-3B4B19CDC22A}']
function GetDeviceIp : cardinal ;
function GetUserId : integer ;
function GetUserMode : integer ;
function GetUserName : string ;
function GetSipKey : string ;
property De... |
(*
Origian : Turbocash 4.0.1.0
changed for osFinacials fork 2006/06/12 Pieter Valentijn
Released under the GNU General Public License
*)
unit SalesByGroupOptions;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, DBCtrls, ExtCtrls, Mask, wwdbdatetimepicker, ... |
unit neato.XV.GetSchedule;
interface
uses fmx.dialogs, classes, sysutils, neato.Commands, neato.errors, neato.helpers, system.dateutils;
const
// Command to send
sDescription = 'Get Cleaning Schedule';
sGetSchedule = 'GetSchedule';
sSchedule_is_Enabled = 'Schedule is Enabled';
sSchedule_is = 'Schedule ... |
unit EngineOctree;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, dglOpenGL, EngineDataTypes, EngineTypes, EngineMath, EngineMemory;
type
{ TOcStoreEntry }
TOcType = (OcEmpty = 0, OcFull, OcRec, OcData);
TOcStoreEntryPlain = record
case boolean of
False: // 3-bit-index, 1st bit is x, 2nd y and 3... |
unit _gamelists;
interface
uses Classes;
type
TGameLists = class
private
list_index: TStringList;
lists: array of TStringList;
public
procedure init;
private
procedure load_game_lists_ini;
public
function get_list_index(name: string): integer;
function get_list_... |
unit ERP.View.Pages.Form.Template;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.ExtCtrls,
Router4D.Interfaces,
ERP.View.Styles.Colors, Vcl.StdCtrls, System.ImageList, Vc... |
Unit JcDCTmgr;
{ Original : jcdctmgr.c ; Copyright (C) 1994-1996, Thomas G. Lane. }
{ This file is part of the Independent JPEG Group's software.
For conditions of distribution and use, see the accompanying README file.
This file contains the forward-DCT management logic.
This code selects a particular DCT im... |
(* Unit for easy communications with Emerge and Portage
*** Functions ***
Install: Installs the package(s) given in parameters. Use space separeted list for multiple packages.
Update: Updates the given packages. Use space separeted list for multiple packages or "world" to update everything.
UnInstall: Rem... |
{
Desenvolvido por:
Guinther Pauli
Emails: guintherpauli@gmail.com; guinther@gpauli.com
GPauli Cursos e Treinamentos
Delphi Certified Professional - 3,5,6,7,2005,2006,Delphi Web,Kylix,XE
Microsoft Certified Professional - MCP,MCAD,MCSD.NET,MCTS,MCPD (C#,ASP.NET, Arquitetura)
Colaborador Editorial Revistas .net Magazine... |
{$Include mydefs.inc}
{$INCLUDE compilers.inc}
unit common;
interface
{$DEFINE Interface}
const
SIGN_UNICODE = $FEFF;
SIGN_REVERSEBOM = $FFFE;
SIGN_UTF8 = $BFBBEF;
Const {- Character sets -}
sBinNum = ['0'..'1'];
sOctNum = ['0'..'7'];
sNum = ['0'..'9'];
sHexNum = [... |
(************************************************************)
(* Win32 API Hooking Library *)
(* by Robert Milan (03/23/13) *)
(************************************************************)
(* This code is provided "as is" without express or *)
... |
unit JornalAllFilter;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, DB, DBCtrls, MemDS, DBAccess, Ora, ComCtrls,
Buttons;
type
TJornalAllFilterForm = class(TForm)
GroupBox1: TGroupBox;
Panel1: TPanel;
rbToday: TRadioButton;
... |
unit FptrFilter;
interface
Uses
// VCL
Classes,
// This
CustomReceipt, NonfiscalDoc;
type
TFptrFilter = class;
{ TFptrFilters }
TFptrFilters = class
private
FList: TList;
function GetCount: Integer;
function GetItem(Index: Integer): TFptrFilter;
procedure Clear;
procedure Insert... |
program ExampleCallback;
{$ifdef MSWINDOWS}{$apptype CONSOLE}{$endif}
{$ifdef FPC}{$mode OBJFPC}{$H+}{$endif}
uses
SysUtils, IPConnection, BrickletLine;
type
TExample = class
private
oIPConnection: TIPConnection;
oBricklet: TBrickletLine;
public
procedure ReflectivityCB(sender: TBrickletLine; con... |
unit Terrain;
interface
uses
Noise, Matrix, MemoryBuffer,
GLTypes, GLUtils,
WebGL, JS,
Math;
type
TTerrain = class (TObject)
public
constructor Create (context: TJSWebGLRenderingContext; size, resolution: integer); overload;
constructor Create (context: TJSWebGLRenderingContext; inNoise: TNo... |
//
// Dragon
// A game for Windows based on a modified and improved version of the
// DelphiDoom engine
//
// Copyright (C) 1993-1996 by id Software, Inc.
// Copyright (C) 2004-2022 by Jim Valavanis
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Genera... |
unit getobj;
{$IFDEF FPC}
{$MODE DELPHI}
{$ENDIF}
{$A+} // record alignment on 4 byte boundaries
{$Z4} // enum size is 4 bytes
interface
uses JwaWinType;
type
TConstructorParams = record
CancellationToken: HANDLE;
MaxDepth: DWORD;
case INT of
0: (FormatOptions: DWORD);
... |
unit UWP.Edit;
interface
uses
Classes, Windows, Messages, Controls, StdCtrls, ExtCtrls, Graphics, Forms,
UWP.Classes, UWP.ColorManager, UWP.Utils, UWP.Graphics, UWP.Colors;
type
TUWPEdit = class(TEdit, IUWPControl)
private
var BorderThickness: Integer;
var BorderColor, BackColor, TextColor: TColor;
... |
unit ActException;
interface
uses
Windows, Forms, Messages, SysUtils, Classes, DB, DBClient;
type
TActOnException = procedure(Mesg, ClassName: String) of object;
type
TActException = class(TComponent)
private
{ Private declarations }
FActOnException: TActOnException;
procedure Glo... |
unit posButtons;
{**
* 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 distribution,
* @author Zaher Dirkey
*}
... |
unit MapsHelper;
interface
type
TWebMapTypes=(Google_Maps,Yahoo_Map,Bing_Map,Open_Streetmap);
const
WebMapNames : Array[TWebMapTypes] of string =('Google Maps','Yahoo Maps','Bing Maps','OpenStreetMaps');
GoogleMapsTypes : Array[0..3] of string =(
'HYBRID',
'ROADMAP',
'SATELLITE',
'TERRAIN');
BingMapsTypes :... |
var
n,w1,w2,i:integer;
a,b,c:int64;
function gcd(a,b:int64):int64;
var i:int64;
begin
repeat
i:=b;
b:=a mod b;
a:=i;
until b=0;
gcd:=a;
end;
procedure solve;
var i:integer;
bi,ci,d:int64;
begin
a:=n;c:=0;
for i:=2 to n do
begin
... |
unit ec_Async;
{$mode Delphi}{$H+}
{$IFDEF DEBUG}
{$INLINE OFF}
{$ENDIF}
interface
uses
Classes, SysUtils, syncobjs,
Generics.Collections
{$IFDEF DEBUGLOG},Forms , SynCommons, SynLog,mORMotHttpClient {$ENDIF};
{$IFDEF TRICK}
{$MESSAGE WARN 'ПЕДАЛЬ В ПОЛ!!!!!!!!!!!111'}
{$ENDIF}
type
... |
{$mode objfpc}
unit MemoryBuffer;
interface
uses
JS;
type
TMemoryBuffer = class
private
byteBuffer: TJSUint8Array;
public
constructor Create (size: integer);
{ UInt8 }
procedure AddBytes (count: integer; data: array of byte);
{ Float32 }
procedure AddFloats (count: integer;... |
{
This file is part of the Free Pascal Integrated Development Environment
Copyright (c) 1998 by Berczi Gabor
Routines to create .tph files
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
... |
unit BaseChannel;
interface
uses System.Classes;
// класс-события
type
TWeightEvent = procedure(Sender: TObject; Value: Double) of object;
TDoseEvent = procedure(Sender: TObject; Value: Double) of object;
type
TBaseClass = class
protected
FOnChangeWeight: TWeightEvent;
FOnChangeDose: TDoseEvent;
... |
{Playlist process}
{$Include mydefs.inc}
unit playlist;
interface
type
pPlaylist = ^tPlaylist;
tPlaylist = object
private
fShuffle :boolean;
plSize :cardinal; // playlist entries
plCapacity:cardinal;
base :PWideChar;
name :PWideChar;
descr :PWideChar;
... |
Program LinkEcho(input, output);
{Stores positive numbers in a linked list, then echoes the sentinel and list.}
Type
NodePOINT = ^NodeTYPE;
NodeTYPE = Record
Next : NodePOINT;
Data : integer;
End;
Var
FirstNodePtr, CurrentNodePtr : NodePOINT;
TheNumber : integer;
Begin
new(... |
unit Origin;
//origin function: 0 at origin, uses euclidean distance equation
//fitness at a given position is = sqrt(a2+b2+c2+d2....n2)
interface
uses math, Definitions;
const
ORIMAX = 400;
ORIMIN = -400;
ORIBEST = 0.1;
function OriEvaluate(position: TIArray) : double; overload;
function OriEvaluate(positio... |
unit BrvConsulta;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Provider,
DbTables, BrvDicionario, Db, StdCtrls, Mask, BrvDataSet, SqlExpr,
BrvClientDataSet, DBGrids, SConnect, BrvEditNum, BrvConsultaForm;
type
TBrvConsulta = class(TComponent)
private
... |
unit Unit1;
interface
uses
SysUtils, Forms, StdCtrls, Controls, Classes, Messages, Windows;
type
TForm1 = class(TForm)
Label1: TLabel;
Edit1: TEdit;
Button1: TButton;
CheckBox1: TCheckBox;
procedure Button1Click(Sender: TObject);
private
function SendMessageToCtrl(const Name: string;
... |
unit CExtractionsFrameUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, CDataobjectFrameUnit, ActnList, VTHeaderPopup, Menus, ImgList,
PngImageList, CComponents, VirtualTrees, StdCtrls, ExtCtrls, CDataObjects,
CDatabase, CDataobjectFormUnit, CImageListsUn... |
{
This software is distributed under GPL
in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the warranty of FITNESS FOR A PARTICULAR PURPOSE.
@abstract(Contains definition of downhill simplex algorithm.)
@author(Dmitry Morozov dvmorozov@hotmail.com,
LinkedIn https://ru.linkedin.com/pu... |
unit uConexao;
interface
uses
System.SysUtils, System.Generics.Collections, System.Win.IEInterfaces,
StrUtils, Data.DB, Datasnap.DBClient,
ZAbstractRODataset, ZAbstractDataset, ZDataset, ZAbstractConnection,
ZConnection, ZDbcIntfs, System.Classes, System.Rtti, System.TypInfo,
System.Variants, uCRUD, uTEdi... |
unit untPages;
interface
Uses
// VCL
Windows, Classes, SysUtils, Forms, Grids, Controls, StdCtrls,
// This
BaseForm;
type
TPage = class;
{ TPages }
TPages = class
private
FList: TList;
function GetCount: Integer;
function GetItem(Index: Integer): TPage;
public
constructor Create;
... |
unit CacheQuery;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Db, DBTables, ITValida, Variants, ADODB;
type
TTransactionEvent = procedure(Sender : TObject; DataSetState : TDataSetState ) of Object;
TRefreshEvent = procedure(Sender : TObject; DataSetState : TDataS... |
{*******************************************************************************
This file is part of the Open Chemera Library.
This work is public domain (see README.TXT).
********************************************************************************
Author: Ludwig Krippahl
Date: 20.3.2011
Purpose:
Geometric hashi... |
unit uDAOBancoDados;
interface
uses
Data.DB, Data.SqlExpr, uEntidade, System.Generics.Collections, System.SysUtils,
System.Classes, uDAOBancoDadosBase, Data.FMTBcd, System.Generics.Defaults,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error,
FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.De... |
unit ClienteControllerUn;
interface
Uses ClienteUn, PersistenciaUn, System.Classes, SysUtils, Data.DBXCommon, Data.DB;
Type
TClienteController = class
private
FCliente : TCliente;
FDGRSQLConnection : TDGRSQLConnection;
function GetCliente: TCliente;
public
constructor Create(AOwner: TCompon... |
{ Compile and run a pascal program.
Copyright (C) 2011 Mattias Gaertner mattias@freepascal.org
This 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 o... |
unit VtkWindow;
interface
uses
OpenGL, Classes, Controls, ExtCtrls, Windows, Messages, SysUtils, Variants, Graphics, Forms,
Dialogs, StdCtrls, ComCtrls, Grids, Menus, UtilsDoGeronimo;
type
{
Representa a 'janela' da vtk. É por aqui que a maioria das operações ocorrerão.
É através dessa classe que se executa... |
// ---------------------------------------------------------------------------
/// creation et importation d'une entité racine générique
///
/// Description :
//
// ----------------------------------------------------------------------------
(** @Author Ludovic TAMBOUR
@Version 11/08/05 LT v0.0 version initiale; st... |
unit Telegraph.Classes;
interface
uses
XSuperObject,
TelegAPi.Utils,
System.Generics.Collections,
System.SysUtils;
Type
{$SCOPEDENUMS ON}
TtphField = (short_name, author_name, author_url, auth_url, page_count);
TtphFields = set of TtphField;
TtphTag = (a, aside, b, blockquote, br, code, em, figcaption... |
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html... |
(***************************************************************************)
(* *)
(* xGreed - Source port of the game "In Pursuit of Greed" *)
(* Copyright (C) 2020 by Jim Valavanis *)
(* ... |
unit wPrincipalForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, uCalx, ExtCtrls, Buttons, ComCtrls, ImgList, ToolWin,
uAboutForm, XPMan;
type
TPrincipalForm = class(TForm, IEntrada)
Panel1: TPanel;
OperacaoTreeView: TTreeVi... |
unit URbkExpPercentEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
URbkEdit, IBDatabase, Db, IBCustomDataSet, IBQuery, StdCtrls, Buttons,
ExtCtrls, Mask, Ib;
type
TFmRbkExpPercentEdit = class(TFmRbkEdit)
LbTypePay: TLabel;
EdTypePay: TEdit;
BtCallTyp... |
Program Garbage(input, output);
{Shows the hazards of uninnitialized variables.}
Var
Letter : char;
Number : integer;
Decimal : real;
Begin
writeln(Letter);
writeln(Number);
writeln(Decimal);
End. {Garbage}
|
{$MODE OBJFPC}
unit AbstractCtx;
{ These are abstract superclasses for TCtx and TCtxes. }
{ These define the interfaces that the stdlib ought to need... }
{ They break the circular dependency between the stdlib and TCtx, in a similar way }
{ as the ProcPtr tricks did in the procedural pascal one. But - this lets me ... |
unit Misc;
interface
uses
Windows, SysUtils, Classes, ibase;
function CloseDebuggerOutput: Integer; cdecl; export;
function Debug(szDebuggerOutput: PChar): Integer; cdecl; export;
(* Return what IB THINKS is the temp path *)
function IBTempPath: PChar; cdecl; export;
function SetDebuggerOutput(szOutputFile: PChar)... |
unit UCadastro_Patrimonio;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ToolWin, ImgList, Mask, StdCtrls, ADODB, DB, Grids, DBGrids, ExtCtrls,
cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles,
dxSkinsCore, dxSkinBlack, dxSk... |
unit OPOSException;
interface
uses
// VCL
SysUtils,
// This
OPOS, OPOShi, WException, TntSysUtils, gnugettext;
type
{ TOPOSError }
TOPOSError = record
ResultCode: Integer;
ResultCodeExtended: Integer;
ErrorString: WideString;
end;
{ EOPOSException }
EOPOSException = class(WideExcep... |
{*******************************************************************************
Title: T2Ti ERP
Description: Controller do lado Servidor relacionado à tabela [VENDA_CABECALHO]
... |
unit HLVM.JIT.Execution.RawLocals;
interface
{ This module brings implementation of Fast Locals System }
{ It contains reference counting for scopes and all that stuff }
{ Only works under FSM (Fast-Static Mode) of JIT compiler }
{ Highly recommended to use those modules of FSM bundle }
{ All obsolete stuff will be ... |
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html... |
unit CDSUtil;
interface
uses
DbClient, DbTables;
function RetrieveDeltas(const cdsArray : array of TClientDataset): Variant;
function RetrieveProviders(const cdsArray : array of TClientDataset): Variant;
procedure ReconcileDeltas(const cdsArray : array of TClientDataset; vDeltaArray: OleVariant);
procedure CDSApp... |
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics,
Dialogs, ExtCtrls, Menus,
dglOpenGL,
oglContext, oglShader, oglVector, oglMatrix, oglTextur;
type
{ TForm1 }
TForm1 = class(TForm)
Timer1: TTimer;
procedure FormCreate(Sender: TObject);
p... |
program x2y;
uses
uInterception, uInterceptionUtils;
const
SCANCODE_X = $2D;
SCANCODE_Y = $15;
SCANCODE_ESC = $01;
var
context: InterceptionContext;
device: InterceptionDevice;
stroke: InterceptionKeyStroke;
begin
raise_process_priority;
context := interception_create_context;
interception_... |
unit frame.D.GetSensors;
interface
uses
frame.master,
dmCommon,
neato.D.GetSensor, fmx.objects,
fmx.TabControl,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
fmx.Types, fmx.Graphics, fmx.Controls, fmx.Forms, fmx.Dialogs, fmx.StdCtrls, fmx.Controls.Presentation, fmx.Layout... |
unit uAtributoValidacoes;
interface
uses
System.Classes, System.Generics.Collections, System.Rtti, System.SysUtils, System.TypInfo;
type
TValidacaoSeveridade = (vsAlerta, vsErro);
TValidacoesAttribute = class abstract(TCustomAttribute);
ValidacaoAttribute = class abstract(TValidacoesAttribute)
... |
unit DecoderThread;
interface
uses
Classes, Decoder;
type
TDecodedEvent = procedure of object;
TErrorEvent = procedure of object;
TProgressEvent = procedure(PercentComplete: Double) of object;
TDecoderThread = class(TThread)
private
FOnDecoded: TDecodedEvent;
FOnProgress: TProgressEvent;
... |
(*
Origian : Turbocash 4.0.1.0
changed for osFinacials fork 2006/06/12 Pieter Valentijn
Released under the GNU General Public License
*)
unit InvoicedDetailOptions;
interface
uses
Windows, Messages, SysUtils, Variants,Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, DBCtrls, Buttons, ComCtr... |
{ Unicode parser helper unit.
Copyright (c) 2012-2015 by Inoussa OUEDRAOGO
The source code is distributed under the Library GNU
General Public License with the following modification:
- object files and libraries linked into an application may be
distributed without source code.
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.