text stringlengths 14 6.51M |
|---|
unit EditVideoController;
interface
uses
Generics.Collections,
Video, MediaFile, Artist, VideoFormat,
Aurelius.Engine.ObjectManager;
type
TEditVideoController = class
private
FManager: TObjectManager;
FVideo: TVideo;
public
constructor Create;
destructor Destroy; override;
procedure ... |
unit Unit1;
// EMS Resource Module
interface
uses
System.SysUtils, System.Classes, System.JSON,
EMS.Services, EMS.ResourceAPI, EMS.ResourceTypes;
type
[ResourceName('MyTest')]
TMyTestResource1 = class(TDataModule)
private
function MakeJSON(i: integer): TJSONObject;
published
proc... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://localhost:54326/PILABService/PILABService.asmx?WSDL
// Encoding : utf-8
// Version : 1.0
// (17.06.2015 9:16:24 - 1... |
unit SimpleAttributes;
interface
uses
System.RTTI, System.Variants, System.Classes;
type
TJoin = (InnerJoin, LeftJoin, RightJoin, FullJoin);
Tabela = class(TCustomAttribute)
private
FName: string;
public
constructor Create(aName: string);
property Name: string read FName;
end;
Campo = cla... |
namespace RemObjects.Elements.EUnit;
interface
type
Assert = public partial static class {$IF NOUGAT}mapped to Object{$ENDIF}
public
method AreEqual(Actual, Expected : Int32; Message: String := nil);
method AreNotEqual(Actual, Expected: Int32; Message: String := nil);
method Greater(Actual, ... |
unit CameraUnit;
interface
uses Maths3D;
type
TCamera = Class(TObject)
public
X_Angle,
Y_Angle : Single;
Position : TVec3;
moveForward,
moveBackward,
moveLeft,
moveRight,
moveUp,
moveDown : Boolean;
velocity : TVec3;
acceleration,
friction,
fov,
... |
unit GuiaAlvo.Model.RedesSociais;
interface
type
TRedeSocial = class
private
FAPPLECOM: String;
FTUBECOM: String;
FGOOGLECOM: String;
FUBEREATSCOM: String;
FAPPCOM: String;
FTWITERCOM: String;
FINSTACOM: String;
FEMAILCOM: String;
FSITECOM: String;
... |
unit FScanArchive;
(*====================================================================
Dialog box for asking, whether to scan the contents of specified archive.
By default asking is disabled, and probably nobody uses it...
======================================================================*)
interface
u... |
program sudoku;
uses SysUtils;
const n_mat = 9;
version = '1.4.0';
autor = 'Micu Matei-Marius';
git_repo = 'https://github.com/micumatei/solve-sudoku';
gmail = 'micumatei@gmail.com';
licenta = 'The MIT License (MIT)';
type point = record
x, y :byte;
end;
vector = ar... |
unit GameEngine;
interface
uses Tree, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, resource;
type
TGameEngine=class
private
Tree:TTree;
InitialState: TData;
FState:integer;
nilGraphic, cross, toe:TBitmap;
public
procedure Draw(Canvas:TCa... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
A collection of pure abstract classes - descendants of TVXShader, which are
used for purpose of not having to write the same stuff all over and over
again in your own shader classes.
It also contains a procedur... |
(*
Category: SWAG Title: MEMORY/DPMI MANAGEMENT ROUTINES
Original name: 0027.PAS
Description: Loading a file on HEAP
Author: GUY MCLOUGHLIN
Date: 08-27-93 21:32
*)
{
GUY MCLOUGHLIN
>How would I load a file straight into memory, and access it directly
>using pointers?
Load file data onto the HEAP memory-po... |
unit FHIRServerConstants;
interface
Const
SERVER_VERSION = '1.00.000';
SERVER_RELEASE_DATE = '2014-07-23';
implementation
end.
|
{: Parallel projection demo.<p>
This simple demo shows how to do parallel projection and blend some custom
OpenGL calls into the scene.<br>
You can change the viewpoint with left clic drags, change the plane orientation
with right clic drags, and move the plane up/down with the wheel.<p>
The poi... |
unit TestThItemCircle;
{
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, BaseTestUnit, FMX.Types, ... |
{-------------------------------------------------------------------------
Copyright by Haeger + Busch, Germany / >>>>>>>>> /-----
Ingenieurbuero fuer Kommunikationslösungen / <<<<<<<<< /
----------------------------------------------------/ >>>>>>>>> /
Homepage : http://www.hbTapi.com... |
unit ufrmDialogIGRADesc;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterDialog, ufraFooterDialog2Button, ExtCtrls,
StdCtrls, uRetnoUnit, System.Actions, Vcl.ActnList, ufraFooterDialog3Button;
type
TFormMode = (fmAdd, fmEdit);
TfrmDialogIGRADes... |
unit EanDBQr;
interface
{$I ean.inc}
{$ifndef PSOFT_CLX}
uses EanKod,EanQr,DB,DBTables,DBCtrls,Messages,Controls,Classes;
type
TQrDBEan = Class(TQrEan)
private
FDataLink: TFieldDataLink;
function GetDataField: string;
function GetDataSource: TDataSource;
function... |
(* parsing functions generated from file 'EBNF.syn' *)
FUNCTION SyIsNot(expectedSy: Symbol): BOOLEAN;
BEGIN
success:= success AND (sy = expectedSy);
SyIsNot := NOT success;
END; (*SyIsNot*)
PROCEDURE Grammar;
BEGIN
Rule; IF NOT success THEN Exit;
WHILE sy = ... DO BEGIN
Rule; IF NOT su... |
unit ThreadQueue;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
{ TThreadQueue }
TThreadQueue = class(TThreadList)
public
procedure Push(Item: Pointer);
function Front: Pointer;
function Count: Integer;
procedure Pop;
end;
implementation
{ TThreadQueue }
procedure TThread... |
{Part 8 of regression test for SPECFUNX unit (c) 2012 W.Ehrhardt}
unit t_sfx8;
{$i STD.INC}
{$ifdef BIT16}
{$N+}
{$ifndef Windows}
{$O+}
{$endif}
{$endif}
interface
procedure test_zetax;
procedure test_zeta1px;
procedure test_zetaintx;
{$ifndef VER50}
procedure test_zetam1x;
pro... |
unit U_Raise_Add;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uDateControl, uCharControl, uFloatControl, uFControl,
uLabeledFControl, uSpravControl, StdCtrls, Buttons, DB, FIBDataSet,
pFIBDataSet, U_SPPost_DataModule;
type
TAddRaiseForm = class(TForm)
... |
unit tuo1;
INTERFACE
uses util1,debug0;
{ typeListeUO est une liste chaŒn‚e utilis‚e par le compilateur Ncompil.
Elle recense tous les objets d‚clar‚s dans le programme.
Tous les objets doivent descendre d'un mˆme ancˆtre mais la liste ne fait
aucune hypothŠse sur leur type et manipule de simples pointeurs.
... |
{$I-,Q-,R-,S-}
{Problema 8: Fiesta Vacuna Plata [Richard Ho, 2006]
Una vaca de cada una de N granjas (1 <= N <= 1000) convenientemente
numeradas 1..N van a ir a una gran fiesta vacuna que tendrá lugar en
la granja #X (1 <= X <= N). Un total de M (1 <= M <= 100,000)
carreteras unidireccionlaes (de un sentido) conec... |
//***********************************************************************
//* Проект "Студгородок" *
//* Добавление льготы *
//* Выполнил: Чернявский А.Э. 2004-2005 г. *
//*********************... |
unit uNTierConsts;
interface
const
CON_TYPE_DCOM = 'DCOM';
CON_TYPE_SOCKET = 'SOCKET';
CON_TYPE_WEB = 'WEB';
CON_PARAM_TYPE = 'Type';
CON_PARAM_CLIENT_ID = 'ClientID';
CON_PARAM_HOST = 'Host';
CON_PARAM_PORT = 'Port';
CON_PARAM_SOFTWARE = 'Software';
implementation
end.
|
unit DataSetExport;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,IBase, FIBDatabase, pFIBDatabase, DB, FIBDataSet, pFIBDataSet,
Halcn6db, ComCtrls, StdCtrls, cxLookAndFeelPainters, cxButtons,
cxControls, cxContainer, cxEdit, cxProgressBar, cxTextEdit, ZMess... |
(****************************************************************************
*
* WinLIRC plug-in for jetAudio
*
* Copyright (c) 2016 Tim De Baets
*
****************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License... |
//------------------------------------------------------------------------------
//MapList UNIT
//------------------------------------------------------------------------------
// What it does -
// A list of TMaps
//
// Changes -
// December 22... |
namespace TicTacToe;
interface
uses
UIKit;
type TGridInfoArray=array[0..2, 0..2] of NSString;
type
[IBObject]
Board = public class(UIControl)
private
fGridOffset: CGPoint;
fStatusLabel: UILabel;
fTentativeView: UIImageView;
fTentativeGridIndex: GridIndex;
fTentati... |
unit uFrameFreeManualActivation;
interface
uses
Winapi.Windows,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.Clipbrd,
Vcl.StdCtrls,
Vcl.ExtCtrls,
Dmitry.Controls.Base,
Dmitry.Controls.WebLink,
uInternetUtils,
uFrameWizardBase,
uConstants,
... |
unit uGynboSyncClasses;
interface
uses SysUtils, Classes, SOAPHTTPTrans, DateUtils;
const
GC_TRANS_CREDIT = 1;
GC_TRAN_DEBIT = 2;
GC_TRAN_VOID = 3;
type
TXMLContent = class
private
FXML: String;
function GetTagValue(ATagName: String): String;
public
function GetTagInteger(ATagName: String): ... |
unit TestCalculator;
interface
uses
SampleCalculator
, DelphiSpec.StepDefinitions;
type
TCalculatorTestContext = class(TStepDefinitions)
private
FCalc: TCalculator;
public
procedure SetUp; override;
procedure TearDown; override;
end;
implementation
uses
System.SysUtils
, DelphiSpec.Core
, D... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection,
IdTCPClient, IdFTP, ComCtrls, IdExplicitTLSClientServerBase;
type
TForm1 = class(TForm)
Button1: TButton;
Button2: TButton;
Edit1... |
unit Constants;
interface
uses Messages;
const
LATIN_WORD_LETTERS = ['-', 'A'..'Z', 'a'..'z'];
ROME_DIGITS = ['I', 'i', 'V', 'v', 'X', 'x'];
CYRILLIC_WORD_LETTERS = ['À'..'ß','à'..'ÿ'];
STR_FILTERNAME_DIRECTSOUND = 'DirectSound';
STR_EXTENTIONS = '*.AVI;*.mkv;*.mp4;*.MPG;*.MPEG;*.ASF';
DIC_SEPARATOR... |
unit LrStreamable;
interface
uses
SysUtils, Classes;
type
TLrStreamable = class(TComponent)
protected
procedure ReadError(Reader: TReader; const Message: string;
var Handled: Boolean);
public
function SaveToText: string;
procedure LoadBinaryFromStream(inStream: TStream);
procedure LoadF... |
unit ImplicitConvertOpTest;
interface
uses
DUnitX.TestFramework,
uIntX;
type
[TestFixture]
TImplicitConvertOpTest = class(TObject)
public
[Test]
procedure ConvertAllExceptInt64();
[Test]
procedure ConvertInt64();
end;
implementation
[Test]
procedure TImplicitConve... |
unit rtti_idebinder_uDataBinder;
interface
uses
Classes, SysUtils, Controls,
rtti_broker_iBroker, rtti_idebinder_uDataSlots, rtti_idebinder_iBindings;
type
{ TRBDataBinder }
TRBDataBinder = class(TInterfacedObject, IRBDataBinder)
private
fDataSlots: TDataSlots;
protected
// IRBDataBinder
pr... |
unit ScrollListBox;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, ComCtrls, StdCtrls;
type
THScrollListBox = class(TListBox)
private
MaxExtent: integer; { maximum length of the strings in the listbox (in pixel) }
function GetStringExt... |
unit o_BinConverter;
interface
uses
Classes, SysUtils;
function BinToHexString(aStream: TStream): WideString;
function BinFileToHexString(aFullFilename: string): WideString;
procedure HexStringToBin(const aHex: string; aStream: TStream);
procedure HexStringToFile(aHex, aFullFilename: string);
implementation
fu... |
unit u_ast_expression_blocks;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
u_ast_blocks,
u_tokens;
type
TMashASTB_Expression = class(TMashASTBlock)
public
tokens: TList;
ast: TObject; //TMashASTExpression
constructor Create;
destructor Destroy; override;
end;
TMa... |
{******************************************************************************}
{* frxEditMvxParams.pas *}
{* This module is part of Internal Project but is released under *}
{* the MIT License: http://www.opensource.org/licenses/mit-license.php ... |
unit FormHeightmap;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls;
type
TFrmHeightMap = class(TForm)
EdImage: TEdit;
BtBrowseImage: TButton;
BtBrowseHeightmap: TButton;
EdHeightmap: TEdit;
Label1: TLabel;
... |
unit Nullpobug.Example.Spring4d.LocalMathService;
interface
implementation
uses
Nullpobug.Example.Spring4d.ServiceLocator
, Nullpobug.Example.Spring4d.MathServiceIntf
;
type
TLocalMathServiceImpl = class(TInterfacedObject, IMathService)
function Add(A, B: integer): Integer;
function Multiply(A, B: i... |
unit wwspin;
interface
uses Wintypes, winprocs, Classes, StdCtrls, ExtCtrls, Controls, Messages, SysUtils,
Forms, Graphics, Menus, Buttons;
const
InitRepeatPause = 400; { pause before repeat timer (ms) }
RepeatPause = 100; { pause before hint window displays (ms)}
type
TwwTimerSpeedButton = class;
... |
unit UnitFormReg;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, IdTCPServer, UnitPrincipal;
type
TFormReg = class(TForm)
LabelNombre: TLabel;
EditNombreValor: TEdit;
LabelInformacion: TLabel;
MemoInformacionValor: TMemo;
... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2015 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable as ... |
//*****************************************//
// Carlo Pasolini //
// http://pasotech.altervista.org //
// email: cdpasop@hotmail.it //
//*****************************************//
//http://pasotech.altervista.org/delphi/articolo95.htm
unit uCodeInjection_RemoteUncrypt;
... |
unit GCDOpTest;
{$mode objfpc}{$H+}
interface
uses
fpcunit,
testregistry,
uIntX;
type
{ TTestGCDOp }
TTestGCDOp = class(TTestCase)
published
procedure GCDIntXBothPositive();
procedure GCDIntXBothNegative();
procedure GCDIntXBothSigns();
end;
implementation
{ TTestGCDOp }
procedu... |
unit Objekt.Maildat;
interface
uses
SysUtils, Classes, Vcl.ExtCtrls,
Objekt.DateTime, Vcl.Controls, Vcl.Forms;
type
TProvider=(pvExchange, pvGmail, pvWeb);
type
TMailDat = class
private
fProgrammPfad: string;
fDataFile: string;
fProvider: TProvider;
fMail: string;
fHost: string;
fU... |
unit BaseTypes;
interface
uses
Classes,Windows,SysUtils,ScktComp,superobject,Common,ComObj,OPCtypes,OPCDA, OPCutils,ActiveX,ExtCtrls;
type
TOnDataChange = procedure (dwTransid: DWORD; hGroup: OPCHANDLE;hrMasterquality: HResult; hrMastererror: HResult; dwCount: DWORD;phClientItems: POPCHANDLEARRAY; pvValues... |
(*
Category: SWAG Title: TEXT/GRAPHICS COLORS
Original name: 0017.PAS
Description: Background/Foreground
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:34
*)
{
YZ> Does anyone know how to "extract" the Foreground and
YZ> background colours from
YZ> TextAttr?
or, For simplicity, use:
FC := TextAttr MOD 16;
... |
unit fmRazpDelOpt;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons;
type
TfmRazpDeleteOpt = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
bbOk: TBitBtn;
bbCancel: TBitBtn;
gbTurnus: TGroupBox;
rbDelAll: TRadio... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [COMPRA_PEDIDO]
The MIT License ... |
unit Grijjy.OpenSSL.API;
{ Provides an interface to OpenSSL }
{$I Grijjy.inc}
interface
uses
System.Classes,
{$IF Defined(MSWINDOWS)}
Windows,
{$ELSEIF Defined(LINUX)}
{$ELSE}
{$MESSAGE Error 'Unsupported Platform'}
{$ENDIF}
System.SyncObjs,
System.SysUtils;
const
{$IFNDEF MSWINDOWS}
SSLEAY... |
(*----------------------------------------------------------------------------*
* Direct3D sample from DirectX 9.0 SDK December 2006 *
* Delphi adaptation by Alexey Barkovoy (e-mail: directx@clootie.ru) *
* *
... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmFormEditBinding
Purpose : dialog form for choosing key binding combinations
Date : 10-26-2000
Author : Ryan J. Mills
Version : 1.92
===================================... |
{
Lua4Lazarus
TLuaObject
License: New BSD
Copyright(c)2010- Malcome@Japan All rights reserved.
Version History:
1.54.200703 by Malcome Japan.
- Test Lazarus 2.0.8 (FPC 3.0.4)
- for Lua 5.4
1.53.150205 by Malcome Japan.
- Test Lazarus 1.4RC1 (FPC ... |
unit Mesh;
interface
uses dglOpenGL, GLConstants, Graphics, Normals, BasicMathsTypes, BasicDataTypes,
BasicRenderingTypes, Palette, Dialogs, SysUtils, IntegerList, StopWatch,
ShaderBank, ShaderBankItem, TextureBank, TextureBankItem, IntegerSet,
Material, Vector3fSet, MeshPluginBase, MeshGeome... |
unit UPedidoVenda;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids,
Datasnap.DBClient, Vcl.StdCtrls, Vcl.ExtCtrls, FireDAC.Phys.MySQLDef,
FireDAC.Stan.Intf, FireDAC.Phys, FireD... |
unit FormPreferences;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ImgList, StdCtrls, ComCtrls, ExtCtrls, Registry, Voxel_Engine;
type
TFrmPreferences = class(TForm)
GroupBox1: TGroupBox;
Pref_List: TTreeView;
PageControl1: TPageCont... |
unit Parser;
{$mode objfpc}
{$H+}
interface
uses contnrs, regexpr, fpexprpars, classes, SysUtils;
type
TParserDefinitions = class
private
m_table : TFPStringHashTable;
procedure CopyIterateFn(Item: String; const Key: String; var Continue: Boolean);
function GetItem(Id: string): string;
procedur... |
unit ContadorController;
interface
uses
System.Generics.Collections,
//
Aurelius.Engine.ObjectManager, Aurelius.Criteria.Base, Aurelius.Criteria.Expression, Aurelius.Criteria.Linq, Aurelius.Criteria.Projections,
//
Contador;
type
TContadorController = class
private
class var FManager: TObjectManage... |
unit uSM;
interface
uses System.SysUtils, System.Classes, Datasnap.DSServer, Datasnap.DSAuth,
DataSnap.DSSession;
type
TSM = class(TDSServerModule)
private
{ Private declarations }
public
{ Public declarations }
function EchoString(Value: string): string;
[TRoleAuth('admin','user')]
fu... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmWordTree
Purpose : The TrmWordTree is a non-visual component provides a dictionary type
word lookup interface. You provide it with a list of words and then
... |
unit ZabbixSender;
interface
uses
System.SysUtils,
System.DateUtils,
System.JSON,
System.Generics.Collections,
IdGlobal,
IdIOHandler,
IdTCPClient;
type
TZabbixMetric = record
private
Host : string;
Key : string;
Value : string;
Clock : Int64;
public
class function Crea... |
unit luaConfig;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, lua, pLua, pLuaRecord;
implementation
uses
MainForm;
function GetCaption(RecordPointer : pointer; l : Plua_State; paramidxstart, paramcount : integer) : Integer;
begin
// Get the value of the caption and put it on the stack
plua_pushstr... |
unit htControls;
interface
uses
SysUtils, Types, Classes, Controls, Graphics,
LrControls,
htInterfaces, htMarkup, htStyle, htJavaScript;
type
ThtGraphicControl = class(TLrGraphicControl, IhtControl)
private
FCtrlStyle: ThtStyle;
FExtraAttributes: string;
FJavaScript: ThtJavaScriptEvents;
... |
object Form1: TForm1
Left = 385
Top = 200
BorderIcons = [biSystemMenu]
BorderStyle = bsSingle
Caption = 'List & Label advanced sample program'
ClientHeight = 126
ClientWidth = 439
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'System'
... |
unit FormNewSectionSizeUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls;
type
TFrmNewSectionSize = class(TForm)
lblCaption: TLabel;
txtZ: TEdit;
lblX: TLabel;
lblY: TLabel;
txtX: TEdit;
lblZ: TLabel;
tx... |
unit TextDocument;
interface
uses
Classes,
LrDocument;
type
TTextDocument = class(TLrDocument)
private
FText: TStringList;
protected
procedure SetText(const Value: TStringList);
public
constructor Create; override;
destructor Destroy; override;
procedure Load; override;
procedure... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, VirtualExplorerTree, VirtualTrees, VirtualShellUtilities,
StdCtrls;
type
TForm1 = class(TForm)
ExplorerListview1: TVirtualExplorerListview;
ExplorerTreeview1: TVirtualExplorerTre... |
unit SmGlobalWizardIntf;
interface
uses AppStruClasses, Forms, Classes, Ibase, Messages, Windows,
Dialogs, SysUtils, SmGlobalWizardForm, Controls,
pFibDataBase, pFibDataSet, pFibQuery;
type
TBUGlobalWizard=class(TFMASAppModule,IFMASModule)
private
WorkMainForm:TForm;
public
... |
unit brKunjunganU;
interface
uses Dialogs, Classes, brCommonsU, System.SysUtils, System.StrUtils, synautil;
type
brKunjungan = class(bridgeCommon)
private
// procedure masukkanGetPendaftaranUrut;
is_post : Boolean;
//no_kartu : string;
// no_kunjungan : string;
procedure masukkanPostKunjung... |
unit ThPanel;
interface
uses
Windows, Classes, Controls, StdCtrls, ExtCtrls, Graphics, Messages, SysUtils,
Types,
ThWebControl, ThAttributeList, ThTag, ThTextPaint;
type
TThCustomPanel = class(TThWebControl)
private
FShowOutline: Boolean;
FShowGrid: Boolean;
FVAlign: TThVAlign;
protected... |
unit uCadImagem;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, DB, ADODB, funcoes, funcsql, StdCtrls, Grids, DBGrids,
RpCon, RpConDS, RpBase, RpSystem, RpDefine, RpRave, adLabelEdit,
TFlatButtonUnit, TFlatCheckBoxUnit, jpeg, FileCtrl;
t... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [VIEW_SPED_C190]
The MIT License ... |
unit Compute.Future.Detail;
interface
uses
Compute.OpenCL;
type
IFuture<T> = interface
function GetDone: boolean;
function GetValue: T;
function GetPeekValue: T;
function GetEvent: CLEvent;
procedure Wait;
property Done: boolean read GetDone;
property Value: T read GetValue;
pro... |
unit Level;
interface
uses Classes;
Const
SECFLAG1_EXTCEILING = $00000001; // Exterior Ceiling
SECFLAG1_EXTFLOOR = $00000002; // Exterior Floor
SECFLAG1_EXTTOPADJOIN = $00000004; // Exterior top adjoin
SECFLAG1_EXTBTMADJOIN = $00000008; // Exterior bottom adjoin
SECFLAG1_NOWALLS ... |
unit ItemInstance;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
uses
GameObject,
Item
;
type
//------------------------------------------------------------------------------
//TItemInstance CLASS
//------------------------------------------... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2015 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable as... |
(*
* FPG EDIT : Edit FPG file from DIV2, FENIX and CDIV
*
*
* 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 later v... |
unit Classes.Box.Goal;
interface
uses
Interfaces.Box.Goal,
Vcl.ExtCtrls,
System.Classes,
System.Types,
Vcl.Imaging.pngimage,
Vcl.Controls;
type
TBoxGoal = class(TInterfacedObject, IBoxGoal)
strict private
var
FPosition: TPoint;
FImage: TImage;
FOwner: TGridPanel;
png: TPngImage;
... |
unit userdir;
//returns directory where user has read/write permissions...
{$IFDEF FPC} {$mode delphi}{$H+} {$ENDIF}
{$IFDEF Darwin} {$modeswitch objectivec2} {$ENDIF}
interface
//returns number of cores: a computer with two dual cores will report 4
function IniName: string;
function DefaultsDir (lSubFolder:... |
unit UtilLib_UiLib;
//YXC_2010_04_04_22_28_26
//专门用有处理UI的库
interface
uses
SysUtils,Forms,ExtCtrls,AdvGrid,Grids;
procedure SetCommonFormParams(AForm:TForm);
procedure SetCommonMainFormParams(AForm:TForm);
procedure SetCommonDialogParams(ADialog:TForm);
procedure SetCommonAdvGridParams(AAdvGrid:TAdvString... |
unit Coches.View.Desktop;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Rtti,
FMX.Grid.Style, FMX.StdCtrls, FMX.Layouts, FMX.Controls.Presentation,
FMX.ScrollBox, FMX.Grid, System.Actions, FM... |
namespace com.example.android.simplewiktionary;
{*
* Copyright (C) 2007 The Android Open Source Project
*
* 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.a... |
unit uImageViewCount;
interface
uses
Generics.Collections,
System.Classes,
System.SyncObjs,
uMemory,
uRuntime,
uDBThread,
uDBContext;
type
TImageViewInfo = class
public
DBContext: IDBContext;
ID: Integer;
constructor Create(DBContext: IDBContext; ID: Integer);
end... |
{*******************************************************}
{ }
{ 基于HCView的电子病历程序 作者:荆通 }
{ }
{ 此代码仅做学习交流使用,不可用于商业目的,由此引发的 }
{ 后果请使用者承担,加入QQ群 649023932 来获取更多的技术 }
{ 交流。 ... |
unit UnitSavingTableForm;
interface
uses
Winapi.Windows,
System.SysUtils,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Data.DB,
Dmitry.Controls.DmProgress,
uDBContext,
uThreadForm;
type
TSavingTableForm = class(TThreadForm)
Dm... |
{
Unit for complementary functions
Author: Wanderlan Santos dos Anjos (wanderlan.anjos@gmail.com)
Date: jul-2008
License: BSD<extlink http://www.opensource.org/licenses/bsd-license.php>BSD</extlink>
}
unit ExtPascalUtils;
{$IFDEF FPC}{$MACRO ON}{$MODE DELPHI}{$ENDIF}
interface
uses
SysUtils, Types, Cl... |
{: Procedural Texture Demo / Tobias Peirick }
unit Unit1;
interface
uses
SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, GLScene, GLObjects, GLTexture, GLHUDObjects,
GLCadencer, GLLCLViewer, GLProcTextures, Spin, GLCoordinates,
GLCrossPlatform, GLBaseClasses;
type
TFo... |
unit uFrameBaseGrid;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, DB, cxDBData, cxGridLevel, cxClasses, cxControls,
cxGridCustomView, cxGridCustomTableView, cxGridTableV... |
(*
* DGL(The Delphi Generic Library)
*
* Copyright (c) 2004
* HouSisong@gmail.com
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your ... |
unit TestUItensRateioVO;
{
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, SysUtils, Atributos, UU... |
unit Allgemein.Funktionen;
interface
uses
Windows, Classes, System.SysUtils;
function isValidEmail(const aValue: string; var aFehlermeldung: string): Boolean;
implementation
function isValidEmail(const aValue: string; var aFehlermeldung: string): Boolean;
var
iPos: Integer;
s: string;
s1: string;
i1,... |
PROGRAM Main;
USES UEarthquake;
PROCEDURE AddEarthquakeEntries(number: INTEGER);
VAR
i: INTEGER;
BEGIN
FOR i := 1 TO number DO
BEGIN
AddEarthquake(1.321, 2.345, 8.0, 'Hagenberg', '01.01.2018');
END;
END;
FUNCTION AssertTrue(bool: BOOLEAN): STRING;
BEGIN
AssertTrue := 'X';
IF bool THEN
AssertTrue :... |
{*******************************************************************************
Title: T2TiPDV
Description: Janela utilizada para iniciar um novo movimento.
The MIT License
Copyright: Copyright (C) 2012 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associ... |
unit sgDriveriOS;
//=============================================================================
// sgiOSDriver.pas
//=============================================================================
//
//
//=============================================================================
interface
uses sgTypes;
type
S... |
unit Produto;
interface
uses
DBXJSONReflect, RTTI, DBXPlatform, TipoProduto, Generics.Collections,
FornecedorProduto, Validade;
type
TDoubleInterceptor = class(TJSONInterceptor)
public
function StringConverter(Data: TObject; Field: string): string; override;
procedure StringReverter(Data: TObject; Fi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.