text stringlengths 14 6.51M |
|---|
unit Model.UsuarioDAO;
interface
uses
DB,
Model.Interf,
Model.DAO.Interf,
Model.DMConnZeos,
Model.Usuario.Entidade,
Classes;
type
TUsuarioDAO_Model = class(TInterfacedObject, iUsuarioDAO_Model, iDAO_Model)
private
FThis: TUSUARIO;
FNewThis: TUSUARIO;
FConn: iModelQuery;
... |
{*********************************************************************
*
* 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.brovin... |
unit classesPersonen;
interface
uses System.SysUtils, System.StrUtils, Vcl.Dialogs, System.UITypes, System.Generics.Collections,
FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,
FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, Data.DB,
FireDA... |
unit nxNetwork;
{
Uses Synapse library
http://www.ararat.cz/synapse/doku.php
}
interface
uses {$IFDEF UNIX}cthreads,{$ENDIF}
Classes, SysUtils, synsock, blcksock;
const
ExitCode = '#End#';
UDPInit = '#UDPInit#';
type
TConnection = class;
TConnectionEvent = (ceConnected, ceDisconnected, ceError, ceJo... |
Unit revhard;
interface
const
DESQviewActive : boolean = false; { true if running under DESQview }
DESQviewMajor : byte = 0;
DESQviewMinor : byte = 0;
Type
CpuType = ( cpu8088,cpu8086,cpu80286,cpu80386,
cpu80486,cpuPentium,cpuFuture);
CpuStrType = String[7];
Const
CpuTypeIdenti... |
{----------------------------------------------------------------------------}
{ Written by Nguyen Le Quang Duy }
{ Nguyen Quang Dieu High School, An Giang }
{----------------------------------------------------------------------------}
... |
unit BCscore.Score;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Generics.Collections, Billiards.Member, ExtCtrls, jpeg, GIFImg;
type
TScoreForm = class(TForm)
pnlTop: TPanel;
pnlMiddle: TPanel;
pnlBottom: TPanel;
imgTopLeft: TImag... |
unit uHikDaoFeng;
interface
uses
System.Classes, Generics.Collections, IdHTTP, IdURI, SysUtils, uGlobal,
DateUtils, ActiveX, uTypes, System.Rtti, Xml.XMLIntf, Xml.XMLDoc,
System.Variants;
type
THik = class
private
FToken: String;
FConfig: THikDaoFengConfig;
function DFLogin: String;
procedu... |
unit v_class_combo;
{$mode objfpc}{$H+}
interface
uses Classes, SysUtils,StdCtrls;
type TxPLClassCombo = class(TCombobox)
private
fRegExpr : string;
fValid : boolean;
procedure SetRegExpr(const AValue: string);
procedure SetValid(const AValue: boolean);
public
constr... |
unit DriversAPI;
{
Автор: HoShiMin, 2015
Основные понятия:
IRP - I/O Request Packet, передаваемые драйверу данные
Имя драйвера - имя службы драйвера
Имя устройства - указано в ДРАЙВЕРЕ, ему посылать IOCTL!
IOCTL - пользовательский контрольный код:
0x000 : 0x7FF - зарезервировано Micro... |
FUNCTION UserChar( b : BYTE ) : CHAR;
BEGIN
IF b < $0A THEN
UserChar := Chr(b+$30) { 0-9 }
ELSE
UserChar := Chr(b+$61-10); { a-f }
END;
|
UNIT DT_Especie;
INTERFACE
CONST
(*Constantes definidas para la operación EstadisticaEspecie. Según el
argumento pasado será el resultado que la operación retorne.*)
PS_Base= 1;
ATK_Base= 2;
DEF_Base=3 ;
ATKSp_Base= 4;
DEFSp_Base= 5;
VEL_Base= 6;
AMISTAD_Base= 7;
EXP_Base= 8;
... |
unit uScriptEngine;
interface
uses
Classes, Windows, MSScriptControl_TLB, uHidmacrosIntf;
type
TScriptEngine = class
private
{ Private declarations }
fTestingSC: TScriptControl;
fExecutionSC: TScriptControl;
fRoutinesSource: String;
fRoutinesCompiled: Boolean;
fHIDMacrosIntf: THIDMacro... |
{ Assuming that your serial port is accessible via AUX (reader &
punch), this is the only 'roll your own' routine. I've added a
RDRST BIOS call (among other things) to the Ampro's extended BIOS
jump table, and the following routine calls it.
Somewhere in your BIOS, it checks for whether a character is
availabl... |
unit CardHelper;
interface
uses
Winapi.Windows,
Vcl.WinXPanels;
type
TCard = class(Vcl.WinXPanels.TCard)
private
fFormWidth: integer;
fFormHeight: Integer;
public
property FormWidth: Integer read fFormWidth write fFormWidth;
property FormHeight: Integer read fFormHeight write fFormHeight;
... |
unit CRSSLIOHandler;
{$IFDEF FPC}
{$mode delphi}
{$ENDIF}
interface
uses
SysUtils, Classes, ScVio,
{$IFNDEF SBRIDGE}
CRVio, CRTypes, CRFunctions,
{$ELSE}
ScTypes, ScFunctions, MemUtils,
{$ENDIF}
{$IFDEF MSWINDOWS}
ScCryptoAPIStorage,
{$ENDIF}
ScSSLTypes, ScUtils, ScSSLClient, ScBridge;
{$I SecureBridgeV... |
unit LuaStrings;
interface
Uses Classes, Types, Controls, Contnrs, LuaPas, Forms, StdCtrls, FileCtrl, TypInfo;
procedure TStringsToTable(L: Plua_State; Comp:TObject; PInfo:PPropInfo; index: Integer);
type
TLuaStrings = class(TStrings)
published
Property TextLineBreakStyle;
property Delimiter;
proper... |
unit Fonetiza.CodigoFonetico.Core;
interface
uses System.SysUtils;
type
TCodigoFoneticoCore = class
public
function removeElement(var pArray: TArray<string>; const pIndex: integer): boolean;
function fonreg(const i03: Int64): TCharArray;
function tabNor(const str: string): string;
function tabEbc... |
(***********************************************************)
(* xPLRFX *)
(* part of Digital Home Server project *)
(* http://www.digitalhomeserver.net *)
(* info@digitalhomeserver.net *)
(****... |
{
@html(<b>)
RTC Script Engine
@html(</b>)
- Copyright (c) Danijel Tkalcec
@html(<br><br>)
This unit implements the RTC Scripting Engine.
}
unit rtcScript;
interface
{$include rtcDefs.inc}
uses
SysUtils, Classes, Windows,
rtcInfo, rtcFunction, rtcConn, rtcDataSrv,
rtcScriptCompile;
type
// @e... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
{*******************************************************}
{ }
{ DelphiWebMVC }
{ }
{ 版权所有 (C) 2019 苏兴迎(PRSoft) }
{ ... |
{$O+,F+}
{$DEFINE TRIMVALUESPACES}
{if defined, values will have leading and trailing
spaces trimmed before passed to the user}
unit inifiles;
{
As the name implies, a simple unit to read and write .ini files, which
are extremely simple flat-file databases used to store prorgam configuration
details.
.ini files have... |
unit DBLookupComboBoxHelper;
interface
uses
DSWrap, cxDBLookupComboBox, Data.DB, cxDropDownEdit, cxDBLabel,
cxDBExtLookupComboBox, cxGridCustomTableView, cxGridDBBandedTableView;
type
TDBLCB = class(TObject)
private
public
class procedure Init(AcxDBLookupComboBox: TcxDBLookupComboBox;
ADataSource... |
unit Exemption_Remove;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, DBCtrls, DBTables, DB, Buttons, Grids,
Wwdbigrd, Wwdbgrid, ExtCtrls, Wwtable, Wwdatsrc, Menus, RPCanvas,
RPrinter, RPDefine, RPBase, RPFiler, locatdir, ComCtrls;
type
TfmRemo... |
unit UFireworks;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics,
Dialogs, ExtCtrls, StdCtrls, BGRABitmap, BGRABitmapTypes, math;
type
//=============================================================
{ TParticle }
TParticle = class
pos : ... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit Unit1;
interface
use... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC GUIx components }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit Security.User.View;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, System.Hash, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
Vcl.Buttons, Vcl.ExtCtrls, Data.DB, Vcl.Grids, Vcl.DBGrids, Vcl.Imaging.pngimage,
PngSpeedButton, PngFunction... |
unit U_MyClass;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls,Grids,
StdCtrls, Menus, ToolWin, ComCtrls, ExtCtrls,Dialogs,Forms;
{********************************************************************************
*类名称:TStringGridInputType
*类功能:控件名称定义,每一组用begin和end分隔,第0个表示没有控件,最好一个表示前面的所有控件... |
{ Compute the sine using: sqrt(1 - cosine**2)
This file verifies a unit that uses another unit
}
unit MySineUnit;
interface
function mysine(x : real) : real;
implementation
uses
MyCosineUnit in '501-unit-cosine.pas';
function mysine(x : real) : real;
var
mycos : real
begin
mycos := mycosine(x);
mysi... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: Joystick<p>
Component for handling joystick messages<p>
<b>Historique : </b><font size=-1><ul>
<li>17/03/07 - DaStr - Dropped Kylix support in favor of FPC (BugTracekrID=1681585)
<li>29/01/02 - Egg - Added NoCaptureErrors
... |
{
This unit is part of the Lua4Delphi Source Code
Copyright (C) 2009-2012, LaKraven Studios Ltd.
Copyright Protection Packet(s): L4D014
www.Lua4Delphi.com
www.LaKraven.com
--------------------------------------------------------------------
The contents of this file are subject to the Mozilla P... |
unit ReadProgram;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ShellApi,Registry;
type
TReadProgramX = class(TForm)
Label1: TLabel;
Label2: TLabel;
Panel1: TPanel;
Button2: TButton;
Button3: TButton;
... |
unit FDConnectionHelper;
interface
uses
classes, SysUtils, Data.DB, NGFDMemTable, DBXJSON, Variants,
FireDAC.Stan.Intf, FireDAC.Phys, FireDAC.Comp.Client, FireDac.Stan.Param,
FireDAC.UI.Intf, FireDAC.ConsoleUI.Wait, FireDAC.Comp.UI,
{$IFDEF SQLServerDriver}
FireDAC.Phys.MSSQLDef, FireDAC.Phys.ODBCBase, Fir... |
unit register_extras;
{$mode objfpc}{$H+}
interface
//please, do not change this code format/layout!
uses
Classes,
spinner,
bluetoothclientsocket,
bluetoothserversocket,
bluetooth,
menu,
myhello,
textfilemanager,
dumpjavamethods,
mediaplayer,
SysUtils,
LResources;
Procedure Regist... |
unit ConfigDialog;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ComCtrls, ExtCtrls, IniFiles, StrUtils, Contnrs;
type
TPICConfigDlg = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
PageControl1: TPageControl;
OKBtn: TButton;
CancelBtn: TB... |
unit wizardXPGen;
interface
uses
toolsAPI,
IStreams,
dialogs,
SysUtils,
Windows,
VirtIntf,
ExptIntf,
ToolIntf,
classes;
type
// TNotifierObject has stub implementations for the necessary but
// unused IOTANotifer methods
TXPGenWizard = class(TNotifierObject, IOTANotifier,IOTAKeyboardBi... |
unit u_WB;
interface
uses
windows, SysUtils, Classes, Controls, OleCtrls, SHDocVw, MSHTML,
Variants, comobj, ActiveX, Messages;
type
TW_FilterMode = (FM_None, FM_Href, FM_Title);
TW_ExecCMD = (EC_SAVEAS, EC_SAVE, EC_PAGESETUP, EC_PRINTPREVIEW, EC_PRINT, EC_STOP,
EC_REFRESH, EC_COPY, EC_PASTE, ... |
unit FC.StockChart.UnitTask.Indicator.Rename;
interface
{$I Compiler.inc}
uses
SysUtils,Classes, BaseUtils, Serialization, Dialogs, StockChart.Definitions.Units,StockChart.Definitions,
FC.Definitions, FC.Singletons,
FC.StockChart.UnitTask.Base;
implementation
type
TStockUnitTaskValueSupportSnapshot = class(... |
unit LongInput;
interface
uses
System.SysUtils, System.Classes, FMX.Types, FMX.Controls, System.Types,
FMX.Objects, System.UITypes, FMX.Graphics, FMX.Dialogs, System.Math,
System.Math.Vectors, FMX.Edit, FMX.Layouts, FMX.Effects, FMX.Memo,
FMX.StdCtrls;
type
TIconPosition = (Left, Right);
TLongInput = cl... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC expression evaluation engine }
{ }
{ Copyright(c) 2004-2018 Embar... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
{ compute the cosine using the expansion:
cos(x) = 1 - x**2/(2*1) + x**4/(4*3*2*1) - ... }
program cosine(input, output);
const
eps = 1e-14;
var
x, sx, s, t : real;
i, k, n : integer;
begin
write('Number of cosines: ');
read(n);
for i:=1 to n do
begin
write(n, '. En... |
unit PascalCoin.FMX.Wallet.Shared;
interface
uses PascalCoin.FMX.Strings, PascalCoin.Wallet.Interfaces,
PascalCoin.Utils.Interfaces,
System.Generics.Collections, Spring;
Type
TNodeRecord = record
Name: string;
URI: string;
NetType: string;
constructor Create(const AName, AURL, ANetType: string... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1995,99 Inprise Corporation }
{ ... |
(***********************************************************)
(* xPLRFX *)
(* part of Digital Home Server project *)
(* http://www.digitalhomeserver.net *)
(* info@digitalhomeserver.net *)
(****... |
unit ArrayUpsizeSingleThread;
interface
uses
Windows, BenchmarkClassUnit, Classes, Math;
type
TArrayUpsizeSingleThread = class(TFastcodeMMBenchmark)
private
procedure Execute;
public
procedure RunBenchmark; override;
class function GetBenchmarkName: string; override;
class function GetBenchma... |
unit TimeNowForm;
interface
// running this program raises an exception by design
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Layouts, FMX.Memo, FMX.Controls.Presentation, FMX.ScrollBox;
t... |
////////////////////////////////////////////////////////////////////////////////
// Jazarsoft VCL Pack (JVP) //
////////////////////////////////////////////////////////////////////////////////
// ... |
unit CuentaCredito;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, UnitUsuario, UnitCuentaCredito;
type
TFormCuentaCredito = class(TForm)
Label1: TLabel;
txtDeuda: TEdit;
txtNombre: ... |
unit record_properties_1;
interface
type
TRec = record
a, b: int32;
property AR: Int32 read a;
property ARW: Int32 read a write a;
property BR: Int32 read b;
property BRW: Int32 read b write b;
end;
implementation
var
R: TRec;
GA, GB: Int32;
procedure Test;
begin
... |
// testing array declarations
PROGRAM test13;
TYPE
array1 = ARRAY [0..2] of integer;
array2 = ARRAY [3..5] of integer;
VAR
a : array1;
b : array2;
BEGIN
a[0] := 0;
a[1] := 1;
a[2] := 2;
WRITE(a[0]);
WRITE(a[1]);
WRITE(a[2]);
b[3] := 3;
b[4] := 4;
b[5] := 5;
WRI... |
{ Copyright (C) 1998-2011, written by Mike Shkolnik, Scalabium Software
E-Mail: mshkolnik@scalabium
WEB: http://www.scalabium.com
Const strings for localization
freeware SMComponent library
}
unit SMCnst;
interface
{English strings}
const
strMessage = 'Print...';
strSaveChanges = 'Wilt u de... |
unit FontFrame;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls,
Vcl.StdCtrls, Vcl.CheckLst, Vcl.ComCtrls, Vcl.ToolWin, System.ImageList,
Vcl.ImgList, Vcl.Buttons;
const
CharFrom:Integer = 32;... |
unit Getter.Filesystem.Name;
interface
uses
Windows,
OSFile.ForInternal;
type
TFileSystemNameGetter = class(TOSFileForInternal)
private
FileSystemNameInCharArray: Array[0..MAX_PATH - 1] of Char;
public
function GetFileSystemName: String;
end;
implementation
{ TFileSystemNameGetter }
function T... |
unit xProtocolDL645;
interface
uses xProtocolBase, xDL645Type, xProtocolPacksDL645_07, xProtocolPacksDL645_97,
system.SysUtils, xProtocolPacksDl645, System.Classes;
type
TProtocolDL645 = class(TProtocolBase)
private
FProrocolType: TDL645_PROTOCOL_TYPE;
FPack97 : TProtocolPacksDL645_97;
... |
unit UFrmExample2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, ComCtrls;
type
TFrmExample2 = class(TForm)
Panel2: TPanel;
Panel3: TPanel;
Panel1: TPanel;
ListBox1: TListBox;
Label1: TLabel;
Panel4: TPanel;
Im... |
{
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 UJSONFunctions;
{$DEFINE Delphi}
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
{ Copyright (c) 2016 by Albert Molina
Distributed under the MIT software license, see the accompanying file LICENSE
or visit http://www.opensource.org/licenses/mit-license.php.
This unit is a part of Pascal Coin, a P2P crypto ... |
unit uConst;
interface
const
DefaultTheme = 'mirc';
//settings
IdentificationSection = 'Identification';
NickNameIdent = 'Nickname';
AltNickIdent = 'AltNick';
RealNameIdent = 'RealName';
UserNameIdent = 'UserName';
AppearanceSection = 'Appearance';
ConnectionsSection = 'Connections';
ThemeIdent ... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
Buttons;
type
{ TfrmFindReplace }
TfrmFindReplace = class(TForm)
bmbClear: TBitBtn;
btnFindReplace: TButton;
memText: TMemo;
procedure bmbClearClick(Sender: TObject);
... |
{------------------------------------------------------------------------------}
{
Lee Beadle
CS 410W
Pascal Paint Cost Program
}
{------------------------------------------------------------------------------}
{Program info, libraries, and variables}
PROGRAM Paint_Cost;
USES Math;
CONST
HEIGHT = 8;
ONE_GALLON = 350;
V... |
(*
Name: keymanhotkeys
Copyright: Copyright (C) SIL International.
Documentation:
Description:
Create Date: 1 Aug 2006
Modified Date: 3 May 2011
Authors: mcdurdin
Related Files:
Dependencies:
Bugs:
Todo:
Notes: ... |
{$A+,B-,D+,E+,F-,G+,I-,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+}
{$M 65520,0,0}
{by Behdad Esfahbod 6th IOI Sweden Day1 Problem 5 Fold Unit}
unit FoldUnit;{Folds a map}
interface
const
MaxM = 8;
MaxN = 4;
MaxSurface = 16;
type
TMap = array [1 .. MaxM, 1 .. MaxN] of string[MaxSurface];
procedure Fold (M1 : TMap... |
unit Optimizer.Prefetch;
interface
uses
SysUtils,
OS.EnvironmentVariable, Optimizer.Template, Global.LanguageString,
OS.ProcessOpener, Registry.Helper;
type
TPrefetchOptimizer = class(TOptimizationUnit)
public
function IsOptional: Boolean; override;
function IsCompatible: Boolean; override;
fun... |
unit uRatingBijdrages;
interface
uses
uRatingBijdrage, ContNrs, uPlayer, uHTPredictor, dxmdaset;
type
TRatingBijdrages = class
private
FRatingBijdrages: TObjectList;
function GetRatingBijdrage(aIndex: integer): TRatingBijdrage;
function GetCount: integer;
function AddRatingBijdrage(aPositie: St... |
unit UPedidoProduto;
interface
uses
UProduto, UPedidoDadosGerais, Data.DB, Data.Win.ADODB;
type
TPedidoProduto = class
private
FvalorUnitario: Double;
Fid: Integer;
FvalorTotal: Double;
Fquantidade: Integer;
FcodigoProduto: TProduto;
FnumeroPedido: TPedidoDadosGerais;
procedure Se... |
unit ncCommPlus;
interface
uses
SysUtils, Classes, rtcDataCli, rtcInfo, rtcConn, rtcHttpCli, ExtCtrls, dialogs;
type
TplusReq = class
ptrTokenNex : TGUID;
ptrTokenPlus : String;
ptrGettingToken : Boolean;
ptrReq: TRTCDataRequest;
ptrCli: TRTCHttpClient;
ptrResp: TStrings;
FOnResp :... |
unit MediaProcessing.Convertor.HH.RGB;
interface
uses SysUtils,Windows,Classes,MediaProcessing.Definitions,MediaProcessing.Global;
type
TChangeFPSMode = (cfmNone,cfmAbsolute, cfmVIFrameOnly);
TChangeImageSizeMode = (cismNone,cismScale,cismCustomSize);
TMediaProcessor_Convertor_Hh_Rgb=class (TMediaProcessor,I... |
unit BD.Kommune;
interface
uses System.SysUtils, System.Classes, Data.DB, OXmlPDOM, BD.Fylke,
Generics.Collections, System.TypInfo, BD.Handler, Spring.Collections;
type
TKommune = class(TObject)
private
FKommunenr: String;
FKommune: String;
FFylkenr: String;
FFylke: TFylke;
pu... |
unit Ths.Erp.Database.Table.SysPermissionSource;
interface
{$I ThsERP.inc}
uses
SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils,
FireDAC.Stan.Param, StrUtils, RTTI, Data.DB,
Ths.Erp.Database,
Ths.Erp.Database.Table;
type
TSysPermissionSource = class(TTable)
private
FSourceCode... |
unit clsDBUserAuthContent;
interface
uses SysUtils,Classes,Dialogs,ADODB,clsDBInterface,clsClientDtSet;
type
TDBUserAuthContent=Class (TInterFacedObject,IDBInterface)
public
procedure Add(const obj:TObject);
procedure Edit(const obj:TObject);
procedure Delete(const obj:TObject);
function Qu... |
unit IWDsnPaint;
interface
{$R IWDsnPaintSupport.res}
uses
{$IFDEF Linux}QGraphics,{$ELSE}Graphics,{$ENDIF}
{$IFDEF Linux}QButtons, {$ELSE}Buttons,{$ENDIF}
{$IFDEF Linux}Types, {$ELSE}Windows,{$ENDIF}
IWControl, IWFont, Classes;
type
TIWPaintHandlerDsn = class(TIWPaintHandler)
protected
procedure Dr... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit frmMain;
interface
u... |
unit OriStrings;
{$mode objfpc}{$H+}
interface
uses
SysUtils;
type
TStringArray = array of String;
function SplitStr(const S, Delims: String): TStringArray;
function SplitStr(const S, Delims: String; var Parts: TStringArray): Integer;
procedure SplitString(const S, Delims: String; var Parts: TStr... |
unit fSeadragon;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, OleCtrls, SHDocVw, StdCtrls, JPEG,
GR32, GR32_Backends;
type
TfrmSeadragon = class(TForm)
WebBrowser1: TWebBrowser;
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Send... |
unit uLogic;
{$MODE Delphi}
interface
uses uProcess;
// global functions
function logic_CreateProcessFromString(s :string) : process;
implementation
function logic_CreateProcessFromString(s :string) : process;
var
id : integer;
sId : string; // string of id
e : integer; // error
... |
{-----------------------------------------------------------------------------
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... |
{*********************************************}
{ TeeBI Software Library }
{ TDataItem Kind Conversion }
{ Copyright (c) 2015-2017 by Steema Software }
{ All Rights Reserved }
{*********************************************}
unit BI.Convert;
interface
use... |
unit Scanner;
interface
uses CRT;
const
ALNG = 30;
eof = #26;
tab = #009;
LineFeed = #010;
space = #032;
car_return = #013;
type
Alfa = string[ALNG];
tokens = (
t_int, t_add, t_sub, t_mul, t_rdiv, t_double_mul,
t_assign { ':=' },
t_lbrack { '[' }, t_rbrack { ']... |
unit UPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls,
Data.DB, Datasnap.DBClient,System.Generics.Collections, UTimeFutebol,
Vcl.Menus, UCampeonato;
type
Tfr... |
unit UnFood;
interface
uses
Windows, Variants, Classes, DB,
{ Fluente }
Util, DataUtil, Settings, UnFoodModel, UnComandaModel, UnProduto, UnWidgets,
Controls, Forms, ExtCtrls;
type
TFoodApp = class(TForm)
ScrollBox: TScrollBox;
pnlCommand: TPanel;
procedure FormCreate(Sender: TObject);
pro... |
unit StoreClient;
interface
uses
SysUtils, Classes, httpsend, ssl_openssl, ZLib, Synacode;
type
TStorePayloadReq = class(TObject)
private
FDatas: TStringList;
function _escape(AValue: String): AnsiString;
public
appleId: String;
attempt: String;
createSession: String;
password: Strin... |
UNIT httpUtil;
INTERFACE
USES Classes, blcksock, synautil, sysutils, myGenerics,myStringUtil,synsock,opensslsockets;
TYPE
T_httpRequestMethod=(htrm_no_request,htrm_GET,htrm_POST,htrm_HEAD,htrm_PUT,htrm_PATCH,htrm_DELETE,htrm_TRACE,htrm_OPTIONS,htrm_CONNECT);
CONST
C_httpRequestMethodName:array[T_httpRequestMethod] ... |
////////////////////////////////////////////
// Кодировка и расчет CRC для приборов типа УБЗ-302 и ТР-101
////////////////////////////////////////////
unit Devices.UBZ.Common;
interface
uses GMGlobals, Windows, Classes, StrUtils;
procedure DecodeUBZAlarms(dwErr: DWORD; sl: TSTrings); overload;
function DecodeUBZAlar... |
unit Engine;
interface
uses
Points, Level, Monsters, Textures, EngineTypes, Items, Collisions, Sounds;
procedure EnginePhys (dt : float);
procedure SetMonsterActive (M: PMonster);
var
GameTime : float;
var
CActiveMonsters : integer = 0;
ActiveMonsters : array [0..CMonsters-1] of PMonster;... |
unit uPlayerFrame;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.DBCtrls, Vcl.StdCtrls,
Vcl.ExtCtrls;
type
TPlayerFrame = class(TFrame)
pnlPlayer: TPanel;
lblPlayer: TLabel;
lb... |
{***************************************************************
*
* Project : PingGUI
* Unit Name: Main
* Purpose : Demonstrates ICMP "Ping"
* Version : 1.0
* Date : Wed 25 Apr 2001 - 01:31:04
* Author : <unknown>
* History :
* Tested : Wed 25 Apr 2001 // Allen O'Neill <allen_oneill@hotmail.com>
*... |
unit Controller;
interface
uses
taTypes, taCsv, System.Classes;
type
TTomatoAggController = class(TObject)
strict private
FCsv: TTaCsv;
//FExcel: TTaExcel;
FFilterTag: string;
FLastCorrectionDateTime: TDatetime;
FLastTomatoDateTime: TDatetime;
procedure SerializeBegin(AStrings: TStringL... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC ODBC Bridge driver }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit printer_context;
interface
uses
printer;
type
TPrinterContext = class
public
procedure executePrint(); virtual; abstract;
end;
TPrinterManager = class(TPrinterContext)
private
FPrinter: TPrinter;
public
// context interface called by client classes
procedure executePrint(); overri... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{
GLFileMD3 - Code for loading animated MD3 files into GLScene
FreeForms and Actors.
History :
<li>10/11/12 - PW - Added CPP compatibility: changed vector arrays to records
<li>02/08/04 - LR, YHC - BCB corrections:... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit Unit1;
interface
use... |
unit Dlg;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls,
Forms, Dialogs, ExtCtrls, StdCtrls, Buttons, ToolIntf, ComCtrls;
type
{ These are the set of flags which determine the type of dialog to create }
TDlgAttr = (daNothing, daMultPg, daBtnsH, daBtnsV);
TDlgAttrs = set of TDlgA... |
unit ParameterKindsQuery;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf,
... |
unit ufrmSysApplicationSettingsOther;
interface
{$I ThsERP.inc}
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls, StrUtils,
Vcl.AppEvnts,
Ths.Erp.Helper.Edit, Ths.Erp.Helper.ComboBox, Ths.Erp.Helper.Memo,
ufrmBase, ufrmBaseInputDB, Vcl.M... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit,
cxNavigator, DB, cxDBData, dxmdaset, cxGridLevel, cxGridCustomTableView... |
(*
Name: KPUninstallVisualKeyboard
Copyright: Copyright (C) SIL International.
Documentation:
Description:
Create Date: 3 May 2011
Modified Date: 3 Feb 2015
Authors: mcdurdin
Related Files:
Dependencies:
Bugs:
Todo: ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.