text stringlengths 14 6.51M |
|---|
unit vlcpl;
interface
uses PasLibVlcUnit, windows, classes, sysutils, forms,vcl.dialogs,winapi.mmsystem;
const
histstate : array[0..7] of ansistring =
('libvlc_NothingSpecial', // 0,
'ibvlc_Opening', // 1,
'ibvlc_Buffering', // 2,
'ibvlc_Playing', // 3,
'ibvlc_Paused', ... |
unit ConstantsDatosBD;
interface
type
// Mercado
Mercado_Const = class
const
OID_EstadosUnidos_NASDAQ = 0;
OID_EstadosUnidos_NYSE = 1;
OID_PaisesBajos = 2;
OID_Espana = 3;
OID_Portugal = 4;
OID_Suiza = 5;
OID_Alemania = 6;
OID_Francia = 7;
OID_Italia = 8;
OID_ReinoUnido... |
unit FPickDatabaseObject;
{$I defines.inc}
interface
uses
Messages, SysUtils, Classes,
Graphics, Controls, Forms, Dialogs,
ExtCtrls, tiTreeView, ComCtrls, ActnList, ToolWin, tiButtons, ImgList,
Buttons, tiPerAwareCtrls, tiQuery, tiObject, tiFocusPanel{, tiVTTreeView, VirtualTrees}
{$IFDEF FPC}
,LResourc... |
unit Constraints;
// 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/
//
// Software distributed under the License is dist... |
unit MainBackup;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.Buttons, Vcl.StdCtrls, dateutils,
Vcl.ExtCtrls, Vcl.Menus,inifiles,FileCtrl,
Data.DB, Data.Win.ADODB;
type
TfMain... |
unit DocumentTaxKindTest;
interface
uses DB, dbTest, dbObjectTest, ObjectTest;
type
TDocumentTaxKindTest = class (TdbObjectTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TDocumentTaxKind = class(TObjectTest)
private
function InsertDefault: integer; overri... |
unit frmReportList_unit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, AdvPanel, BaseFrontForm_Unit, FrontData_Unit,
AdvSmoothButton, ComCtrls, StdCtrls, Report_Unit, kbmMemTable, DB,
AdvSmoothEdit, AdvSmoothEditButton, AdvSmoothDatePicker... |
unit U_CadastroTreino;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, C_DetailGrid5, cxGraphics,
cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore, dxSkinBlack,
dxSkinBlue, dxSkinBlueprin... |
PROGRAM Converter;
CONST MIN_VALUE = 0;
MAX_VALUE = 255;
BINARY_DIGITS = 8;
EXIT_FAILURE = 1;
VAR int_number: INTEGER;
VAR binary_number: ARRAY[1..BINARY_DIGITS] OF BOOLEAN;
FUNCTION Power(base, exponent: INTEGER): INTEGER;
VAR i: INTEGER;
VAR calc_result: INTEGER;
BEGIN
calc_result := 1;
FOR i := 1 TO... |
unit ormbr.model.detalhe;
interface
uses
Classes,
DB,
/// orm
ormbr.mapping.attributes,
ormbr.types.mapping,
ormbr.model.status,
ormbr.mapping.register;
type
[Entity]
[Table('Tab_Detalhe','')]
[PrimaryKey('Id; Mestre_Id', 'Chave primária')]
[AggregateField('AggPRECO','SUM(PREC... |
(*
Copyright (c) 2012-2014, Stefan Glienke
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions ... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit RepositorioVersao;
interface
uses
DB,
Repositorio;
type
TRepositorioVersao = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIdentificador(Objeto :... |
unit PDBFCheckBox;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls,dbctrls,db;
type
TPDBFCheckBox = class(TCustomCheckBox)
private
{ Private declarations }
FDataLink: TFieldDataLink;
FFalseValue: char;
FTrueValue: char;
protected
{ Prote... |
(*
Copyright (c) 2011-2012, Stefan Glienke
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions ... |
unit LoginDlg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,Login;
type
TLoginEvent = procedure (Sender : TLoginDlg; UserID,Password:string;
var Connected : boolean) of object;
// you must set OnLogin
TCustomUserManager = class(TComponent)
p... |
unit Gt03;
{
ULGT03.DPR=================================================================
File: GT03.PAS
Library Call Demonstrated: cbGetConfig()
Purpose: Prints a list of all boards installed in
the system and their base addresses. ... |
unit RepositorioObservacoesNotaFiscal;
interface
uses
DB,
Repositorio;
type
TRepositorioObservacoesNotaFiscal = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
func... |
unit UCC_MPTool_OnlineOrder;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Grids_ts, TSGrid, osAdvDbGrid,
MSXML6_TLB, WinHTTP_TLB, Registry, uWindowsInfo, UStatus,XMLDoc, XMLIntf,
UCC_XML_AWOnlineOrder, UUtil1, UCC_MPtool_OnlineOrderDeta... |
unit EDIFactUtils;
interface
uses windows, Messages, SysUtils, Variants, Classes, EdiFactClasses;
procedure AddTestSupplierInfo(supplier : TSupplierInfo);
procedure AddTestVolvoInfo(Volvo : TVolvoInfo);
procedure AddTestPayeeInfo(Payee : TPayeeInfo);
procedure AddTestEdiFactInfo(EdiFactInfo : TEdiFactInfo);
procedure... |
unit uScanner;
// ------------------------------------------------------------------------
// TScanner - general purpose tokeniser
// Originally Written 11 Feb 1998 (HMS)
// This version heavily modified: 15 Nov, 2018
// ------------------------------------------------------------------------
// This particular veris... |
unit BusCommunication;
interface
uses Windows, UtilObject, Messages, Classes;
type
TBusMessage = class
end;
TBusMessageClass = class of TBusMessage;
TBusMessageEvent = procedure of object;
TBus = class
private
type
TBusMessageEvents = array of TBusMessageEvent;
TRegisteredBusMessage = ... |
Unit DSP;
Interface
function ResetDSP(base : word) : boolean;
procedure WriteDAC(level : byte);
function ReadDAC : byte;
function SpeakerOn: byte;
function SpeakerOff: byte;
procedure DMAStop;
procedure DMAContinue;
procedure Playsamp(sound : Pointer; size : word; frequency : word);
procedure SetVol... |
unit FrontData_Unit;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
SysUtils, Windows, Classes, AdvPanel, AdvStyleIF, AdvSmoothButton,
SysConst, Graphics, ImgList, Controls, AdvAppStyler, GDIPPictureContainer,
DBGridEh, AdvGrid, DBAdvGrid, Forms, obj_QueryList, AdvSmoothToggleButton;
type
TApplicati... |
unit frm_pickdatabaseobject;
{$mode objfpc}{$H+}
interface
uses
SysUtils,
Classes,
fpg_base,
fpg_main,
fpg_form,
fpg_button,
fpg_combobox,
fpg_panel,
fpg_tree,
fpg_popupwindow,
fpg_imagelist,
tiQuery,
tiObject{,
tiTreeBuildVisitor},
tiMediators,
tiListMediators;
type
TSQLForm... |
(*
Copyright (c) 2011, Stefan Glienke
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions and t... |
PROGRAM StringFunctions;
FUNCTION Ceil(a: REAL): SMALLINT;
VAR intPart: LONGINT;
BEGIN
intPart := Trunc(a);
IF Frac(a) > 0 THEN BEGIN
Ceil := intPart + 1;
END
ELSE BEGIN
Ceil := intPart;
END;
END;
FUNCTION Reversed(input: STRING): STRING;
VAR halfLength, inputLength: WORD;
i: WORD;
reversedString: STR... |
unit SysDriver;
interface
uses windows, winsvc; // jwawinsvc;
Type
TSysDriver = class(TObject)
private
HomeDir, DriverDir, DriverName, DEVICE_NAME_STRING,
DriverPath : string; // the whole thing
hSCMan : SC_HANDLE; // Service Control Manager
hDevice : SC_HANDLE; ... |
(*Check whether the score passes or fails*)
program PassOrFail;
type array1 = array [0..24] of Integer;
var actualMark: Integer;
var possibleMark: Integer;
var percentageMark: Integer;
var x: Integer;
const constant = 12;
begin {PassOrFail}
writeln('1 * (1 + 5) * 5 = ', 1 * (1 + 5) * 5);
writeln('Actual Mar... |
(*============================================================================
-----BEGIN PGP SIGNED MESSAGE-----
This code (c) 1994, 1997 Graham THE Ollis
GENERAL NOTES
=============
This is 16bit DOS TURBO PASCAL source code. It has been tested using
TURBO PASCAL 7.0. You will need AT LEAST version 5.0 ... |
unit ListParameters;
{ SimThyr Project }
{ A numerical simulator of thyrotropic feedback control }
{ Version 4.0.6 (Merlion) }
{ (c) J. W. Dietrich, 1994 - 2022 }
{ (c) Ludwig Maximilian University of Munich 1995 - 2002 }
{ (c) Ruhr University of Bochum 2005 - 2022 }
{ This unit lists parameters and predictions to ... |
{***************************************************************************}
{ }
{ DelphiUIAutomation }
{ }
{ ... |
unit LoadBoatFormTest;
interface
uses
TestFramework, Forms;
type
TLoadFormTest = class (TTestCase)
private
function GetForm(FormClass: string): TForm;
protected
// подготавливаем данные для тестирования
procedure SetUp; override;
published
procedure MainFormTest;
procedure LoadAccountF... |
unit CheckURL;
interface
uses
Windows, SysUtils, Classes;
type
TProtocol=(pHTTP,pHTTPS,pFTP);
TURLCheck = class(TObject)
protected
FText:String;
FProtocol:TProtocol;
HostStartAt:PChar;
DirStartAt:PChar;
FIsIPAddr:Boolean;
procedure SetText(Value:String);
funct... |
{$I ..\Definition.Inc}
unit WrapFmxEdit;
interface
uses
FMX.Edit, PythonEngine, WrapFmxTypes, WrapFmxControls;
type
TPyDelphiCustomEdit = class(TPyDelphiPresentedControl)
private
function GetDelphiObject: TCustomEdit;
procedure SetDelphiObject(const Value: TCustomEdit);
public
class function DelphiObjec... |
unit IPGeoLocation.Providers.IPGeolocationAPI;
interface
uses
IPGeoLocation.Interfaces, IPGeoLocation.Core, System.Net.HttpClient;
type
{$REGION 'TIPGeoLocationProviderIPGeolocationAPI'}
TIPGeoLocationProviderIPGeolocationAPI = class sealed(TIPGeoLocationProviderCustom)
private
{ private declarations }
... |
unit RequiredTests;
interface
uses
DUnitX.TestFramework, DelphiJSON;
type
[DJSerializableAttribute]
TTestSettings = class
public
[DJValue('str')]
[DJRequiredAttribute(false)]
str: String;
[DJValue('i')]
i: Integer;
[DJValue('f')]
[DJRequiredAttribute(true)]
f: Single;
e... |
unit pianimanutenzioni_frm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
StdCtrls, ExtCtrls, EditBtn, ZDataset, datamodule_frm;
type
{ TPianiManutenzioni }
TPianiManutenzioni = class(TForm)
btelimina: TButton;
btnu... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit fPreferences;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, BCData, ComCtrls, Configuration, ExtCtrls, GR32_Image, GR32;
type
TfrmPreferences = class(TForm)
cmdOK: TButton;
cmdCancel: TButton;
pgcOptions: TPageControl;
General:... |
unit TestFlashRunner;
interface
uses
Windows, Serial3, Forms, StrUtils, Classes, ConnBase, SysUtils, DeviceBase, RS232, FlashRunner,
TestFramework, IniFiles;
type
// Testmethoden für Klasse TFlashRunner
TestTFlashRunner = class(TTestCase)
var ini: TMemIniFile;
strict private
FFlashRunner: TFlashR... |
unit StarlinkEndpoint;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Starlink;
type
IStarlinkEndpoint = interface(IInterface) ['{A3429FAC-1813-4095-BC2C-414A114479B0}']
function All: IStarlinkList;
function One(const Id: string): IStarlink;
end;
function NewStarlinkEndpoint: IStarlinkEndpoint... |
// =============================================================================
// Module name : $RCSfile: DeviceBase.pas,v $
// Description : This unit implements a base class of measurement device
// Compiler : Delphi 2007
// Author : 2015-08-14 /bsu/
// History : 2015-09-29 /bsu/ defines and uses ... |
namespace iOSApp.AuthenticatedCore;
type
operationTypesEnumeration = public enum (none, completed, authenticationRequired, exception, UnableToContinue);
InitiatedActionEnumeration = public enum(Unknown, Sync, Startup);
StateEnumeration = public enum(None, Sync, Startup);
end. |
unit MathHelper_u;
interface
function floor_double_long(d:extended):int64;
function floor_double(d:double):integer;
function math_sin(f:double):double;
function math_cos(f:double):double;
implementation
var SIN_TABLE:array[0..65535] of double;
i:integer;
function floor_double_long(d:extended):int64;
... |
{$mode objfpc} // directive to be used for defining classes
{$m+} // directive to be used for using constructor
unit containers;
interface
type
link = class
public
constructor create(data: longInt);
destructor destroy();
procedure set_next(pLink: link);
procedure set_prev(pLink: link);
priva... |
unit utestmap;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, umap, umapcls, fpcunit, testregistry, windows;
type
{ TTestMap }
TTestMap= class(TTestCase)
published
procedure TestInstantiation;
procedure TestWrite;
procedure TestWrite1;
procedure TestReadUint8l;
procedure TestIo... |
unit dbMovementItemTest;
interface
uses TestFramework, dbObjectTest, DB, dbTest, Classes, ObjectTest;
type
TdbMovementItemTest = class (TdbTest)
protected
// подготавливаем данные для тестирования
procedure SetUp; override;
published
procedure MovementItemSendOnPriceTest;
procedure MovementItem... |
//
// Created by the DataSnap proxy generator.
// 9/28/2017 5:59:00 PM
//
unit ClientClassesUnit1;
interface
uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr... |
unit Conta_Bancaria_01;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls;
type
TContaBancaria01 = class(TForm)
Panel3: TPanel;
BT_Incluir: TBitBtn;
BT_Sair: TBitBtn;
Panel1: TPanel;
GroupBox1: TGroup... |
unit GR32_TestGuiPng;
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1 or LGPL 2.1 with linking exception
*
* 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 Lice... |
{==============================================================================}
{ }
{ OpenGL Video Renderer Texture Class }
{ Version 1.0 ... |
unit NetReaderUltiCap;
interface
uses NetReader, Classes;
// Low level access to UltiCap Netlist files.
type TUlticapDOSNetReader = class( TveNetReader )
protected
ComponentFileName : string;
ComponentLines : TStringList;
ComponentLineIndex : integer;
ComponentLineLimit : integer;
... |
unit RLngDLL;
interface
uses
Windows, Classes, Forms, SysUtils;
type
TLCIDs = array of LCID;
function rlr_NameLangModule(const iLCID: LCID): string;
function rlr_InitLanguages(const iDefLCID, iSelLCID: LCID): LCID;
function rlr_GetLanguagesLCIDs: TLCIDs;
procedure rlr_GetLanguagesList(slList: TStrings);
fun... |
namespace Moshine.UI.UIKit.Weather;
uses
MapKit,
Moshine.Api.Weather.Models.WeatherUnderground,
PureLayout,
UIKit;
type
[IBObject]
FindStationsViewController = public class(UIViewController, IUITableViewDataSource,IUITableViewDelegate,IMKMapViewDelegate)
private
_mapView:MKMapView;
... |
{****************************************************************************
* *
* openid framework *
* *
* ... |
unit SharedMemoryServer;
interface
uses Winapi.Windows, System.SysUtils, Generics.Collections, System.Classes,
System.SyncObjs, SharedMemoryAllocator, SharedConst, SharedMemoryProtocol,
xmloptions;
type
TRSharedMemoryServer = class;
// поток для обстуживания клиентов
TRSharedMemoryConnectedClient = class(... |
unit TUTools;
interface
function DateTimeToUnixDate(const ADate: TDateTime): string;
function DateTimeToUnixDateInt(const ADate: TDateTime): Int64;
function MD5(const s: string): string;
function URLEncode(const AStr: string): string;
implementation
uses
SysUtils, AsphyreMD5;
function DateTimeToUnixDate... |
unit UScriptFiles;
interface
uses
System.Classes,
System.Types,
System.SysUtils,
System.IOUtils,
UDefinitions;
type
TScriptFiles = class
strict private
FMsgProc: TNotifyMessage;
FShortNames: TStringList;
FFileNames: TStringList;
FScriptContent: TStringList;
strict private
procedur... |
{
* Copyright (c) 2012 Andrey Kemka
*
* 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 any purpose,
* including c... |
unit EspecificacaoEmpresaPorCodigoPessoa;
interface
uses
Especificacao;
type
TEspecificacaoEmpresaPorCodigoPessoa = class(TEspecificacao)
private
FCodigoPessoa :Integer;
public
constructor Create(CodigoPessoa :Integer);
public
function SatisfeitoPor(Empresa :TObject) :Boolean; override;
end;... |
unit HRManager;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.ListBox, FMX.Layouts, FMX.Objects, FMX.TabControl, FMX.Memo, FMX.MultiView,
FMX.ListView.Types, Data.Bind.GenD... |
unit Cursors;
interface
uses Controls;
// cursors available
type TcCursorShape =
( csSelect, csLink, csWire, csBreak, csLine, csPin, csText, csHandOpen );
// cursor sizes available
type TCursorSize = ( szSmall, szLarge );
type TCursorMinder = class
FRegistryKey : string;
function GetCurs... |
program Sketch;
uses SysUtils;
procedure ShowMenu();
begin
WriteLn('I would like...');
WriteLn('1: An Argument');
WriteLn('2: Verbal Abuse');
WriteLn('3: To Complain');
WriteLn('4: Being hit on the head lessons');
WriteLn('5: To Quit');
end;
procedure Argument();
begin
WriteLn('I cant argue anymore your five ... |
PROGRAM Convert2Float;
Uses
Crt;
Var
decimalin : real;
floatout : integer;
Mantissa: REAL;
Exponent, Sign, IntegerMantissa: INTEGER;
PROCEDURE StandardizeNumber;
Begin
Mantissa := ABS(mantissa);
While Mantissa >= 1.00 do
Begin
Mantissa := Mantissa/10.0;
... |
// Fit4Delphi Copyright (C) 2008. Sabre Inc.
// 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 version.
//
// This program is ... |
unit DBConfigWin;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, CommUtils, IniFiles;
type
TfrmDBConfig = class(TForm)
leServer: TLabeledEdit;
leUser: TLabeledEdit;
lePwd: TLabeledEdit;
btnOk: TButton;
btnCancel: TButto... |
unit uControleNFCes;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, System.StrUtils, FileCtrl,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uPadrao, Data.DB, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids, DBGridCBN,
FireDAC.Stan.Intf, F... |
program ArrayFlip(Input, Output);
uses wincrt;
const MAX = 10;{Change this to change the size of the array}
type IntArray = array[1..MAX] of integer;
var I : integer;
Input, Flipped : IntArray;
begin
{Get input from user & store in array}
writeln('Please enter ', MAX, ' numbers.');
for I... |
unit AbstractRepositoryCriteriaUnit;
interface
uses
SysUtils, Classes;
const
CRITERION_EXPRESSION_DEFAULT_OPENING_ELEMENT = '(';
CRITERION_EXPRESSION_DEFAULT_CLOSING_ELEMENT = ')';
type
TAbstractRepositoryCriteriaBinding = class abstract
protected
constructor Create;
function GetValu... |
{SprayFileHandlerClasses.pas - supplemental classes for managing spray exports
TSprayInfo
Methods:
Create:
basic constructor, creates empty class
Destroy:
basic destructor (for possible future use)
GetGamePath(Username: string): string
Retrieves the game relative path, ... |
{$MODESWITCH RESULT+}
{$GOTO ON}
(*************************************************************************
Cephes Math Library Release 2.8: June, 2000
Copyright by Stephen L. Moshier
Contributors:
* Sergey Bochkanov (ALGLIB project). Translation from C to
pseudocode.
See subroutines comments for... |
unit uObraDAO;
interface
uses Generics.Collections, SqlExpr, DB, Dialogs, SysUtils, DBAccess, Ora, MemDS, OraCall,
Datasnap.DBClient, IPPeerClient, uModelObra, udmDados, uModelItensObra ,ZConnection, ZAbstractConnection, ZAbstractRODataset, ZAbstractDataset,
ZDataset;
type
TObraDAO = class
private
FQuer... |
unit soutils;
{ -----------------------------------------------------------------------
# This file is part of WAPT
# Copyright (C) 2013 Tranquil IT Systems http://www.tranquil.it
# WAPT aims to help Windows systems administrators to deploy
# setup and update applications on users PC.
#
# Part of... |
unit UAMC_Base;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses
SysUtils,Forms, Contnrs,Classes,
UGlobals, UAMC_Globals, UContainer;
const
{ The... |
unit Common_Module;
interface
uses
SysUtils, Classes, DB, ADODB,IniFiles,Forms,StdCtrls;
type
TCommonModule = class(TDataModule)
conComm: TADOConnection;
conDb: TADOConnection;
procedure DataModuleCreate(Sender: TObject);
private
{ Private declarations }
isLogin:Boolean; //登录成功标志
D... |
unit UCompilador_V3;
interface
uses
Classes, SysUtils,
UKProgramaCompilado;
const
LANG_NODEFINIDO = -1;
LANG_PASCAL = 0;
LANG_JAVA = 1;
descripcionLenguajes : array [LANG_NODEFINIDO..LANG_JAVA] of string = ('No definido','Pascal','Java');
RES_OK = 0;
RES_ERR = ... |
unit XStringsTestes;
interface
uses
DUnitX.TestFramework, XStrings;
type
[TestFixture]
TXStringsTestes = class(TObject)
private
FXStrings: TXStrings;
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
[Test]
procedure ValidarSomenteNumeros;
// ... |
unit UVedioForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs,QuartzTypeLib_TLB, Menus;
type
TfmVideo = class(TForm)
PopupMenu1: TPopupMenu;
miPlay: TMenuItem;
miPause: TMenuItem;
miStop: TMenuItem;
N1: TMenuItem;
miFullScreen: TMenuItem;
p... |
unit uFrmMain;
interface
uses
System.SysUtils, System.Classes, JS, Web, WEBLib.Graphics, WEBLib.Controls,
WEBLib.Forms, WEBLib.Dialogs, Vcl.StdCtrls, WEBLib.StdCtrls, Vcl.Controls,
WEBLib.RegularExpressions;
type
TFrmMain = class(TWebForm)
btnReset: TWebButton;
txtLast: TWebEdit;
btnSend: TWebBut... |
unit TCPView.IPHelper platform;
interface
uses Winapi.Windows, Winapi.IpHlpApi, Winapi.IpExport;
const
ANY_SIZE = 1;
TCP_TABLE_BASIC_LISTENER = 0;
TCP_TABLE_BASIC_CONNECTIONS = 1;
TCP_TABLE_BASIC_ALL = 2;
TCP_TABLE_OWNER_PID_LISTENER = 3;
TCP_TABLE_OWNER_PID_CONNECTI... |
unit zTaskScheduler;
interface
uses
Windows, Messages, SysUtils, Classes, ActiveX, MsTask, MsTaskUtils,
RxVerInf, AuxProcs, zSharedFunctions, zAVKernel, zLOgSystem;
type
// Информация о BHO
TTaskSchedulerJob = record
Name : string; // Имя
BinFile : string; // Бинарный файл
S... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
(******************************************************************************
Proyecto Delphi Standard
Copyright (C) 2008-2015 - Jesus Huante Caballero
******************************************************************************)
unit _Utils;
interface
uses Windows, SysUtils, Classes, Controls, Forms, S... |
unit xmloptions;
interface
uses System.Classes, System.Variants, System.SysUtils, System.Win.ComObj,
Winapi.ActiveX;
type
TROptions = class
private
FOutputServerPath: String;
FStreams: TStringList;
function GetStringAttribute(node: Variant; const attribute, DefaultValue: String): String;
functi... |
unit u_EnumDoublePointClipInternal;
interface
uses
t_GeoTypes,
i_EnumDoublePoint;
type
TEnumDoublePointClipByLineAbstract = class(TInterfacedObject, IEnumDoublePoint, IEnumProjectedPoint, IEnumLocalPoint)
private
FSourceEnum: IEnumDoublePoint;
FFinished: Boolean;
FPrevPoint: TDoubleP... |
unit scontinuousscrollableimageview;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, {And_jni_Bridge,} AndroidWidget, systryparent;
type
TScrollDirection = (sdUp, sdRight, sdDown, sdLeft);
{Draft Component code by "LAMW: Lazarus Android Module Wizard" [5/2/2019 1:35:31]}
{https://github.com/jmpessoa/l... |
unit ObjetoGenerico;
interface
uses
DB,
DBClient,
SysUtils,
Auditoria;
type
TObjetoGenerico = class
private
FAuditoria :TAuditoria;
FLista :TDataSet;
FSQL :String;
FBuscaVazia :Boolean;
private
procedure SetLista(const value :TDataSet);
procedure SetSQL(const valu... |
unit dmEstrategiaInterpreterBD;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, dmEstrategiaInterpreter, DB, IBCustomDataSet, IBQuery,
IBDatabase, kbmMemTable;
type
TEstrategiaInterpreterBD = class(TEstrategiaInterpreter)
qEstrategia: TIBQuery;
qEstr... |
unit MainViewModel;
interface
uses
DSharp.ComponentModel.Composition,
DSharp.PresentationModel.ViewModelBase,
Interfaces,
Spring.Collections,
Spring.Container.Common;
type
[PartCreationPolicy(cpShared)]
TMainViewModel = class(TViewModelBase, IMainViewModel)
private
fContent: IList<IDetailViewMode... |
unit UAMC_UserID_StreetLinks;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ This is the unit that takes the userID and password and queries the StreetLinks }
{ L... |
unit ChoiceHelsiUserName;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorDialog, Vcl.ActnList, dsdAction, System.DateUtils,
cxClasses, cxPropertiesStore, dsdAddOn, cxGraphics, cxControls,
cxLookAndFe... |
PROGRAM Encryption(INPUT, OUTPUT);
CONST
Len = 20;
TYPE
LengthStr = 1 .. Len;
Str = ARRAY [1 .. Len] OF ' ' .. 'Z';
Chiper = ARRAY [' ' .. 'Z'] OF CHAR;
SieveChars = SET OF ' ' .. 'Z';
VAR
Msg: Str;
Code: Chiper;
I: INTEGER;
SieveCorrectChars: SieveChars;
SieveUsedChars: SieveChars;
PROCEDURE Initi... |
{ Invokable implementation File for TLogin which implements ILogin }
unit LoginWSImpl;
interface
uses InvokeRegistry, Types, XSBuiltIns, LoginWSIntf, CommunicationObj, SysUtils, SyncObjs;
type
{ TLogin }
TLoginWS = class(TCommObj, ILoginWS)
private
fReady : TSynchroObject;
public
fun... |
unit Extrapolacion;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Func, Math, ParseMath;
type
TExtrapolation = class
constructor Create(M: TList; dc: integer);
destructor Destroy(); override;
public
MDP: TList;
Xm, Ym: real;
Ndc: integer;
MParse: TParseMath;
fun... |
unit UPrefFDocPrinting;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2006 by Bradford Technologies, Inc. }
{ This is the Frame that contains the Document Printing Preferences}
interface
uses
W... |
unit PCounterEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls,dbtables;
type
TPcounterEdit = class(TCustomEdit)
private
{ Private declarations }
FCheckResult: Boolean;
FIsInDataBase: Boolean;
FDatabaseName: string;
FFormat: string;
... |
unit fmBaseNuevo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, fmBase, StdCtrls, Buttons, ExtCtrls, AppEvnts;
type
TfBaseNuevo = class(TfBase)
bCrear: TBitBtn;
bCancelar: TBitBtn;
eNombre: TEdit;
Label1: TLabel;
Bevel2: TBevel;
proce... |
unit UDPSExpert;
interface
uses
ToolsAPI, Classes, Windows, Menus,StrUtils;
type
TCustomMenuItem = class(TNotifierObject, IOTAWizard, IOTAMenuWizard)
function GetIDString: string;
function GetName: string;
function GetState: TWizardState;
procedure Execute;
function GetMenuText: stri... |
unit MainForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Generics.Collections, Vcl.StdCtrls, Data.DB,
Aurelius.Bind.Dataset, Vcl.Grids, Vcl.DBGrids,
MusicEntities, XData.Client;
type
TF... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.