text stringlengths 14 6.51M |
|---|
unit u_login;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls,
Vcl.Imaging.pngimage, u_utils;
type
TFLogin = class(TForm)
Edit1: TEdit;
Edit2: TEdit;
Image1: TImage;
... |
{----------------------------------------------------------------------
DEVIUM Content Management System
Copyright (C) 2004 by DEIV Development Team.
http://www.deiv.com/
$Header: /devium/Devium\040CMS\0402/Source/PhotoGallery/pgAlbumForm.pas,v 1.1 2004/05/06 07:15:42 paladin Exp $
--------------... |
unit SDLMonoFonts;
{******************************************************************}
{ }
{ SDL_MonoFonts unit by Róbert Kisnémeth (KiCHY) }
{ This unit is part of SDLGui by Róbert Kisnémeth, but works }
{ without it. Use ... |
{
this file is part of Ares
Aresgalaxy ( http://aresgalaxy.sourceforge.net )
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later v... |
unit TBGInterbaseExpressDriver.Model.DataSet;
interface
uses
TBGConnection.Model.DataSet.Interfaces,
Data.DB, IBX.IBCustomDataSet, IBX.IBQuery,
TBGConnection.Model.DataSet.Observer;
Type
TConnectionModelInterbaseExpressDataSet = class(TInterfacedObject, iDataSet, ICacheDataSetObserver)
private
F... |
{*******************************************************************************
Title: T2Ti ERP Fenix
Description: Service relacionado à tabela [MUNICIPIO]
The MIT License ... |
unit RepViewerDefs;
interface
uses
capabilities_1_1_1;
type
TRepViewerBuilder = class
private
__LayerTemplate : string;
_JSCode : string;
_MapsJS : string;
public
Capabilities : IXMLWMT_MS_CapabilitiesType;
procedure ProcessLayer(Layer : IXMLLayerType);
function BuildJavaScrip... |
{$INCLUDE switches}
unit Direct;
interface
uses
Messg,
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms;
const
WM_GO = WM_USER;
WM_CHANGECLIENT = WM_USER+1; // hand over control to other client
WM_NEXTPLAYER = WM_USER+2; // active player's turn ended, next player
WM_AIEXCEPTION = ... |
unit VisibleDSA.AlgoVisualizer;
interface
uses
System.SysUtils,
FMX.Graphics,
FMX.Forms,
VisibleDSA.AlgoVisHelper,
VisibleDSA.Circle;
type
TAlgoVisualizer = class(TObject)
private
_circles: TArray<TCircle>;
_canvasWidth: integer;
_canvasHeight: integer;
public
constructor Create(for... |
unit NeoEcommerceService.Model.Connections.FireDac.DataSet;
interface
uses
NeoEcommerceService.Model.Connections.Interfaces, FireDAC.Comp.Client, System.Classes, Data.DB, FireDAC.Comp.DataSet;
type
TModelConnetionsFiredacDataSet = class(TInterfacedObject, iModelDataSet)
private
FDataSet: TFDMemTable;
pu... |
Unit SystemLogin;
Interface
Uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.Imaging.jpeg, Vcl.ExtCtrls, Vcl.Menus, Vcl.ComCtrls,
Vcl.Touch.Keyboard, Vcl.Buttons;
Type
TFRMLogin = class(TForm)
E... |
unit uOrderValidator;
interface
implementation
uses
uOrder,
uOrderInterfaces,
Spring.Container;
type
// Moving the `TOrderValidator` to the `implementation` section might sound like a smart idea, but it is not:
// The only way to ever reach `TOrderValidator` reach is through the `GlobalContainer` (using `... |
/// <summary>
/// Provides interfaces for working with the projects and logentries tables
/// of our database. NOTE:!! The IProjectData and ILogData interfaces and
/// their respective implementations are sufficiently similar that it may
/// make sense to use Generics instead of individual interfaces /
/// implementati... |
unit Form.Main;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.Generics.Collections,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.StdCtrls, Vcl.ExtCtrls,
Controler.Sort,
View.Board,
View.SortResults,
Model.Board,
Model.SortResults;
type
TForm1... |
unit uCursorInterceptor;
interface
uses
Spring.Interception,
Spring.Container,
Spring.Container.Common;
type
TCursorInterceptor = class(TInterfacedObject, IInterceptor)
procedure Intercept(const invocation: IInvocation);
end;
IService = interface(IInvokable)
['{DA141445-02E8-4171-8B29-8F558359... |
unit Options;
interface
uses Classes, IniFiles, SysUtils, FileUtils, Contnrs;
type
TFileSection = class
private
FSectionName: string;
FSectionValues: TStringList;
FLoaded: boolean;
function GetSectionValues: TStringList;
public
property Loaded: boolean read FLoaded write FLoaded;
prope... |
namespace Moshine.Web.MVC.Helpers;
interface
uses
Moshine.Web.Helpers,
System,
System.Collections,
System.Collections.Generic,
System.IO,
System.Linq,
System.Runtime.CompilerServices,
Microsoft.AspNetCore.Mvc, Microsoft.AspNetCore.Mvc.ViewFeatures;
/*
extension method HtmlHelper<TModel>.DataGrid<T,TModel>:... |
unit MainUnit;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
// Check whether compiler has stock HTTP request class
{$IFDEF FPC}
{$DEFINE HAS_RTL_HTTP}
{$ENDIF}
{$IFDEF DCC}
{$IF CompilerVersion >= 29} // XE8+
{$DEFINE HAS_RTL_HTTP}
{$IFEND}
{$ENDIF}
uses
{$IFDEF FPC}
LCLIntf, LCLType,
{$ENDIF}
... |
unit ce_dlangmaps;
{$I ce_defines.inc}
interface
type
(**
* Perfect static hash-map that detects the D2 "special" keywords such as
* __LINE__ or __FILE__.
*)
specialKeywordsMap = record
private
const fWords: array [0..15] of string =
(
'__FILE__', '', '__TIME__', '', '', '__EOF__', '__... |
// Copyright 2018 The Casbin Authors. All Rights Reserved.
//
// 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 a... |
//***********************************************************************
//
// Mineframe System
//
// расчет кондиционных интервалов по методике ГКЗ
//
// Create date: 09.07.2017
// Developer: Alisov A.Y.
//
//***********************************************************************
//
// в юните описаны глобальные вхо... |
{*******************************************************************************
Title: T2Ti ERP Fenix
Description: Model relacionado à tabela [PESSOA_ENDERECO]
The MIT Licen... |
unit DAO.EstoqueVA;
interface
uses DAO.Base, Model.EstoqueVA, Generics.Collections, System.Classes;
type
TInventarioProdutosVADAO = class(TDAO)
public
function Insert(aEstoque: TEstoqueVA): Boolean;
function Update(aEstoque: TEstoqueVA): Boolean;
function Delete(iID: Integer): Boolean;
function F... |
//*****************************************************************************
// File : complex.pas
// Author : Mazen NEIFER
// Creation date : 2000-09-21
// Last modification date : 2010-07-18
// Licence : GPL
// Bug report : mazen.neifer@supaero.... |
unit vartypestrings;
{
This unit is to help with translations for the vartype strings used throughout CE.
The vartype stringnames are used in the cheat table so they may not be translated, but the visual representation of the screen can
}
{$mode delphi}
interface
uses
Classes, SysUtils;
resourcestrin... |
{-----------------------------------------------------------------------------------------------------------------------
# Unit ZPL2Label #
Unit for creating labels with the Zebra ZPL2 printer language.
All measuring units and position information are measured in dots!
For details on the ZPL2 commands ple... |
unit ufrmReportSettings;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons,
uReport, uReportController, ufrmSubReportSettings, siComp, siLngLnk,
Vcl.DBCtrls, System.Rtti, System.Bind... |
unit AsyncIO.Coroutine;
interface
uses
AsyncIO, AsyncIO.OpResults, AsyncIO.Coroutine.Detail;
type
IOServiceCoroutineContext = interface
['{6D2114D3-0061-404A-90C3-5531C5FE96CB}']
{$REGION 'Property accessors'}
function GetService: IOService;
{$ENDREGION}
property Service: IOService read GetS... |
unit LuaCanvas;
{
This unit will be used to register TCanvas class methods to lua
}
{$mode delphi}
interface
uses
Classes, SysUtils, Graphics, GraphType, lua, lualib, lauxlib, LuaHandler, fpcanvas, LCLType, LCLIntf;
procedure initializeLuaCanvas(L: Plua_State);
procedure drawWithMask(DestCanvas:TCanv... |
unit sTabControl;
{$I sDefs.inc}
{.$DEFINE LOGGED}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, acSBUtils,
ImgList, ComCtrls, CommCtrl, sCommonData, sConst, sUpDown{$IFNDEF DELPHI5}, types{$ENDIF};
type
{$IFNDEF NOTFORHELP}
TsTabControl = class(TTabControl)
prot... |
unit GeoClasses;
//// Шевчук С. 2016
interface
type
TEllipsoid = record
FileName : String;
Name :String;
Caption :String;
a :Double; //// Большая полуось
alpha :Double; //// Сжатие эллипсоида
end;
TConvertData = record
FileName : String;
InputDatumName : String;
Conver... |
unit CommonIDObjectEditForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DialogForm, ToolWin, ComCtrls, FramesWizard, BaseObjects;
type
TfrmIDObjectEdit = class(TCommonDialogForm)
private
{ Private declarations }
FIDObjects: TIDObjects;
FShow... |
{ Judul }
program Menampilkan_suku_ke_n;
{I.S. : User mendefinisikan suku ke-N}
{F.S. : Menampilkan hasil dari barisan suku ke-n}
{ Kamus Global }
var n, hasil: integer;
{ Procedure and Function }
{ Input Procedure }
procedure isi_suku(var n: integer);
{I.S. : User memasukkan nilai n}
{F.S. : Mengeluarkan nilai n}
{... |
unit Iocp.Buffer;
interface
uses
Windows, Classes, SysUtils, SyncObjs;
type
TCircularBuffer = class
private
FBuffer: PByteArray;
FSize: Integer;
FWritePos: Integer;
FReadPos: Integer;
FLocker: TCriticalSection;
function GetPtr(Index: Integer): Pointer; //inline;
pr... |
unit frmPointerscanConnectDialogUnit;
{OBSOLETE}
{$mode delphi}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ExtCtrls, Sockets, resolve, CEFuncProc;
type
{ TfrmPointerscanConnectDialog }
TfrmPointerscanConnectDialog = class(TForm)
btnCancel:... |
{ ----------------------------------------------------------------------------
Window resizer tool for Windows
https://zipplet.co.uk/
Copyright (c) Michael Nixon 2018.
Common / global functions and types unit
Licensed under the MIT license; please see the LICENSE file for full license
terms and conditions... |
unit resources;
interface
{const
rpHardware = 'HARDWARE';
slog_addHWtoComp='add HW to comp';
}
{var
path_reportfile,
ReportURL_Home:string;}
resourcestring
{$IFDEF LANG_EN}
WARNING = 'Warning';
ERROR = 'Error';
{ msgErro_NoSelectedUser = ' Не выбран пользователь' ;
msgErrorOnDeleteSW = ' Программа уста... |
{
Copyright (C) 2013-2018 Tim Sinaeve tim.sinaeve@gmail.com
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... |
unit Facade;
interface
uses BaseFacades, Registrator, Classes, DBGate, Material, SDFacade;
type
TMainFacade = class (TSDFacade)
private
FAllDocumentTypes: TDocumentTypes;
FAllDocuments: TSimpleDocuments;
FFilter: string;
FRegistrator: TRegistrator;
FActiveDocType: TDocumentType;
functio... |
unit GeoLocalization;
interface
uses GeoFunctions, GeoFiles, GeoString, GeoClasses, Math;
procedure Loc2D(Xa1, Ya1, Xa2, Ya2, Xb1, Yb1, Xb2, Yb2 :Double;
var Scale, Beta, A, B, C, D :Double; ConstScale:Boolean);
implementation
function Ang(A :Double):Double;
begin
while A < 0 do
A := A + 2*pi... |
unit ImplCtrlQueue;
{
----------------------------------------------------------
Copyright (c) 2008-2015, Electric Power Research Institute, Inc.
All rights reserved.
----------------------------------------------------------
}
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
Windows, ActiveX, Classes... |
unit uStrList;
{
Catarinka Lua Library - String List Object
Copyright (c) 2013-2014 Felipe Daragon
License: 3-clause BSD
See https://github.com/felipedaragon/catarinka/ for details
}
interface
uses
Classes, SysUtils, Lua, pLua, LuaObject;
type
{ TCatarinkaStrList }
TCatarinkaStrList = class(TLuaObject... |
unit ClientModuleUnit;
interface
uses
System.SysUtils, System.Classes, System.JSON, Datasnap.DSClientRest, Dialogs,
UnitSetting, REST.Types, REST.Client, Data.Bind.Components,
Data.Bind.ObjectScope;
type
TClientModule = class(TDataModule)
RESTRequest: TRESTRequest;
RESTResponse: TRESTResponse;
R... |
unit arcwin;
interface
uses windows, arcvariables, arcconst, arcsystem, arcdraw, dglopengl, sysutils;
procedure ThrowError(pcErrorMessage : pChar);
function WindowRegister(): Boolean;
function WindowCreate(pcApplicationName : pChar): HWnd;
function WindowInit(hParent : HWnd): Boolean;
function CreateOGLWindow(pcAp... |
unit commoninterface;
interface
uses
SysUtils, Classes, Windows, rtcInfo, rtcConn, rtcDataSrv, rtcHttpSrv,rtcHttpCli, rtti, System.TypInfo,
vkvariable, Variants;
//const
{ TRDefault : TTransParams = [tpConcurrency,tpWait,tpWrite];
TRReadOnlyTableStability : TTransParams = [tpRead, tpConsisten... |
{*******************************************************}
{ }
{ Landerson Gomes }
{ }
{* Class Helper para Classes TDataSet *}
{ ... |
unit fMapper;
{written by Charles Richard Peterson, 2007; You can reach me at
www.houseofdexter.com or houseofdexter@gmail.com; The code is released under
Mozilla Public License 1.1 (MPL 1.1); }
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ToolWi... |
unit U_Clientes;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids, StdCtrls, ToolWin, ComCtrls, Buttons;
type
TF_Clientes = class(TForm)
Registros: TDBGrid;
Codigo: TEdit;
Cedula: TEdit;
Direccion: TEdit;
Nombre: TEdit;
La... |
/// <summary>
/// DUnit test built using Delphi XE5
/// </summary>
/// <remarks>
/// Test values taken from version 1.13 running on Delphi 6.
/// InitDaysCode is not tested due to current date usage.
/// InitUsageCode is not tested due to current date usage.
/// </remarks>
unit Testogutil;
interface
... |
unit Service.Cliente;
interface
uses
System.Classes, Service.Base, Service.Interfaces.Cliente, FactoryEntity, DB, Domain.Entity.Cliente;
type
TServiceCliente<T:TCliente> =class( TServiceBase<T> , IServiceCliente<T>)
public
function LoadDataSetPorNome( Value: string ): TDataSet;
function LoadDataSetPorI... |
// Copyright (c) 2017, Jordi Corbilla
// 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 frmStrideDemo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Grids, Vcl.ExtCtrls, Vcl.Samples.Spin;
type
TStrideDemoForm = class(TForm)
Button1: TButton;
PaintBox1: TPaintBox;
... |
unit MBRTURequestF3;
{$mode objfpc}{$H+}
interface
uses Classes, SysUtils,
MBRTURequestBase, MBRTUMasterDispatcherTypes;
type
{ TMBRTURequestF3 }
TMBRTURequestF3 = class(TMBRTURequestBase)
private
FQuantity : Word;
FStartAddr : Word;
procedure SetQuantity(AValue: Word);
procedure SetS... |
unit uAppStorage;
interface
uses
Classes,
{$IFDEF MSWINDOWS}
System.Win.Registry, Winapi.Windows,
{$ENDIF}
IniFiles;
type
{$IFDEF MSWINDOWS}
TAppRegistry = class(TRegistryIniFile)
public
FKey: string;
constructor Create(const FileName: string); overload;
function ReadBinaryStream(const Sec... |
unit uDMClient;
interface
uses
System.SysUtils, System.Classes, IPPeerClient, Datasnap.DSClientRest, uClientClasses,
System.ImageList, Vcl.ImgList, Vcl.Controls, uDBUtils, Data.DB,
Datasnap.DBClient, cxStyles, cxClasses;
type
TDMClient = class(TDataModule)
RestConn: TDSRestConnection;
imgListButton: ... |
unit uSmartPhone;
interface
type
TSmartPhoneType = (CheapCrappy, Basic, Deluxe, SuperDuper);
TBaseSmartPhone = class abstract
protected
function GetName: string; virtual; abstract;
public
procedure GatherParts; virtual; abstract;
procedure Assemble; virtual; abstract;
property Name: string r... |
//------------------------------------------------------------------------------
// Create GodexPrinter.pas by Jeffrey 2014/07/17
//------------------------------------------------------------------------------
unit GodexPrinter;
interface
uses
Sysutils;
type
TGodexPrinter = class(TObject)
public
// Inte... |
unit ULinkHandler;
interface
uses Windows, UxlClasses, UxlExtClasses, UxlWindow, UxlList, UPageSuper, ULinkPage, USysPageHandler, UTypeDef, UxlWinClasses, UxlWinControl;
type
TLinkHandler = class (TxlInterfacedObject, IEventObserver, IOptionObserver, IHotkeyOwner, IMessageObserver)
private
FParent... |
unit TextEditor.UnknownChars;
interface
uses
System.Classes;
type
TTextEditorUnknownChars = class(TPersistent)
strict private
FOnChange: TNotifyEvent;
FReplaceChar: AnsiChar;
FVisible: Boolean;
procedure DoChange;
procedure SetVisible(const AValue: Boolean);
public
constructor Create... |
// based on Skyrim - Remove invalid entries
// removes invalid entries from containers and recipe items, from Leveled lists, NPCs and spells
procedure removeInvalidEntries(rec: IInterface);
var
i, num: integer;
lst, ent: IInterface;
recordSignature,
refName, // path to FormID reference relative to list's entry
c... |
unit ShortGUID;
////////////////////////////////////////////////////////////////////////////////
//
// Author: Jaap Baak
// https://github.com/transportmodelling/Utils
//
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////... |
{************************************************}
{ }
{ Printer output filter exammple }
{ Copyright (c) 1992 by Borland International }
{ }
{************************************************}
progra... |
unit GUIAnnotationLoaderIntf;
interface
uses
SysUtils, Classes, Contnrs, InfraCommonIntf, InfraGUIBuilderIntf;
type
IGUIAnnotationLoader = interface(IBaseElement)
['{A40720CD-3117-40BD-AC5E-1911D326C339}']
function GetRepository(CanCreate: Boolean): string;
procedure Load;
proce... |
unit PickALayoutMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TPickPrintLayoutForm = class(TForm)
LayoutChoices: TRadioGroup;
ChooseButton: TButton;
CancelButton: TButton;
procedure FormActivate(Sender: TObject)... |
Unit Kernel;
Interface
Uses Dos;
Const
{"Events"}
evNothing=0;
evMouse=$7f;
evKeyboard=$80;
evMessage=$300;
{"evMouse"}
evMouseLdown=$1;
evMouseLup=$2;
evMouseRdown=$4;
evMouseRup=$8;
evMouseMove=$10;
evMouseAuto=$20;
evMousePromt=$40;
{"evKeyboard"}
evKeydown=$80;
{... |
//
// Created by the DataSnap proxy generator.
// 2/17/2011 11:50:31 AM
//
unit proxy;
interface
uses DBXCommon, DBXClient, DBXJSON, DSProxy, Classes, SysUtils, DB, SqlExpr, DBXDBReaders, DBXJSONReflect;
type
TServerMethods2Client = class(TDSAdminClient)
private
FEchoStringCommand: TDBXCommand;
FRever... |
unit RT_BaseTypes;
interface
uses
Windows, Classes, SysUtils, Math,
RT_Base;
type
TRT_DataCollection = class;
TRecHeader = packed record
Kind : Integer;
Size : Word;
end;
TFileHeader = packed record
FileID : array[0..4] of Char;
Created : array[0..7] of Ch... |
unit WaysOfSpeakingUnit;
// http://www.saberingles.com.ar/ways/03.html
interface
type
ISpeak = interface
['{6088FB20-1B1A-4265-9095-04E070539143}']
function Speak(): string;
end;
//////////////////////////////////////////////////////////////////////////////
TSay = class(TInterfacedObject, ISpeak)
... |
unit UMyCloudEventInfo;
interface
type
// 云备份事件
TMyCloudChangeEvent = class
public
PcID, BackupPath : string;
public
constructor Create( _PcID, _BackupPath : string );
end;
// 添加
TMyCloudAddEvent = class( TMyCloudChangeEvent )
public
IsFile : Boolean;
FileCount : Integer;
Fil... |
unit userbytedisassembler;
{
Lets the user input bytes and those will then get disassembled
}
{$mode ObjFPC}{$H+}
interface
uses
{$ifdef darwin}
macport,
{$else}
windows,
{$endif}
Classes, SysUtils, disassembler,math;
type
TUserByteDisassembler=class(TDisassembler)
private
bytes: pointer;
by... |
unit UCL.TUQuickButton;
interface
uses
UCL.Classes, UCL.TUThemeManager, UCL.Utils,
System.Classes, System.SysUtils, System.Types,
Winapi.Messages,
VCL.Controls, VCL.ExtCtrls, VCL.Graphics;
type
TUCustomQuickButton = class(TCustomPanel, IUThemeComponent)
private
var BackColor: TColor... |
unit UCombinacao.Geracao;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
UCombinacao;
const
cSeparador = ';';
type
TCombinacaoGeracao = class(TObject)
private
FCombinacoes: TCombinacoes;
FCombinacao: TStringBuilder;
function getLimiteFor(AQuan... |
unit StopWatch;
interface
uses
Windows,
SysUtils;
type
IStopWatch = interface
procedure SetTickStamp(var lInt: TLargeInteger);
function GetElapsedTicks: TLargeInteger;
function GetElapsedMilliseconds: TLargeInteger;
function GetElapsed: string;
function GetIsHighResolution: Bo... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [ECF_IMPRESSORA]
The MIT License ... |
unit AuthAzureAD;
interface
type
HCkSocket = Pointer;
HCkTask = Pointer;
HCkAuthAzureAD = Pointer;
HCkString = Pointer;
function CkAuthAzureAD_Create: HCkAuthAzureAD; stdcall;
procedure CkAuthAzureAD_Dispose(handle: HCkAuthAzureAD); stdcall;
procedure CkAuthAzureAD_getAccessToken(objHandle: HCkAuthAzureAD; outProp... |
{
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| ... |
//########################################################################//
// //
// ComCtrls 功能加強模組 //
// //
//################... |
unit KInfoLayerSlottingFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, RXSpin, CoreDescription,
KInfoRockSampleFrame, Slotting;
type
TfrmInfoLayerSlotting = class(TFrame)
GroupBox1: TGroupBox;
Label1: TLabel;
Label2: TL... |
{
ID: a_zaky01
PROG: sprime
LANG: PASCAL
}
var
n:integer;
fin,fout:text;
function prime(p:longint):boolean;
var
i:longint;
begin
prime:=true;
if (p<>2) and (p<>3) then
for i:=2 to trunc(sqrt(p)) do
if p mod i=0 then
begin
prime:=false;
... |
Program SL3;
Uses crt;
Var x, y:real;
Begin
Clrscr;
Write('Введите X: ');
ReadLn(x);
If (x<0)
Then y:= x+3;
If (x>=0) and (x<=4)
Then y:= exp(4 * Ln(x));
If (x>4)
Then y:= sqr(x);
WriteLn ('Y = ', y:8:4);
Repeat until keypressed;
End.
|
unit main;
interface
uses
Forms, ImgList, Controls, Dialogs, Menus, ComCtrls, ToolWin, Classes,
Messages, EditWindow;
type
TMainForm = class(TForm)
MainMenu1: TMainMenu;
File1: TMenuItem;
FileNewItem: TMenuItem;
FileOpenItem: TMenuItem;
FileCloseItem: TMenuItem;
N1: TMenu... |
unit xxmp;
{
$Rev: 204 $ $Date: 2008-04-08 21:39:14 +0200 (di, 08 apr 2008) $
}
interface
uses xxm;
type
TXxmdemo=class(TXxmProject)
public
constructor Create(AProjectName: WideString);
function LoadPage(Context: IXxmContext; Address: WideString): IXxmFragment; override;
function LoadF... |
unit Unit1;
{
Record/Buffer Exchange Client Demo Indy 10.5.5
It just shows how to send/receive Record/Buffer.
No error handling.
This sample use the function
version november 2011 & march, april 2012
}
interface
uses
Windows, Messages, SysUtils, Variants, Class... |
object OvcfrmDbColEditor: TOvcfrmDbColEditor
Left = 288
Top = 189
ActiveControl = ctlColNumber
BorderIcons = [biSystemMenu]
BorderStyle = bsDialog
Caption = 'Columns Editor'
ClientHeight = 212
ClientWidth = 459
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name ... |
unit TNT_Object;
interface
uses
TNT_Entity, TNT_Vector, TNT_Model, OpenGL12;
type
TObj = class(TEntity)
private
r, g, b, a: Single;
Quadratic: PGLUquadricObj;
public
ModelID: Integer;
Heading: Single;
Frame: Integer;
constructor Create(Model: Integer; Pos: TVector);
... |
unit HJYDialogs;
interface
type
IHJYDialog = interface
procedure ShowSuccess(const ACaption, AText: string);
procedure ShowMsg(const ACaption, AText: string);
procedure ShowWarning(const ACaption, AText: string);
function ShowConfirm(const ACaption, AText: string): Boolean;
function ShowYesOrNo(... |
Unit ServerValidator;
{
Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.com.au)
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 co... |
unit FHIRUserProvider;
{
Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.com.au)
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 c... |
unit ViewManagerTest;
interface
uses
DUnitX.TestFramework;
type
[TestFixture]
TTestViewManager = class(TObject)
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
[Test]
procedure TestGetManifestData; // View 설정 정보 취득
// Cteate View(with ViewItem)
// Binding Vi... |
unit CoreDescriptionPoster;
interface
uses PersistentObjects, DBGate, BaseObjects, DB, Slotting, SlottingPoster,
Variants, Windows, Dialogs, Lithology, CoreDescription, Employee;
type
TDescriptionFileDataPoster = class(TImplementedDataPoster)
public
function GetFromDB(AFilter: string; AObjects: TIdObjec... |
unit ZmqApiImpl;
interface
uses
SysUtils, Classes, Windows, MemLibrary;
const
libzmq = 'libzmq.dll';
(* Version macros for compile-time API version detection *)
ZMQ_VERSION_MAJOR = 3;
ZMQ_VERSION_MINOR = 2;
ZMQ_VERSION_PATCH = 5;
type
int32_t = Integer;
uint16_t = ... |
(* NIM/Nama : 16515050/Muhammad Treza Nolandra *)
(* Nama file : ujam.pas *)
(* Topik : Unit Jam *)
(* Tanggal : 30 Maret 2016 *)
(* Deskripsi : Membuat ABSTRACT DATA TYPE Jam *)
unit ujam;
interface
type Jam = record
hh: integer;
mm: integer;
ss... |
unit uRestaurant;
interface
uses
uRestaurantInterfaces
;
type
TRestaurant = class(TInterfacedObject, IRestaurant)
public
procedure OrderIngredients;
procedure PayStaff;
procedure SellFood;
end;
TISPRestaurant = class(TInterfacedObject, IFoodSeller, IStaffPayer, IIngredientOrderer)
pu... |
//Aziz Vicentini - Brasil
//E-mail: azizvc@yahoo.com.br
//Arquivo de definição do Carro
unit CarDef;
interface
uses Windows, Classes, SysUtils;
type
TCarDefRodas = packed record
Radius: Single;
Peso: Single;
SUSPENSION_ERP: Single;
SUSPENSION_CFM: Single;
Posi... |
unit NewFile;
{ ============================================
NewFileFrm - Create a new CHART data file
20/9/00
============================================ }
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, FileCtrl;
type
TNewFileFrm = class(TForm)
bO... |
unit tabManagerPanel;
interface
uses classes, Vcl.Controls,Vcl.ExtCtrls, Forms, System.SysUtils, Windows, vkvariable,
AtTabs, Winapi.Messages, System.Math;
type
TTabManagerPanel = class(TPanel)
private
FDocFrameTabs: TATTabs;
bInit: Boolean;
// function CreateFrameDoc(AFrameDocClass: TDocFrameClass): ... |
{------------------------------------
功能说明:系统消息定义
创建日期:2011/04/13
作者:wei
版权:wei
-------------------------------------}
unit SysMsg;
interface
resourcestring
Err_ObjNotImpIntf = '对象[%s]未实现[%s]接口!';
Err_IntfExists = '接口[%s]已存在,不能重复注册!';
Err_IntfNotSupport = '对象不支持[%s]接口!';
Err_IIDsParamIsEmpty = 'TObjF... |
unit chatviewmodel;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, AbstractViewModel, AbstractModel, ChatModel,
entities, Graphics, vkcmchat, Dialogs;
type
{ IChatViewModel }
IChatViewModel = interface(IViewModel)
function GetSendButtonCaption: string;
{Get users which have to be assigned t... |
{*******************************************************}
{ }
{ Copyright (c) 1995-1996 Classic Software }
{ All Rights Reserved }
{ }
{*****************************... |
unit SDL_Image;
{******************************************************************************}
{ }
{ Borland Delphi SDL_Image - An example image loading library for use }
{ with SDL ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.