text stringlengths 14 6.51M |
|---|
unit Utils.Types;
interface
uses Classes, DB, SysUtils, System.Types, Math;
type
TSituacoesCheque = (FscAReceber, FscAguardandoCompensacao, FscCancelado, FscCompensado, FscDevolvido, FscPassadoTerceiros, FscRenegociado);
TOrdem = (oAscendente, oDescendente, oNenhuma);
TChaveTabela = (FctEstrangeira, FctPrima... |
unit RepositorioVolumesNotaFiscal;
interface
uses
DB,
Repositorio;
type
TRepositorioVolumesNotafiscal = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function Get... |
{$M+}
unit UCL.Classes;
interface
uses
System.Classes,
VCL.Graphics, Vcl.Controls;
type
TUTheme = (utLight, utDark);
TUOrientation = (oHorizontal, oVertical);
TUControlState = (csNone, csHover, csPress, csDisabled, csFocused);
TUImageKind = (ikFontIcon, ikImage);
TDefColor = arr... |
{
59. Заданы действительные числа X и Y. Определить, принадлежит ли точка
с координатами (X,Y) заштрихованной части плоскости.(см. рис. 2).
}
program task_59B;
var X, Y: real;
begin
write('Введите координат точки X, Y через пробел или через ENTER: ');
readln(X, Y);
if (X <= 1) and (X >= -1) and (Y <= 1) and (Y >= -1... |
unit q3SkyBox;
interface
uses OpenGL, q3types;
const
SKY_SEQGS: integer = 180;
RAD : single = Pi / 180;
type
TSkyBox = class(TObject)
private
SKY_MAX : Single;
SKY_RES : integer;
FSkyType : integer;
FIndex : integer;
FnumOfVerts : integer;
FGlobePoints : array of ... |
unit rfUtils_unit;
interface
uses
Windows;
procedure RemoveWrongPassChar(var Key: Char);
function IsKeyCalculatorValid(const Key: Word): Boolean;
function WinExec32(Cmd: string; const CmdShow: Integer): Boolean;
function GetLocalComputerName: String;
function IPAddrToName(IPAddr : AnsiString): AnsiStrin... |
{ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
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 ... |
unit UInit;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ Software Initialization Unit }
{ This is where the program gets its parameters to be one of }
{ t... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit TSTOBCell.Xml;
interface
Uses HsXmlDocEx;
Type
IXmlBCellSubItem = Interface(IXmlNodeEx)
['{4B61686E-29A0-2112-9B19-535D51173040}']
Function GetString1() : AnsiString;
Procedure SetString1(Const AString1 : AnsiString);
Function GetString2() : AnsiString;
Procedure SetString2(Const AStrin... |
unit ImportTypeTest;
interface
uses dbTest, dbObjectTest, ObjectTest;
type
TImportTypeTest = class (TdbObjectTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TImportType = class(TObjectTest)
function InsertDefault: integer; override;
public
function Ins... |
PROGRAM wildcard;
FUNCTION Bruteforce(s, p : STRING): BOOLEAN;
VAR
is_valid : BOOLEAN;
i_p, i_s : INTEGER;
BEGIN
is_valid := true;
(* Checks length *)
IF Length(s) = Length(p) THEN BEGIN
(* Same Length *)
i_s := 1;
FOR i_p := 1 TO Length(p) DO BEGIN
IF p[i_p] = '?' THEN BEGIN
END ELSE... |
unit PrjRepScripts;
interface
uses SysUtils, Classes, TextUtils, Contnrs, TextTags, FuncScripts, AbsParsers, TypUtils
{$ifdef ToolsAPI}
, ToolsAPI
{$endif}
;
type
TNewFileNameEvent = procedure (const ID : string; var FileName : string) of object;
TPRContext = class(TAbsContext)
private
{$ifdef ToolsAPI}... |
unit Project87.Scenes.TestScene;
interface
uses
QCore.Input,
QEngine.Camera,
QEngine.Texture,
QGame.Scene,
Strope.Math;
type
TTestScene = class sealed (TScene)
strict private
FPosition: TVectorF;
FTestCamera: IQuadCamera;
FImage: TQuadTexture;
FScale: TVectorF;
FDelta: S... |
unit DealServerHttpProtocol;
interface
(*// http 协议
http://www.cnblogs.com/li0803/archive/2008/11/03/1324746.html
http://host[":"port][abs_path]
=====================================================
GET 请求获取Request-URI所标识的资源
POST 在Request-URI所标识的资源后附加新的数据
HEAD 请求获取由Request-URI所标识的资源的响应消息报头
PUT 请求服务器存储一个... |
{
Sobre o autor:
Guinther Pauli
Delphi Certified Professional - 3,5,6,7,2005,2006,Delphi Web,Kylix,XE
Microsoft Certified Professional - MCP,MCAD,MCSD.NET,MCTS,MCPD (C#, ASP.NET, Arquitetura)
Colaborador Editorial Revistas .net Magazine e ClubeDelphi
MVP (Most Valuable Professional) - Embarcadero Technologies - U... |
unit DragControl;
interface
uses
System.SysUtils, System.Classes, Vcl.Controls, Winapi.ShellAPI, Winapi.Messages,
System.Generics.Collections;
type
TDragFilesEvent = procedure(const files: TArray<string>) of object;
type
TTSDragControl = class(TComponent)
private
FDragControl: TWinControl;
FOnDrop... |
unit TSTOSbtpIntf;
Interface
Uses Windows, Classes, SysUtils, HsInterfaceEx;
Type
ISbtpSubVariable = Interface(IInterfaceEx)
['{4B61686E-29A0-2112-ACC5-11ABFE2E8AE6}']
Function GetVariableName() : String;
Procedure SetVariableName(Const AVariableName : String);
Function GetVariableData() : Strin... |
unit IniUtils;
interface
function GetIniFile(out AIniFileName: String):boolean;
function GetValue(const ASection, AParamName, ADefault: String): String;
function GetValueInt(const ASection, AParamName: String; ADefault : Integer): Integer;
function GetValueBool(const ASection, AParamName: String; ADefault : Boolean)... |
unit mnFile;
interface
{$WARN UNIT_PLATFORM OFF}
{$WARN SYMBOL_PLATFORM OFF}
uses Classes, mnString;
{--------------------------------
从一个文件名中去除扩展名。可以传入单纯的文件名,也可以包含文件路径。
Tested in TestUnit.
--------------------------------}
function mnExtractFileNoExt(const FileName: string): string;
{-------------------------... |
unit Delphi.Mocks.Tests.OpenArrayIntf;
interface
uses
DUnitX.TestFramework;
type
{$M+}
[TestFixture]
TestIOpenArray = class
published
procedure TestMyMethodDynamicArray;
procedure TestMyMethodTypedArray;
end;
{$M-}
TMyArray = array of Integer;
{$M+}
IDynamicArray = interface
// This... |
{*******************************************************************************
This file is part of the Open Chemera Library.
This work is public domain (see README.TXT).
********************************************************************************
Author: Ludwig Krippahl
Date: 23.12.2015
Purpose:
Generate rotat... |
//
// Created by the DataSnap proxy generator.
// 12/10/2015 19:07:47
//
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,... |
namespace CocoaLumberjack;
// Import of CocoaLumberjack (1.0)
// Frameworks:
// Targets: arm64
// Dependent fx:rtl, Foundation, UIKit, Island, CoreGraphics
// Dependent libraries:
// Platform: Darwin
//
type
CocoaLumberjack.__Global = class
public
class var CocoaLumberjackVersionNumber: Double;
class va... |
unit CashTest;
interface
uses dbTest, dbObjectTest, ObjectTest;
type
TCashTest = class (TdbObjectTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TCash = class(TObjectTest)
function InsertDefault: integer; override;
public
function InsertUpdateCash(cons... |
unit main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Printers,
ExtCtrls;
//Adicionar Printers ao uses
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
Button4: TButton;
Button5: TButton;
ListBox1: TListBox;
ListBox2: TL... |
unit YOTM.Form.Notify.Task;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, YOTM.Form.Notify, HGM.Button,
Vcl.StdCtrls, Vcl.ExtCtrls, YOTM.DB.Tasks, Vcl.Menus, HGM.Controls.PanelExt;
type
TOnCloseAction = pr... |
unit ClipbrdOutlines;
interface
uses Classes, Outlines, Project, SysUtils, Windows;
type
EOutlineClipboard = class( Exception );
// *******************************************************
// SEND OUTLINES TO CLIPBOARD
// *******************************************************
type TveOu... |
{Nama : Aef Syaefuddin Zuhri }
{NPM : 20.14.1.0018 }
{Nama Program : Biodata.pas }
program biodata_procedure;
uses crt;
procedure biodata_mahasiswa;
var
nama, npm, jenis_kelamin, alamat, tempat, tanggal_lahir, kontak_wa, email : string;
begin
writeln ('==========... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
(*++
Copyright (C) 2018 Automatic Component Toolkit Developers
All rights reserved.
Abstract: This is an autogenerated Pascal application that demonstrates the
usage of the Pascal bindings of Prime Numbers Interface
Interface version: 1.0.0
*)
program LibPrimesPascalTest;
uses
{$IFDEF UNIX}{$IFDEF UseCThread... |
unit DataSetConverter4D.Helper;
interface
uses
System.JSON,
Data.DB,
DataSetConverter4D,
DataSetConverter4D.Impl;
type
TDataSetConverterHelper = class helper for TDataSet
public
function AsJSONObject: TJSONObject;
function AsJSONArray: TJSONArray;
function AsJSONObjectStrin... |
unit uSupervisor;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Usuario;
type
TfrmSupervisor = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
Panel3: TPanel;
Label1: TLabel;
Label2: TLabel;
edtLogin: TEdit;
edtSe... |
unit AuthentificationData;
interface
uses
ClientLogOnInfo,
ServiceInfo,
SysUtils,
Classes;
type
TAuthentificationData = class
end;
TClientServiceAuthentificationData = class (TAuthentificationData)
private
FClientLogOnInfo: TClientLogOnInfo;
FServiceInfo: TServiceInfo;
proc... |
program BubbleSort(Input, Output);
uses wincrt;
const MAX = 5;
type StringArray = Array[1..MAX] of String;
var Names : StringArray;
I : integer;
Procedure Swap(var X, Y : String);
var Temp : String;
begin
Temp := X;
X := Y;
Y := Temp;
end;{Swap}
Procedure BSort(Start, Finish ... |
unit NetReaderSeetrax;
interface
uses NetReader, Classes;
// Low level access to UltiCap Netlist files.
type TSeetraxNetReader = class( TveNetReader )
protected
ComponentFileName : string;
ComponentLines : TStringList;
ComponentLineIndex : integer;
ComponentLineLimit : integer;
... |
unit FullSys;
interface
uses
Naturals,
Rationals,
Polynoms;
//stopolynom,
// filestr; //TestingUtils;
type
PPolynom = ^TPolynom;
TPolynomSystem = array of PPolynom;
TCountResults = array of Integer;
TTable = array of array of Boolean;
TDerivativeArray = array of Boolean;
TPolyno... |
unit uPanelCambioDia;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uPanel, StdCtrls, DBCtrls, uPanelNotificaciones, ExtCtrls, TB2Dock,
SpTBXItem, Buttons;
type
TTipoDia = class(TGraphicControl)
private
x: integer;
FApertura: Currency;
FMaxim... |
unit ClipbrdTracks;
interface
uses Tracks, Classes;
type TveTracksToClipboard = class
protected
FStream : TMemoryStream;
FTracks : TbeTracks;
public
procedure CopySelected( Tracks : TbeTracks );
constructor Create;
destructor Destroy; override;
end;
type TveTracksFromClipboar... |
unit Providers.Frames.Checkin;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Graphics,
FMX.Controls,
FMX.Forms,
FMX.Dialogs,
FMX.StdCtrls,
FMX.Objects,
FMX.Controls.Presentation,
Providers.Types,
FMX.Ani;
type
TFrameCheck... |
unit AqDrop.Core.Helpers;
interface
{$I 'AqDrop.Core.Defines.inc'}
uses
System.SysUtils,
System.StrUtils,
System.DateUtils,
Data.FmtBcd,
Data.SqlTimSt,
AqDrop.Core.Types;
type
TAqBooleanHelper = record helper for Boolean
public
class function Size: Int32; inline; static;
cl... |
unit Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
System.Sensors, Vcl.StdCtrls, Generics.Collections, Typinfo;
type
TForm1 = class(TForm)
cbSensors: TComboBox;
Label1: TLabel;
Label2: TL... |
unit fBlkVystup;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Spin, fMain, TBlokVystup;
type
TF_BlkVystup = class(TForm)
E_Nazev: TEdit;
SE_ID: TSpinEdit;
L_IR02: TLabel;
L_IR01: TLabel;
GB_MTB: TGroupBox;
L_IR04:... |
unit uControllerBomba;
interface
uses
ClasseBomba, uLib, uBombaDao;
type
TControllerBomba = class
private
public
function gravar(objBomba : TBomba) : boolean;
function getByid(id : integer;objBomba: TBomba) : boolean;
end;
implementation
uses
System.SysUtils;
{ TControllerBomba }
f... |
unit unit_CadContato;
interface
{$REGION 'Uses do Sistema'}
uses System.SysUtils
, System.Types
, System.UITypes
, System.Classes
, System.Variants
, FMX.Types
, FMX.Controls
, FMX.Forms
, FMX.Graphics
, FMX.Dialogs
, FMX.ListBox
, FMX.StdCtrls
, FMX.Edit
, FMX.Controls.Presenta... |
unit WhileRepeatStatementsForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox,
FMX.Memo, FMX.Controls.Presentation, FMX.StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
... |
unit UAMC_OptImages;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ This unit shares a lot of code with UImageEditor. When we rewrite we}
{ need to consolidate th... |
unit FilmInfo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls {System.Classes,} ,
TypeList,
Vcl.Menus, FilmBase;
type
TfrmFilmInfo = class(TForm)
lblTitel: TLabel;
lbl... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
System.Actions, Vcl.ActnList,
System.Generics.Collections,
DroneControllerInterface,
DeliveryControllerInterface,
... |
(*============================================================================
-----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 uCidades;
interface
uses Classes;
Type
TCidades = class
private
FCodigo: Integer;
FNome: String;
FUF: String;
public
property Codigo: Integer read FCodigo write FCodigo;
property Nome : String read FNome write FNome;
property UF : String read FUF write F... |
// 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... |
// ******************************************************************
//
// Program Name : $ProgramName$
// Platform(s) : $Platforms$
// Framework : VCL
//
// Filename : AT.$ShortName$.Intf.pas
// File Version : 1.00
// Date Created : $CreateDate$
// Author : Matthew Vesperman
//
// Descript... |
//
// fmt123.h header binding for the Free Pascal Compiler aka FPC
//
// Binaries and demos available at http://www.djmaster.com/
//
(*
libmpg123: MPEG Audio Decoder library
separate header just for audio format definitions not tied to
library code
copyright 1995-2015 by the mpg123 project
free s... |
unit win.mem.text;
interface
uses
sysdef_bufsize;
type
PTextBufferA = ^TTextBufferA;
TTextBufferA = packed record
Data : array[0..64 * c_1k - 1] of AnsiChar;
end;
PTextBufferW = ^TTextBufferW;
TTextBufferW = packed record
Data :... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit SubtitleEdit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls,
Vcl.Mask, Vcl.ExtCtrls, Vcl.Buttons, GraphicsCheckButton, GraphicsButton,
VideoConverterInt, SubtitleInt,... |
unit UDat2HTML;
(* DAT→HTML変換ルーチン *)
(* Copyright (c) 2001,2002 Twiddle <hetareprog@hotmail.com> *)
(* version 1.48, 2004/07/03 14:03:38 *)
interface
uses
SysUtils,
StrUtils,
Classes,
Types,
Windows,
StrSub,
UNGWordsAssistant;
type
(*--------------------------------------------------... |
unit CameraNew;
interface
Uses dglOpenGL, PhysicsArifm;
Type
TDirectionVariants = (dvForward, dvBackward, dvLeft, dvRight);
TCamera = class
public
Position: TVector3;
LookDirection: TVector3;
UpDirection: TVector3;
FieldOfViewAngle: Float;
protected
LookDirRotationMatrix: TMatrix... |
unit ufrmGroupCodeNameSettings;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TfrmGroupCodeNameSettings = class(TForm)
lblLine: TLabel;
edtGroupNumber: TEdit;
edtGroupNumber2: ... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls,TypUtils;
type
TForm1 = class(TForm)
Label1: TLabel;
Label2: TLabel;
ListBox1: TListBox;
Button1: TButton;
Button2: TButton;
Label3: TLabel;
lbType: TLabel;
Label4: TLab... |
(*
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 ... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ExtCtrls, StdCtrls, Grids, DSharp.Bindings.VCLControls,
DSharp.Bindings, pngimage,
// for the IDataErrorInfo interface we are using in our model class
DSharp.Core.Validations;
type
// o... |
// see ISC_license.txt
{$I genLL.inc}
unit SchrodingerParser;
interface
uses
Runtime, SchrodingerLexer;
type
TSchrodingerParser = class(TParser)
protected
function Eq(lookahead, type_: integer): Boolean; override;
public
procedure pars_program;
procedure pars_stmt;
procedure pars_assignmentSt... |
program simple1;
var price,discountprice : real;
begin
write('Please print price: ');
readln(price);
discountprice:=price-(price*(12/100)); //Discount Price = price - ( 12% from price )
writeln('discountprice = ',discountprice : 10 : 2)
end.
|
unit KerbalSpaceControls;
interface
type
TKSPControlType = (ctPushButton, ctToggle, ctAnalog);
TKSPControl = (kcStaging, kcToggleSAS, kcThrottle);
TKSPControlEntry = record
CtrlID: TKSPControl;
Value: string;
end;
TKSPControlTableEntry = record
public
CtrlID: TKSPControl... |
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;
PROCEDURE InitializeSieve(VAR Sieve: SieveCha... |
{******************************************************************************}
{ Projeto: Componentes ACBr }
{ Biblioteca multiplataforma de componentes Delphi para interação com equipa- }
{ mentos de Automação Comercial utilizados no Brasil ... |
unit LoadFormTest;
interface
uses
TestFramework, Forms;
type
TLoadFormTest = class (TTestCase)
private
function GetForm(FormClass: string): TForm;
protected
// подготавливаем данные для тестирования
procedure SetUp; override;
// возвращаем данные для тестирования
procedure TearDown; over... |
unit TBlokUsek;
//definice a obsluha technologickeho bloku Usek
interface
uses IniFiles, TBlok, Menus, TOblsRizeni, SysUtils, Classes, Booster, houkEvent,
IdContext, Generics.Collections, JsonDataObjects, TOblRizeni, rrEvent,
stanicniHlaseni, changeEvent, predvidanyOdjezd;
type
TUsekStav = (disabled = -... |
unit RaDBOLE;
interface
uses
SysUtils, Classes, DB, DBTables, JPEG, ExtCtrls, GIFCtrl;
type
TImageType = (itBMP, itJPG, itGIF, itOther);
TOnSaveData = procedure(Sender: TObject) of object;
TOnLoadData = procedure(Sender: TObject) of object;
TOnShowImage = procedure(Sender: TObject; ImageType: TImageType) o... |
unit predvidanyOdjezd;
{
Trida TPOdj reprezentuje predvidany odjezd.
}
interface
uses SysUtils, Graphics;
type
ENoTimeDefined = class(Exception);
EOriginNotSet = class(Exception);
TPobjPhase = (ppGone, ppSoundLeave, ppGoingToLeave, ppPreparing, ppLongTime, // faze, ve kterych muze byt cas odjezdu
... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit MasterProtocol;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
uses SysUtils;
const
MAX_ARGS = 6;
MSG_LETTERS_NUM = 6;
MSG_LETTERS: array[1..MSG_LETTERS_NUM]of char = ('R','M','C','P','W','S');
MSG_LEN: array[1..MSG_LETTERS_NUM]of byte = (2,5,2,4,1,3);
type
TParsedMessage = record... |
unit Command.Receivers.Receiver;
interface
uses
Command.Interfaces.Receiver;
// The Receiver classes contain some important business logic. They know how
// to perform all kinds of operations, associated with carrying out a
// request. In fact, any class may serve as a Receiver.
// As classes Receiver contêm algu... |
unit XMLParser;
interface
uses
Weather, Xml.xmldom, Xml.XMLIntf, Xml.XMLDoc, Xml.adomxmldom, System.DateUtils,
System.SysUtils;
type
TXMLParser = class(TObject)
private
public
{constructor Create;
destructor Destroy; }
class procedure LoadXMLDaily(strXML: string; var XML... |
unit ImageSegmentsUtils;
{$mode objfpc}{$H+}
interface
uses CastleVectors;
var
{ Average the colors within each rectangle. }
AvgRect: boolean = true;
{ Based on average rectangle color, convert it to either light or dark. }
TwoColors: boolean = true;
TwoColorLevel: Byte = High(Byte) div 2;
TwoColorDark:... |
{$optimize 1}
{---------------------------------------------------------------}
{ }
{ Parser }
{ }
{ External Subroutines: ... |
// 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 Composite.Component;
interface
type
TComponent = class
public
// The base Component may implement some default behavior or leave it to
// concrete classes (by declaring the method containing the behavior as
// "abstract").
// O Component base pode implementar alguns comportamentos padrões o... |
unit tm_error_reporting;
// {$mode objfpc}
interface
// global_errorlist must be initialized externally!!
uses Classes, SysUtils;
const C_Error = 0;
C_Warning = 1;
C_Notice = 2;
procedure report_error(s: String; position, operation, errortype: Integer);
var global_error: Boolean;
... |
unit frmEditUsers_unit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, EditReportForm_Unit, DB, kbmMemTable, Grids, AdvObj, BaseGrid,
AdvGrid, DBAdvGrid, AdvSmoothButton, ExtCtrls, AdvPanel, AddUserForm_unit;
type
TEditUsers = class(TEditReport)
... |
unit fmLoginPatterns;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses,
uniGUIClasses, uniGUIRegClasses, uniGUIForm, uniButton, uniPanel, uniLabel,
uniGUIBaseClasses, uniEdit, ZAbstractConnection, ZConnection, DB,
... |
unit AqDrop.Core.Manager;
interface
uses
AqDrop.Core.InterfacedObject,
AqDrop.Core.Collections.Intf,
AqDrop.Core.Manager.Intf;
type
/// ------------------------------------------------------------------------------------------------------------------
/// <summary>
/// EN-US:
/// Base... |
{*******************************************************}
{ }
{ Implementation of Objective-C Code Blocks }
{ }
{ Copyright(c) 2017 TamoSoft Limited }
{ ... |
unit HardwareDialog;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxLookAndFeels,
cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore, dxSkinsDefaultPainters,
Vcl.StdCtrls, cxButtons, Vcl.ExtCtrls, c... |
unit Connection.Model;
interface
uses
System.SysUtils, System.IniFiles,
Data.DB, Data.SqlExpr, Data.DBXFirebird,
Common.Consts, Common.Types, Common.Model,
Connection.Types, Connection.Utils;
type
TConnectionModel = class
private
class var FHost: string;
class var FPort: Word;
class var FData... |
unit ChoiceGoodsAnalog;
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,
cxLookAndFeel... |
unit UInfoCell;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ Info Cells are like virtual cells, they are mainly place holders for }
{ displaying data that is... |
unit MSG_NF_Etapa_02_2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons;
type
TMSGNFEtapa02_2 = class(TForm)
Label1: TLabel;
BT_Sim: TBitBtn;
BT_Sair: TBitBtn;
BT_Nao: TBitBtn;
Numero_Nota: TEdit;
Label2... |
unit hashLib;
interface
uses classes;
type
THashItem = class
private
key, value: string;
public
destructor Destroy; override;
end;
THashTable = class
private
size: integer;
filledSize: integer;
function Hash(key: string): integer;
public
table: array of TLi... |
{hint: Pascal files location: ...\AppCompatEscPosThermalPrinterDemo1\jni }
unit unit1;
{$mode delphi}
interface
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, AndroidWidget, Laz_And_Controls, ujsescposthermalprinter;
type
{ TAndroidModule1 }
TAndroidModule1 = c... |
unit IdTestCoderQuotedPrintable;
interface
//http://www.freesoft.org/CIE/RFC/1521/6.htm
uses
IdCoderQuotedPrintable,
IdStack,
IdStream,
IdTest,
IdSys;
type
TIdTestCoderQuotedPrintable = class(TIdTest)
private
protected
function EncDec(const aStr:string):boolean;
published
... |
unit uHoldingsCls;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fgl,
uLibrary,
uHoldings{, uString};
type
THoldingsSpec = specialize TFpgList<IHolding>;
THoldingsEnumeratorSpec = specialize TFpgListEnumerator<IHolding>;
{ THoldingsEnumerator }
THoldingsEnumerator = class(THoldingsEnumerat... |
unit KrXLSExport;
// based on internet, generate basic BIFF5 XLS
// http://sc.openoffice.org/excelfileformat.pdf
// CodePage support (see WriteCodePage)
// and Unicode compatibility - Radek Cervinka, delphi.cz
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Grids, Forms,
Dialog... |
{*******************************************************************************
* *
* TksTileMenu - tile menu compoonent *
* ... |
unit u_client;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, MQTT;
var
Client: TMQTTClient;
mq_Topic, mq_Payload: ansistring; // latest received message
mq_DoUpdateClient, mq_MessageAvailable, mq_TerminateSession, Send: boolean;
// We list all procedures and functions in each unit exept those in the ... |
unit GoogleOTPDialogPsw;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons,Db, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore,
dxSkinsDefaultPainters, cxTextEdit, cxCurrencyEdit, Stora... |
unit AbastecimentoDAO;
interface
uses
Data.SqlExpr, SysUtils, Forms, Windows, Util, Abastecimento;
type
TAbastecimentoDAO = class
private
{ private declarations }
public
procedure Salvar(Abastecimento: TAbastecimento);
end;
implementation
{ TAbastecimentoDAO }
procedure TAbastecimentoDAO.Salvar(... |
unit UPropertyBase;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted 2006-2011 by Bradford Technologies, Inc. }
{ This unit the base for the TProperty object. TProperty will hold all }
{ the descriptive data ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.