text stringlengths 14 6.51M |
|---|
unit UMaterial;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
UEmbedForm, ExtCtrls, StdCtrls,
tc;
type
TFMaterial = class(TEmbedForm)
Label1: TLabel;
Panel1: TPanel;
Label2: TLabel;
Panel2: TPanel;
Label4: TLabel;
Panel4: TPan... |
unit Data.Main;
interface
uses
System.SysUtils, System.Classes
, datamodel
, cwCollections
, Utils.Messages
;
type
TMainData = class(TDataModule)
private
FCurrentGame: IGameData;
FCurrentView: TAppView;
FUserData: IUserData;
FGameUsers: IList<IUserData>;
FGames: IList<IGameData>;
FTurn... |
unit TifFuncs;
{ Библиотека для создания мнгостраничных TIF-файлов }
{ Для использования этих функций необходимо удостовериться,
что файлы-источники не пусты и корректны.}
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, ExtCtrls, StdCtrls, Buttons;
const
So... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [ECF_TOTAL_TIPO_PAGAMENTO]
The MIT Li... |
unit TestBowlingGame;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fpcunit, testutils, testregistry, Bowling.API;
type
TTestBowlingGame= class(TTestCase)
private
FGame: IBowlingGame;
procedure RollMany(const N: Integer; const Pins: Integer);
procedure RollSpare;
procedure RollStrike;
... |
unit uLimitedRTTI;
interface
procedure DisplayLimitedRTTI;
implementation
uses uRTTIDemoClass
, RTTI
;
procedure DisplayLimitedRTTI;
var
Context: TRttiContext;
TempType: TRttiType;
TempMethod: TRttiMethod;
TempProperty: TRttiProperty;
TempField: TRttiField;
begin
WriteLn('There should only ... |
{
Simple Redis Client Controller
* for set and get data only.
- non-thread
- master-slave support
by: Luri Darmawan ( http://www.fastplaz.com )
requirement:
- synapse (if any)
USAGE:
[x] set value
Redis := TRedisConstroller.Create;
Redis['thekey'] := 'your string';
[x] get value
variable := Redis['thekey'];
USE ... |
{
Copyright (c) 2020 Kristofer Munsterhjelm
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to ... |
unit uWmi;
interface
uses
System.SysUtils, System.Variants, ActiveX, ComObj;
type
{ The root namespaces we query from }
TWmiNamespace = (nsWmi, nsCmi, nsDefault);
{ A procedure to call on each item returned by the WMI Query }
TVisitor = procedure(AItem: OleVariant);
{ Simple wrapper around WMI, provide... |
{
单元名称: uJxdUdpFileServer
单元作者: 江晓德(Terry)
邮 箱: jxd524@163.com jxd524@gmail.com
说 明: 封装与分析同步包命令
开始时间: 2011-09-19
修改时间: 2011-09-19 (最后修改时间)
类说明 :
服务器端文件共享管理器
为请求者提供数据, 数据从 TxdFileShareManage 对象中获取
}
unit uJxdServerUpShareManage;
interface
uses
Windows, ExtCtrls, uJxdHashCalc, uJxdDataStruct, uJxdDataSt... |
unit RemoteDemoProcess;
interface
uses
System.Classes,
Vcl.Controls,
Vcl.StdCtrls,
Vcl.Forms,
dco.framework.RemotingSystem,
remote.model.WindowOrigin;
type
TForm2 = class(TForm)
Button1: TButton;
Button2: TButton;
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObj... |
unit AbstractViewModel;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, AbstractModel, vkcmobserver;
type
{ IViewModel }
IViewModel = interface
function GetModel: IModel;
procedure SetModel(AValue: IModel);
property Model: IModel read GetModel write SetModel;
end;
{ TBaseViewModel }
... |
{*********************************************************************************************************************************************}
{ }
{ ... |
unit Register;
interface
uses
Windows, SysUtils, Settings, DateUtils, DECUtil, Cipher;
function GetRegisterStatus: integer;
//function GetInstallDateTime: TDateTime;
//function GetWindowsInstallTime: TDateTime;
function GetHash(var Source): string;
function DeHash(var Source): string;
const
TrialPeriod = 10;
var
... |
unit uDMPrint;
interface
uses
System.SysUtils, System.Classes, fs_iinterpreter, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Stan.Async, FireDAC.DApt, Data.DB,
FireDAC.Comp.Client, frxClass, frxDBSet,frxPreview, FireDAC.Phys.Intf,
FireDAC.DApt.Intf, F... |
unit uSimpleRayTracer;
interface
uses
System.Generics.Collections,
uVect, uRay, uCamera, uSphere, uPlane, uLight, uColour, uSource, uSceneObject;
type
RGBType = record
r, g, b: Double;
end;
TSimpleRayTracer = class
private
n, width, height: integer;
antiAliasingLevel: integer... |
(* ------------------------------------------------------ *)
(* LIST.PAS *)
(* Erweitert 2005 von Michael Johne auf Textmodus 80x50 *)
(* ------------------------------------------------------ *)
(* ZEIGE.PAS *)
(* Ersatz ... |
unit DrawerObject;
uses GraphABC, SatelliteObject, EarthObject;
Type
Drawer = class
private
_satellite: Satellite;
_earth: Earth;
public
constructor create(sat: Satellite; e: Earth);
procedure reDraw();
procedure drawEarthCircle();
procedure dr... |
unit ngosang_trackerslist;
{
Use api from ngosang to get tracker list that are working or not.
see: https://github.com/ngosang/trackerslist
}
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
{ TNewTrackon }
//All the type of tracker list.
Tngosang_List = (
ntl_URL_Blacklist,//< Download fro... |
unit ufTarefa3;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Data.DB, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids,
Datasnap.DBClient, MidasLib;
type
TfTarefa3 = class(TForm)
Pane... |
unit uSeller;
interface
type
ISeller = interface
['{AF18617F-7EED-4EDF-AB7A-FE1B6E479540}']
procedure SetName(const pValue: string);
procedure SetSalary(const pValue: Currency);
procedure SetTotalSale(const pValue: Currency);
function GetName: string;
function GetSalary: Currency;
functio... |
unit uGeradorGIA;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, IniFiles,
Dialogs, StdCtrls, ExtCtrls, DB, DateUtils;
procedure GerarGIA(pCR : String; pArquivo: string; pDataSet: TDataSet);
implementation
procedure GerarGIA(pCR : String; pArquivo: string; pDataSet: TDataS... |
unit ClassBase;
interface
uses Classes, sysutils;
type
TMathOperation = (opAdd, opSub, opMul, opDiv);
TOnRefresh = procedure (Oper1, Oper2: double; Op: String) of object;
TOnRefreshStat = procedure (ag, aw, sg, sw, dg, dw, mg, mw, msec: integer) of object;
TBaseOpr = Class
private
FFullElapsed,
FHit:... |
unit UxlListView;
interface
uses Windows, Messages, CommCtrl, UxlWinControl, UxlDragControl, UxlFunctions, UxlClasses, UxlImageList, UxlList, UxlMiscCtrls;
type
TListViewColumn = record
text: widestring;
width: integer;
align: TAlign;
end;
TListViewColumns = class (TxlCollectio... |
Unit PascalCoin.RPC.Operation;
Interface
Uses
System.Generics.Collections,
PascalCoin.RPC.Interfaces,
System.JSON;
Type
TPascalCoinSender = Class(TInterfacedObject, IPascalCoinSender)
Private
FAccount: Cardinal;
FN_Operation: Integer;
FAmount: Currency;
FAmount_s: String;
FPayload: Hex... |
unit Controller.EMPRESA;
interface
uses
System.SysUtils,
System.Json,
System.Generics.Collections,
REST.Json,
Data.DB,
SimpleRTTI,
VCL.Forms,
Model.Entity.EMPRESA,
Model.EMPRESA.Interfaces,
Controller.EMPRESA.Interfaces;
type
TControllerEMPRESA = class(TInterfacedObject, iControllerEMPRESA)
p... |
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.... |
{*******************************************************}
{ }
{ Gospel Built-in Routine Library }
{ }
{ Copyright (C) 1999 Voltus Corporation }
{ ... |
unit UOpExtFuncs;
interface
uses UOptionBox, UxlComboBox, UCommPanels, UxlList, UxlMiscCtrls, UOptionManager;
type
TOpExtFuncs = class (TOptionPanel)
private
protected
procedure OnInitialize (); override;
procedure OnOpen (); override;
public
procedure Load (const op: TOpti... |
unit StorageTests;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fpcunit, testutils, testregistry, ModelDataModel, ModelStorage,
ModelEntitiesImplementation;
type
{ TMockDAO
is a mock of DAO created for unit testing. You can set result (and other options)
of each function. Each method * that is i... |
// creates new COBJ record to make item Craftable at workbenches
function makeCraftable(itemRecord: IInterface): IInterface;
var
recipeCraft,
recipeCondition, recipeConditions,
recipeItem, recipeItems,
tmpKeywordsCollection,
tmp
: IInterface;
itemSignature: string;
amountOfMainComponent, // the... |
{$include kode.inc}
unit kode_array;
//----------------------------------------------------------------------
interface
//----------------------------------------------------------------------
const
KODE_ARRAY_INITIALSIZE = 4;
type
generic KArray<_T> = class
private
FData : array of _T;
FSize ... |
unit RRManagerBaseObjects;
interface
uses SysUtils, Classes, ActnList, ClientCommon, Forms, BaseObjects;
type
TBaseObject = class;
TBaseObjectClass = class of TBaseObject;
TBaseCollection = class;
TBaseClass = class of TBaseObject;
TBaseObject = class(TIDObject)
private
FNeedsUpdate: boolean;
p... |
unit AspectsTests;
interface
uses
TestFramework,
AspectModelIntf,
InfraAspectIntf;
type
TAspectProcedures_Test = class(TTestCase)
private
ClasseA: IClassA;
protected
procedure SetUp; override;
procedure TearDown; override;
published
procedure TestMethodNotIntercepted;
... |
//
// DB Script Tool
// Delphi - 2019-07-27 11:04:08
//
// MODEL CLASSES FOR S DATABASE
//
(* TS.pas -------------------------------------*)
unit TSUnit;
interface
uses
Classes, System.DateUtils;
/// <summary>
/// Delphi - Model Class - TS
/// 2019-07-27 11:01:04
/// </summary>
type
TS = class(TO... |
program RecordsFile;
uses
SysUtils;
// Используемые в программе типы пользователя
type
// Описание типа записи "Студент"
TStudent = record
Name: String[20]; // Имя
Math, Physics: Byte; // Оценка по математике и по физике
end;
// Описание типа файловой переменной для работы с типизированным фай... |
unit usuperresolutionexample;
{$mode objfpc}{$H+}
interface
uses
neuralnetwork, Classes, SysUtils;
const
csExampleBaseFileName: string = 'super-resolution-7-64-sep';
csExampleFileName:string = 'super-resolution-7-64-sep.nn';
csExampleBottleNeck:integer = 16;
csExampleNeuronCount:integer = 64;
csExampleLa... |
unit Dane;
interface
type
Nazwa = string[25];
NazwaDluga = string[50];
const
losowosc = 19;
imiona: array [0..losowosc] of Nazwa =
('Maria', 'Krystyna', 'Anna', 'Barbara', 'Teresa', 'Elzbieta',
'Janina', 'Zofia', 'Jadwiga', 'Danuta', 'Halina', 'Irena', 'Ewa',
'Malgorzata', 'Helena',
'Grazyna',... |
unit Missions;
interface
uses
Windows, AvL, avlUtils, avlEventBus, avlMath, avlVectors, VSECore, Game,
GameObjects, GameData;
type
TMission = class(TCard)
protected
FMissionData: TMissionData;
FResource: TResourceType;
FActive: Boolean;
public
constructor Create(MissionData: ... |
unit TextEditor.Search.Map.Colors;
interface
uses
System.Classes, System.UITypes, TextEditor.Consts, TextEditor.Types;
type
TTextEditorSearchMapColors = class(TPersistent)
strict private
FActiveLine: TColor;
FBackground: TColor;
FForeground: TColor;
public
constructor Create;
procedure A... |
unit uRelatorioFaturamentoPedidos;
interface
uses
System.IOUtils,
System.DateUtils,
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore,
dxSkinscxPC... |
{ ***************************************************************************
Copyright (c) 2015-2021 Kike Pérez
Unit : Quick.Chrono
Description : Chronometers time elapsed and estimated time to do a task
Author : Kike Pérez
Version : 1.5
Created : 27/08/2015
Modified : 06/05/202... |
unit MainFormU;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TMainForm = class(TForm)
Button1: TButton;
Memo1: TMemo;
procedure Button1Click(Sender: TObject);
private
{ ... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
unit MainVCLUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Label1: TLabel;
Memo1: TMemo;
procedure Button1Click(Sender: TObject... |
unit UMapEditor;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, ComCtrls, DB, ADODB;
type
TForm1 = class(TForm)
leLevel: TLabeledEdit;
lePoleID: TLabeledEdit;
leStartSpeed: TLabeledEdit;
leStartLength: TLabeledEdit... |
unit CommonComplexCombo;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, CommonComplexList, ComCtrls, BaseDicts
{$IFDEF VER150}
, Variants
{$ENDIF}
;
type
TfrmComplexCombo = class(TFrame)
cmbxName: TComboBox;
btnShowAdditional: TButton;
lb... |
(*====< BZSoundFileWAV.pas >===================================================@br
@created(2016-11-16)
@author(J.Delauney (BeanzMaster))
Historique : @br
@unorderedList(
@item(09/11/2017 : Creation )
)
--------------------------------------------------------------------------------@br
@bold(Description :)@br
L'u... |
unit Pkg.Json.ReservedWords;
interface
uses
System.Classes;
type
TStringsHelper = class helper for TStrings
public
procedure AddFormat(const aFormat: string; const Args: array of const);
procedure AddIfNotEmpty(const s: string);
function Contains(const s: string): boolean;
end;
var
ReservedWor... |
unit aDCReg;
interface
uses
Classes,
DesignEditors, DesignIntf,
PLDesign;
type
// { TaOPCImageListEditor }
// TaOPCImageListEditor = class(TComponentEditor)
// public
// procedure ExecuteVerb(Index: Integer); override;
// function GetVerb(Index: Integer): string; override;
// function GetVerbCou... |
unit datamodel.carddata.standard;
interface
uses
datamodel
, datamodel.gamedataobject.custom
;
type
TCardData = class( TGameDataObject, ICardData )
private
fCardID : string;
fTitle : string;
fOwner : string;
strict private
function getCardID: string;
function getTitle: string;
func... |
// Copyright 2018 by John Kouraklis and Contributors. 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
//
// Unle... |
unit HbTypes;
interface
uses
MyStr,
SysUtils, Controls, Classes;
type
THBTipoEntrada = (teRightToLeft, teLeftToRight, teText, teDate);
THBAlinhamento = (taEsquerda, taDireita, taCentro);
THBInsertState = (isInsert, isOverwrite);
THBTipoChave = (tcNenhuma, tcPesquisa, tcPrincipal, tcSugerida);
THBComport... |
unit UHistory;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, UFigures, UUtils;
type
{ THistrory }
THistory = class
strict private
var
FFigures: TFigures;
FStates: array[0..100] of TFigureArray;
FMinIndex, FIndex, FMaxIndex, FSavedIndex: Integer;
FOnStateChange: TEventHandler;
... |
unit gl3Mesh;
(* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the Lic... |
unit uGenericDisplays;
interface
uses
uGameInfo
;
type
IDisplay = interface
['{E118BD99-37BD-461C-AF69-770FD8E18702}']
procedure Update(aGameInfo: TGameInfo);
end;
TConsoleDisplay = class(TInterfacedObject, IDisplay)
procedure Update(aGameInfo: TGameInfo);
end;
implementation
{ TDispl... |
unit UntUnUpLoadData;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.StdCtrls, Vcl.Buttons,
Vcl.Grids, Vcl.DBGrids, Data.Win.ADODB, Vcl.ComCtrls, RzButton, math,
IdBaseComponent, IdComponent, Id... |
UNIT Lexer;
INTERFACE
CONST
MaxLexemLength = 50;
TYPE
LexemType = STRING[MaxLexemLength];
FUNCTION ReadLexem(VAR F: TEXT): LexemType;
IMPLEMENTATION
PROCEDURE CharToLowerCase(VAR Ch: CHAR);
BEGIN{CharToLowerCase}
CASE Ch OF
'A': Ch := 'a';
'B': Ch := 'b';
'C': Ch := 'c';
'D': Ch := 'd';
... |
unit unitNamedPipes;
interface
uses Windows, Classes, SysUtils, SyncObjs;
type
TNamedPipeServerState = (npDisconnected, npListening, npConnected);
TNamedPipeServer = class
private
fPipeName : string;
fHandle : THandle;
fState : TNamedPipeServerState;
public
constructor Create (const APipeName : string);
d... |
{ complete expand }
program expand (input, output);
const
ENDFILE = -1;
NEWLINE = 10; { ASCII value }
TILDE = 126;
type
character = -1..127; { ASCII, plus ENDFILE }
{ getc -- get one character from standard input }
function getc (var c : character) : character;
var
ch : char;
begin
if (eof... |
Unit FuncUnit;
Interface
Uses
WinAPI.Windows, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, Masks, FMX.ListBox,
MainUnit, INIFiles, tlhelp32;
Procedure SearchInDir(Dir: String; Subdir: Boolean);
Function SecToMin(S: String): String;
Function CheckParam(S: String): Boolean;
Proce... |
{ Subroutine STRING_TKPICK80M (TOKEN,CHARS,TNUM);
*
* Pick a token from a list of tokens. TOKEN is the token
* against which the tokens in the list are matched. CHARS
* contains a list of tokens, separated by spaces. TNUM is
* returned as the number of the token in CHARS that TOKEN
* did match. The firs... |
unit PxTerminal;
interface
uses
Windows, SysUtils,
PxBase, PxUtils, PxThread, PxGetText;
type
TBaudRate = (br1200, br2400, br4800, br9600, br14400, br19200, br28800, br38400, br56000, br112000, br115200);
TDataBits = (db7, db8);
TParity = (paNone, paOdd, paEven);
TStopBits = (sbOne, sbOneAn... |
unit UBase;
interface
uses
System.Messaging;
type
{ Abstract base class for node objects. Nodes can have a parent and zero or
more children.
On non-ARC platforms, parent nodes own their children, and freeing a parent
object will automatically free its children.
On ARC platforms, memory is manag... |
////////////////////////////////////////////////////////////////////////////////
// fConfig.pas
// MTB simulator library.
// Main configuration form implemetation.
// (c) Jan Horacek (jan.horacek@kmz-brno.cz),
// Michal Petrilak (engineercz@gmail.com)
///////////////////////////////////////////////////////////... |
unit Marvin.VCL.GUI.Cadastro.Base;
interface
uses
{ interface comunicação }
Marvin.Desktop.Repositorio.AulaMulticamada,
{ client module }
Marvin.Desktop.ClientClasses.AulaMulticamada,
{ embarcadero }
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
System.Action... |
unit uSettings;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls,
StdCtrls, Forms, ImgList, Menus, ComCtrls, ExtCtrls, ToolWin,
{XML}
Xml.xmldom, Xml.XMLIntf, Xml.Win.msxmldom, Xml.XMLDoc;
const
strDefRootSection = 'Config'; //Имя корневой секции
strDefConfigSec... |
unit DC.mORMot.Model;
interface
uses
SynCommons,
mORMot;
type
// история изменения записей дополненная информацией о пользователе и расшифровкой записи
TSQLDCRecordHistory = class(TSQLRecordHistory)
private
FRecID: TID;
FTableName: RawUTF8;
FLogonName: RawUTF8;
protected
class procedure I... |
unit qmacros;
{
QMacros使用基于宏替换的技术来完成模板内容的快速替换。QMacros的特色在于:
● 支持在替换时自定义宏的起始和结束字符串,两者可以一样,也可以不一样,但一定要保证宏定义中间不会出现该字符;
● 采用栈式管理,使用使用宏最后入栈的值替换,当不使用新值时,可以出栈恢复末次的值;
● 支持保存点功能,可以设置保存点并在其后多次入栈新的宏定义,只需要在最后还原到保存的保存点,就可以恢复所有保存点保存时的宏定义原状;
● 支持大小写区分和忽略大小写两种处理模式;
● 支持动态取值宏定义(相当于简单的函数),可以让宏定义每次替换时对应不同的值;
● 使用二分法查找宏定义名称... |
{
Bunch of Skyrim specific utilities to write scripts on higher level of abstraction.
isTemperable (recordToCheck: IInterface): boolean; // determines if item have tempering recipe
isCraftable (recordToCheck: IInterface): boolean; // determines if item h... |
unit Classe.Produto;
interface
uses
ControllerProdutoInterface;
type
TProduto = class(TInterfacedObject, IProduto)
private
FId: Integer;
FNome: string;
public
function GETId(): Integer;
function GETNome(): string;
function Id(const pValue: Integer): IProduto;
functio... |
unit UDMAplicacion;
interface
uses
windows, forms, Sysutils, strutils, IOUtils, Classes, DBClient,
UDAOParametro, UFtpGestor, UActualizaModulo;
type
TDMAplicacion = class(TDataModule)
private
FVersion : string; {VERSION DEL MODULO}
FFtpHost : string; {DIRECCIO... |
unit untDataStoreArrayList;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, untDataStore, untfieldarraylist;
type
{ TDataStoreArrayList }
TDataStoreArrayList = class
Items: array of TDataStore;
FieldList: TFieldArrayList;
constructor Create;
destructor Destroy; overr... |
Unit AdvExclusiveCriticalSections;
{
Copyright (c) 2001-2013, Kestral Computing Pty Ltd (http://www.kestral.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 code mu... |
unit uJxdHashCalc;
interface
{$DEFINE MD5}
uses
SysUtils,
Classes,
{$IFDEF MD5}
MD5
{$ELSE}
MD4
{$ENDIF}
;
type
{$IFDEF MD5}
TxdHash = TMD5Digest;
TxdHashContext = MD5Context;
{$ELSE}
TxdHash = TMD4Digest;
TxdHashContext = TMD4Context;
{$ENDIF}
const
CtHashSize = 16;
CtEmptyHash: ... |
unit untUtility;
interface
uses
Windows,
Classes,Dialogs,
SysUtils;
procedure SplitString(str: string; Delimiter: string; var strList: TStringList);
function CutLeftString(str: string; Num: Integer):string; overload;
function CutLeftString(str: string; LeftStr: string):string; overload;
function Remo... |
unit SecureString;
interface
type
HCkStringBuilder = Pointer;
HCkSecureString = Pointer;
HCkString = Pointer;
function CkSecureString_Create: HCkSecureString; stdcall;
procedure CkSecureString_Dispose(handle: HCkSecureString); stdcall;
function CkSecureString_getLastMethodSuccess(objHandle: HCkSecureString): wordb... |
///<summary>Serializers working on the SQL AST.</summary>
///<author>Primoz Gabrijelcic</author>
///<remarks><para>
///Copyright (c) 2016, Primoz Gabrijelcic
///All rights reserved.
///
///Redistribution and use in source and binary forms, with or without
///modification, are permitted provided that the following condi... |
unit uEEPROM;
interface
Uses Classes, SysUtils, Windows;
Type
TAdress = Cardinal;
TNotifyEEPROMChanged = procedure(Sender: TObject;
const Adress, Count: TAdress) of object;
TInt64Rec = packed record
case Integer of
0:
(I: Int64);
1:
(L, H: LongInt)
end;
TEEPROM = class... |
unit untField;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
{ Field }
type
FieldType = (ftInteger8 = 0, ftInteger16 = 1, ftInteger32 = 2,
ftInteger64 = 3, ftString = 4,
ftBit = 5, ftByteArray = 6, ftDateTime = 7);
type
Field = class
private
public
strName: st... |
// *****************************************************************************
// File : UClient.pas
// Project : MicroServer.dpr
// Easy example of TCP Client with indy component : TidTCPSever
//
// see indy doc: http://www.indyproject.org/sockets/docs/index.en.aspx
//
// ***********************... |
unit EditArtist;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Mask, ExtCtrls, BaseForm, Artist,
EditArtistController;
type
TFrmEditArtist = class(TBaseForm)
PanelTop: TPanel;
BevelTop: TBevel;
MainPanel: TPanel;
l... |
unit MVCBr.VCL.PageView;
interface
uses VCL.Forms, VCL.Controls, System.Classes, System.SysUtils, MVCBr.Interf,
MVCBr.PageView, MVCBr.FormView, VCL.ComCtrls;
type
TVCLpageViewOnQueryClose = procedure(APageView: IPageView;
var ACanClose: boolean) of object;
TVCLPageViewManager = class(TCustom... |
unit uConfig;
interface
uses uGlobal, IniFiles, Windows, sysUtils, StrUtils, Registry,
Forms;
type
TOption = record
bViewAll: Boolean;
bViewWeekSum: Boolean;
bBohoOneforDay: Boolean;
end;
TConfiguration = class
CurDir: string;
AppFileName: string;
FTPServer: TFTPServerConfig;
SWSe... |
unit Principal;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
RestClient,
HttpConnection,
PJBank.Empresa.Request,
PJBank.Empresa.Response,
PJBank.Boleto.Request,
PJBank... |
unit MaximizedUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls;
type
{ TMaximizedForm }
TMaximizedForm = class(TForm)
procedure FontDialogApply(Sender: TObject; Wnd: HWND);
// procedure CreateParams(var Params: TCreateParams); override;
... |
unit ACBrPAFDll;
interface
uses
SysUtils,
Classes,
ACBrPAF,
ACBrAACDLL,
ACBrEADDLL,
ACBrUtil;
{ Ponteiros de função }
type
TGetChaveCallback = function(): PChar; cdecl;
{Classe que armazena os EventHandlers para o componente ACBr}
type
TEventHandlers = class
ChaveRSA: ansistr... |
unit model.PedidoItem;
interface
uses
UConstantes,
model.Pedido,
model.Produto,
System.Math,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants;
type
TPedidoItem = class(TObject)
private
aID : TGUID;
aCodigo : Integer;
aPedido : ... |
unit UListenUdpThread;
interface
uses
Windows,
Classes,
SysUtils,
WinSock,
eiTypes,
eiExceptions,
eiConstants,
UServerTypes,
UBaseThread;
type
TListenUdpThread = class(TBaseSocketThread)
private
FLocalAddr: TSockAddrIn;
FReceiveEvent: TRequestEvent;
procedure DoR... |
unit operacionesMatrices;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Dialogs,operadores;
type
TMatriz = class
public
function CMtr(x,y:Integer): matriz;
procedure Operar();
procedure MostrarMatriz(M: matriz;x,y:Integer);
function Suma(A,B : matriz; m,n:Integer) : matri... |
unit Unit1;
{
TreeView with check boxes and radio buttons.
http://delphi.about.com/library/weekly/aa092104a.htm
Here's how to add check boxes and radio buttons to a
TTreeView Delphi component. Give your applications a
more professional and smoother look.
..............................................
... |
unit FrameTab;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, VkVariable,ActionManagerDescription, ActnMan, Vcl.ToolWin, Vcl.ActnCtrls,
Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.Menus, Vcl.ImgList;
type
// TTabFrame =... |
unit WMSServerProperties;
interface
uses
capabilities_1_1_1, TeraWMSTools,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, Grids, ValEdit, ExtCtrls;
type
TWMSServerPropertiesForm = class(TForm)
Panel4: TPanel;
ServerPropertiesVLE: TValueListEdito... |
{----------------------------------------------------------------------
DEVIUM Content Management System
Copyright (C) 2004 by DEIV Development Team.
http://www.deiv.com/
$Header: /devium/Devium\040CMS\0402/Source/ControlPanel/cpSitesList.pas,v 1.3 2004/04/17 12:17:05 paladin Exp $
--------------... |
unit unConfiguracao;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, unPadrao, Menus, DB, ActnList, StdCtrls, Buttons,
ExtCtrls, ComCtrls, DBClient, Provider, SqlExpr, DBCtrls, Mask,
ExtDlgs, FileCtrl, IdMessage, IdBaseComponent, IdComponent,
IdTCPConnectio... |
unit UPasteHandler;
interface
uses Windows, UxlClasses, UxlExtClasses, UxlMenu, UxlWindow, UxlWinControl, UxlList;
type
TExtPopupMenu = class (TxlMenu)
private
FhPopup: HMenu;
protected
procedure OnCreate (); override;
public
procedure PopupMenu (pid: integer; x, y: integer... |
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.... |
unit Method.Colors;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Imaging.pngimage,
Vcl.StdCtrls, Vcl.ComCtrls, DwmApi, JvComponentBase, JvWndProcHook,
System.ImageList, Vcl.ImgLis... |
unit uClassMunicipio;
interface
uses
System.SysUtils;
type
TMunicipio = class
private
FIDMunicipio: Integer;
FCodigoIBGE: Integer;
FNome: String;
FCEP: Currency;
FDDD: Integer;
procedure SetIDMunicipio(AValor: Integer);
function GetIDMunicipio: Integer;
procedure SetCodigoIBGE... |
{ complete detab with tabstops array containing tab stops, zero terminated }
program detabprog (input, output);
const
ENDFILE = -1;
NEWLINE = 10; { ASCII value }
BLANK = 32;
BACKSPACE = 8;
TAB = 9;
type
character = -1..127; { ASCII, plus ENDFILE }
{ getc -- get one character from standard ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.