text stringlengths 14 6.51M |
|---|
// parses Delphi code into a token collection
// Original Author: Egbert van Nes (http://www.dow.wau.nl/aew/People/Egbert_van_Nes.html)
// Contributors: Thomas Mueller (http://www.dummzeuch.de)
// Jens Borrisholt (Jens@borrisholt.dk) - Cleaning up the code, and making it aware of seve... |
unit rxDateRangeEditUnit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, types, Controls, Buttons, StdCtrls, Spin;
type
TRxDateRangeEditOption = (reoMonth, reoQuarter, reoHalfYear);
TRxDateRangeEditOptions = set of TRxDateRangeEditOption;
type
{ TRxCustomDateRangeEdit }
TRxCustomDateRangeEdit = ... |
unit chart;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
VCLTee.TeEngine, VCLTee.Series, Vcl.ExtCtrls, VCLTee.TeeProcs, VCLTee.chart, VCLTee.DBChart,
VCLTee.TeeSpline, DateUtils;
type
TArr... |
unit ICDrecord;
interface
type TICDRecord = class
private
FId: integer;
FCodeICD10: string;
FFrDescription: string;
FNlDescription: string;
published
property id: integer read FId write FId;
property codeICD10: string read FCodeICD10 write FCodeICD10;
property frDescription: string rea... |
unit USQLScripts;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, System.StrUtils, System.Generics.Collections, UModel;
type
TSQLScripts = class
private
{ Private declarations }
class function BoolToStr(bool: boolean): string;
class function GetInse... |
unit debug;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, SHFolder;
function GetCurrentFolderPath(): string;
procedure Print(Text : String; ClearFile: Boolean);
procedure Print(Text: String);
Procedure Print(Point: TPoint);
procedure Print(text: String; aRect: tRect);
procedure Prin... |
unit uFlashMemo;
interface
uses
cTranspMemo, uFormData, uFlashRect, Classes,
ExtCtrls, Messages, Controls;
type
TFlashMemo = class(TTransparentMemo)
private
FData: TPageData;
FShowNormalText: Boolean;
FOnMoved: TNotifyEvent;
procedure SetData(const Value: TPageData);
proced... |
unit fSoundEffectEditor;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids, ValEdit, cMegaROM, cConfiguration;
type
TfrmSoundEffectEditor = class(TForm)
vleSoundEffects: TValueListEditor;
cmdOK: TButton;
cmdCancel: TButton;
proced... |
unit Thermostat.EnabledState;
interface
uses
Thermostat.Classes;
type
TEnabledThermostatState = class(TThermostatState)
public
procedure Init; override;
procedure Finish; override;
procedure Execute; override;
end;
implementation
uses
Thermostat.HeatingState,
Thermostat.NotHeatingState,
T... |
program primoesercizio;
const
DMAX=25;
type
Tpunt=^Telemento;
Tinfo=char;
Telemento=record
info:Tinfo;
next:Tpunt;
end;
Tparola=String[DMAX];
var
PCoda:Tpunt;
procedure fill(var Pcoda:Tpunt);
var
parola:Tparola;
PAtt:Tpunt;
i:inte... |
unit IdIOHandlerWebsocket;
//The WebSocket Protocol, RFC 6455
//http://datatracker.ietf.org/doc/rfc6455/?include_text=1
interface
uses
Classes,
IdIOHandlerStack, IdGlobal, IdException, IdBuffer, SyncObjs;
type
TWSDataType = (wdtText, wdtBinary);
TWSDataCode = (wdcNone, wdcContinuation... |
unit ConsCheNeo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Cons07, JvAppStorage, JvAppIniStorage,
JvComponentBase, JvFormPlacement, wwfltdlg, Menus, Buttons,
Grids, ExtCtrls, ComCtrls, StdCtrls, Mask,
DBCtrls, ActnList, JvBaseDlg, JvProgressDialog, Pr... |
unit qsound;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
timer_engine,sound_engine;
const
QSOUND_CLOCKDIV=166; // Clock divider
QSOUND_CHANNELS=16-1;
type
QSOUND_CHANNEL_def=record
bank, // bank (x16)
address, // start address
pitch, // pitch
reg3, // unknown (always 0x8000)
... |
unit WeatherTypeControl;
interface
uses
TypeControl;
const
_WEATHER_UNKNOWN_: LongInt = -1;
WEATHER_CLEAR : LongInt = 0;
WEATHER_CLOUD : LongInt = 1;
WEATHER_RAIN : LongInt = 2;
_WEATHER_COUNT_ : LongInt = 3;
type
TWeatherType = LongInt;
TWeatherTypeArray = TLongIntArray;
... |
unit V8AddIn;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, CTypes, Variants, LCLProc, contnrs;
type
TAppCapabilities = (
eAppCapabilitiesInvalid = -1,
eAppCapabilities1 = 1);
TAppType = (
eAppUnknown = -1,
eAppThinClient = 0,
eAppThickClient,
eAppWebClient... |
program lil;
{$MODE OBJFPC}{$H+}
uses SysUtils, fplil;
var
Running: Boolean = True;
function FncWriteChar(LIL: TLIL; Args: TLILFunctionProcArgs): TLILValue;
begin
if Length(Args)=0 then exit(nil);
Write(Chr(Args[0].IntegerValue));
Result:=nil;
end;
function FncReadLine(LIL: TLIL; Args: TLILFuncti... |
unit TTSNOTETable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSNOTERecord = record
PLenderNumber: String[4];
PTrackCode: String[8];
PNoticeStage: String[1];
PModCount: Integer;
PLapse: Integer;
PStdLtr: String[1];
PTitle: String[25... |
unit SDBFile;
{
Autor: Ulrich Hornung
Datum: 14.7.2007
1. Make a construtor Create, where you set the FHeaderSize and the FItemSize
}
interface
uses
Classes, SysUtils;
type
ESimpleDBStreamNROutOfRange = Exception;
TSimpleDBStream = class
private
FStream: TStream;
protected
... |
unit l3SysUtils;
{ Библиотека "L3 (Low Level Library)" }
{ Автор: Люлин А.В. © }
{ Модуль: l3SysUtils - }
{ Начат: 27.05.2005 14:22 }
{ $Id: l3SysUtils.pas,v 1.11 2015/12/11 21:19:47 lulin Exp $ }
// $Log: l3SysUtils.pas,v $
// Revision 1.11 2015/12/11 21:19:47 lulin
// - ... |
{ *************************************************************************** }
{ }
{ }
{ Copyright (C) Amarildo Lacerda }
{ }
{ https://github.com/amarildolacerda }
{ }
{ }
{ *************************************************************************** }
{ }
{ Licensed under the Apache License, Version 2.0 (the "License... |
unit clEnvioEMail;
interface
uses IdSMTP, IdMessage, IdText, IdAttachmentFile, IdSSLOpenSSL,
IdExplicitTLSClientServerBase, IdIOHandler, SysUtils, Classes,
dialogs;
type
TEnviarEmail = class(TObject)
private
protected
{ protected declarations }
public
{ public declarations }
function EnviarE... |
unit Controller.Observer.Interfaces;
interface
type
TRecordItem = record
Descricao : String;
Quantidade : Currency;
Valor : Currency;
end;
iObserverItem = interface
['{654CF77E-EAE2-46D0-A0E2-A92CD9A0A7A9}']
function UpdateItem(Value : TRecordItem) : iObserverItem;
end;
iSubjectItem =... |
PROGRAM SortMonth_b(INPUT, OUTPUT);
{Программа сравнивает введённые значения месяцев}
USES DateIO; {ReadMonth, WriteMonth}
VAR
F1: TEXT;
MonthNameFirst, MonthNameSecond: Month;
BEGIN {SortMonth}
Copy(INPUT, F1);
ReadMonth(F1, MonthNameFirst);
ReadMonth(F1, MonthNameSecond);
IF (MonthNameFirst = NoMonth) O... |
unit DepWindow;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls;
type
TDependencyWindow = class(TForm)
DepLines: TMemo;
Panel1: TPanel;
CloseBtn: TButton;
private
procedure SetLines(theLines : TStringList);
public
property Line... |
unit RegisterAccountUnit;
interface
uses SysUtils, BaseExampleUnit, EnumsUnit;
type
TRegisterAccount = class(TBaseExample)
public
procedure Execute(Plan, Industry, FirstName, LastName, Email: String;
Terms: boolean; DeviceType: TDeviceType;
Password, PasswordConfirmation: String);
end;
implem... |
unit nscReminder;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Nemesis"
// Модуль: "w:/common/components/gui/Garant/Nemesis/nscReminder.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root element: <<GuiC... |
unit Unit_Editors;
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.ComCtrls,
VCLTee.Control, VCLTee.Grid, Tee.Grid.Columns;
type
TFormCellEditors = class(TForm)
TeeGrid... |
unit Types;
uses System;
type
///Ключевой объект
KSCObject = abstract class
public const TypeName = 'object';
private _name: string;
public function GetName: string := _name;
public property Name: string read GetName;
public constructor (name: string);
... |
End of preview. Expand in Data Studio
- Downloads last month
- 9