text stringlengths 14 6.51M |
|---|
function makeBreakdown(item: IInterface): IInterface;
var
recipe, recipeItems, material: IInterface;
itemSignature: string;
begin
itemSignature := Signature(item);
// filter selected records, which are invalid
if not ((itemSignature = 'WEAP') or (itemSignature = 'ARMO')) then
Exit;
// create COBJ reco... |
unit PageMangerLib;
interface
uses ComCtrls;
type
{
id int(10) unsigned NOT NULL auto_increment,
parent_id int(10) unsigned NOT NULL default '1',
name varchar(50) NOT NULL default '',
title varchar(255) NOT NULL default '',
text text,
description text,
visible tinyint(1) NOT NULL default ... |
namespace Sugar.Test;
interface
uses
Sugar,
Sugar.TestFramework;
type
MathTest = public class (Testcase)
private
const Deg: Integer = 30;
const Rad: Double = Deg * (Consts.PI / 180);
public
method AbsDouble;
method AbsInt64;
method AbsInt;
method Acos;
method ... |
unit VK.Types;
interface
uses
System.Classes;
type
TFiltersMessages = (All = 0, OnlyImportant = 8);
IsSound = (sound, disabled_until);
ActionType = (Empty, chat_photo_update, chat_photo_remove,
chat_create, chat_title_update, chat_invite_user, chat_kick_user);
TLatitude = real; { -90..90 }
TLong... |
unit Model.ApontamentoOperacional;
interface
type
TApontamentoOperacional = class
private
var
FID: Integer;
FEntregador: Integer;
FRoteiroAntigo: String;
FData: System.TDate;
FStatusOperacao: String;
FRoteiroNovo: String;
FObs: String;
FPlanilha: String;
FIDReferencia: Integ... |
unit ParentedObjects;
interface
uses Registrator, BaseObjects, Classes, ComCtrls;
type
IParentChild = interface
function GetChildren: TIDObjects;
function GetParent: TIDObject;
function GetMe: TIDObject;
function GetChildAsParent(const Index: integer): IParentChild;
property Children: TIDObje... |
{
List NPCs that belong to more than one faction flagged as "Vendor"
}
unit ActorsWithManyVendorFactions;
var
sl: TStringList;
function Initialize: integer;
begin
sl := TStringList.Create;
end;
function Process(e: IInterface): integer;
var
ents, ent, faction: IInterface;
i: integer;
begin
if Signature(e)... |
unit Aurelius.Mapping.Setup;
{$I Aurelius.Inc}
interface
uses
TypInfo,
Generics.Collections,
Aurelius.Mapping.MappedClasses,
Aurelius.Mapping.Metadata;
type
TColumnProp = Aurelius.Mapping.Metadata.TColumnProp;
TColumnProps = Aurelius.Mapping.Metadata.TColumnProps;
TDynamicColumn = class... |
(*Подойдя к перекрестку, пешеход решает, переходить ли ему улицу или
остановиться. На решение влияет характер пешехода и ещё два фактора:
сигнал светофора и близость опасно движущегося транспорта. Напишите
программу с процедурой, которая принимает и печатает решение в
зависимости от пер... |
unit PedidosORM;
interface
uses
SysUtils, Variants, Classes, DB, SqlExpr, ConexaoDB, ORMUtils, PedidosItensORM,
Contnrs;
type
TListaItens = class(TObjectList)
private
function GetItem(Idx: Integer): TPedidoItem;
procedure SetItem(Idx: Integer; const Value: TPedidoItem);
public
p... |
{
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... |
{*******************************************************************************
作者: dmzn 2009-2-11
描述: 属性编辑器基类
*******************************************************************************}
unit UFrameBase;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
... |
unit fmEventBusTestMain_;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
System.Threading,
fmChild1_, fmChild2_
;
type
TfmEventBusTestMain = class(TForm)
btShowSubForm: TButton;
... |
unit EditSongController;
interface
uses
Generics.Collections,
Song, MediaFile, Artist, SongFormat,
Aurelius.Engine.ObjectManager;
type
TEditSongController = class
private
FManager: TObjectManager;
FSong: TSong;
public
constructor Create;
destructor Destroy; override;
... |
{
wzsTools components
(c) Protasov Serg
wzonnet.blogspot.com
wzff.livejournal.com
wzonnet@kemcity.ru
}
unit u_wzsOraProcExecutor;
interface
uses
SysUtils, Classes, Oracle, Controls, Dialogs, OracleTypes,
ExtCtrls, u_wzsToolsCommon {$ifdef ver150}, Variants {$endif};
type
TPipeMsgProc = pr... |
unit CommonUnit;
interface
uses
Controls, Windows;
const
params_default_file = 'database.ini';
type
ChooseLanguage = (Russian, English);
TBlock = record
Id: Integer; {номер по списку}
id_logical: Integer; {номер логический}
type_block: string[20];
end;
TAgency = record
... |
{This simple component encapsulates two API functions:
GetVolumeInformation and GetDriveType
It allows to check:
Drive Volume Label
Drive Serial Number
Drive file system type
Length of directory component (unfortunatelly this function returns
255 chars almost always :( eve... |
unit UMain;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls,
Menus, Buttons, StdCtrls, Grids, Windows, Math,
UAbout, UTools, UFigures, UCoordinateSystem;
type
{ TMainForm }
TMainForm = class(TForm)
ButtonAllCanvas: TButton;
ColorDialog: TColorDi... |
{*******************************************************}
{ }
{ NTS Aero UI Library }
{ Created by GooD-NTS ( good.nts@gmail.com ) }
{ http://ntscorp.ru/ Copyright(c) 2011 }
{ License: Mozilla Pu... |
unit Test;
interface
uses
DUnitX.TestFramework, SysUtils, ScanManager, BarcodeFormat, ReadResult,
FMX.Types, FMX.Graphics, FMX.Objects;
type
[TestFixture]
TZXingDelphiTest = class(TObject)
public
function GetImage(Filename: string): TBitmap;
function Decode(Filename: String; CodeFormat: TBarcodeFo... |
unit uMainFormORM;
interface
uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
DB,
Grids,
DBGrids,
StdCtrls,
Mask,
DBClient,
DBCtrls,
ExtCtrls,
Generics.Collections,
/// orm factory
ormbr.factory.interfaces,
/// orm injection dependency
... |
unit uGnTextFile;
interface
uses
IOUtils, SysUtils;
const
chSpace = ' ';
chTab = #9;
chCR = #13;
chLF = #10;
chEOF = #0;
chQuote = '''';
type
TGnPosInFile = record
Pos : Cardinal;
LinePos : Cardinal;
Line : Cardinal;
end;
EGnFileException = cla... |
unit load;
{
Cek testing :
1. Bahan Mentah : Success;
2. Bahan Olahan : Success;
3. Inventori Bahan Mentah : Success;
4. Inventori Bahan Olahan : Success;
5. Resep : Success;
6. Simulasi : Success;
}
interface
type
tanggal = record
hari: integer;
bulan: integer;
tahun: integer;
end;
bahanMentah = ... |
(* @file UGamefield.pas
* @author Willi Schinmeyer
* @date 2011-10-28
*
* UGamefield unit
*
* Contains the TGamefield, TGamefieldRow and TGamefieldCell type and
* procedures/functions operating on them.
*)
unit UGamefield;
interface
uses
UTetromino,
UGameplayConstants, //Fieldsize, char for displaying ... |
unit PasswordAncestor;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, ADODB, Vcl.Dialogs, Vcl.ExtDlgs, Vcl.Imaging.jpeg;
type
TPasswordAncestorDlg = class(TForm)
imgLogin: TImage;
lblUserName: TLabel;
lblPassword: TLabel;
edtPassword: TEdit;
... |
// 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 Game;
{$mode objfpc}{$h+}
interface
uses
Door,
Crt, Classes, StrUtils;
procedure Start;
implementation
const
COLOURS: Array[1..6] of Integer = (Crt.LightBlue, Crt.LightRed, Crt.LightGreen, Crt.LightMagenta, Crt.Yellow, Crt.White);
var
AnswerRow: Array[1..4] of Integer = (0, 0, 0, 0);
Colour: Integ... |
unit VisibleDSA.AlgoVisualizer;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
Graphics,
Forms,
LCLType,
Generics.Collections,
BGRACanvas2D,
VisibleDSA.AlgoVisHelper,
VisibleDSA.GameData,
DeepStar.Utils.UString;
type
TAlgoVisualizer = class(TObject)
private type
THashMap_UString_... |
unit MVC.ViewBlocks;
interface
uses
System.Classes, Data.DB,
Vcl.Forms;
// ------------ ------------ ------------ ------------ ------------ --------
// TODO: Dodać dokumentację do klas bazowych ViewBlock
// Klasy w fazie rozwojowej. Należy:
// * ustalić metody abstrakcyjne
// * rozbudować klasę TD... |
Program ReverseList;
type
tRefList = ^tList;
tList = record
data : integer;
next : tRefList;
end; { tList }
var
refList : tRefList;
lst : tRefList;
procedure printList (var ioRefList : tRefList);
begin
writeln(ioRefList^.data);
if (ioRefList^.next <> nil) then
be... |
unit glMap;
interface
uses
Windows, SysUtils, glError, glConst;
type
(* THeader *)
PHeader = ^THeader;
THeader = record
Version: Integer;
Description: string[255];
Width, Height: Integer;
end;
(* TMap *)
PMap = ^TMap;
TMap = class
private
FHeader: THeader;... |
{AUTEUR : FRANCKY23012301 - 2008 ------- Gratuit pour une utilisation non commerciale}
unit Vumeter;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Graphics;
type
TVumeter = class(TCustomControl)
private
fGradColor: TColor;
fCursorColor: TColor;
fLinesColor: TColor;
... |
unit CreateCS;
interface
type
HCkCertStore = Pointer;
HCkCreateCS = Pointer;
HCkString = Pointer;
function CkCreateCS_Create: HCkCreateCS; stdcall;
procedure CkCreateCS_Dispose(handle: HCkCreateCS); stdcall;
procedure CkCreateCS_getDebugLogFilePath(objHandle: HCkCreateCS; outPropVal: HCkString); stdcall;
procedur... |
unit DataLookupUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, LookupUnit, DB, Grids, DBGridEh, StdCtrls, ExtCtrls,
IBCustomDataSet, IBQuery, DataUnit, DbGridUnit;
type
{ TDataLookupForm }
TDataLookupForm = class(TLookupForm)
ListQuery: TIBQuery;
... |
unit MultiListUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids, DBGridEh, DB, IBCustomDataSet, IBQuery,
IBUpdateSQL, ComCtrls, DataUnit;
type
{ TMultiListForm }
TMultiListForm = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
... |
unit uOPCGanttSeries;
{$I VCL.DC.inc}
interface
uses
System.Classes, System.SysUtils,
Vcl.Controls, Vcl.Forms, Vcl.Graphics,
{$IFDEF TEEVCL}
VCLTee.Chart, VCLTee.Series, VCLTee.TeEngine, VCLTee.GanttCh,
{$ELSE}
Chart, Series, TeEngine, GanttCh,
{$ENDIF}
aOPCSeries,
uOPCSeriesTypes,
uDCObjects, u... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
unit UBitmap32PNG;
interface
uses
Windows, SysUtils, Classes, GR32;
procedure ExportPng(ABmp:TBitmap32;Stream: TStream);
implementation
uses zlib;
const
TAG_SIZE = 4;
IHDR = $52444849;
IDAT = $54414449;
IEND = $444E4549;
SEGSIZE = $10000;
MAGIC: array[0..7] of byte = (137, 80... |
(*******************************************************)
(* *)
(* Engine Paulovich DirectX *)
(* Win32-DirectX API Unit *)
(* *)
(* Copyright (c) 20... |
{$B-,I-,R-,S-,V-,X+}
unit ARCv;
interface
uses Objects;
type
TArchiveLineProc = procedure(
const FName: String; FTime, OrigSize, PackSize: Longint );
const
arcOk = 0;
arcNotFound = 1;
arcNotIdentified = 2;
arcBroken = 3;
arcView = 4;
avNo = 0;
avZip = 1;
avArc = 2;
avL... |
(* И) Напишите булеву функцию, определяющую, можно ли из букв первого
слова составить второе (например, "клавиша" и "вилка" - TRUE). Учитывается
только набор букв, а не их количество. Подсказка: примените множества. *)
type tSet = set of char;
procedure MakeSet(const aStr : string; var aSet : tSet);
var i : word;
be... |
unit xxHash32;
{$POINTERMATH ON}
{$IFDEF FPC}
{$mode delphi}
{$ENDIF}
interface
uses
{$IFDEF FPC}
SysUtils
{$ELSE}
System.SysUtils
{$ENDIF};
type
IIxxHash32 = interface
['{E3747A4F-7C89-4643-BF4C-EAE1F6E0DA48}']
procedure Init(seed: LongWord = 0);
function Update(const input; len: Integer): Bo... |
// Copyright 2014 Asbjørn Heid
//
// 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 or ... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [CONTABIL_LANCAMENTO_ORCADO]
The MIT ... |
unit Zahl;
interface
uses VE, Kreis, zeitgeber, funktionen, Zeichnen, wall,
graphics, SysUtils;
type
Tvalue = funktionen.Tvalue;
TZahl = class(Tcircle)
public
value : Tvalue;
v, lastpos : Tvector;
t0 : Tzeit;
zeitgeber : Tzeitgeber;
constructor create(x, y, ... |
{-----------------------------------------------------------------------------
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.... |
{
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Free S... |
{
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 TextEditor.Search;
interface
uses
System.Classes, Vcl.Controls, TextEditor.Search.Highlighter, TextEditor.Search.InSelection, TextEditor.Search.Map,
TextEditor.Types;
const
TEXTEDITOR_SEARCH_OPTIONS = [soHighlightResults, soSearchOnTyping, soBeepIfStringNotFound, soShowSearchMatchNotFound];
type
TText... |
unit dmuRelatorio;
interface
uses
System.SysUtils, System.Classes, dmuBasico, dmuPrincipal, Data.DB,
Datasnap.DBClient, uClientDataSet;
type
TdmRelatorio = class(TdmBasico)
cdsSaldo_Rubrica: TRFClientDataSet;
cdsSaldo_RubricaID_RUBRICA: TIntegerField;
cdsSaldo_RubricaID_PROJETO: TIntegerField;
... |
Unit FHIRServerUtilities;
{
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 sourc... |
unit RichEditW;
interface
uses
Windows, Messages, RichEdit, AvL;
type
TRichEditW = class(TWinControl)
private
RichEditDLL: THandle;
FBkColor: Integer;
procedure SetBkColor(const Value: Integer);
public
constructor Create(AParent: TWinControl; Text: string; WordWrap: Boolean = fa... |
unit FrameModel;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, PMBuild;
type
TModelFrame=class(TFrame)
GroupModel: TGroupBox;
ModelShowAll: TButton;
ModelHideAll: TButton;
function Fill(Obj: TObject): Boolean;
pro... |
unit rt_types;
{
**************************************************************************
**************************************************************************
**************************************************************************
********************* * ***** *** *** * **** **************... |
{$include kode.inc}
unit fx_moddelay;
//----------------------------------------------------------------------
interface
//----------------------------------------------------------------------
uses
kode_plugin,
kode_types;
const
MAXDELAY = 65536;
type
myPlugin = class(KPlugin)
private
BUFFER : array... |
unit RGStrFuncs;
{***************************************************************************}
{* *}
{* An ever-expanding magical set of string functions. *}
{* ... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [DAV_DETALHE]
The MIT License ... |
Program program_quicksort;
var
tab : Array[1..10] of Integer;
Procedure printTab(i, endd : Integer);
var
it : Integer;
begin
for it := i to endd do
begin
Write(tab[it], ', ')
end;
WriteLn();
end;
Procedure swap(index1, index2... |
unit IMP_SysUtils;
interface
uses
Windows,
SysConst,
SysUtils,
Variants,
BASE_SYS,
BASE_EXTERN,
PaxScripter;
procedure RegisterIMP_SysUtils;
implementation
function TLanguages__GetCount(Self:TLanguages):Integer;
begin
result := Self.Count;
end;
function TLanguages__GetName(Self:TLanguages;Index: Integer... |
unit ConsoleViewHandler;
interface
uses AppController, Orders;
type
TConsoleViewHandler = class(TInterfacedObject, IViewHandler)
function CreateMainView(Model: TOrders; Controller: TAppController): IView;
procedure InitGUI(mainView: IView);
function YesNo(const AQuestion: string): Boolean;
... |
unit UClientSuper;
interface
uses UxlClasses, UPageSuper, UPageFactory, UxlDragControl, UTypeDef, UxlWinControl, UxlExtClasses;
type
TClientSuper = class (TxlInterfacedObject, IPageObserver, ICommandExecutor)
private
FActive: boolean;
FOnDropItems: TDropPageEvent;
procedure SetActive (valu... |
unit DateFun ;
interface
Uses
SysUtils, Windows ;
Function Date_EOM( Dt : TDateTime ): TDateTime; Export;
Function Date_BOM( Dt : TDateTime ): TDateTime; Export;
Function Date_BOW( Dt : TDateTime ): TDateTime; Export;
Function Date_EOW( Dt : TDateTime ): TDateTime; Export;
Function Date_GetProDiaUtil ( Dt : TDa... |
unit UAsterisk;
interface
uses SIPActiveXLib_TLB, Classes, SysUtils, StrUtils, Graphics, Dialogs, ShellAPI,
Forms, Windows, Comctrls, Variants, Controls, ADODB, Extctrls, iniFiles;
//TIPOS DE DADOS
type
TVolume = integer;
type
TTiposRamalStatus = (rsLivre, rsDiscando, rsRecebendo, rsChamando, rsEmLinha, rsT... |
unit uGnTestUtils;
interface
uses
Forms,
Windows,
Generics.Collections,
TestFramework,
SysUtils,
uGnGenerics,
uGnEnumerator,
uGnGeneral,
uGnStrConst;
type
TProc = procedure of object;
TTestCaseHelper = class helper for TTestCase
strict private
class var CheckFileShowMerge: Boolean;
... |
unit aggraph;
INTERFACE
uses intuition,exec,agraphics,diskfont,layers;
type
FillPatternType = array[0..7,0..7] of integer;
const
Black = 0;
Blue = 1;
Green = 2;
Cyan = 3;
Red = 4;
Magenta = 5;
Brown = 6;
L... |
unit sCurrencyEdit;
{$I sDefs.inc}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, acntUtils, sCurrEdit, ComCtrls,
ToolWin, ExtCtrls, sConst;
Type
TsCurrencyEdit = class(TsCustomNumEdit)
{$IFNDEF NOTFORHELP}
public
constructor Create(AOwner:TComponent)... |
{+-----------------------------------------------------------------------------+
| Class: TizIniSyn
| Created: 1999-11-02
| Last change: 1999-11-07
| Author: Igor P. Zenkov
| Description: INI Files Syntax Highliter
|
| Version: 0.4 (for version history see version.rtf)
| Copyright: ... |
unit untControllerExercicio2;
interface
uses
untDAOExercicio2, untFuncionario, untDependente, Vcl.Dialogs, System.SysUtils;
type
TControllerExercicio2 = class
private
FDAOExercicio2: TDAOExercicio2;
function fcValidarInformacoesFuncionario(const pFuncionario: TFuncionario): Boolean;
function fcVal... |
unit main;
interface
uses
System.SysUtils, System.Classes, System.Types, System.IOUtils, Windows;
var
ZT_PatchFile :string;
ZT_DestFile: string [12];
buf:Tbytes;
offset,nextpos,startpos:DWORD;
ZT_PatchNumbers:WORD;
ZT_PatchDataLength:byte;
ZT_PatchData:Tbytes;
fp,fd:TFileStream;
cmd:string;
proc... |
{
Copyright (c) 2018, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
unit RGBHexadecimal_test;
interface
uses
SysUtils,
Graphics,
RGB, RGBHexadecimal,
{$IFDEF FPC}
fpcunit, testregistry
{$ELSE}
TestFramework
{$ENDIF};
type... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Objects;
type
TForm1 = class(TForm)
Image1: TImage;
Image2: TImage;
btnLoadLeft: T... |
// ----------------------------------------------------------------------------
// Unit : PxSocketStream - a part of PxLib
// Author : Matthias Hryniszak
// Date : 2004-12-22
// Version : 1.0
// Description : Definition of specialized stream to handle socket reads and
// write... |
program Array_to_Function;
const
size = 5;
type
a = array [1..size] of integer;
var
balance : a = (1000, 2, 3, 17, 50);
average: real;
function avg(var arr: a) : real;
var
i : 1..size;
sum: integer;
begin
sum := 0;
for i := 1 to size do
sum := sum + arr[i];
avg := sum / s... |
unit Download;
interface
uses
ComCtrls, Windows, WinInet, Classes, SysUtils;
type
TOnProgressEvent = procedure(Sender: TObject; TotalSize, Readed: Integer) of object;
TOnDownloadedEvent = procedure(Sender: TObject) of object;
TOnErrorEvent = procedure(Sender: TObject; Error: String) of object;
TOnChangeSt... |
unit name;
interface
uses
Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons;
type
TNameDlg = class(TForm)
Label1: TLabel;
NameEdt: TEdit;
OKBtn: TButton;
CancelBtn: TButton;
Textmode: TCheckBox;
procedure CancelBtnClick(Sender: TObject);
proced... |
{ Arquivo criado automaticamente Gerador Multicamadas
(Multitiers Generator VERSÃO 0.01)
Data e Hora: 11/10/2016 - 23:02:06
}
unit Marvin.AulaMulticamada.Excecoes.TipoCliente;
interface
uses
SysUtils,
{ marvin }
uMRVExcecoesFramework;
type
EMRVExcecoesTipoCliente = class(EMRVException)
end;
EMR... |
{
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Free S... |
unit uBaseModule;
interface
uses GnuGettext, Classes, ExtCtrls, StdCtrls, Buttons, SysUtils, uTools, uServices;
type
tBaseModule = class
public
bbService: TBitBtn;
pStatus: tPanel;
lPID: tLabel;
lPort: tLabel;
bStartStop: tBitBtn;
bAdmin: TBitBtn;
AutoStart: boolean;
oldIsRunning... |
// 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 Game.Model;
interface
Uses
Game.Interfaces
;
type
TGameDataObject = class( TInterfacedObject, IGameDataObject )
strict private
function AsObject: TObject;
function ToJSON: string;
end;
TUserData = class( TGameDataObject, IUserData )
private
fDeleted: boolean;
fUserID: string;
... |
unit TextConverter.View.Main;
interface
uses
Winapi.Windows, Vcl.Forms, Vcl.ExtCtrls, Vcl.StdCtrls, System.Classes, Vcl.Controls,
TextConverter.Model.Factory,
TextConverter.Model.Interfaces;
type
TForm1 = class(TForm)
TextoOriginalMemo: TMemo;
OpcoesRadioGroup: TRadioGroup;
TextoOriginalLabel: TL... |
unit UClusterSearch;
interface
type
TCluster= record
sx,sy,ex,ey : Extended;
Elements : array of Integer;
end;
InElementFunc = function (x,y:Extended; E:integer): boolean of object;
TClusters = array of TCluster;
function ClusterSearch(const Clusters: TClusters; x,y:Extended; InElement:... |
{----------------------------------------------------------------------
DEVIUM Content Management System
Copyright (C) 2004 by DEIV Development Team.
http://www.deiv.com/
$Header: /devium/Devium\040CMS\0402/Source/Common/SettingsIntf.pas,v 1.2 2004/04/07 10:33:59 paladin Exp $
-------------------... |
unit CameraControl;
{******************************************************************************}
{ }
{ CameraControl }
{ ... |
unit untUTM;
interface
uses
System.SysUtils, System.StrUtils, System.Classes,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, IdURI;
procedure Init;
procedure GetUtmDates(AUrl: string; var ARSADate: TDate; var AGOSTDate: TDate);
implementation
procedure Init;
begin
// Me... |
unit Model.TipoOcorrenciaJornal;
interface
type
TTipoOcorrenciaJornal = class
private
FCodigo: Integer;
FDescricao: String;
public
property Codigo: Integer read FCodigo write FCodigo;
property Descricao: String read FDescricao write FDescricao;
constructor Create; overload;
... |
{ *********************************************************************
*
* Autor: Efimov A.A.
* E-mail: infocean@gmail.com
* GitHub: https://github.com/AndrewEfimov
* Description: Getting information about connecting.
* Requirements: You need permission "ACCESS_NETWORK_STATE" in the manifest.
* Platform:... |
unit View.TestPrintInvoice;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
Model.ProSu.Interfaces, Model.ProSu.Provider;
type
TTestPrintInvoiceForm = class(TForm)
... |
program multi_choice_utility;
var x, a, b, c: integer;
choice: string;
begin
writeln('a) e^x');
writeln('b) is a, b, c a triangle');
writeln('c) x divisible by 5 or 9');
write('Enter your choice: ');
readln(choice);
case choice of
'a': begin
write('Enter x: ');
... |
unit StratClientSubdivisionEditFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, SubdivisionTable, Ex_Grid, ComCtrls, Menus, ActnList, ImgList,
ToolWin, BaseTable, SubdivisionComponent;
type
TfrmSubdivisionEditFrame = class(TFrame)
grdSubdivisionTa... |
unit bigmemallochandler;
{$MODE Delphi}
{
This unit will provide a class (TBigMemoryAllocHandler) that will allocate more
memory than it actually needs and just returns pointers to buffers. No tracking
of individual memory allocs, so no data loss for allocating small chunks of memory
}
interface
uses ... |
(*======================================================================*
| cmpExSplitter |
| |
| Splitters with 'minimize' arrows. |
| ... |
unit MyStrUtils;
interface
uses
SysUtils, StrUtils, Variants, Classes;
function StrZero(numero, tamanho: integer): string;
function IsEmpty(value: string): Boolean;
function IfEmpty(value, search: string): string;
function SomenteNumeros(valor: string):string;
function iif(expressao: Boolean; valorVerda... |
unit stringHelpers;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
function StringListFromStrings(const Strings: array of string): TStringList;
implementation
function StringListFromStrings(const Strings: array of string): TStringList;
var
i: Integer;
begin
Result := TStringList.Create;
for i := lo... |
unit ucCONST;
interface
const
//Sistema
BAN_SIS = 'BanSis'; //Banco de dados
TIP_BAN = 'TipSis'; //Tipo de Banco de dados
USU_BAN = 'UsuSis'; //Usuario de Banco de dados
SEN_BAN = 'SenSis'; //Senha de Banco de dados
CLR_SIS = 'ClrSis'; //Cor controle
APA_SIS = 'ApaSis'; //Aparencia
PRT_SIS = 'PrtSi... |
unit VehicleConfig;
interface
uses
Contnrs, SimpleXML;
type
TVehicleConfig = class
private
FId: Integer;
FCapacity: Integer;
public
property Id: Integer read FId;
property Capacity: Integer read FCapacity;
constructor Create(Id: Integer; node: IXmlNode);
end;
TVehic... |
unit Picture;
{
********************************************************************************
******* XLSReadWriteII V1.14 *******
******* *******
******* Copyright(C) 1999,2002 Lars Arvidsson, Axolot ... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [FISCAL_PARAMETRO]
The MIT License ... |
unit MainFrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
Vcl.Samples.Spin, MedModelConst;
type
TMainForm = class(TForm)
meMsg: TMemo;
meParse: TMemo;
btnMSH: TBut... |
unit model.Usuario;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants;
type
TUsuario = class(TObject)
strict private
aId : TGUID;
aCodigo ,
aNome ,
aEmail ,
aSenha ,
aObservacao : String;
aPrestador ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.