text stringlengths 14 6.51M |
|---|
unit uexplorer;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,Forms,
uprojectoptions,uscanresult,PasTree,Generics.Collections;
type
TNodeName=string;
TNodeData=record
Name:TNodeName;
Text:String;
end;
TPasElementHandler=procedure(const pe:TPasElement; var PrevNode,Node:TNode... |
{
Процедура создания новой адресной книги.
Параметры:
name строка название книги
}
procedure AddressBookCreate(name : String);
var
f : file of AddressBookEntry;
begin
assign(f, name); { Связываем имя файла с файловой переменной }
{$I-}
rewrite(... |
unit OAuth2.AuthorizationServer;
interface
uses
Web.HTTPApp,
System.Generics.Collections,
OAuth2.Contract.Grant.GrantType,
OAuth2.Contract.ResponseType,
OAuth2.Contract.Repository.Client,
OAuth2.Contract.Repository.AccessToken,
OAuth2.Contract.Repository.Scope,
OAuth2.RequestType.AuthorizationRequest,... |
// Copyright 2014 Agustin Seifert
//
// 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... |
// zd02_1_ga.pas Гудулин А.О. 12.02.2012
// Программа тестирования функций работы с очередью
type
TQueue = array[-2..10] of integer;
const
errorMessage:string = '';
var
inputStr: string;
queue: TQueue;
i: integer;
procedure init(var queue:TQueue);
{var
i: integer;}
begi... |
unit dxfwrite;
{$ifdef fpc}{$mode delphi}{$H+}{$endif}
interface
uses
SysUtils, Classes, dxftypes;
type
{ TDxfWriter }
TDxfWriter = class(TObject)
public
procedure SetDest(ASource: TStream; OwnStream: Boolean); virtual; abstract;
procedure WriteInt16(codeGroup: integer; v: int16); ... |
unit PeopleControllerU;
interface
uses
MVCFramework, PeopleModuleU, MVCFramework.Commons;
type
[MVCPath('/people')]
TPeopleController = class(TMVCController)
private
FPeopleModule: TPeopleModule;
protected
procedure OnAfterAction(Context: TWebContext;
const AActionNAme: string); override;
... |
(*
Описание:
Файл содержит ряд системных утилит.
История изменений:
Автор Дата создания Изменял Дата модификации
Кухтин И.В. 24.01.2008
вставлены
{получение информации о версии программы}
Function GetFileVersion(const FileName:String):TVersionInfo;
{получ... |
unit Speed;
{$DEFINE Antenna14Bits}
interface
type
TSpeed = integer;
float = single;
{$IFDEF Antenna12Bits}
const
spd_0 = 0;
spd_1 = 68;
spd_2 = 137;
spd_3 = 205;
spd_4 = 273;
spd_5 = 341;
spd_6 = 410;
spd_7 = 478;
spd_8 = 546;
spd_9 = 614... |
unit LibZEx; // Same functionality as Delphi ZLib.pas (aka ZLibEx.pas) but using linux LibZ.so library
interface
uses
Sysutils, Classes,
LibZ;
type
TZCompressionLevel = (zcNone, zcFastest, zcDefault, zcMax);
type // TCustomZStream
TCustomZStream = class(TStream)
private
FStream : TStream;
FSt... |
program TesteAnhaengen (input, output);
{ testet die Prozedur anhaengen }
type
tRefListe = ^tListe;
tListe = record
info : integer;
next : tRefListe
end;
var
Liste1,
Liste2,
Gesamtliste : tRefListe;
procedure LiesListe(var outListe : tRefListe);
{ Liest ei... |
unit MPIDeclaration;
interface
uses Windows, Classes, TeCanvas, Graphics, Gauges;
Const
//FileInitialDir = 'C:\_Programs\Work\Sharov\04.06.2002\';
FileInitialDir = 'C:\_Programs\_Work\Sharov\Current\Data1\';
SmPerInch = 2.5413793103448275862068965517241;
TimeInOneSecond = 1.1574074074e-... |
unit uFormRelTotalGeral;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uFormBase, Vcl.StdCtrls, Data.DB,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC MySQL driver }
{ }
{ Copyright(c) 2004-2013 Embar... |
unit ExportTabularWEAP;
uses ExportCore,
ExportTabularCore,
ExportJson,
ExportTabularLOC;
var ExportTabularWEAP_outputLines: TStringList;
var ExportTabularWEAP_LOC_outputLines: TStringList;
function initialize(): Integer;
begin
ExportTabularWEAP_outputLines := TStringList.create();
ExportTab... |
unit master_server_shared;
{$mode objfpc}{$H+}
interface
uses core_actor_definitions;
//client has to 'ping' serwer every n seconds or will be dropped
const max_ping_time = 30 ;
type
{$packenum 1}
emsStates = (
//responses
msServerDown,//couldn't connect to server
msL... |
PROGRAM Diagram;
CONST POLTICIAN_COUNT = 2;
PADDING_CENTER = 1;
HEADER_MIN_LENGTH = 8;
EXIT_FAILURE = 1;
TYPE PollResult = RECORD
PositiveVotes: SHORTINT;
NegativeVotes: SHORTINT;
END;
TYPE PoliticianPollResults = ARRAY[1..POLTICIAN_COUNT] OF PollResult;
VAR politicianPoll: PoliticianPollResults;
extrem... |
{-----------------------------------------------------------------------------
Unit Name: DUHint
Author: Sebastian Hütter
Date: 2006-08-01
Purpose: Show custom Hint windows
History: 2006-08-01 initial release
-----------------------------------------------------------------------------}
unit DUHint;
... |
unit Menus.Controller.ListaBox.Principal;
interface
uses
Menus.Controller.ListBox.Interfaces, System.Classes;
Type
TControllerListaBoxPrincipal = class(TInterfacedObject, iControllerListBoxMenu)
private
FContainer: TComponent;
public
constructor Create(Container : TComponent);
... |
{ Invokable implementation File for TLogWS which implements ILogWS }
unit LogWSImpl;
interface
uses InvokeRegistry, Types, XSBuiltIns, LogWSIntf, CommunicationObj, LogTools, EventLog;
type
{ TLogWS }
TLogWS = class(TCommObj, ILogWS)
public
function Get_MaxLogEntries: Integer; safecall;
... |
unit NetDataBuffer;
interface
uses
BaseDataIO, DataChain;
function CheckOutDataBuffer(ABufferChainPool: PChainPool): PDataBuffer;
procedure CheckInDataBuffer(ABufferChainPool: PChainPool; var ABuffer: PDataBuffer);
var
DataBufferChain: TChainPool;
... |
unit CashRegisterTest;
interface
uses dbTest, dbObjectTest, TestFramework, ObjectTest;
type
TCashRegisterTest = class (TdbObjectTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TCashRegister = class(TObjectTest)
function InsertDefault: integer; override;
proce... |
unit Employees.Model;
interface
uses
System.Variants, System.SysUtils, System.Math,
Data.DB,
Database.Types, Database.Model,
Employees.Classes;
type
TEmployeesModel = class
private
class var FSQLCmd: string;
private
FDatabaseModel: TDatabaseModel;
// FEmployee: TEmployee;
constructor Cre... |
PROGRAM Prime(INPUT, OUTPUT);
CONST
MinimumDigit = 2;
MaximumDigit = 100;
TYPE
Range = SET OF MinimumDigit .. MaximumDigit;
VAR
Sieve, Interval: Range;
Min, Max, Divisor, Digit: INTEGER;
BEGIN {Prime}
IF NOT EOLN(INPUT)
THEN
BEGIN
READ(Min, Max);
Sieve ... |
unit uMenu;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, StdCtrls, ExtCtrls, ComCtrls;
type
TForm2 = class(TForm)
mm1: TMainMenu;
file1: TMenuItem;
new1: TMenuItem;
open1: TMenuItem;
save1: TMenuItem;
N1: TMenuI... |
unit Sample7.Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Sample7.Customer, Spring.Collections;
type
TMainForm = class(TForm)
Button1: TButton;
Memo1: TMemo;
Button2: TButton;
Edit1: TEdit;
procedure FormCreate(Sender: TO... |
unit FlashWriter;
interface
type
EBootState = (BS_UNKNOWN, //unknown state, which cannot be recognized
BS_MTLBL, //state, in which Motorola S-Record bootloader is running
BS_MTXBLARS,//state, in which Metronix ARS2000 bootloader is running
BS_MTXBLDIS,//state, in wh... |
{ Routines for setting the completion status according to various error
* conditions.
}
module hier_err;
define hier_err_line_file;
define hier_err_missing;
define hier_err_badcmd;
%include 'hier2.ins.pas';
{
********************************************************************************
*
* Subroutine HIER_ERR_... |
unit FMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, ComCtrls, uDemo, StdCtrls;
type
TFormMain = class(TForm)
TreeViewDemos: TTreeView;
Splitter: TSplitter;
PanelClient: TPanel;
RichEdit: TRichEdit;
SplitterRight: TSplitter... |
unit ThoughtWorks.QRCode.Codec.util.QRCodeUtility;
interface
uses
QType, System.SysUtils;
type
TQRCodeUtility = class
public
class function AsciiStringToByteArray(str: string): TTBytes; static;
class function FromASCIIByteArray(characters: TTBytes): string; static;
class function FromUnicodeByteArr... |
(*============================================================================
-----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 Pos_ECRCommX_BPOS1Lib;
interface
uses Winapi.Windows, Winapi.ActiveX, System.Variants, System.SysUtils, System.Win.ComObj,
PosInterface;
type
TPos_ECRCommX_BPOS1Lib = class(TInterfacedObject, IPos)
private
FPOS : Variant;
FLastPosError : String;
FLastPosRRN : String;
FCancel : Boolean;
... |
unit UFrm;
interface
uses Vcl.Forms, System.ImageList, Vcl.ImgList, Vcl.Controls, Vcl.StdCtrls,
Vcl.ComCtrls, Vcl.Buttons, Vcl.ExtCtrls, System.Classes,
//
System.Types;
type
TFrm = class(TForm)
Pages: TPageControl;
TabStart: TTabSheet;
TabPoker: TTabSheet;
LbWelcome: TLabel;
L: TListBox;... |
unit MateriaDoProduto;
interface
uses SysUtils, Contnrs, MateriaPrima;
type
TMateriaDoProduto = class
private
Fcodigo :Integer;
Fcodigo_item :Integer;
Fcodigo_materia :Integer;
Fquantidade :Real;
FMAteria :TMateriaPrima;
function GetMateria: TMateriaPrima;
public
property codigo ... |
unit DrawCards;
interface
uses Graphics, Windows;
procedure DrawCard(Canvas: TCanvas;
Rect: TRect;
card: Shortint;
fontsize: Byte;
focus: Boolean = False;
cross: Boolean = False;
grey: Boolean = Fals... |
unit Di02;
{
ULDI02.DPR ================================================================
File: DI02.PAS
Library Call Demonstrated: cbDBitIn()
Purpose: Reads bits from a digital input port.
Demonstration: Configures FIRSTPORTA and B for inp... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC streaming classes }
{ }
{ Copyright(c) 2004-2013 Embar... |
unit UMyClickForms;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2012 by Bradford Technologies, Inc. }
{ When UInit is caled and sets up the paths, it calls MyClickFORMS to find }
{ where the director... |
unit numberpicker;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, AndroidWidget;
type
TOnNumberPicker = procedure(Sender: TObject; oldValue: integer; newValue: integer) of Object;
{Draft Component code by "Lazarus Android Module Wizard" [9/16/2016 22:45:35]}
{https://github.com/jmpessoa/lazandroidmodu... |
unit Flyweight.Flyweight;
interface
uses
Flyweight.Car;
// The Flyweight stores a common portion of the state (also called intrinsic
// state) that belongs to multiple real business entities. The Flyweight
// accepts the rest of the state (extrinsic state, unique for each entity)
// via its method parameters.
// ... |
{
Mollier Chart (ph-chart) generator
Bruce Wernick, 13 December 2015
}
unit uMolChart;
interface
uses
SysUtils, Windows, Graphics, Classes,
cpIntf;
type
fvec = array of Double;
TMolChart = class
private
FCanvas: TCanvas;
R: TRect;
FMargin: Integer;
x0, x1, y0, y1: Double;
lny0, lny... |
unit MainF;
interface
uses
Windows, SysUtils, Classes, Controls, Forms, Dialogs, PhoneU, StdCtrls,
ExtCtrls{, ShellAPI};
type
TMainForm = class(TForm)
OutputMemo: TMemo;
ControlsPanel: TPanel;
InitializeButton: TButton;
AddNumberEdit: TEdit;
AddNumberButton: TButton;
Send... |
(*++
Copyright (C) 2018 Automatic Component Toolkit Developers
All rights reserved.
This file has been generated by the Automatic Component Toolkit (ACT) version 1.3.1.
Abstract: This is an autogenerated Pascal export implementation file in order to allow easy
development of Prime Numbers Interface. The functions i... |
unit Fi02;
{
ULFI02.DPR================================================================
File: FI02.PAS
Library Call Demonstrated: File Operations:
cbFileRead()
cbFileGetInfo()
Purpose: Read info... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit GdiHandles;
interface
uses Windows;
// *************** TFontHandle ***************
{
The TFontHandle is useful when the Delphi TPen won't do the job, especially
for rotated text. This class gives you a hFont which has settable Font Name,
Height, Width, Bold, Angle, Pitch. After properties have been ch... |
unit googleTranslator;
interface
uses idHTTP,
IdThread,
IdComponent,
IdSync,
Controls,
Classes,
Forms,
IniFiles,
StdCtrls,
dxStatusBar;
type
Operations = (OpWriteLogMes,OpSaveLog,OpOnWork, opReturnRes);
TTransSync = class(TidSync)
public
Operation : Operations;
... |
unit TelegaPi.Types.Passport;
interface
uses
TelegaPi.Types.Enums;
type
ItgPersonalDetails = interface
['{F77CD641-E826-40C2-B0C3-4EFBB6779555}']
function FirstName: string;
function LastName: string;
function BirthDate: TDate;
function Gender: TtgGender;
function CountryCode: string;
... |
UNIT fct2;
INTERFACE
{$mode objfpc}{$H+}
{$codepage UTF8}
{$I-}
USES cwstring, sysutils, crt, fct;
(* Déclaration des fonctions utilisables par le programme principal *)
FUNCTION creeMotAleatoire(taille : Integer):WideString ;
function creeMotDigramme(taille : Integer;tableauxDigramme:tbx):WideString;
IMPLEMENTATION
... |
// ****************************************************************************
//
// Program Name : - AT Library -
// Program Version: 1.00
// Filenames : AT.Windows.pas
// File Version : 1.10
// Date Created : 26-JAN-2014
// Author : Matthew S. Vesperman
//
// Description:
//
// Windows OS function... |
unit StandardDomainObjectRepositoryRegistry;
interface
uses
ISessionUnit,
DomainObjectRepository,
DomainObjectRepositoryRegistry,
DomainObjectUnit,
SysUtils,
Classes;
type
TDomainObjectRepositoryRegistry =
class (TInterfacedObject, IDomainObjectRepositoryRegistry)
protected
class ... |
unit DW.VirtualKeyboardRect.Android;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library ... |
unit ETL.FileProject;
interface
uses Controls, ETL.FileProject.Interfaces;
type
TListComponentsETL = class(TInterfacedListComponentsETL, IListComponentsETL)
public
function Locate(const AId: string): IComponentETL;
function GenerateTitle(APrefix: string): string;
end;
TProjectETL = clas... |
unit mbTrackBarPicker;
interface
{$I mxs.inc}
uses
Windows, Messages, SysUtils, Classes, Controls, Graphics, Forms,
{$IFDEF DELPHI_7_UP} Themes, {$ENDIF} ExtCtrls, PalUtils;
const
TBA_Resize = 0;
TBA_Paint = 1;
TBA_MouseMove = 2;
TBA_MouseDown = 3;
TBA_MouseUp = 4;
TBA_WheelUp = 5;
TBA_Whe... |
unit HWOrdInfoReader;
interface
uses
Classes, ComObj, DateUtils, SysUtils, CommUtils, Variants;
type
THWOrdInfoRecord = packed record
sproj: string;
sordno: string;
snumber: string;
sname: string;
scolor: string;
scap: string;
dqty: Double;
soutdate: string;
Tag: TObject;
en... |
program All_Types;
var
num: real;
a: integer;
b: string;
c: char;
f: boolean; |
unit DataAC;
// TACTableData - trida resici vypis AC do tabulky
interface
uses ComCtrls, SysUtils;
type
TACTableData = class
private
LV:TListView;
public
procedure LoadToTable();
procedure UpdateTable(force:boolean = false);
constructor Create(LV:TListView);
procedure Add... |
unit uPerson;
interface
type
TPerson = class
private
FAge: Integer;
FLastname: string;
FFirstname: string;
public
constructor Create(const Firstname, Lastname : string; Age : Integer); virtual;
property Firstname : string read FFirstname write FFirstname;
property Lastname :... |
program Sunko;
uses System;
uses System.IO;
{$resource 'ru.lng'}
{$resource 'en.lng'}
{$includenamespace Version.pas}
{$includenamespace SunkoError.pas}
{$includenamespace WordTypes\WordType.pas}
{$includenamespace WordTypes\Keyword.pas}
{$includenamespace WordTypes\ProcedureName.pas}
{$includenamespace WordTypes\Fu... |
//========================================================================
// Ultimate Color Picker Dialogs - Delphi Edition
//
// Copyright 2003-2005, SimpleWebsiteNavigation.com, All Rights Reserved.
//
// Datecode: 050929
//
// This software is shareware. You may evaluate it for free, but it you
// use it you ... |
unit GDNativeApi;
{$mode objfpc}{$H+}
{$IFDEF FPC}
{$PACKRECORDS C}
{$ENDIF}
interface
uses
GodotObject,
GodotVariant;
const
GodoApiVersion = 1;
// API core and extension types:
const
// The core API type:
GDNativeCore = 0;
// The extension API types:
GDNativeExtensionNativescript ... |
unit IdStreamVCL;
interface
{$I IdCompilerDefines.inc}
uses
Classes,
IdGlobal;
type
TIdStreamHelperVCL = class
public
class function ReadBytes(
const AStream: TStream;
var VBytes: TIdBytes;
const ACount: Integer = -1;
const AOffset: Integer = 0) :... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, unitMain;
type
{ TFormLogin }
TFormLogin = class(TForm)
EUsername: TEdit;
EPassword: TEdit;
Image1: TImage;
Image2: TImage;
Label1: TLabel;
procedure FormCreate(S... |
unit JsonRpc;
interface
uses
SysUtils,
Classes,
IdHttp,
superobject;
type
TJsonRpc = class
private
FId: integer;
FEndpoints: TStringList;
function getJsonRpcBody(aMethodName: string; aParams: string; aId: string): TStringStream;
function endpointFromMethodName(aMethodName: str... |
// =============================================================================
// Module name : $RCSfile: FuncDmm.pas,v $
// description : The classes of script functions which are relevant to the device
// of Digital Multimeter (DMM), are implemented in this unit.
// Compiler : Delphi 2007
// Au... |
unit ZQueryExecutor;
interface
uses
DB,
AbstractQueryExecutor,
DataReader,
QueryExecutor,
ZDataset,
ZConnection,
VariantListUnit,
SysUtils,
Classes;
type
TZQueryExecutor = class (TAbstractQueryExecutor)
protected
FConnection: TZConnection;
protected
procedure OnDataModif... |
unit UAMC_CheckUAD_Rules;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2012 by Bradford Technologies, Inc. }
//Replace TListView with TosAdvDbGrid 09/21/2012 PN
interface
uses
MSXML6_TLB, Classes... |
unit PropEditorsUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ELPropInsp, HelperUnit, WindowStyleDlgUnit, WindowExStyleDlgUnit;
type
TCompilerPropEdit =class(TELStringPropEditor)
function GetAttrs:TELPropAttrs;override;
procedure E... |
unit optionscalc;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,arrayUtils,cell;
type
ERepeatOption = (roRepeatInCage,roRepeatOnDiagonal);
ERepeatOptions = array of ERepeatOption;
{ TOptionsCalculator }
//The complicated bits. Applying all the constraints in this game, what options
//does this c... |
unit UMain;
interface
uses
{ Winapi }
Winapi.Windows, Winapi.Messages, Winapi.ShellAPI,
{ System }
System.SysUtils, System.Variants, System.Classes, System.StrUtils,
{ VCL }
Vcl.Forms, Vcl.Menus, Vcl.ExtCtrls, Vcl.Controls,
Vcl.StdCtrls, Vcl.Imaging.pngimage;
type
TFMain = class(TForm)
btClose: T... |
unit app_mdl;
interface
uses
Classes
,SysUtils
,tiObject
,mapper
,mvc_base
,event_const
;
type
// -----------------------------------------------------------------
// Enumerations
// -----------------------------------------------------------------
TModelProjectState = (mpsClosed, mpsLoaded, ... |
unit AqDrop.DB.Base.Detail;
interface
uses
System.Generics.Collections,
AqDrop.Core.Types,
AqDrop.Core.Collections.Intf,
AqDrop.Core.Collections,
AqDrop.DB.ORM.Attributes,
AqDrop.DB.ORM.Manager,
AqDrop.DB.Base;
type
TAqDBDetail = class(TAqDBBaseObject)
strict private
[weak] FORM... |
unit UGSEComments;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses
UEditorDialog;
type
/// summary: A UAD dialog for editing carry-over comments... |
{$ifdef license}
(*
Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com )
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this li... |
unit ufrmRearrangeFileSettings;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.Types, System.IOUtils,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.FileCtrl;
type
TfrmRearrangeFileSettings = class(TForm)
btnOK: TButton;
... |
unit uGestDroit;
interface
Uses Windows, AclApi, AccCtrl;
Const
SECURITY_NULL_SID_AUTHORITY : _SID_IDENTIFIER_AUTHORITY = ( Value : (0,0,0,0,0,0));
SECURITY_WORLD_SID_AUTHORITY : _SID_IDENTIFIER_AUTHORITY = ( Value : (0,0,0,0,0,1));
SECURITY_LOCAL_SID_AUTHORITY : _SID_IDENTIFIER_AUTHORITY = ( Value ... |
unit AqDrop.DB.Ora;
interface
uses
AqDrop.DB.SQL.Intf,
AqDrop.DB.Adapter;
type
TAqDBOraSQLSolver = class(TAqDBSQLSolver)
strict protected
function SolveLimit(pSelect: IAqDBSQLSelect): string; override;
function SolveOffset(pSelect: IAqDBSQLSelect): string; override;
function SolveBoo... |
unit KM_FogOfWar;
{$I KaM_Remake.inc}
interface
uses Classes, Math,
KM_CommonClasses, KM_CommonTypes, KM_Points, KM_Defaults;
{ FOW state for each player }
type
TKMFogOfWarCommon = class
public
function CheckVerticeRevelation(const X,Y: Word): Byte; virtual; abstract;
function CheckTileRevel... |
unit ufrm_ticket;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
System.Actions,
System.ImageList,
Vcl.ActnList,
Vcl.ImgList,
Vcl.Mask,
Vcl.DBCtrls,
Vcl.Grids,
Vcl.DBGrids,
Vcl.StdCtrls,
Vcl.ExtCtrls,
Vcl.ComCtrls,
Vcl.ToolWin,
V... |
unit Interfaces;
interface
type
IAve = Interface
function GetNome: string;
function Voar: string;
End;
IPato = Interface(IAve)
function Grasnar: string;
end;
IPeru = Interface(IAve)
function Soar: string;
End;
implementation
end.
|
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit KM_GameInputProcess_Single;
{$I KaM_Remake.inc}
interface
uses SysUtils, KM_GameInputProcess;
type
TGameInputProcess_Single = class(TGameInputProcess)
protected
procedure TakeCommand(aCommand: TGameInputCommand); override;
public
procedure ReplayTimer(aTick: Cardinal); override;
procedure Runni... |
unit Main;
interface
{ TODO 1 -oHillfolk -cImage :이미지 데이터 한번에 받아서 애니메이션 하기
http://docwiki.embarcadero.com/CodeExamples/Berlin/en/FMX.TSwipeTransitionEffect_Animation
}
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphic... |
{$ifdef license}
(*
Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com )
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this li... |
unit telephonymanager;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, AndroidWidget;
type
//CALL_STATE_IDLE CALL_STATE_RINGING CALL_STATE_OFFHOOK
TTelephonyCallState = (csIdle, csRinging, csOffHook);
TOnCallStateChanged = procedure(Sender: TObject; state: TTelephonyCallState; phoneNumber: string) o... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://localhost/WSClfCustServicesEx/ClfCustServicesEx.asmx?wsdl
// >Import : http://localhost/WSClfCustServicesEx/ClfCust... |
unit SendOnPrice;
interface
uses
Winapi.Windows, DataModul, AncestorDocument, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxPCdxBarPopupMenu, cxStyles,
cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit, Data.DB, cxDBData,
cxButtonEdit, cxCurrencyEdit, cxContainer, Vcl.ComCtrls, dxCore, ... |
unit PublicUnit;
interface
uses
Windows, SysUtils, Classes, Messages, Forms, StdCtrls, ExtCtrls,
ComCtrls ,math,UMainDataModule,COMobj,ActiveX,Dialogs,StrUtils,
IniFiles;
type
TIni = class(TObject)
fIniReader: TiniFile;
fpath: string;
fIsOpen: boolean;
public
//得到Config.ini文件中的配置信息
con... |
unit MsgSource;
interface
uses
SysUtils, Classes, DataServices, FireDAC.Stan.Error, FireDAC.UI.Intf,
FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async,
FireDAC.Phys, FireDAC.Phys.MSSQL, FireDAC.Comp.Client, FireDAC.Stan.Param,
FireDAC.DatS, FireDAC.DApt.Intf, FireDAC.DApt, DB... |
unit UFacade;
interface
uses
SysUtils, UUser, UPerson, UPhysicalPerson, UPhysicalPersonList,
UUserController, UPhysicalPersonController, UFacadeValidationData, UFactory;
type
TFacade = class
private
class function NewInstance: TObject; override;
public
class function getInstance: TFacade;
destr... |
(*--------------------------------------------------------*)
(* Übung 2 (BSP. 3. Quadratwurzel Annäherung) *)
(* Entwickler: Neuhold Michael *)
(* Datum: 17.10.2018 *)
(* Verson: 1.0 *)
(* Lösungsidee:... |
unit mnHTMLTestCase;
{
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;
type
TmnHTMLTestCase = cl... |
unit LaunchFailure;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, BaseModel;
type
IBaseLaunchFailure = interface(IBaseModel) ['{26543CE7-0F08-49A6-B521-986265333702}']
function GetAltitude: LongWord;
function GetReason: string;
function GetTime: Integer;
procedure SetAltitude(AValue: L... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit uResQuizAction;
// EMS Resource Module
interface
uses
System.SysUtils, System.Classes, System.JSON,
EMS.Services, EMS.ResourceAPI, EMS.ResourceTypes,
uDMQuizActions;
type
[ResourceName('resQuizAction')]
TresQuizAction = class(TDataModule)
procedure DataModuleCreate(Sender: TObject);
procedure... |
Unit ToroSys;
interface
procedure mountroot;assembler;
procedure sync;assembler;
function mkdir(path:pchar;mode:dword):dword;cdecl;assembler;
function mknod(path:pchar;flags,mayor,menor:dword):dword;cdecl;assembler;
function creat(path:pchar;mode:dword):dword;cdecl;assembler;
function open(path:pchar;mod... |
{***************************************************************************}
{ }
{ DelphiUIAutomation }
{ }
{ ... |
unit AT.FMX.DlgButtonPanel;
interface
uses
System.SysUtils, System.Classes, FMX.Types, FMX.Controls,
System.UITypes;
const
pidATPlatforms = pidWin32 OR pidWin64 OR pidOSX32 OR
pidiOSSimulator32 OR pidiOSSimulator64 OR
pidiOSDevice32 OR pidiOSDevice64 OR
... |
unit UIntegerList;
interface
uses System.Generics.Collections;
type
TIntegerList = class(TList<Integer>)
votes, max, min: Integer;
avg, median, proximity: Extended;
procedure CalcStatistics;
end;
implementation
uses System.Generics.Defaults;
procedure TIntegerList.CalcStatistics;
var I, sum: Inte... |
{
--- FRAMES.PAS ---
drawing text-mode frames etc...
ASCII-style,
no pseudographic elements, F&CK !!!
Free/Turbo Pascal , using CRT unit
(c) Alexey Sorokin, 2018
}
Unit Frames;
{ --- --- --- *** --- --- --- }
INTERFACE
{ --- --- --- *** --- --- --- }
TYPE
Frame... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.