text
stringlengths
14
6.51M
unit cmdlinelclutils; interface uses Controls, SysUtils, StdCtrls, Classes, cmdlinecfg; var ADirsDialogs : function (var path: string): Boolean = nil; AFilesDialogs : function (var path: string): Boolean = nil; procedure CreateComboBoxWithLabel(opt: TCmdLineCfgOption; AOwner: TWinControl; var combo: TComboBox; ...
UNIT bintree; INTERFACE USES deftypes; PROCEDURE MkTreeNode(w : String; VAR t : Tree); PROCEDURE InsertNode(n : Tree; VAR t : Tree); FUNCTION TreeHeight(VAR rt : Tree) : Integer; PROCEDURE PrintTree(indent : String; l : Integer; t : Tree); IMPLEMENTATION PROCEDURE MkTreeNode(w : String; VAR t : Tree); VAR pp : Tre...
unit JSONNullableMarshalConverterUnit; interface uses System.JSON, REST.JsonReflect, System.RTTI, SysUtils, System.Generics.Collections; type TJSONNullableConverter = class(TJSONConverter) private FRemovedPairs: TObjectList<TObject>; procedure RemoveNullableFields(Root: TJSONAncestor); procedure...
unit DW.PermissionsTypes {$IF CompilerVersion > 32} deprecated 'use System.Permissions'{$ENDIF}; {*******************************************************} { } { Kastri Free } { ...
unit uEnemy; interface type TBaseEnemy = class(TObject) private FY: Byte; FX: Byte; FID: Byte; procedure SetX(const Value: Byte); procedure SetY(const Value: Byte); procedure SetID(const Value: Byte); public constructor Create; destructor Destroy; override; pr...
unit QueryCardKeywordsPack; {* Набор слов словаря для доступа к экземплярам контролов формы QueryCard } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Search\Forms\QueryCardKeywordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "QueryCardKeywordsPack" MUID: (4AA9393C0164_Pack) {$Inclu...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TForm1 = class(TForm) Button1: TButton; Image1: TImage; PaintBox1: TPaintBox; procedure Button1Click(Sender: TObject); procedure FormCreate(Sender: TObject...
const inputFileName = 'input.txt'; const outputFileName = 'output.txt'; const generatedArraySize = 100; const separatorsArraySize = 2; type stringArrayType = array [1..generatedArraySize] of string; type separatorsType = array [1..separatorsArraySize] of string; type integerArrayType = array [1..generatedArr...
unit MailConsts; interface // Text constants const tidAccount_File = 'account.ini'; tidMessage_Header = 'msg.header'; tidMessage_Body = 'msg.body'; tidAttchment_Mask = 'attach*.ini'; const tidGeneral = 'General'; tidAlias = 'Alias'; tidForward = 'Forward'; tidAddress = 'A...
unit TransportHandler; interface uses VoyagerInterfaces, VoyagerServerInterfaces, Controls, ActorPool, Vehicles, StateEngine, ExtCtrls, ActorTypes, Automaton, Collection, ClientTrain; type TTransportHandler = class( TInterfacedObject, IMetaURLHandler, IURLHandler, IVehicleArray ) public...
unit uKeyField; interface type KeyField = class(TCustomAttribute) private FName: String; public property Name: String read FName write FName; constructor Create(aName: String); end; type FieldName = class(TCustomAttribute) private FName: String; public property Name: String read FNa...
unit TestMarshalAddressBookContactUnit; interface uses TestFramework, SysUtils, TestBaseJsonMarshalUnit; type TTestMarshalAddressBookContact = class(TTestBaseJsonMarshal) published procedure DefaultAddressBookContact(); procedure FullAddressBookContact(); end; implementation { TTestAddressBookCon...
unit ZMXcpt19; (* ZMXcpt19.pas - Exception class for ZipMaster Copyright (C) 2009, 2010 by Russell J. Peters, Roger Aelbrecht, Eric W. Engler and Chris Vleghert. This file is part of TZipMaster Version 1.9. TZipMaster is free software: you can redistribute it and/or modify it under th...
unit mivSettings; interface uses IniFiles; type TmivSettings = class(TObject) private f_Login: AnsiString; f_Data: AnsiString; f_FirstMenuItemURL: String; f_SecondMenuItemURL: String; procedure pm_SetData(const Value: AnsiString); procedure pm_SetFirstMenuItemURL(const Value: String); procedure pm_S...
{ TATIniFile is a helper class that: - Inherits from TMemIniFile (recommended) or TIniFile - When inherits from TMemIniFile, it removes double-quotes from strings on reading - Should NOT be used for saving TATIniFileSave is another helper class that: - Should be used for saving - Writes strings with double-quotes...
PROGRAM TreeSort(INPUT, OUTPUT); { Программа сортирует данные с помощью BinTree } TYPE Tree = ^Node; Node = RECORD Key: CHAR; Left, Right: Tree; END; VAR Root: Tree; Ch: CHAR; BEGIN { TreeSort } Root := NIL; NEW(Root); IF NOT EOLN THEN READ(Ch); Root^.Key := Ch; ...
//****************************************************************************** //*** Cactus Jukebox *** //*** *** //*** (c) Massimo Magnano 2002-2009 ...
unit udmItensCartaCorrecao; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS; type TdmItensCartaCorrecao = class(TdmPadrao) qryLocalizacaoFIL_CARTA: TStringField; qryLocalizacaoNRO_CARTA: TIntegerField; qryLocaliz...
unit InventionSets; interface const BitCount = 8; type Bits = 0..BitCount-1; TBitSet = set of Bits; PInventionIdArray = ^TInventionIdArray; TInventionIdArray = array[0..$FFFF div BitCount] of TBitSet; TInventionNumId = integer; TInventionSet = class ...
(* * Copyright (c) 2010-2020, Alexandru Ciobanu (alex+git@ciobanu.org) * 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 * ...
unit uProtocolo; interface uses System.Classes, System.SysUtils, Synautil; type EProtocoloError = class(Exception); TOperacaoProtocolo = (opIncluir = 1, opAlterar, opExcluir, opListar); TProtocoloRequisicao = class private FOperacao: TOperacaoProtocolo; FModel: string; FMensagem: string; publi...
unit Langs; interface uses Windows, SysUtils, Graphics, Classes; type TLanguage = 0..$FFFF; TLangOption = (loLocalized, loEnglish, loNative, loAbbrev); function LanguageName(Language: TLanguage): String; function CharSetFromLocale(Language: TLanguage): TFontCharSet; function CodePageFromLocale(Language: TLan...
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: François PIETTE Description: Multi-threaded socket server component derived from TWSocketServer Based on code written by Arno Garrels, Berlin, Germany, contact: <arno.garrels@gmx.de> Creation: ...
{ @abstract(This unit contains advanced graphic functions used by KControls suite.) @author(Tomas Krysl (tk@tkweb.eu)) @created(5 May 2004) @lastmod(20 Jun 2010) Copyright © 2004 Tomas Krysl (tk@@tkweb.eu)<BR><BR> <B>License:</B><BR> This code is distributed as a freeware. You are free to use it as part ...
unit BufferListForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TBufferListFrm = class(TForm) BufferListBox: TListBox; OKButton: TButton; CancelButton: TButton; procedure BufferListBoxDblClick(Sender: TObject); procedure FormClose...
unit FCM_Unit; interface uses IdHTTP, IdGlobal, IdMultipartFormData, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL, XSuperObject, System.Classes, System.SysUtils, System.DateUtils; type TFCM = class(TThread) private { Private declarations } public HTTPClient: TIdHTT...
unit MFichas.Model.Caixa.Metodos.Interfaces; interface uses MFichas.Model.Caixa.Interfaces; type iModelCaixaMetodosFactory = interface ['{430FF626-FC73-4CEE-BA4F-E98DEF26218B}'] function CaixaMetodoAbrir(AParent: iModelCaixa) : iModelCaixaMetodosAbrir; function CaixaMetodoFechar(AParent: iModelCa...
unit FDirectory; interface uses SysUtils,FStrUtiles,EntSal,Classes; type IDirectory = interface end; TFile = class(Tobject) private AName:String; AFullName:String; AExtension:String; ASize:Integer; AIsHidden:Boolean; AIsSystemFile:Boolean; AIsReadOnly:Boolean; AExists:Boole...
unit LocationSearchUnit; interface uses SysUtils, BaseExampleUnit; type TLocationSearch = class(TBaseExample) public procedure Execute(Query: String; Fields: TArray<String>); end; implementation uses AddressBookContactUnit, CommonTypesUnit; procedure TLocationSearch.Execute(Query: String; Fields: T...
unit uUniSqlService; interface uses SysUtils, Classes, Uni, Db, uServices, UniScript; type TMetadataLocateProc = function (Sender: TUniMetaData; AParams: array of Variant): Boolean; TAssignParamsProc = procedure (Sender: TUniParams; AParams: array of Variant); TUniSqlService = class(TInterfacedObject, ISqlS...
unit BalanceService; interface uses JunoApi4Delphi.Interfaces, REST.Types; type TBalanceService = class(TInterfacedObject, iBalanceService) private FParent : iJunoApi4DelphiConig; FAuth : iAuthorizationService; public constructor Create(Parent : iJunoApi4DelphiConig; AuthSe...
unit uBaseConh; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uBaseCadastro, Data.DB, Vcl.StdCtrls, Vcl.Buttons, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls, Vcl.ComCtrls, uDMBaseConh, uBaseConhController, Vcl.Mas...
unit CheckMem; interface implementation uses SysUtils; const FName = 'LostMem.txt'; var HPs, HPe: THeapStatus; Lost: Integer; Report : Text; initialization HPs := GetHeapStatus; finalization HPe := GetHeapStatus; Lost := HPe.TotalAllocated - HPs.TotalAllocated; DeleteFile...
unit FindUnit.StringPositionList; interface uses FindUnit.Header, Generics.Collections, Classes; type TStringPositionList = class(TList<TStringPosition>) private FDuplicates: TDuplicates; function IsDuplicated(Item: TStringPosition): Boolean; public function Add(const Value: TStringPosition): Int...
unit uFuncoesServidor; interface uses System.SysUtils, System.Generics.Collections; type TFuncoes = class public class function EmailExisteNaLista(Email: string; Lista: TList<string>): Boolean; class function RetornaListaEmail(Lista: TList<string>): string; class function SomenteNumeros(Texto: stri...
// // opus_custom.h header binding for the Free Pascal Compiler aka FPC // // Binaries and demos available at http://www.djmaster.com/ // (* Copyright (c) 2007-2008 CSIRO Copyright (c) 2007-2009 Xiph.Org Foundation Copyright (c) 2008-2012 Gregory Maxwell Written by Jean-Marc Valin and Gregory Maxwell *) (* ...
unit FilePreviewErrorResponseUnit; interface uses REST.Json.Types, SysUtils, JSONNullableAttributeUnit, CommonTypesUnit; type /// <summary> /// Errors data-structure /// </summary> TFilePreviewErrorResponse = class private [JSONName('status')] FStatus: boolean; [JSONName('errors')] ...
unit trade; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, JvExControls, JvFormWallpaper; type Tf_trade = class(TForm) e_your: TEdit; wallpaper: TJvFormWallpaper; Label1: TLabel; e_your_cash: TEdit; Label2: TLabel; ...
unit uUtils; interface uses System.JSON, Soap.XSBuiltIns, System.SysUtils, System.Classes, System.IOUtils, IdTCPClient, IdHTTP, REST.Client; /// <summary> /// Проверка JSON на Null & empty /// </summary> function ValidateJSONObject(AJsonValue : TJsonValue; var tempJson : TJSONObject) : ...
unit rainbowislands_hw; //{$DEFINE MCU=1} interface uses {$IFDEF WINDOWS}windows,{$ENDIF} m68000,main_engine,controls_engine,gfx_engine,ym_2151, taitosnd,rom_engine,pal_engine,sound_engine{$IFDEF MCU},taito_cchip{$ELSE IF},rainbow_cchip{$ENDIF}; function iniciar_rainbow:boolean; implementation const ...
unit UInterface; // Fully annotated interface type TCoord = record x: integer; y: integer; end; TRoute = Array of TCoord; TwoDArray = Array of Array of integer; OneDArray = Array of integer; procedure ReturnItemsToFind(x, y, LastIndex: integer; var ItemsToFind: TwoDArray; var ...
unit RegistryData; interface uses Classes, SysUtils; // GetClassPath returns the path of the given Class function GetClassPath( Name : WideString ) : WideString; type ECacheRegistryError = class(Exception); implementation uses Windows, ActiveX, ComObj, Registry, CacheRegistryKeys, CacheObje...
unit YWDictionarys; interface uses classes, SysUtils, RTLConsts, Generics.Collections, Generics.Defaults; type TModDictionary<TKey,TValue,TItem> = class abstract(TEnumerable<TPair<TKey,TValue>>) private type TItemArray = array of TItem; var FItems: TItemArray; FCount: Integer; FComp...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserv...
unit DataBuf; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, db; type TDataBuf = class(Tcomponent) private { Private declarations } ptr : Pointer; function GetAsBoolean(index: integer): boolean; procedure SetAsBoolean(index: integer; const ...
unit nsParentedTagNode; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "f1DocumentTagsImplementation" // Автор: Люлин А.В. // Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/f1DocumentTagsImplementation/nsParentedTagNode.p...
{$IfNDef l3ThreadNotifier_imp} // Модуль: "w:\common\components\rtl\Garant\L3\NOT_FINISHED_l3ThreadNotifier.imp.pas" // Стереотип: "Impurity" // Элемент модели: "l3ThreadNotifier" MUID: (48FD8E460027) // Имя типа: "_l3ThreadNotifier_" {$Define l3ThreadNotifier_imp} type Rl3DataHolder = class of Tl3DataHolder; Tl3...
unit DAO.ItensManutencao; interface uses DAO.base, Model.ItensManutencao, Generics.Collections, System.Classes; type TItensManutencaoDAO = class(TDAO) public function Insert(aItens: Model.ItensManutencao.TItensManutencao): Boolean; function Update(aItens: Model.ItensManutencao.TItensManutencao)...
UNIT MATH; INTERFACE function Signe(x:real):integer; function Diraczero(x:integer):integer; function Puissance(x,y:real):real; function Puis_entiere(x,y:integer):longint; function Factorielle(n:word):word; IMPLEMENTATION {*******************************************************} FUNCTION SIGNE(x:real)...
unit AddRouteDestinationsOptimallyUnit; interface uses SysUtils, BaseOptimizationExampleUnit; type TAddRouteDestinationsOptimally = class(TBaseOptimizationExample) public function Execute(RouteId: String): TArray<integer>; end; implementation uses AddressUnit, CommonTypesUnit; function TAddRouteDestin...
unit LIB.Raytrace.Geometry; interface //#################################################################### ■ uses LUX, LUX.D1, LUX.D3, LUX.Matrix.L4, LUX.Raytrace, LUX.Raytrace.Geometry, LIB.Raytrace; type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】 //$$$$$$$$$$$...
(************************************************************************) unit utils; (*======================================================================*) interface (*======================================================================*) uses crt, dos; (*=======================================================...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
// // opus.h header binding for the Free Pascal Compiler aka FPC // // Binaries and demos available at http://www.djmaster.com/ // (* Copyright (c) 2010-2011 Xiph.Org Foundation, Skype Limited Written by Jean-Marc Valin and Koen Vos *) (* Redistribution and use in source and binary forms, with or without modi...
unit fmuPrintOperations; interface uses // VCL Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ComCtrls, ExtCtrls, // This untPages, untDriver, Spin; type { TfmPrintOperations } TfmPrintOperations = class(TPage) grpFeed: TGroupBox; lblStringQuantity...
unit streaming_class_lib; (* This unit makes work with Delphi streaming system much easier. TStreamingClass is defined which should be base class instead of TComponent, in case you want to easily save its contents to file/stream/string or load them back. It defines easiest child/parent relation needed...
unit NullableBasicTypesUnit; interface uses SysUtils, Math, Types; type NullableObject = record strict private FValue: TObject; FIsNull: boolean; function GetValue: TObject; public constructor Create(PValue: TObject); class operator Implicit(A: NullableObject...
unit Common; interface {$I defines.inc} uses Classes, Forms, Controls , Graphics,SysUtils, Windows, Variants, RxStrUtils, DB; type TShowFont = class(TControl) public property Font; end; var DebugMode:Boolean = true; // gServerName:String; // gSysDbaPassword:String; // gServerProtocol:integer; // g...
unit Unit1; 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; Button2: TButton; Memo1: TMemo; procedure Button1Click(Se...
{ Date Created: 5/25/00 5:01:02 PM } unit InfoDRFTCODETable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoDRFTCODERecord = record PCode: String[10]; PDescription: String[30]; PNextDraftNumber: String[6]; End; TInfoDRFTCODEBuffer = class(TData...
unit App; { Based on 006_cartoon_sun.cpp example from oglplus (http://oglplus.org/) } {$INCLUDE 'Sample.inc'} interface uses System.Classes, Neslib.Ooogles, Neslib.FastMath, Sample.App; type TCartoonSunApp = class(TApplication) private FProgram: TGLProgram; FVerts: TGLBuffer; FUniTime: TGLU...
unit TestUnmarshalAddressBookContactUnit; interface uses TestFramework, SysUtils, TestBaseJsonUnmarshalUnit, System.Generics.Collections, IAddressBookContactProviderUnit; type TTestUnmarshalAddressBookContact = class(TTestBaseJsonUnmarshal) private procedure CheckEquals(Etalon: IAddressBookContactPro...
unit constants; {$ifdef fpc} {$mode delphi} {$endif} interface uses Classes, Graphics; {******************************************************************* * Main data structures *******************************************************************} type { Base data structures for components } PTCElement = ...
unit uRelResumoMensal; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uModeloRel, DB, ZConnection, ACBrBase, ACBrEnterTab, frxClass, frxDBSet, ZAbstractRODataset, ZDataset, frxExportPDF, StdCtrls, Mask, JvExMask, JvToolEdit, ExtCtrls, JvExControls, JvNavigat...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clNntpFileHandler; interface {$I clVer.inc} {$IFDEF DELPHI6} {$WARN SYMBOL_PLATFORM OFF} {$ENDIF} {$IFDEF DELPHI7} {$WARN UNSAFE_CODE OFF} {$WARN UNSAFE_TYPE OFF} {$WARN UNSAFE_CAST OFF} ...
{*******************************************************} { } { Zlot programistów Delphi } { RTTI w Delph } { Sylwester Wojnar } { ...
unit ResearchCenter; interface uses Protocol, WorkCenterBlock, Kernel, Collection, Classes, CacheAgent, BackupInterfaces, Accounts, Inventions; type TCollection = Collection.TCollection; const tidURL_SpecialMailMessages = 'Visual/Voyager/Mail/SpecialMessages/'; tidMailMsgURL_NoMoneyRes =...
unit Resources; // Copyright (c) 1996 Jorge Romero Gomez, Merchise. interface uses Windows, Icons; // Module mapping: function LoadResourceModule( const FileName : string ) : HMODULE; procedure FreeResourceModule( ResourceModule : HMODULE ); // Icon resources type PGroupIconDirEntry = ^TGrou...
unit UPearsonHash; interface type TPearsonTable = array[Byte] of Byte; function PearsonHash(var T:TPearsonTable; const s:AnsiString):Byte; procedure InitPearsonTable(var T:TPearsonTable); procedure ShufflePearsonTable(var T:TPearsonTable); procedure TicklePearsonTable(var T:TPearsonTable); procedure Ti...
unit define_stockday_sina; interface uses Sysutils; type TDealDayDataHeadName_Sina = ( headNone, // 0 headDay, // 1 日期, headPrice_Open, // 7开盘价, headPrice_High, // 5最高价, headPrice_Close, // 4收盘价, headPrice_Low, // 6最低价, headDeal_Volume, // 12成交量, headDeal_Amount...
unit uConsultaCEP; { Objetivo: Consultar CEP atravez de webservice que retorne no browser um arquivo formato XML. Para utilizar basta seguir o exemplo abaixo: var CEP: TConsultaCEP; endereco: string; bairro: string; cidade: string; estado: string; begin CEP.Cep := 'xxxxx-xxx'; //pode ser passado tbm sem o ...
PROGRAM Pseudo(INPUT, OUTPUT); { Programm creates file of pseudo-symbols } TYPE SignsPlace = SET OF 1 .. 25; VAR PseudoLetter: SignsPlace; Letters: FILE OF SignsPlace; BEGIN {Pseudo} ASSIGN(Letters, 'Letters_EN_Bin.txt'); REWRITE(Letters); PseudoLetter := []; ...
unit functions; interface uses classes; function GetImageFiles(const directory: string): TStrings; function FindFiles(const directory, prefix, extension: string): TStringList; //Build222 function CombinePath(const path: string; const subPath: string): string; overload; function Minimum(const x, y: ...
unit GX_MacroLibraryNamePrompt; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, GX_BaseForm; type TfmMacroLibraryNamePrompt = class(TfmBaseForm) lblMacroName: TLabel; edtMacroName: TEdit; chkDoNotShowAgain: TCheckBox; btn...
unit FFSDataBackground; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, FFSTypes; type TFFSDataBackground = class(TPanel) private FFieldsColorScheme: TFieldsColorScheme; { Private declarations } procedure MsgFFSColorChange(var Msg: T...
unit UToolBarDemo; interface {$IFDEF IOS} {$DEFINE MOBILE} {$ENDIF} {$IFDEF ANDROID} {$DEFINE MOBILE} {$ENDIF} uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, Generics.Collections, FMX.TMSBitmapContainer, FMX.TM...
unit CCOW_const; interface const // Note: set the 'CCOW' suffix to the suffix this app should look for in the context. // Eg. Patient.ID.MRN.GeneralHospital, Patient.ID.MRN.VendorAppName, etc. // This string is used during startup (to check for an existing context), // during a commit event (to check the new ...
unit csIdIOHandlerAdapter; // Модуль: "w:\common\components\rtl\Garant\cs\csIdIOHandlerAdapter.pas" // Стереотип: "SimpleClass" // Элемент модели: "TcsIdIOHandlerAdapter" MUID: (538DB527006C) {$Include w:\common\components\rtl\Garant\cs\CsDefine.inc} interface {$If NOT Defined(Nemesis)} uses l3IntfUses , csIdIOHa...
unit apiSMS; { DEFINE TEST_SMS} interface uses SysUtils, Classes, DateUtils, Types, Windows, vcl.dialogs, httpsend, SynaUtil, DB, FIBQuery, pFIBQuery, System.Generics.Collections, JsonDataObjects; const // Константы для отправки SMS по SMTP API_URL: String = 'http://a4on.tv/sms/sms/'; type TCountry = (cR...
//Exercicio 32: Escreva um algoritmo que receba do usuário 4 números inteiros e, informe se há ou não um deles no //intervalo entre 1 e 25, outro de 26 a 50, outro de 51 a 75, e um último de 76 a 100. { Solução em Portugol. Algoritmo Exercicio 32; Var N1,N2,N3,N4: inteiro; Inicio exiba("Programa que diz se...
unit vcmToolbarMenuRes; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "VCM" // Автор: Люлин А.В. // Модуль: "w:/common/components/gui/Garant/VCM/implementation/vcmToolbarMenuRes.pas" // Начат: 10.03.2010 13:40 // Родные Delphi ...
unit EncForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TFormEncode = class(TForm) Memo1: TMemo; Memo2: TMemo; OpenDialog1: TOpenDialog; SaveDialog1: TSaveDialog; Panel1: TPanel; BtnLoadPlain: TButton; BtnSaveEn...
unit ConfFile; interface Uses Classes, SysUtils, SchObject; Type ESchFileError = class(ESchException); TSchConfFile = class( TSchObject ) private fValueList, fNameList : TStrings; fFile : String; function Ge...
unit uAreaAggegator; interface uses SysUtils, Classes, uShapes; type TAreaAggregator = class(TObject) public function SumArea(const aItems: array of IHasArea): Double; end; implementation { TAreaAggregator } function TAreaAggregator.SumArea(const aItems: array of IHasArea): Double; var ...
program a1test; (* This program contains 7 test cases to test your implementation. In order to run this program you must create file 'a1unit.pas' and compile it to the current directory, or to the C:/work directory. After compiling you should see a file named 'a1unit.tpu' on the disk. The program runs 7...
unit TraincarSprite; interface uses GameTypes, MapSprites, MapTypes, Vehicles, Sounds; type ITraincarSprite = interface(IMapSprite) function GetGroupId : integer; function GetSoundTarget : ISoundTarget; procedure SetSoundTarget(const SoundTarget : ISoundTarget); fu...
unit StatusBarUtils; // Модуль: "w:\common\components\gui\Garant\Nemesis\StatusBarUtils.pas" // Стереотип: "UtilityPack" // Элемент модели: "StatusBarUtils" MUID: (505DCE690055) {$Include w:\common\components\gui\Garant\Nemesis\nscDefine.inc} interface {$If Defined(Nemesis)} uses l3IntfUses , nscNewInterfaces , ...
unit MemoChannel; {Unit containing TMemoChannel contributed by Avra (Жељко Аврамовић). TMemoChannel was based on TFileChannel. TMemoChannel can be thread safe!) } { Copyright (C) 2006 Luiz Américo Pereira Câmara This library is free software; you can redistribute it and/or modify it under the terms of the FPC ...
unit UDatePicker; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TMSNativeUILabel, FMX.TMSNativeUIButton, FMX.TMSNativeUIBaseControl, FMX.TMSNativeUIDatePicker, FMX.TMSNativeUISwitch; type TForm935 = class(...
unit TransparentPanelU; interface uses System.Classes, System.Types, System.Sysutils, Winapi.Windows, Winapi.Messages, Vcl.ExtCtrls, Vcl.Controls, VCL.Forms; const ERROwnerNotForm = 'The owner is not a TForm'; type TFormNotOwner = class(Exception); TTransparentPanel = class(TPanel) private ...
{ *************************************************************************** } { } { This file is part of the XPde project } { } ...
unit GX_eSelectionEditorExpert; interface uses Classes, ToolsAPI, GX_EditorExpert; type TNoSelectionMode = (nsmSelectLine, nsmSelectIdent, nsmError); TSelectionEditorExpert = class(TEditorExpert) private function BlockSelectionToLineEndType(SouceEditor: IOTASourceEditor;const Selection: stri...
unit FFSLENDGRPTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TFFSLENDGRPRecord = record PName: String[4]; PLender1: String[240]; PLender2: String[240]; PLender3: String[240]; PLender4: String[240]; PSearchable: Boolean; PDescripti...
{******************************************************************************} { } { SChannel API definitions for Object Pascal } { ...
unit CurrencyConverter; interface uses system.Generics.Collections,SysUtils; {$IF DEFINED(ANDROID) OR DEFINED(IOS) OR DEFINED(LINUX)} const StrStartIteration = {$IFNDEF LINUX} 0 {$ELSE}1{$ENDIF}; type AnsiString = string; type AnsiChar = Char; {$ELSE} const StrStartIteration = 1; {$ENDIF} type TCurre...
program Verkauf2 (input, output); { Rabattgewaehrung: zweite Version } const GRUNDPREIS = 200.00 {EUR}; var Anzahl : integer; Preis : real; begin writeln ('Bitte die Anzahl bestellter Teile ', 'eingeben:'); readln (Anzahl); if Anzahl <= 0 then writeln ('falsche Eingab...
unit FeatureError; interface uses FeatureErrorIntf, Error; type TFeatureError = class(TError, IFeatureError) private FLine: Integer; FSugestedAction: string; function GetLine: Integer; function GetSugestedAction: string; procedure SetLine(const Value: Integer); procedure SetSugestedActi...
unit fmuTable; interface uses // VCL ComCtrls, StdCtrls, Controls, Classes, SysUtils, ExtCtrls, Buttons, Graphics, // This untPages, untUtil, untDriver, Spin; type { TfmTable } TfmTable = class(TPage) Memo: TMemo; edtValue: TEdit; lblValue: TLabel; lblRowNumber: TLabel; lblTableNumbe...
unit CleanArch_EmbrConf.Core.Repository.Interfaces; interface uses Json, CleanArch_EmbrConf.Core.Entity.Interfaces; type iParkingLotRepository = interface function getParkingLot(Code : String) : iParkingLot; function getParkingLotJSON(Code : String) : TJSONArray; function saveParkedCar(Value : iPar...
unit AndroidApi.ProgressDialog; interface uses Androidapi.JNI.App, Androidapi.JNI.GraphicsContentViewText, Androidapi.JNI.JavaTypes, Androidapi.JNIBridge; type JProgressDialog = interface;//android.app.ProgressDialog JProgressDialogClass = interface(JAlertDialogClass) ['{670F662E-8777-4C5...