text stringlengths 14 6.51M |
|---|
unit ufrmMasterBrowse;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmMaster, cxStyles,
cxClasses, Vcl.StdCtrls, Vcl.ExtCtrls, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxContainer, ... |
unit uPRK_SP_OCENKA;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uPrK_SpravOneLevel, cxGraphics, cxStyles, cxCustomData,
cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, dxBar,
dxBarExtItems, FIBQuery, pFIBQuery, pFIBStoredProc, FIBDatabase,
pFIBD... |
unit MainReportsViewDPK;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, OleCtrls, SHDocVw, StdCtrls, cxStyles, cxCustomData,
cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData,
cxGridLevel, cxClasses, cxControls, cxGrid... |
unit recordConst;
interface
type
Integer = Integer;
string = string;
TVec = packed record
Name: string;
Value: Integer;
end;
const
crNone = 0;
CArr: array[0..22] of TVec = (
(Value: crNone; Name: 'crNone'),
(Value: 1; Name: 'crArrow'),
(Value: 2; Name: '... |
unit SpFoto_Types;
interface
uses Classes, SysUtils;
type TJpegGeneralInfo = record
Width:Integer;
Height:Integer;
XPP:Integer;
YPP:Integer;
ResolutionUnit:Integer;
end;
function GetJpegGeneralInfo(AFileName:String):TJpegGeneralInfo;
implementation
uses SpFoto_ImgSize, SpFoto_JpegInfo;
funct... |
unit Lib.HTTPClient;
interface
uses
System.SysUtils,
System.Classes,
Lib.TCPSocket,
Lib.HTTPConsts,
Lib.HTTPUtils,
Lib.HTTPSocket;
type
THTTPClient = class(THTTPSocket)
private
FURLs: TRingBuffer<string>;
FHost: string;
FHostName: string;
FPort: Integer;
FActive: Boolean;
FOnR... |
unit msgstr;
{$mode objfpc}{$H+}
interface
resourcestring
STR_CHECK_SETTINGS = 'Проверьте настройки';
STR_READING_FLASH = 'Читаю флэшку...';
STR_WRITING_FLASH = 'Записываю флэшку...';
STR_WRITING_FLASH_WCHK = 'Записываю флэшку с проверкой...';
STR_CONNECTION_ERROR = 'Ошибка подключения к ';... |
(*
Category: SWAG Title: OOP/TURBO VISION ROUTINES
Original name: 0064.PAS
Description: Using ListBoxes
Author: KEN BURROWS
Date: 05-26-95 23:19
*)
{
From: Ken.Burrows@telos.org (Ken Burrows)
>I am trying to write a TVision program that displays a list of items in a
>list box. After highligting the item th... |
unit DealItemsTreeView;
interface
uses
Controls, Sysutils, VirtualTrees, define_dealitem;
type
PDealItemNode = ^TDealItemNode;
TDealItemNode = record
DealItem: PRT_DealItem;
end;
TDealItemColumns_BaseInfo = record
Col_Index: TVirtualTreeColumn;
Col_Code: TVirtualTreeColumn;
Col_Name: ... |
unit SimpleReestrDataModul;
interface
uses
SysUtils, Classes, DB, FIBDataSet, pFIBDataSet, FIBDatabase, pFIBDatabase,
frxClass, frxDBSet, frxDesgn, IBase, IniFiles, Forms, Dates, Variants,
Unit_SprSubs_Consts, ZProc, ZSvodTypesUnit, Controls, FIBQuery,
pFIBQuery, pFIBStoredProc, ZMessages, Dialogs, Math, ZSvo... |
unit ButtonListBox;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TButtonListBox = class(TListBox)
private
FDepth: integer;
FNormalColor: TColor;
FSelectFontColor: TColor;
FHighLight: TColor;
FFace: TColor;
FShadow:... |
namespace PlayLister;
{ RemObjects Oxygene Sample application
This application loops over all mp3 files in a given folder hierarchy
and creates recursive .m3u playlist files }
interface
uses System.*;
type
ConsoleApp = class
private
class var
fFiles: ArrayList;
fMusicFolder, fOutFolder, fP... |
{HACER QUE TODO TPOINT APUNTE SIEMPRE
A SUS VERTICES Y QUE DEJE DE HACERLO SI
UN VERTICE SE DESPRENDE}
{ELIMINAR CAMPO REFERENCES DE TPOINT}
{3D object handling. this unit is related to uRickGL
Tentity: an entity or object
tface: a face of an entity, each entity has many faces
Tvertex: a vertex of a ... |
unit exASN1;
interface
uses
Windows,
Winsock,
untFunctions,
untFTPD;
Type
BitString = Class(TObject)
public
Procedure BitString(); Overload;
Procedure BitString( const pszString: pchar ); Overload;
Procedure BitString( pData: Pointer; nDataLen: Integer); Overload;
Proced... |
namespace OxygeneStack;
interface
type
StackItem<T> = class
public
property Data: T;
property Prev: StackItem<T>;
end;
Stack<T> = public class
private
property Top: StackItem<T>;
public
method Count: Integer;
method Pop: T;
method Push(aData: T);
end;
implementation
method St... |
unit Coches.VM;
interface
uses
System.SysUtils,
System.Classes,
Data.DB,
Spring,
Spring.Collections,
MVVM.Types,
MVVM.Attributes,
MVVM.Interfaces,
MVVM.Interfaces.Architectural,
MVVM.Bindings,
Coche.Interfaces,
Coche.Types,
DataSet.Model,
DataSet.Types;
type
[ViewModel_Implements(I... |
unit UnitOpenGLEnvMapGenShader;
{$ifdef fpc}
{$mode delphi}
{$ifdef cpui386}
{$define cpu386}
{$endif}
{$ifdef cpuamd64}
{$define cpux86_64}
{$endif}
{$ifdef cpu386}
{$define cpux86}
{$define cpu32}
{$asmmode intel}
{$endif}
{$ifdef cpux86_64}
{$define cpux64}
{$define cpu64}
{... |
unit FormWeatherDskUnit;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes,
System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs,
FMX.StdCtrls, FMX.Layouts, FMX.ListBox, FMX.Memo, weather_utils;
type
TFormWeatherDsk = class(TForm)
ButtonCount... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, IdHttp,
idSSLOpenSSL, Restclient, Shopware5Client, httpConnection, o_onlineShopShopware5,
Shopware5Objects, System.Gener... |
unit UCompressFile;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ComCtrls;
type
TFCompressFile = class(TForm)
EditFile: TEdit;
cmdCompress: TButton;
lblFile: TLabel;
SbFile: TSpeedButton;
OpenDialog: TOpenDialog;
... |
program base2to36;
(*String mit Characters die verwendet werden dürfen*)
const possibleCharacters : String = '0123456789ABCDEFGHIJKLMNOPRRSTUVWXYZ';
(*Funktion für x^y*)
function powerFn (number, expo: Real): Real;
begin
powerFn := Exp(Expo*Ln(Number));
end;
(*Liefert Position des gesuchten Elementes in einem St... |
unit UnitConnectionSettings;
{$I Compilar.inc}
interface
uses
StrUtils,Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, ImgList, Buttons, Menus, ExtCtrls, sPanel, unitMain;
type
TFormConnectionSettings = class(TForm)
MainPanel: TsPanel;
Label1: TLa... |
unit UTemplateDre;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UtelaCadastro, Vcl.ComCtrls,
Vcl.StdCtrls, Vcl.Mask, Vcl.Buttons, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids, UTemplateDreVO,
Generics.Collections,... |
unit UExceptions;
(*====================================================================
Exceptions used in DiskBase
======================================================================*)
interface
uses SysUtils, UTypes;
type
EQDirException = class(Exception);
EQDirFatalException = class(EQDirExcep... |
unit uZBase32;
{
Copyright (c) 2015 Ugochukwu Mmaduekwe ugo4brain@gmail.com
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for ... |
unit Win32.MFPlay;
// Updated to SDK 10.0.17763.0
// (c) Translation to Pascal by Norbert Sonnleitner
{$IFDEF FPC}
{$mode delphi}
{$ENDIF}
interface
{$Z4}
{$A4}
uses
Windows, Classes, SysUtils, ActiveX, ShlObj,
CMC.WTypes, CMC.MFIdl, CMC.EVR, Win32.MFObjects;
const
MFPlay_DLL = 'MFPlay.dll';
const
... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, IPPeerClient,
IPPeerServer, System.Tether.Manager, System.Tether.AppProfile,
FMX.ListView.Types, FMX.ListView, FMX.StdCtrls, FMX.... |
unit uThreading_Controller;
interface
uses uThreading_Interface, System.Classes, Vcl.Forms, System.SysUtils,
Vcl.ComCtrls, uFTarefa2;
Type
TController_CallProcess = class(TInterfacedObject, iController_Threading)
private
FThreadIndex: Integer;
public
destructor Destroy; override;
cl... |
program single;
TYPE
nodePtr = ^listElement;
listElement = RECORD
next: nodePtr;
val: Integer;
END;
procedure printList(list : nodePtr);
BEGIN
write('list: ');
while(list <> nil) do begin
write(list^.val);
list := list^.next;
end;
WriteLn;
END;
function NewNode(val : Integer):... |
(* Common functions / utilities *)
unit globalutils;
{$mode objfpc}{$H+}
{$WARN 4105 off : Implicit string type conversion with potential data loss from "$1" to "$2"}
{$WARN 4104 off : Implicit string type conversion from "$1" to "$2"}
interface
uses
Graphics, SysUtils, DOM, XMLWrite, XMLRead;
type
coordinates ... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmCalendar
Purpose : Replacement for the windows comctrl calendar.
Also has CalendarCombo.
Date : 01-01-1999
Author : Ryan J. Mills
Version : 1.92
==========... |
{
Clever Internet Suite Version 6.2
Copyright (C) 1999 - 2006 Clever Components
www.CleverComponents.com
}
unit clSMimeMessage;
interface
{$I clVer.inc}
uses
Classes, SysUtils, clMailMessage, clCert, clCryptAPI, clEncoder;
type
TclSMimeBody = class(TclMessageBody)
private
FSource: TStrings;
FBo... |
unit uAssociatorCardList_Frm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBaseEditFrm, cxGraphics, Menus, cxLookAndFeelPainters,
cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit, DB,
cxDBData, cxGridLevel, cxClasses, cxControls, cx... |
unit EditBone.FindInFiles;
interface
uses
System.Classes, System.Types, BCEditor.Types, BCEditor.Editor;
type
TOnCancelSearch = function: Boolean of object;
TOnAddTreeViewLine = procedure(ASender: TObject; const AFilename: string; const ALine, ACharacter: LongInt; const AText: string;
const ASear... |
unit PortSipConsts;
interface
uses
classes,SysUtils;
const
LINE_BASE = 1;
MAXLINE = 8;
// DTMF
DTMF_0 = '0';
DTMF_1 = '1';
DTMF_2 = '2';
DTMF_3 = '3';
DTMF_4 = '4';
DTMF_5 = '5';
DTMF_6 = '6';
DTMF_7 = '7';
DTMF_8 = '8';
DTMF_9 = '9';
DTMF_star = '*';
DTMF_count = '#';
// DTMF_NUM
... |
unit AndroidWearComponent;
interface
uses Classes;
type
TAndroidWearViews=class(TComponent)
private
function GetSupportedDevices: string;
published
property SupportedDevices: string read GetSupportedDevices;
end;
procedure Register;
implementation
uses
GearLiveDevice, Moto360Device, LGGDevice;
... |
{*******************************************************************************
* uSimpleCheck *
* *
* Библиотека компонентов для работы с формой редактирования (qFControls) ... |
unit uBaseEditFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, DBClient,
cxGridCustomView,
cxGridCustomTableView, cxGridTableView, cxGridDBTableView,
cxGrid,cxLookAndFeels,cxGridDBBandedTableView,shellapi,uI3BaseFrm;
type
TSTBaseEdi... |
unit AMath;
{Accurate floating point math unit}
interface
{$i std.inc}
{$ifdef BIT16}
{$N+}
{$endif}
{$ifdef NOBASM}
{$undef BASM}
{$endif}
{.$undef const}
(*************************************************************************
DESCRIPTION : Accurate floating point math unit
R... |
unit fre_db_common;
{
(§LIC)
(c) Autor,Copyright
Dipl.Ing.- Helmut Hartl, Dipl.Ing.- Franz Schober, Dipl.Ing.- Christian Koch
FirmOS Business Solutions GmbH
www.openfirmos.org
New Style BSD Licence (OSI)
Copyright (c) 2001-2013, FirmOS Business Solutions GmbH
All rights reserved.
Redi... |
unit U_Npp_PreviewHTML;
////////////////////////////////////////////////////////////////////////////////////////////////////
interface
uses
SysUtils, Windows, IniFiles,
NppPlugin, SciSupport,
F_About, F_PreviewHTML;
type
TNppPluginPreviewHTML = class(TNppPlugin)
private
FSettings: TIniFile... |
{ Copyright (c) 1985, 87 by Borland International, Inc. }
unit MCINPUT;
interface
uses Crt, Dos, MCVars, MCUtil, MCDisply, MCParser, MCLib;
function GetKey : Char;
{ Reads the next keyboard character }
function EditString(var S : IString; Legal : IString;
MaxLength : Word)... |
unit ProtFSS_ReestrFillForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,IBase,ProtFSS_DM, cxStyles, cxCustomData, cxGraphics, cxFilter,
cxData, cxDataStorage, cxEdit, DB, cxDBData, dxBar, cxGridLevel,
cxClasses, cxControls, cxGridCustomView, cxGridCustomT... |
unit TestFD.Compiler.Lexer.Pascal;
{
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, System.SysUti... |
////////////////////////////////////////////////////////////////////////
// //
// GLScene Fire Demo v1.0 //
// - для начинающих и начавших //
//======================... |
unit uDocwikiProxy_FMX;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
IdBaseComponent, IdComponent, IdCustomTCPServer, IdTCPServer, IdCmdTCPServer,
IdHTTPProxyServer, FMX.ScrollBox, FMX.Memo, FMX.St... |
unit YarxiReadingCommon;
interface
function CombineAlternativeReading(const rd: string; const alt: string): string;
implementation
uses WcExceptions, YarxiStrings;
{ Совмещает основное чтение, производящее кану, с альтернативным - для отображения.
Производит общее чтение с пометками собственного формата... |
Unit Moves;
{ Moves.Pas Unit for making computer's moves for the TicTacToe
game. Author Bruce F. Webster. Last Update 12 Dec. 1987 }
Interface
Uses TicTac;
Var
CFlag : Integer; { O if computer moves first, 1 otherwise }
CMove : Move; { Contains computer's market (x,o) }
P... |
program tracktion;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp, nifti_loader, define_types, matmath, math,
track, DateUtils;
const
kMaxWayPoint = 8; //we can store 8 independent waypoint maps with 1-byte per pixel
type
TTrackingPrefs = ... |
program Bataille_Navale_Prof;
uses crt,sysutils;
CONST
NBBATEAU=2;
MAXCASE=4;
MINL=1;
MAXL=10;
MINC=1;
MAXC=10;
Type
positionBateau=(enLigne,enColonne,enDiag);
etatBateau=(toucher,couler);
etatFlotte=(aFlot,aSombrer);
etatJoueur=(gagne,perd);
type
cellule=record
ligne:integer;
col:integer... |
unit Validador.Core.LocalizadorScript;
interface
uses
Data.DB;
type
ILocalizadorDeScript = Interface(IInterface)
['{11A5B89F-E97E-4501-8F49-E6B07886921E}']
function SetDataSet(const ADataSet: TDataSet): ILocalizadorDeScript;
procedure Localizar(const DiretorioInicio: string);
end;
implementation
... |
unit GLOBAL;
interface {Описання доступної інформації для їнших модулів}
const
p = 1;
m = 10;
n = 10;
type
arr = array[1..p, 1..m, 1..n] of integer; {Задання користувацького типу "масив"}
vector=array [1..n*m] of integer; {Задання користувацького типу "вектор"}
var A:arr; {Змінна типу масив}
V:arr; {Змін... |
unit TerminalUserInput;
interface
///
/// Displays a prompt to the user, and reads in the string
/// they reply with. The string entered is then returned.
///
function ReadString(prompt: String): String;
///
/// Displays a prompt to the user, and reads in the number (whole)
/// they reply with. The function ensures ... |
unit CustomizeEditor;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, mwCustomEdit, StdCtrls, ColorGrd, ExtCtrls, ipUtils, ipPlacemnt,
ipOther, ipFontMng, ipEdit, ipControls, ipButtons, mwHighlighter,
ipBookSyn, ipHTMLHelp;
type
TfmCustomizeEditor = class(TipHTMLHel... |
PROGRAM BST; {* binary search tree *}
TYPE
Node = ^NodeRec;
NodeRec = Record
value: LONGINT;
// nexts: ARRAY[1..?] OF NODE;
left, right: Node;
END;
Tree = Node;
FUNCTION ToLeft(nodeValue, value: LONGINT): BOOLEAN;
BEGIN
ToLeft := value < nodeValue;
END;
PROCEDURE InitTree(VAR t: Tree);
BEGIN
... |
unit PedidoVendaDAO;
interface
uses
Classes, DBXCommon, PedidoVenda, ItemPedidoVenda, SqlExpr, SysUtils,
EstoqueDAO, ClienteDAO, ProdutoDAO, FuncionarioDAO, Generics.Collections, ContaReceberDAO, ContaReceber;
type
{$MethodInfo ON}
TPedidoVendaDAO = class(TPersistent)
private
FComm: TDBXCommand;
Es... |
unit VendasVO;
interface
//
//CREATE TABLE CLIENTE (
// ID INTEGER,
// NOME VARCHAR(50),
// ENDERECO VARCHAR(50),
// VALORTOTAL VARCHAR(50),
// TIPOOPERACAO VARCHAR(50),
// CODCFOB VARCHAR(50),
// SALDOANTERIOR VARCHAR(50),
// CODVEN1B VARCHAR(10),
// SA... |
//
// Generated by JavaToPas v1.4 20140515 - 182936
////////////////////////////////////////////////////////////////////////////////
unit android.graphics.AvoidXfermode_Mode;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes;
type
JAvoidXfermode_Mode = interface;
JAvoidXfermode_ModeClass = inter... |
unit DreamChatTranslater;
interface
uses Classes;
type
TDreamChatTranslaterIDs =
(
//[Form]
I_COMMONCHAT, //'Общий'
I_PRIVATE, //'Приват'
I_LINE, //'Линия'
I_MESSAGESBOARD, //Доска объявлений
I_MESSAGESBOARDUPDATE, //Обновлена доска объявлений
I_USERCONNECTED, ... |
unit uThreadImportPictures;
interface
uses
Generics.Collections,
System.Classes,
System.SysUtils,
System.Math,
System.Win.ComObj,
Winapi.Windows,
Winapi.ActiveX,
Vcl.Forms,
Dmitry.Utils.System,
Dmitry.Utils.Files,
Dmitry.PathProviders,
Dmitry.PathProviders.FileSystem,
uP... |
{$B-,I-,Q-,R-,S-}
{$M 16384,0,655360}
{62þ T£nel. USA 2003
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Mirko est posicionado en la entrada y Slavko est posicionado en la
salida de un t£nel. Ellos anotan el registro de matr¡cula (las chapa... |
//
// Generated by JavaToPas v1.5 20171018 - 171209
////////////////////////////////////////////////////////////////////////////////
unit java.net.URI;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
java.net.Proxy,
java.net.InetAddress,
java.net.FileNameMap,
java.security.Permission,
jav... |
unit Classes.Wall;
interface
uses
Interfaces.Wall,
Vcl.ExtCtrls,
System.Classes,
System.Types,
Vcl.Imaging.pngimage,
Vcl.Controls;
type
TWall = class(TInterfacedObject, IWall)
strict private
var
FPosition: TPoint;
FImage: TImage;
FOwner: TGridPanel;
png: TPngImage;
public
clas... |
unit Forms.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, VCL.TMSFNCTypes, VCL.TMSFNCUtils, VCL.TMSFNCGraphics,
VCL.TMSFNCGraphicsTypes, VCL.TMSFNCMapsCommonTypes, VCL.TMSFNCCustomControl, VCL.TMSFNCWebB... |
unit URepositorioMarca;
interface
uses
UMarca
, UEntidade
, URepositorioDB
, SqlExpr
;
type
TRepositorioMarca = class (TRepositorioDB<TMarca>)
public
constructor Create;
procedure AtribuiDBParaEntidade(const coMarca: TMarca); override;
procedure AtribuiEntidadeParaDB(const coMarca: TMa... |
namespace ODBCApplication;
//Sample .NET console application
//by Brian Long, 2009
//Console application compiled against .NET assemblies.
//Uses ODBC to talk to MySQL:
// - creates a DB & table
// - runs a SELECT statement
// - drops the table & DB
//Works under Mono where ODBC & MySQL can be accessed (ty... |
{$I CetusOptions.inc}
unit ctsStrMap;
interface
uses
ctsTypesDef,
ctsUtils,
ctsBaseInterfaces,
ctsBaseClasses,
ctsStrMapInterface;
const
cUnitName = 'ctsStrMap';
type
// red black tree
TctsRBColor = (Black, Red); // Black = False, Red = True;
TctsChildType = Boolean; // Left = False, Right = T... |
unit uGrid;
//Mattias Landscaper...
interface
uses
System.Classes,
System.SysUtils;
type
TGridBasic = class
private
function GetSafeItems(const x, y: integer): TObject;
protected
FStorage : PPointerList;
FTotalSize : integer;
FCountX: integer;
FCountY: integer;
FOwnI... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
//-----------------------------------------------------------------------------
//
// ImageLib Sources
// Copyright (C) 2000-2017 by Denton Woods
// Last modified: 03/07/2009
//
// Filename: IL/il.h
//
// Description: The main include file for DevIL
//
//-----------------------------------------------------------------... |
unit Calc1;
interface
const
max = 10;
procedure menu;{Меню Обычного калькулятора}
implementation
uses
crt, Slozhenie, Vichitanie, Umnozhenie, Delenie, KorenChisla, ChislovStepeni, KvadratChisla, Inform;{Подключаем модуль crt}
procedure menu;{Меню Обычного калькулятора}
var
menuu: array[1..max] of string := (... |
unit uGeradorBoletoACBr;
interface
uses
uGeradorBoleto.Intf, uBoleto.Intf;
type
TGeradorBoletoACBr = class(TInterfacedObject, IGeradorBoleto)
public
function GerarBoleto(pBoleto: IBoleto): string;
end;
implementation
{ TGeradorBoletoACBr }
uses
uContainerDefault;
function TGeradorBoletoACBr.GerarBo... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Skydome object
}
unit VXS.Skydome;
interface
{$I VXScene.inc}
uses
System.Classes,
System.SysUtils,
System.UITypes,
System.Math,
FMX.Graphics,
VXS.OpenGL,
VXS.Scene,
VXS.VectorGeometry,
V... |
unit uWButton;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Types, JS, Web,
JComponents;
// pas2js.Element;
(*type
TButton = class(TCustomControl)
public
constructor Create(parent: TCustomControl); virtual;
end; *)
type
{ TButton }
TButton = class(TCustomControl)
private... |
{-------------------------------------------------------------------------------
Copyright 2015 Ethea S.r.l.
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.apa... |
unit uPathBuilder;
interface
type
TPathBuilder = class
public
class function BuildSkinsPath(SkinsPath: string): string;
class procedure Configure;
class function GetExePath: string;
class function GetConfigIniFileName: string;
class function GetSmilesIniFileName: string;
class function Get... |
unit uPortableDeviceManager;
interface
uses
System.SysUtils,
Dmitry.Utils.System,
uPortableClasses,
uWIAClasses,
uAppUtils,
uWPDClasses;
function CreateDeviceManagerInstance: IPManager;
function GetDeviceEventManager: IPEventManager;
function IsWPDSupport: Boolean;
procedure ThreadCleanUp(... |
unit TpFileList;
interface
uses
SysUtils, Classes,
ThHeaderComponent, ThTag,
TpControls;
type
TTpFileList = class(TThHeaderComponent)
private
FFolder: string;
FFullPath: Boolean;
FOnFilter: TTpEvent;
protected
procedure Tag(inTag: TThTag); override;
public
constructor Create(in... |
unit uDBForm;
interface
uses
Generics.Collections,
System.Types,
System.UITypes,
System.SysUtils,
System.SyncObjs,
System.Classes,
Winapi.Windows,
Winapi.CommCtrl,
Winapi.DwmApi,
Winapi.MultiMon,
Winapi.Messages,
Winapi.ActiveX,
Vcl.StdCtrls,
Vcl.Controls,
Vcl.Forms,
... |
{
Datamove - Conversor de Banco de Dados Firebird para Oracle
licensed under a APACHE 2.0
Projeto Particular desenvolvido por Artur Barth e Gilvano Piontkoski para realizar conversão de banco de dados
firebird para Oracle. Esse não é um projeto desenvolvido pela VIASOFT.
Toda e qualquer alteração deve ser s... |
unit ServerSetup;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls, ImgList,
LMDCustomComponent, LMDBrowseDlg,
Servers;
type
TServerSetupForm = class(TForm)
ServerList: TListView;
Panel3: TPanel;
Button1: TButton... |
unit VirtualPIDLTools;
// Version 1.3.0
//
// 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/
//
// Alternatively, you may ... |
unit Pospolite.View.Drawing.Basics;
{
+-------------------------+
| Package: Pospolite View |
| Author: Matek0611 |
| Email: matiowo@wp.pl |
| Version: 1.0p |
+-------------------------+
Comments:
...
}
{$mode objfpc}{$H+}
{$modeswitch advancedrecords}
interface
uses
Classes, S... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit StrList;
interface
type
TStrList = Class(TObject)
private
vList: Array of String;
ListLn: Integer;
public
constructor Create;
procedure Add(Text: String);
function Text: String;
function Strings(Index: Integer): String;
procedure NewVar(Index: Integer; newtext: S... |
unit GLDViewer;
interface
uses
Windows, SysUtils, Classes, Controls, Messages,
Graphics, GL, GLDConst, GLDTypes, GLDClasses;
const
GLD_PF_VERSION_DEFAULT = 1;
GLD_PF_FLAGS_DEFAULT = PFD_DRAW_TO_WINDOW or
PFD_SUPPORT_OPENGL or
... |
unit DSA.Graph.Component;
interface
uses
System.SysUtils,
System.Classes,
DSA.Interfaces.DataStructure,
DSA.Utils;
type
TComponent = class
private
__g: IGraph;
__visited: array of boolean; // 记录dfs的过程中节点是否被访问
__ccount: integer; // 记录联通分量个数
__id: array of integer; // 每个节点所对应的联通分量标记
/... |
unit uWizSetupColumns;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParentWizard, ImgList, StdCtrls, ExtCtrls, ComCtrls, Grids, uMas90, DB,
ADODB, Buttons, dxDBTLCl, dxGrClms, dxTL,
dxDBCtrl, dxDBGrid, dxCntner, siComp, uRegistry;
type
TWizSetupColumn... |
unit Invoice.Model.Table.Firedac;
interface
uses System.Classes, Data.DB, System.SysUtils,
Firedac.Stan.Option, Firedac.Stan.Error, Firedac.UI.Intf, Firedac.Phys.Intf,
Firedac.Stan.Def, Firedac.Stan.Pool, Firedac.Stan.Async, Firedac.Phys,
Firedac.Phys.MSSQL, Firedac.Phys.MSSQLDef, Firedac.VCLUI.Wait, F... |
unit uModDNRecv;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs,
uModApp, System.Generics.Collections,
uModBarang, uModSatuan, uModDO, uModPO, uModUnit, uModSuplier, uModGudang;
type
TModDNRecvItem = class;
TModDNRecv = class(TModApp)
private
FDNR_DNRDITEMS: T... |
unit Informe_View;
interface
uses
Informe_ViewModel_Implementation,
Classes, Controls, Forms, StdCtrls, ExtCtrls, Buttons, ComCtrls, Graphics;
type
TfmInforme_View = class(TForm)
pnlGeneral: TPanel;
Bevel2: TBevel;
pnlOkCancel: TPanel;
imgOK_CC_OkCancelPanel: TImage;
imgCancel_CC_OkCancelPa... |
unit SimpleMvvm.ViewModels.SampleDialogViewModel;
interface
uses
DSharp.PresentationModel.ViewModelBase,
// SysUtils,
DSharp.ComponentModel.Composition,
SimpleMvvm.Interfaces;
type
[PartCreationPolicy(cpNonShared)]
TSampleDialogViewModel = class(TViewModelBase, ISampleDialogViewModel)
private
fTopTe... |
unit NVTriStrip;
(*** NVTriStrip DLL
*
* Written by Tom Nuydens (tom@delphi3d.net -- http://www.delphi3d.net), based
* on the original NVTriStrip library by NVIDIA.
*
*)
// Modified by XProger
// http://xproger.mirgames.ru :D
interface
const
NVTRISTRIP_DLL = 'nvtristrip.dll';
// Valid cache... |
unit uFastLoad;
interface
uses
System.SysUtils,
Winapi.Windows,
Vcl.Forms,
Dmitry.Utils.System,
uDBCustomThread,
uTime,
uMemory;
type
TLoad = class(TObject)
private
//FAST LOAD
LoadDBKernelIconsThreadID,
LoadDBSettingsThreadID,
LoadCRCCheckThreadID,
LoadP... |
unit AccessLib;
interface
uses
ADODB, SysUtils, Common, BaseServerLib;
type
TParam = class(TBaseObject)
PID: string;
PValue: string;
PName: string;
end;
TParams = array of TParam;
TParamManage = class(TBaseServer)
public
ADOQuery: TADOQuery;
ADOConnection: TADOCon... |
unit VolumeRGBAIntData;
interface
uses Windows, Graphics, Abstract3DVolumeData, AbstractDataSet, RGBAIntDataSet,
Math;
type
TImagePixelRGBAIntData = record
r,g,b,a: longword;
end;
T3DVolumeRGBAIntData = class (TAbstract3DVolumeData)
private
FDefaultColor: TImagePixelRG... |
unit SimpleMvvm.ViewModels.InjectedViewModel;
interface
uses
DSharp.PresentationModel.ViewModelBase
, SimpleMvvm.Interfaces
;
type
TInjectedViewModel = class(TViewModelBase, IInjectedViewModel)
private
fText: string;
procedure SetText(const Value: string);
{ private declarations }
protected
... |
unit TurboAjaxDocument;
interface
uses
htMarkup,
LrDocument,
Design, TurboDocument, TurboDocumentController,
Main;
type
TTurboAjaxController = class(TTurboDocumentController)
public
class function GetDescription: string; override;
class function GetExt: string; override;
public
function ... |
unit UShellLink;
(**
ShowComand
SW_HIDE Hides the window and activates another window.
SW_MAXIMIZE Maximizes the specified window.
SW_MINIMIZE Minimizes the specified window and activates the next top-level window in the Z order.
SW_RESTORE Activates and displays the window. If the window is minimized or maximized, W... |
unit JGWUpdate;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls,
Forms, Dialogs, Transfer;
type
/// <summary>
/// 更新检查类型
/// </summary>
TChkType = (
/// <summary>
/// 无
/// </summary>
chkNone,
/// <summary>
/// 按照文件版本检查
/// </summary>
chkByVer... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.