text stringlengths 14 6.51M |
|---|
unit bFile;
interface
uses winapi.windows, system.SysUtils, shellapi, classes, variants, vEnv, inifiles;
type
TFile = class
public
class function Move(pSource, pDestination: string): string;
class function Copy(pSource, pDestination: string): string;
class procedure Open(pFile: string);
class pr... |
//
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// 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... |
unit ncMWNex;
// =========================================================================
// kbmMW - An advanced and extendable middleware framework.
// by Components4Developers (http://www.components4developers.com)
//
// Service generated by kbmMW service wizard.
//
// INSTRUCTIONS FOR REGISTRATION/USAGE
// -------... |
unit Test.RemoteServer;
interface
uses Windows, TestFrameWork, GMGlobals, GMConst, StdResponce, ConnParamsStorage, ClientResponce;
type
TRemoteServerTest = class(TTestCase)
private
processor: TClientResponce;
protected
resp: IXMLGMIOResponceType;
procedure SetUp; override;
procedure TearDown; ... |
unit LittleTest26;
{ AFS August 2003
This unit compiles but is not semantically meaningfull
it is test cases for the code formatting utility
Test the "packed" keyword }
interface
type
TFooRecord = packed record
Soy: integer;
Monkey: integer;
Shatner: integer;
McFlurry: integer;
... |
unit rEventHooks;
interface
uses
Classes, ORNet;
function GetPatientChangeGUIDs: string;
function GetOrderAcceptGUIDs(DisplayGroup: integer): string;
function GetAllActiveCOMObjects: TStrings;
function GetCOMObjectDetails(IEN: integer): string;
implementation
function GetPatientChangeGUIDs: string;
begin
Res... |
// Logger Demo
//
// Description: The ApacheOnLogger handler gets called for every request
// made on the webServer. You can use this handler to log
// Server Activity. In this example a simple ap_log_error call is
// made. Don't forget to return 'AP_OK' so that
// ot... |
{
AD.A.P.T. Library
Copyright (C) 2014-2018, Simon J Stuart, All Rights Reserved
Original Source Location: https://github.com/LaKraven/ADAPT
Subject to original License: https://github.com/LaKraven/ADAPT/blob/master/LICENSE.md
}
unit ADAPT.Math.Averagers.Intf;
{$I ADAPT.inc}
interface
uses
{$IFDEF ADAPT_U... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit JSONHelpersTests;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, TestFramework, fpjson;
type
{ TIndexOfTestCase }
TIndexOfTestCase = class(TTestCase)
private
FArray: TJSONArray;
procedure CreateArray(const Items: array of const);
protected
procedure SetUp; override;
procedure... |
{ ****************************************************************************** }
{ * machine Learn, writen by QQ 600585@qq.com * }
{ * https://zpascal.net * }
{ * https://github.com/PassByYou888/zAI ... |
unit JvInterpreterCallFunctionFm;
interface
uses
SysUtils, Variants, Classes, Graphics, Controls, Forms,
StdCtrls, Dialogs, SynEdit, SynHighlighterPas, LCLVersion,
JvInterpreter;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
Button2: TButton;
Edit1: TEdit;
Label1: TLabel;
Jv... |
unit Winapi.ProcessThreadsApi;
{$MINENUMSIZE 4}
interface
uses
Winapi.WinNt, Winapi.WinBase;
const
// WinBase.573
DEBUG_PROCESS = $00000001;
DEBUG_ONLY_THIS_PROCESS = $00000002;
CREATE_SUSPENDED = $00000004;
DETACHED_PROCESS = $00000008;
CREATE_NEW_CONSOLE = $00000010;
CREATE_NEW_PROCESS_GROUP = $00... |
Unit CustomOutline;
// A minor enhancement to TOutline to remember which node was
// right clicked
// And also, has a SetAndShowSelectedItem method
Interface
Uses
Classes, Forms, OutLine;
{Declare new class}
Type
TCustomOutline=Class(TOutline)
Protected
FPopupNode: TOutlineNode;
Procedure ParentNotifi... |
(*
Demonstration of a Parse Query Params Azure Functions App
Written by: Glenn Dufke
Copyright (c) 2021
Version 0.1
License: Apache 2.0
*)
unit DelphiAzure.WebModule;
interface
uses
System.SysUtils,
System.Classes,
Web.HTTPApp;
type
TwmAzureFunction = class(TWebModule)
procedure WebModule1DefaultHa... |
unit AsyncSoundSynthesizer;
interface
uses
Windows, Messages, SysUtils, Classes, Generics.Collections, WaveStorage,
SoundSynthesizer;
type
TMessageType = (mtSentenceSynthesized, mtThreadEnded);
TAsyncSoundSynthesizer = class(TThread)
private
FHandle: THandle;
FSynthesizer: TSoundSynthesizer;
F... |
unit PascalCoin.Test.Wallet;
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.Controls.Presentation, PascalCoin.Wallet.Interfaces, FMX.Layouts,
FMX.ListBox, FMX.ScrollBox, FMX.Memo, ... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Menus, StdCtrls, ComCtrls, Dropper;
type
TDemoForm = class(TForm)
StatusBar: TStatusBar;
ListBox1: TListBox;
MainMenu: TMainMenu;
FileMenu: TMenuItem;
ClearItem: TMenuItem;
N1: TMenuItem;... |
unit uGeraSql_Controller;
interface
uses
uIGeraSql_Interface, Vcl.StdCtrls, System.Classes;
type
TGeraSql = class(TInterfacedObject, IGeraSql)
private
FColunas : TMemo;
FTabela : TMemo;
FCondicoes : TMemo;
public
procedure SetColunas(Colunas: TMemo);
procedure SetTabe... |
unit UsesClauseInsert;
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is UsesClauseInsert.pas, released October 2003.
The Initial Developer of the Original Code is Anthony Steele.
Portions created by Anthony Steele are... |
{ Program MAKE_LCASE
*
* One-off hack to create the LCASE.INS.DSPIC dsPIC assembler include file.
* This file creates lower case symbols for all the standard symbols created
* in the Microchip include file. A lower case version of a symbol is only
* created if the upper case version of it previously exists.
... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit cItemDePedido;
interface
type
ItemDePedido = class (TObject)
protected
codItemPed : integer;
qtdUnitItemPed : integer;
qtdPesoItemPed : real;
valPagItemPed : real;
public
Constructor Create (codItemPed:integer; qtdUnitItemPed:integer; qtdPe... |
{ Piping data from and to processes
Copyright (C) 1998-2005 Free Software Foundation, Inc.
Author: Frank Heckenbach <frank@pascal.gnu.de>
This file is part of GNU Pascal.
GNU Pascal is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
... |
unit ClassHuman;
interface
uses ClassBoard, ClassLetterBoard, ClassLetters, ClassLetterStack,
ClassPlayer, Classes, ExtCtrls;
type THuman = class( TPlayer )
private
FLtrBoard : TLetterBoard;
procedure OnBoardClick( X, Y : integer );
public
constructor Create( Letters : TLette... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Copyright (c) 2020-2020 Skybuck Flying
// Copyright (c) 2020-2020 The Delphicoin Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-... |
{ ****************************************************************************** }
{ * ics support * }
{ * written by QQ 600585@qq.com * }
{ * https://github.com/PassByYou888/CoreCipher ... |
Unit FUNC_Menu_Listados;
interface
uses
FUNC_REG_Pacientes, FUNC_REG_Estadisticas, ARCH_REG_Estadisticas, ARCH_REG_Pacientes;
procedure Menu_Listados(VAR ARCH_Personas: ARCHIVO_Pacientes; VAR ARCH_Estadisticas: ARCHIVO_Estadisticas;
VAR R_Persona: REG_Persona; VAR R_Estadisticas: REG_Es... |
unit gParse;
interface
uses
SysUtils
, Classes
;
type
TgTokenClass = Class of TgToken;
EgParseClass = Class Of EgParse;
TgTokenRegistry = class;
TgSymbolString = class(TObject)
strict private
FSourceString: String;
FSourceStringIndex: Integer;
FSourceStringLength: Integer;
FSourc... |
unit uReservaDao;
interface
uses
FireDAC.Comp.Client, uConexao, uReservaModel, System.SysUtils;
type
TReservaDao = class
private
FConexao: TConexao;
public
constructor Create;
function Incluir(ReservaModel: TReservaModel): Boolean;
function Alterar(ReservaModel: TReservaModel): Boolean;
... |
unit recursion_1;
interface
var G: Int32;
implementation
function FindNumber(StartValue, TargetValue: Int32): Int32;
begin
if StartValue = TargetValue then
Result := -StartValue
else begin
StartValue := StartValue + 1;
Result := FindNumber(StartValue, TargetValue);
end;
end;
procedure Test;
... |
unit Pizza;
interface
type
TPizza = class
public
function PrepararPizza: string; virtual; abstract;
procedure Entregar;
end;
implementation
{ TPizza }
procedure TPizza.Entregar;
begin
Writeln('Pizza Saiu para entrega!');
end;
end.
|
unit UnitServices;
interface
uses
Windows, WinSvc, UnitFunctions, SysUtils;
function InstallService(ServiceName, DisplayName, FileName, Desc: string;
StartType: integer): Boolean;
implementation
function xStartService(ServiceName: string): Boolean;
var
SCManager: SC_Handle;
Service: SC_Handle;
... |
unit StringUtil;
interface
uses
SysUtils;
function CustomPad(St: String; Len: Word; Ch: Char; Left: Boolean): String;
function LeftPad(St: String; Len: Word): String;
function Pad(St: String; Len: Word): String;
function LeftPadCh(St: String; Len: Word; Ch: Char): String;
function PadCh(St: String; Len: ... |
(*
Name: keyman32_int
Copyright: Copyright (C) SIL International.
Documentation:
Description:
Create Date: 1 Aug 2006
Modified Date: 17 Aug 2012
Authors: mcdurdin
Related Files:
Dependencies:
Bugs:
Todo:
Notes: ... |
unit func_ccreg_int_all;
interface
implementation
function F(a1: int8;
a2: uint8;
a3: int16;
a4: uint16;
a5: int32;
a6: uint32;
a7: int64;
a8: uint64;
a9: AnsiChar;
a10: Char): Int64; external 'CAT' name 'func_ccreg_in... |
unit ncaStrings;
interface
resourcestring
rsTamCodMax6Dig = 'O código gerado automaticamente pelo programa NEX deve no mínimo 2 e no máximo 6 dígitos';
rsRecursoProObsItem = 'A opção de adicionar um complemento/observação ao item é um recurso exclusivo para assinantes do plano PRO';
rsNecessarioFornecedor = 'É ... |
unit IdIdent;
interface
uses Classes, IdAssignedNumbers, IdException, IdTCPClient;
{ 2001 - Feb 12 - J. Peter Mugaas
started this client
This is the Ident client which is based on RFC 1413.
}
const
IdIdentQryTimeout = 60000;
type
EIdIdentException = class(EIdException);
EIdIdentReply = class(EIdIdent... |
unit Amazon.Interfaces;
interface
type
IAmazonRESTClient = interface
['{E6CD9C73-6C92-4996-AEC3-3EC836629E6D}']
function GetAccept: string;
procedure SetAccept(value: string);
function GetAcceptCharset: string;
procedure SetAcceptCharset(value: string);
function GetUserAgent: string;
pro... |
unit Vigilante.Compilacao.Observer.Impl;
interface
uses
System.Generics.Collections, Vigilante.Compilacao.Observer,
Vigilante.Compilacao.Model;
type
TCompilacaoSubject = class(TInterfacedObject, ICompilacaoSubject)
private
FList: TList<ICompilacaoObserver>;
public
constructor Create;
destructor... |
unit CachedUpdates;
interface
uses
{$IFDEF FPC}
LResources,
{$ENDIF}
{$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DBCtrls, ExtCtrls, Db, Grids, DBGrids, StdCtrls, ToolWin, ComCtrls, Buttons,
{$IFNDEF FPC}
MemDS,
{$ELSE}
MemDataSet,
{$ENDIF}
DBAccess,... |
//ALGORITHME : triangle_1
//BUT : faire un programme qui fait apparaître un traingle; les bordure du triangle est remplacé par des X et est rempli de O
//ENTREE : les fonctions
//SORTIE: le triangle
//CONSTANTE :
// MAX <== 20
// VAR
// i,j: ENTIER
// DEBUT
// POUR j <- 1 A MAX FAIRE
// DEBUT
// POUR i <- ... |
unit Vigilante.Compilacao.Observer;
interface
uses
Vigilante.Compilacao.Model;
type
ICompilacaoObserver = interface(IInterface)
['{E02F4230-5052-4C3F-BC3B-719F9CC620A2}']
procedure NovaAtualizacao(const ACompilacao: ICompilacaoModel);
end;
ICompilacaoSubject = interface(IInterface)
['{7101ECE2-3... |
unit uRedisConfig;
interface
type
TRedisConfig = class
private
FPort: Integer;
FHost: string;
public
property Host: string read FHost write FHost;
property Port: Integer read FPort write FPort;
constructor Create;
end;
implementation
uses
inifiles, System.SysUtils, Vcl.Forms;
{ TRedi... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights res... |
unit BillInterface;
interface
type
IBill = interface(IInterface)
function GetBillDate: TDate;
function GetBillNumber: Integer;
function GetBillNumberStr: String;
function GetBillWidth: Integer;
function GetDollarCource: Double;
function GetEuroCource: Double;
function GetShipmentDate: TD... |
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is frmBaseSettingsFrame.pas, released April 2000.
The Initial Developer of the Original Code is Anthony Steele.
Portions created by Anthony Steele are Copyright (C) 1999-20... |
unit RPreAchatLocDTOU;
interface
TYPE TRPreAchatLocDTO =class(TObject)
private
Fprixpreachatloc: Double;
Fqtepreachatloc: Double;
Fidbarcodeloc: string;
Fidrpreachatloc: Integer;
Fidpreachatloc: Integer;
procedure Setidbarcodeloc(const Value: string);
procedure Setidpreachatloc(const Valu... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit ClientData;
interface
uses
System.SysUtils, System.Classes, Data.DB, Data.Win.ADODB, Vcl.ImgList,
Vcl.Controls, Variants;
type
TdmClient = class(TDataModule)
dstPersonalInfo: TADODataSet;
dscPersonalInfo: TDataSource;
dstEntity: TADODataSet;
dstContactInfo: TADODataSet;
dscContactInfo:... |
unit CommandSet.SAT;
interface
uses
Windows, SysUtils,
OSFile.IoControl, CommandSet, BufferInterpreter, Device.SMART.List,
BufferInterpreter.ATA;
type
TSATCommandSet = class sealed(TCommandSet)
public
function IdentifyDevice: TIdentifyDeviceResult; override;
function SMARTReadData: TSMARTValueList;... |
unit Step;
interface
uses
System.SysUtils, System.Classes, FMX.Types, FMX.Controls, FMX.Objects,
FMX.StdCtrls, System.UITypes, ColorClass, FMX.Graphics, FMX.Layouts;
type
TStep = class(TControl)
private
procedure ApplyColorChanges();
{ Private declarations }
protected
{ Protected declarations }... |
unit public_unit;
interface
uses Graphics,SysUtils,forms,windows,messages,DB, ADODB,
stdctrls,comctrls,Classes, dialogs,
Grids,
rxToolEdit, rxCurrEdit, math, strUtils, Inifiles;
const HINT_TEXT :PAnsiChar='提示';
const TABLE_ERROR :PAnsiChar='数据库出错,无法读入数据!';
const DBERR_NOTSAVE :PAnsiC... |
unit UnitFormData;
interface
uses
server_data_types,
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Grids,
Vcl.ComCtrls, UnitFormDataTable, Vcl.Menus;
type
TFormData = clas... |
{
Data exchange through named pipes
Sergey Bodrov, 2012-2016
Data exchange through named pipes. Pipe name is platform-specific. On Windows,
'\\.\pipe\' prefix added automaticaly.
Pipe must be already exists, created by Linux 'mkfifo' command or some other program.
Methods:
* Open() - open pipe channel ... |
unit OriUtils;
interface
uses
FGL;
type
TIntegerList = specialize TFPGList<Integer>;
{%region Paths and FileNames}
function EnsurePath(const APath: String): String;
function ExtractFileExtNoDot(const FileName: String): String;
{%endregion}
{%region Log}
procedure WriteLogString(const LogString:... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ Copyright(c) 2016 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit IdRexecServer;
{based on
http://www.winsock.com/hypermail/winsock2/2235.html
http://www.private.org.il/mini-tcpip.faq.html}
{ 2001, Feb 17 - J. Peter Mugaas
moved much of the code into IdRemoteCMDServer so it can be
reused in IdRSHServer
2001, Feb 15 - J. Peter Mugaas
made methods for error and ... |
unit Prcllist;
interface
uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons,
StdCtrls, ExtCtrls, Grids, Dialogs, Types, DBTables, DB, SysUtils,
RPFiler, RPDefine, RPBase, RPCanvas, RPrinter, ComCtrls;
type
TParcelListDialog = class(TForm)
LoadButton: TBitBtn;
ParcelStringGrid: TString... |
{***************************************************************
*
* Project : HTTPClient
* Unit Name: Main
* Purpose : Demonstrates use of HTTPClient component
* NOtes : Demo for Windows only
* Date : 21/01/2001 - 14:26:51
* Author: Hadi Hariri
* History :
*
*******************************************... |
unit BCEditor.Highlighter.JSONImporter;
interface
uses
System.Classes, BCEditor.Highlighter, BCEditor.Highlighter.Colors;
procedure ImportFromFile(Highlighter: TBCEditorHighlighter; AFileName: string);
procedure ImportFromStream(Highlighter: TBCEditorHighlighter; AStream: TStream);
procedure ImportColorsF... |
unit Unit1;
interface
uses
System.SysUtils, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.ExtCtrls,
//GLS
GLScene, GLObjects, GLVectorGeometry, GLTexture, GLCadencer,
GLWin32Viewer, GLColor, GLCrossPlatform, GLCoordinates, GLMaterial,
GLSimpleNavigation, GLBaseClasses;
type
TF... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011 Embarcadero Technologies, Inc. }
{ ... |
{
Allows you to communicate via HTTP. Specify URL and request parameters,
then call Push() to connect and transfer data to a remote server.
After successful execution of the request, data can be read from the input buffer.
Large amounts of data received by parts, and OnDataAppear event can be triggered multiple tim... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 2010-2011 Embarcadero Technologies, Inc. }
{ ... |
(*
Name: keymanoption
Copyright: Copyright (C) SIL International.
Documentation:
Description:
Create Date: 1 Aug 2006
Modified Date: 28 Aug 2014
Authors: mcdurdin
Related Files:
Dependencies:
Bugs:
Todo:
Notes: ... |
////////////////////////////////////////////
// Служебные функции для приборов ДРК-4ОП
////////////////////////////////////////////
unit Devices.DRK;
interface
uses Devices.ReqCreatorBase, GMConst, GMGlobals;
type
TDRK4OPReqCreator = class(TDevReqCreator)
private
procedure AddRequests_OneChannel(nChannel: in... |
{ }
{ Hashing functions v3.06 }
{ }
{ This unit is copyright © 2002-2004 by David J Butler ... |
unit UCtrlMediaPlayers;
interface
uses
MPlayer, Classes, WavePlayer;
const
NUM_MPLAYERS = 1; // número de players para cada som;
// a idéia de criar múltiplos players para um som é
// para permitir um curto intervalo entre um mesmo som
type
TCtrlMediaPlayer = class
p... |
unit ncaFrmNFeDepend;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxContainer, cxEdit, Vcl.Menus, Vcl.StdCtrls,
cxButtons, LMDControl, LMDCus... |
unit CwAs.Xml.XmlUtils;
interface
// KOmmentar
uses SysUtils, Xml.XMLIntf;
type
TXMLUtil = class(TObject)
class var
FFormat: TFormatSettings;
private
public
class constructor Create;
class function DateTimeToXML(aDateTime: TDateTime): string;
class function DoubleToVar(const aValue: Double)... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011 Embarcadero Technologies, Inc. }
{ ... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
.info
.source "EnchantItYourWay_ItemsContainer.psc"
.modifyTime 1636336687
.compileTime 1636337028
.user "mrowr"
.computer "MROWR-PURR"
.endInfo
.userFlagsRef
.flag conditional 1
.flag hidden 0
.endUserFlagsRef
.objectTable
.object EnchantItYourWay_ItemsContainer ObjectReference
.userFlags 0
.do... |
unit ATabelaPreco;
{ Autor: Douglas Thomas Jacobsen
Data Criação: 19/10/1999;
Função: Cadastrar um novo Caixa
Data Alteração:
Alterado por:
Motivo alteração:
}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Componen... |
unit Comum.WindowsUtils;
interface
uses
Windows, Forms, SysUtils, ShellAPI;
type
IWindowsUtils = interface
['{99AA9859-B23F-4736-91EA-4D5B992679DB}']
function getTempFile(const Extension: string): string;
procedure OpenFile(AFile: TFileName; TypeForm: Integer = SW_NORMAL);
procedure OpenFileAndWa... |
unit uPostagensModel;
interface
uses
FireDAC.Comp.Client,uPostagensDAO, System.SysUtils;
type
TPostagensModel = class
private
FID: Integer;
FCodigoUsuario: integer;
FTituloPostagem : string;
FPostagem : string;
FPostagemDAO : TPostagensDAO;
public
function Exibir(): TFDQuery;
... |
unit OperatorsTypes;
interface
uses
SysUtils;
type
TPointRecord = record
private
x, y: Integer;
public
procedure SetValue (x1, y1: Integer);
class operator Add (a, b: TPointRecord): TPointRecord;
class operator Explicit (a: TPointRecord) : string;
class operator Implicit (x1: Integer): TP... |
unit SpeakingForm;
interface
uses
TestClasses,
SpeakingSQLUnit,
QuestionSelectFrame,
SoundFrame,
QuestionInputFrame,
ButtonsFrame,
Generics.Collections,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls, DSPack, Buttons;
type
TfrSpeak... |
unit RectGrid;
{$MODE Delphi}
interface
uses SysUtils, Classes, LCLIntf, LCLType, LMessages, Contnrs, xml;
type
TSliceType = (stNone, stHorizontal, stVertical);
TRectGrid = class;
TRectGridList = class
private
FList: TObjectList;
function GetItem(Index: Integer): TRectGrid;
function GetCount: ... |
unit PascalCoin.RPC.Test.Operations;
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.Edit, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, FMX.Layouts,
FMX.ListBox, System.Rtti,... |
unit MainModule;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.ExprFuncs, FireDAC.Phys.SQLiteDef, FireDAC.UI.Intf, FireDAC.FMXUI.Wait, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.Phys.Intf,
FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, Data.DB, Fir... |
unit UDaftarPembayaranHutang;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, Grids,
DBGrids, SMDBGrid, RzButton, StdCtrls, Mask, RzEdit, RzLabel, ExtCtrls,
RzPanel, cxGraphics, cxControls, cxLookAndFeels, c... |
unit sNIF.cmdline.DEF;
{ *******************************************************
sNIF
Utilidad para buscar ficheros ofimáticos con
cadenas de caracteres coincidentes con NIF/NIE.
*******************************************************
2012-2018 Ángel Fernández Pineda. Madrid. Spain.
This work is licen... |
unit TestRemoveComment;
{ AFS 10 Nov 2003
Test comment removal }
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is TestRemoveComment, released November 2003.
The Initial Developer of the Original Code is Anthony S... |
unit uFrmPrincipal;
//http://www.planetadelphi.com.br/artigo/137/usando-estrutura-(record),-ponteiro-e-tlist-na-aplica%C3%A7%C3%A3o.
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TPessoa = record
Nome:string;
Email:string;
end;
p... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLTilePlane<p>
Implements a tiled texture plane.<p>
<b>History : </b><font size=-1><ul>
<li>23/08/10 - Yar - Added OpenGLTokens to uses, replaced OpenGL1x functions to OpenGLAdapter
<li>30/03/07 - DaStr - Added $I GLScen... |
unit Model;
interface
{$M+}
uses FireDAC.Comp.client, bDB, System.Generics.Collections, System.Rtti, SysUtils, data.db, System.TypInfo, System.DateUtils,
strutils, bHelper;
Type
TModel = class
strict private
const
ID_FIELD = 'm_id';
FIELD_PREFIX = 'm_';
SETTER_METHOD_PREFIX = '_set';
FOREIG... |
unit Form.Main;
interface
uses
System.SysUtils,
System.Variants,
System.Classes,
System.Actions,
Winapi.Windows, Winapi.Messages,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
Vcl.ActnList, Vcl.ExtCtrls, Vcl.PlatformDefaultStyleActnCtrls,
Vcl.ActnMan, Vcl.ComCtrls, Vcl.Menus,
Pat... |
unit monitorHandler;
interface
uses
Messages, Classes, Windows;
type
TMonitorSettings = class(TObject)
private
FMsgHandlerHWND: HWND;
procedure WndMethod(var AMsg: TMessage);
public
constructor Create;
destructor Destroy; override;
end;
function GetMonitorBrightness (
hMonitor: THandle;... |
unit oCoverSheetParam_WidgetClock;
{
================================================================================
*
* Application: CPRS - CoverSheet
* Developer: doma.user@domain.ext
* Site: Salt Lake City ISC
* Date: 2015-12-04
*
* Description: Pr... |
unit BaseFDQuery;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.... |
{**************************************}
{ TeeChart Pro Charting Library }
{ Custom Series Example: TImageBar }
{ Copyright (c) 1998-2004 by David Berneda.}
{**************************************}
unit ImageBar;
{$I TeeDefs.inc}
interface
Uses {$IFNDEF LINUX}
Windows,
{$ENDIF}
Classes,
... |
{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) }
{ ... |
unit Devices.Tecon.Common;
interface
uses Windows, GMGlobals;
procedure Tecon_CRC(var buf: array of Byte; Len: int);
function Tecon_CheckCRC(const buf: array of Byte; Len: int): bool;
procedure Tecon_ReplyAuthorization(var bufs: TTwoBuffers);
function Tecon_CheckK105Authorization(buf: array of Byte; Len: int): bool... |
{ ***************************************************************************
Copyright (c) 2013-2018 Kike Pérez
Unit : Quick.ImageFX.GR32
Description : Image manipulation with GR32
Author : Kike Pérez
Version : 3.0
Created : 10/04/2013
Modified : 26/02/2018
This file is part o... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLMirror<p>
Implements a basic, stencil-based mirror (as in Mark Kilgard's demo).<p>
It is strongly recommended to read and understand the explanations in the
materials/mirror demo before using this component.<p>
<b>History ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.