text
stringlengths
14
6.51M
{$I-,Q-,R-,S-} {Broken Necklace You have a necklace of N red, white, or blue beads (3<=N<=350) some of which are red, others blue, and others white, arranged at random. Here are two examples for n=29: 1 2 1 2 r b b r b r r b ...
unit uSaveToFile; interface uses classes; const ERROR_INVALID_PATH = 0; ERROR_EMPTY_PATH = 1; ERROR_BLANK_TEXT = 2; ERROR_CREATING_FILE = 3; Type TSaveFile = Class private FBodyText : TStringList; FPath : String; public Constructor Create; Destructor D...
function GetMemoryTotalPhys : DWord; // // Retorna o total de memoria do computador // var ms : TMemoryStatus; begin ms.dwLength := SizeOf( ms ); GlobalMemoryStatus( ms ); Result := ms.dwTotalPhys; end;
unit Modules.Database; interface uses System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, FireDAC.UI.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Phys, FireD...
(**************************************************************************** * * WinLIRC plug-in for jetAudio * * Copyright (c) 2016 Tim De Baets * **************************************************************************** * * Licensed under the Apache License, Version 2.0 (the "License...
unit ParseTest; {$mode objfpc}{$H+} interface uses fpcunit, testregistry, uIntXLibTypes, uIntX; type { TTestParse } TTestParse = class(TTestCase) published procedure Zero(); procedure WhiteSpace(); procedure Sign(); procedure Base(); procedure CallNull(); procedure Ca...
unit AES_HMAC; // This is an implementation of HMAC, the FIPS standard keyed hash function interface uses Windows, AES_Type, OverbyteIcsSha1, RDGlobal // sha1; ; const HASH_INPUT_SIZE = 64; // HASH_OUTPUT_SIZE = SHA1HashSize; HASH_OUTPUT_SIZE = 20; HMAC_O...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2015 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of an Embarcadero developer tools product. // This software is considered a Redistributable as ...
unit uIntfImageDrawingUtils; {$mode objfpc}{$H+} interface uses Classes, SysUtils, IntfGraphics, FPimage; procedure ClipDrawPixel(X, Y: Integer; ADataImage: TLazIntfImage; AFPColor: TFPColor; AAlphaBlend: Boolean = false; AAlphaMergeOnly: Boolean = false); procedure DrawCircleEx(Pt: TPoint; ADataImage: TLazIn...
unit uFuncionarioDAOClient; interface uses DBXCommon, DBXClient, DBXJSON, DSProxy, Classes, SysUtils, DB, SqlExpr, DBXDBReaders, Generics.Collections, DBXJSONReflect, Funcionario; type TFuncionarioDAOClient = class(TDSAdminClient) private FListCommand: TDBXCommand; FNextCodigoCommand: TDBXCommand; FI...
(* * Copyright (c) 2013-2016 Thundax Macro Actions * 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 uDMValidatePetTextFile; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uDMValidateTextFile, ADODB; type TDMValidatePetTextFile = class(TDMValidateTextFile) private IsClientServer: Boolean; function ValidateFields: Boolean; function Validate...
unit Android.ProgressDialog; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.App, Androidapi.JNI.GraphicsContentViewText, AndroidAPI.JNI.JavaTypes; type JProgressDialog = interface; JProgressDialogClass = interface (JAlertDialogClass) ['{4A287A8D-51CF-45CA-A8A6-D5D2F8B78B9E}'] {Prop...
namespace; interface uses System, System.IO, System.Web, WindowsLive; type login = public partial class(System.Web.UI.Page) protected const LoginCookie = 'webauthtoken'; class var WLL: WindowsLiveLogin := new WindowsLiveLogin(true); class var AppId: String := WLL.AppId; var m_userId: String;...
(************************************************************************* ========= AkelPad text editor plugin API =========== ** Origin: AkelEdit.h located at http://akelpad.cvs.sourceforge.net/viewvc/akelpad/akelpad_4/AkelFiles/Plugs/AkelDLL/AkelEdit.h ** Converted with C to Pascal Converter 2.0 ** Release: 2....
unit pangoft2; interface uses glib, freetypelib, fontconfiglib, pangolib, pangoft2lib, pango; type IPangoFcFontMap = interface; IPangoFT2FontMap = interface; IPangoFcFont = interface; IPangoFcDecoder = interface; IPangoOTInfo = interface; IPangoOTRuleset = interface; IPangoOTBuffer = int...
{ GasImage - image loading for Gasmas using FPimage } unit GasImage; {$MODE OBJFPC}{$H+} interface uses Classes, SysUtils, Gasmas; function ReadImage(FileName: string; out Surface: TSurface; SurfaceOptions: TSurfaceOptions=DefaultSurfaceOptions): Boolean; implementation uses FPimage, FPReadBMP, FPRea...
// Cette unité sert à tester la classe Serveur afin de vérifier // si le numéro de port et le répertoire de base sont // correctement programmés dans la classe. unit uniteTestServeur; interface uses TestFrameWork, uniteServeur, uniteConsigneurStub, SysUtils, uniteConnexion; type TestServeur = class (TTe...
unit InflatablesList_Backup; {$INCLUDE '.\InflatablesList_defs.inc'} interface uses AuxTypes, InflatablesList_Types; const IL_BACKUP_DEFAULT_MAX_DEPTH = 25; IL_BACKUP_DEFAULT_MANGERFILENAME = 'backups.ini'; IL_BACKUP_TEMP_SUFFIX = '.tmp'; type TILBackupEntry = record FileName: String; ...
program exercise1; USES sysutils; TYPE IntegerArray = ARRAY OF integer; ProcPtr = function(left, right : Integer): Integer; TreeNodePtr = ^TreeNode; VisitProcPtr = Procedure(node: TreeNodePtr); TreeNode = RECORD parent : TreeNodePtr; // pointer to the parent node left: TreeNodePtr; // pointer to the left ...
program coins (input,output); {Jesse Anderson 8/26/95 c1e15} uses crt; var change, qnbr, dnbr, nnbr, pnbr:Integer; const quarter=25; dime=10; nickel=5; penny=1; begin; clrscr; Write ('Enter the amount of change in cents: '); Readln (change); Writeln; qnbr:=change div quarter; ...
unit uFrmLogin; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.WebBrowser, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Objects; type TWebFormRedirectEvent = procedure(const AURL : string; var D...
// // Created by the DataSnap proxy generator. // 26/06/2017 13:13:43 // unit UMetodosServidor; interface uses System.JSON, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBXDBReaders, Data.DBXCDSReaders, Data.DBXJSONRe...
unit unit_messages; interface uses Classes, Generics.Collections, StdCtrls; type TMessageSubject = record id : longint; name : string; ttype : string end; TMessageAuthor = record id : longint; name : string; end; TMessageContent = record subject : TMessageSubject; author...
unit PRP; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Menus, ComCtrls, Printers, ActnList, StdActns; function OpenSaveFileDialog(ParentHandle: THandle; const DefExt, Filter, InitialDir, Title: string; var FileName: string; IsOpenDialog...
{* ***** BEGIN LICENSE BLOCK ***** Copyright 2009, 2010 Sean B. Durkin This file is part of TurboPower LockBox 3. TurboPower LockBox 3 is free software being offered under a dual licensing scheme: LGPL3 or MPL1.1. The contents of this file are subject to the Mozilla Public License (MPL) Version 1.1 (the "License"); yo...
{ An array with capacity, grows in chunks. Like CapString. Much more efficient than regular dynamic arrays for large adds. To change to an array other than array of "byte" just copy this unit into another file and change byte to the other type. Copyright 2020 Lars Olson http://z505.com } unit Cap...
unit normals; // VXLSE III 1.4 :: Normals redesigned to support unlimmited directions. // Normals class written by Banshee. interface uses BasicMathsTypes, NormalsConstants; const C_RES_INFINITE = -1; type TNormals = class private FResolution : integer; FPalette : PAVe...
{ Laz-Model Copyright (C) 2002 Eldean AB, Peter Söderman, Ville Krumlinde Portions (C) 2016 Peter Dyson. Initial Lazarus port 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 versi...
unit Main; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ToolWin, StdCtrls, aiOgl, OpenGL, Math; type TMyObject = class(TglObject) public // добавим перенос каждого объекта, чтобы сцена была в начале координат procedure Draw; override; ...
unit SSLDemo.RandFrame; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TRandomFrame = class(TFrame) EditSize: TEdit; EditResult: TEdit; ButtonRandom: TButton; LabelSize: TLa...
unit uQueryDictionary; interface uses DB, DBClient, Classes; const DICTIONARY_COUNT= 4; //下面数组中的值传入dbo.usp_GetBaseTableInfo存储过程,必须与存储过程的值对应. DICTIONARYNAME: array[0..DICTIONARY_COUNT] of WideString = ('dlQueryClass' ,'dlQueryList', 'dlQueryProperty', 'dlQueryMaster', 'dlQueryDetail'); type {...
// ----------- Parse::Easy::Runtime ----------- // https://github.com/MahdiSafsafi/Parse-Easy // -------------------------------------------- unit Parse.Easy.Parser.CustomParser; interface uses System.SysUtils, System.Classes, Parse.Easy.StackPtr, Parse.Easy.Lexer.CustomLexer, Parse.Easy.Lexer.Token, Par...
unit ReprortsST_PAY; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, frxClass, frxDBSet, DB, FIBDataSet, pFIBDataSet, FIBQuery, pFIBQuery, pFIBStoredProc, frxDesgn,StudcityConst, RxMemDS,IBase, FIBDatabase, pFIBDatabase, ActnList, frxExportXLS, frxExportHTML,...
// файл traceUnit.pas, инициализация и трассировка сцены unit traceUnit; interface uses vectorUnit, figureUnit, rayUnit, colorUnit, sphereUnit; const numb_spheres = 5; // количество сфер; depth_recursion = 12; // глубина рекурсии; max_dist = 1000.0; // макс. длина тр...
{ Generic (no real network implementation) classes and declarations for requesting OSM tile images from network. Real network function from any network must be supplied to actually execute request. } unit OSM.NetworkRequest; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} interface uses SysUtils, Classes, Contnrs, ...
unit IdResourceStringsUriUtils; interface resourcestring // TIdURI RSUTF16IndexOutOfRange = '文字インデックス %d は範囲外です (長さ = %d)'; RSUTF16InvalidHighSurrogate = 'インデックス %d の文字は UTF-16 の上位サロゲートとして無効です'; RSUTF16InvalidLowSurrogate = 'インデックス %d の文字は UTF-16 の下位サロゲートとして無効です'; RSUTF16MissingLowSurrogate = 'UTF-16 シーケンス...
unit St_sp_Hostel_Form_Add; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, cxLabel, cxTextEdit, cxControls, cxContainer, cxEdit, cxGroupBox, StdCtrls, cxButtons; type TBuildsFormAdd = class(TForm) OKButton: TcxButton; CancelBu...
unit ibSHXHelpFrm; interface uses SHDesignIntf, SHEvents, ibSHDesignIntf, ibSHComponentFrm, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, SynEdit, pSHSynEdit, StdCtrls, ComCtrls; type TibSHXHelpForm = class(TibBTComponentForm) reHelpContext: TRichEdit; ...
// // Generated by JavaToPas v1.5 20180804 - 083142 //////////////////////////////////////////////////////////////////////////////// unit android.app.admin.SystemUpdatePolicy_ValidationFailedException; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, Androidapi.JNI.os; type JSystemUpdatePolicy_...
unit MSntdll; interface uses Windows; type // Note: ULONG defined in unit "Windows" USHORT = Word; NTSTATUS = DWORD; const STATUS_SUCCESS = 0; type (* typedef struct _LSA_UNICODE_STRING { USHORT Length; USHORT MaximumLength; PWSTR Buffer; } LSA_UNICODE_STRING, *PLSA_UNIC...
unit Cave; interface type Tarray= array of Word; TCave = class private average:Word; swidth:Word; slength:Word; Map_:Tarray; Map2:Tarray; Map_neigh:Array[0..5000,0..5000] of byte; function getMap(x,y:Integer):Word; procedure setMap(x,y:Integer;v:Word); procedure Initialize; ...
unit LoggerPro.OutputDebugStringAppender; { <@abstract(The unit to include if you want to use @link(TLoggerProOutputDebugStringAppender)) @author(Daniele Teti) } interface uses LoggerPro, System.Classes; type { @abstract(This appenders sends logs to the @code(OutputDebugString) function on Windows OS...
{HACER QUE TODO TPOINT APUNTE SIEMPRE A SUS VERTICES Y QUE DEJE DE HACERLO SI UN VERTICE SE DESPRENDE} {ELIMINAR CAMPO REFERENCES DE TPOINT} {3D object handling. this unit is related to uRickGL Tentity: an entity or object tface: a face of an entity, each entity has many faces Tvertex: a vertex o...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type EDuplicate = class(Exception); TDataType = (dtUnknown, dtString, dtBoolean, dtInteger, dtFloat, dtDate, dtTime, dtDateTime, dtBlob); type { TFormatSettings } TFormatSettings = class private FTransla...
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 TPFisica = class private FCPF: string; procedure SetCPF(const Value: string); published property CPF...
unit DXPDateEdit; interface uses SysUtils, Classes, Controls, StdCtrls, Graphics, Messages, Windows, CommCtrl, uIValidatable, Forms, DXPMessageOutPut, DXPUtils; type // opRequired - Validar se foi preenchido; // opPrimaryKey - Desabilita quando o crud esta em estado de dsEdit; TOptions = set of TOption; ...
unit Ecommerce.DTO; interface uses System.Generics.Collections, REST.Json, Serialize.Attributes, Serialialize.Types; {$M+} type TItemDTO = class private FCodigoProduto: String; FDescCategoriaProduto: string; FDescProduto: string; [JsonNameAttribute('codigo')] FIdCategoriaProduto: st...
unit uUtils; {******************************************************************************* * * * Название модуля : * * ...
unit DataAccess.Books; interface uses Data.DB, System.SysUtils; type IBooksDAO = interface(IInterface) ['{F8482010-9FCB-4994-B7E9-47F1DB115075}'] function fldISBN: TWideStringField; function fldTitle: TWideStringField; function fldAuthors: TWideStringField; function fldStatus: TWideStringFiel...
unit AppInit; {$mode objfpc}{$H+} //======================================================================================== // // Unit : AppInit.pas // // Description : // // Called By TfrmMain.FormShow: // // Calls : frmSettings : GetSQLiteLibraryName // iniFileExists // ...
unit EdictReader; { Reads EDICT2 and CC-EDICT format. Both are multi-kanji, multi-kana, multi-sense articles in a general form: kanji1 kanji2 [reading1 reading2] /sense1/sense2/ See precise format description in comments below. } //NOTE: Both EDICT2 and CC-EDICT parsers misreplace / with ; in cases like A...
unit DBXMetadataHelper; interface uses Forms, SysUtils, SqlExpr, IBDatabase, DbxCommon, DbxMetaDataProvider, DBXDataExpressMetaDataProvider, DbxInterbase, DbxClient; function DBXGetMetaProvider(const AConnection: TDBXConnection) : TDBXDataExpressMetaDataProvider; procedure InitConnection(conn: TSQLConnection; db...
unit uReminders; interface uses Windows, Messages, Classes, Controls, StdCtrls, SysUtils, ComCtrls, Menus, Graphics, Forms, ORClasses, ORCtrls, ORDtTm, ORFn, ORNet, Dialogs, uPCE, uVitals, ExtCtrls, fDrawers, fDeviceSelect, TypInfo; type TReminderDialog = class(TObject) private FDlgData: string; FE...
unit VH_Types; interface Uses Math3d,Voxel; type TVoxelBox = record Color,Normal,Section : integer; Position,MinBounds,MinBounds2 : TVector3f; Faces : array [1..6] of Boolean; end; TVoxelBoxSection = Record Boxs : array of TVoxelBox; List, NumBoxs : ...
unit grg; interface uses System.Inifiles, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs; function WriteINIstr(Section, key, Value: string): boolean; function ReadINIstr(Section, key: string): string; function INIstrExists(S...
namespace org.me.openglapplication; //The animated cube code was based on, and enhanced from, an example from //"Hello, Android" by Ed Burnette, published by Pragmatic Bookshelf, 2010 {$define TEXTURES} //also in GLRenderer interface uses java.nio, javax.microedition.khronos.opengles, android.con...
unit XED.OperandWidthEnum; {$Z4} interface type TXED_Operand_Width_Enum = ( XED_OPERAND_WIDTH_INVALID, XED_OPERAND_WIDTH_ASZ, XED_OPERAND_WIDTH_SSZ, XED_OPERAND_WIDTH_PSEUDO, XED_OPERAND_WIDTH_PSEUDOX87, XED_OPERAND_WIDTH_A16, XED_OPERAND_WIDTH_A32, XED_OPERAND_WIDTH_...
unit uTransparentEncryption; interface {$WARN SYMBOL_PLATFORM OFF} uses System.Types, System.SysUtils, System.StrUtils, System.SyncObjs, System.Math, System.Classes, Winapi.Windows, Dmitry.CRC32, Dmitry.Utils.System, Dmitry.Utils.Files, DECUtil, DECHash, DECCipher, ...
unit Threads; interface uses System.Classes, Winapi.Windows, System.SysUtils; type TMethod = procedure of object; TCoreThread = class(TThread) private ThreadMethod:TMethod; SleepInterval: Uint16; protected procedure Execute; override; public procedure SetThreadMetho...
(***** BEGIN LICENSE BLOCK ***** * 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...
// // This unit is part of the VXScene Project, http://glscene.org // { Implements a HDS Filter that generates HeightData tiles in a seperate thread. This component is a TVXHeightDataSourceFilter, which uses a TVXHeightDataSourceThread, to asyncronously search the HeightData cache for any queued tiles. ...
unit uFrmTEFCheque; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TFrmTEFCheque = class(TForm) btnAbort: TButton; Selecionar: TButton; pnlManual: TPanel; edtCompens: TLabeledEdit; edtBanco: TLabeledEdit; edtAg...
unit clsTeachers; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, clsHouse; type TTeachers = class private fArrAnswers : array[1..40] of string; fArrQuestions : array[1..40] of string; public constructor Create; destructor De...
unit HistoryList; { The THistoryList and TBookmarks Components V1.00 MOST IMPORTANT :) ================= This is NOT Freeware: It's PostCardWare. When you use this component or think it's useful, send me a post-card to: Florian Bömers, Colmarer Str.11, D - 28211 Bremen, Germany See legal.txt f...
unit UGlobalData; interface (****** CONSTANTES PÚBLICAS ******) const // constantes de las operaciones que se pueden realizar kCodeOpTipo01 = 'T01'; kCodeOpTipo02 = 'T02'; kCodeOpTipo03 = 'T03'; kCodeOpTipo04 = 'T04'; kCodeOpTipo05 = 'T05'; kCodeOpTipo06 = 'T06'; kCodeOpTipo...
{* ***** BEGIN LICENSE BLOCK ***** Copyright 2010 Sean B. Durkin This file is part of TurboPower LockBox 3. TurboPower LockBox 3 is free software being offered under a dual licensing scheme: LGPL3 or MPL1.1. The contents of this file are subject to the Mozilla Public License (MPL) Version 1.1 (the "License"); you may ...
{ ****************************************************************************** } { * ini text library,writen by QQ 600585@qq.com * } { * https://zpascal.net * } { * https://github.com/PassByYou888/zAI ...
unit Render4; interface uses SysUtils, Types, Graphics, Style, Box, Node; type TRenderer = class private Boxes: TBoxList; Canvas: TCanvas; Pen: TPoint; //Width: Integer; protected function GetContextRect(inBox: TBox): TRect; procedure RenderBox(inBox: TBox); virtual; procedure Re...
unit NewFrontiers.Commands; interface uses Classes; type /// <summary> /// Basisklasse für ein Command /// </summary> TCommand = class(TComponent) protected _id: string; _titel: string; _buttonText: string; _beschreibung: string; _icon: integer; procedure set...
namespace Maps; interface uses UIKit; type FlipsideViewController = public class(UIViewController) private public method awakeFromNib; override; method viewDidLoad; override; method didReceiveMemoryWarning; override; property prefersStatusBarHidden: Boolean read true; overrid...
unit uFrmLogin; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, cxLookAndFeelPainters, StdCtrls, cxButtons, uMainFormIntf, uDBIntf, uOtherIntf, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxButtonEdit, uWmLabelEditBtn; type TfrmLogin = ...
unit IdResourceStringsOpenSSL; interface resourcestring {IdOpenSSL} RSOSSFailedToLoad = '%s を読み込めませんでした。'; RSOSSLModeNotSet = 'モードはまだ設定されていません。'; RSOSSLCouldNotLoadSSLLibrary = 'SSL ライブラリが読み込めませんでした。'; RSOSSLStatusString = 'SSL ステータス: "%s"'; RSOSSLConnectionDropped = 'SSL 接続が解除されました。'; RSOSSLCertificat...
unit UFrmNoteEditorFind; interface uses Vcl.Forms, Vcl.Controls, Vcl.StdCtrls, Vcl.ExtCtrls, System.Classes; type TFrmNoteEditorFind = class(TForm) BtnOK: TButton; BtnCancel: TButton; Panel1: TPanel; EdFind: TEdit; CkReplaceAll: TCheckBox; Em: TRadioGroup; CkWholeWord: TCh...
(*********************************************************************** * Проект: acLib - Библиотека для Delphi * * Copyright (c) Alex & Co 2004,... * ************************************************************************ Модуль: acWorkRes.pa...
unit uFunctions; interface uses Forms, IniFiles, SysUtils, Messages, Windows; procedure tbLoadFormStatus(Form: TForm; const Section: string); procedure tbSaveFormStatus(Form: TForm; const Section: string); implementation procedure tbSaveFormStatus(Form: TForm; const Section: string); var Ini: TIniFile; Maximize...
unit MainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdHTTP, StdCtrls, IdMultipartFormData, XMLDoc, XMLIntf, IdTCPConnection, IdTCPClient, IdBaseComponent, IdComponent, IdIOHandler, IdIOHandlerSocket, IdSSLOpenSSL; const API_KEY='';//需要你申请一个apike...
unit BitmapEx; INTERFACE uses wintypes, winprocs,Messages, SysUtils, Classes, Graphics; type TBitmapEx=class(Tbitmap) public bitmapInfoHeader:TbitmapInfoHeader; constructor create(width0,height0:integer); procedure setLine(var tb;ligne:integer); ...
unit Odontologia.Modelo.Entidades.Paciente; interface uses SimpleAttributes; type [Tabela('DPACIENTE')] TDPACIENTE = class private FPAC_COD_ESTADO : Integer; FPAC_CODIGO : Integer; FPAC_DIRECCION : String; FPAC_DOCUMENTO : String; FPAC_FOTO : String; FPAC_TELEFONO : Str...
unit TestSpamFilter; interface uses DelphiSpec.StepDefinitions; type TSpamFilterTestContext = class(TStepDefinitions) private FBlackList: string; FMailCount: Integer; end; implementation uses System.StrUtils , DelphiSpec.Core , DelphiSpec.Assert , DelphiSpec.Parser , DelphiSpec.Attributes; {$I T...
{ ------------------------------------ 功能说明:平台BPL插件管理 创建日期:2014/07/08 作者:mx 版权:mx ------------------------------------- } unit uSysPluginMgr; interface uses SysUtils, Classes, Windows, Contnrs, Forms, uRegPluginIntf, uPluginBase, uSysSvc, uOtherIntf, uMainFormIntf; const BPLTYPE = 1; DLLTYPE = 2;...
unit UnitCrypting; interface uses Windows, SysUtils, DB, Classes, JPEG, Dmitry.CRC32, Dmitry.Utils.Files, UnitDBDeclare, uCollectionEvents, uDBForm, uMemory, uDBAdapter, uStrongCrypt, GraphicCrypt, uDBContext, uDBConnection, uErrors; function EncryptImageB...
unit Model.TableNames; interface const { Tabela USUARIOS } USUARIO_TABLE: string = 'USUARIOS'; USUARIO_ID: string = 'IDUSUARIO'; USUARIO_CODIGO: string = 'CODIGO'; USUARIO_NOME: string = 'NOMEUSUARIO'; USUARIO_LOGIN: string = 'LOGIN'; USUARIO_SENHA: string = 'SENHA'; USUARIO_IDPERFIL: string = 'IDPERF...
unit AddDeviceRequest; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} Interface Uses IRPMonDLl, AbstractRequest, IRPMonRequest; Type TAddDeviceRequest = Class (TDriverRequest) Public Constructor Create(Var ARequest:REQUEST_ADDDEVICE); Overload; Function GetColumnValueRaw(AColumnType:ERequestListModelColumn...
unit OTFEBestCryptGetDriveLetter_U; // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrl...
namespace OxygeneiOSUITableViewCellDemo; interface uses UIKit; type [IBObject] RootViewController = public class(UITableViewController) private //Data for the table dataArray: array of array of String; //IUITableViewDataSource method tableView(tableView: UIKit.UITableView) cell...
unit uMain; interface uses Winapi.Windows, Winapi.Messages, Winapi.OpenGL, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, GLObjects, GLHUDObjects, GLMaterial, GLCustomShader, GLAsmShader, GLScene, GLFBORend...
unit VisualThread; interface uses Windows, Classes, Forms, Graphics, ExtCtrls, SysUtils, SyncObjs,DAQDefs, pdfw_def, pwrdaq32; type TVisualThread = class(TThread) private FPaintHeight: Integer; FPaintWidth: Integer; FPaintRect: TRect; FPaintCanvas: TCanvas; FGridCanvas: TCanvas; FMe...
unit uVTHeaderPopupMenu; interface uses Windows, Messages, SysUtils, Menus, Classes, Buttons, Graphics, Controls, ComCtrls, StdCtrls, ExtCtrls, sChatView, VirtualTrees, ShellAPI, VTHeaderPopup, ImgList, uGifVirtualStringTree, Dialogs, uLineNode, uChatUser, uFormPassword, uFormUserInfo, sSpeedButton, sPage...
unit ics465cThread; interface uses Windows, Messages, SysUtils, Variants, Classes, SyncObjs, serialportLoad; type TWeighingCallBack = procedure(Weight, Tare: Double; isGross, isOverLoad: Boolean); stdcall; TIcs465c_meter = class(TThread) FCallback: Pointer; FisOpened: Boolean; FComI...
{$I-,Q-,R-,S-} {49¦ Las Torres Gemelas. México 2006 ---------------------------------------------------------------------- Habia una vez, en un antiguo Imperio, dos torres de formas similares en dos ciudades diferentes. Las torres estaban construidas por losas circulares puesta...
{ Lua4Lazalus ActiveXObject License: New BSD Copyright(c)2010- Malcome@Japan All rights reserved. Note: The property name is case insensitive, but the function name is case sensitive. Then, you may use the property name with the small letter if ActiveXObject ...
(* * FPG EDIT : Edit FPG file from DIV2, FENIX and CDIV * * * 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 ini_type_place_FORM; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, pFIBDatabase, Buttons, ToolWin, ComCtrls, ExtCtrls, FIBQuery, FIBDataSet, pFIBDataSet, pFIBStoredProc, ActnList, Menus, COMMON, Grids, Db, DBGrids, pFIBQuery, StdCtrls, cxStyles, cxCustomData, cx...
unit uCaixaDAOClient; interface uses DBXCommon, DBXClient, DBXJSON, DSProxy, Classes, SysUtils, DB, SqlExpr, DBXDBReaders, Generics.Collections, DBXJSONReflect, Caixa; type TCaixaDAOClient = class(TDSAdminClient) private FAbrirCommand: TDBXCommand; FFecharCommand: TDBXCommand; FCaixaAbertoCommand: TD...
unit ibSHSQLEditorFrm; interface uses SHDesignIntf, SHOptionsIntf, SHEvents, ibSHDesignIntf, ibSHDriverIntf, ibSHComponentFrm, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ToolWin, ExtCtrls, AppEvnts, ImgList, Menus, SynEdit, SynEditKeyCmds, SynEditType...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // unit VXS.FilePNG; interface {$I VXScene.inc} uses System.Classes, System.SysUtils, VXS.OpenGL, VXS.CrossPlatform, VXS.Context, VXS.Graphics, VXS.TextureFormat, VXS.ApplicationFileIO; type ...
unit UCliente; interface uses UPessoa,SysUtils,Dialogs; type TCliente = Class (TPessoa) private protected FNome:String; FRG:String; FCPF:String; FSexo:String; public constructor Create; destructor Destroy; procedure setNome(vNome:String); procedure setRG(v...
// XD Pascal - a 32-bit compiler for Windows // Copyright (c) 2009-2010, 2019-2020, Vasiliy Tereshkov {$I-} {$H-} unit Linker; interface uses Common, CodeGen; procedure InitializeLinker; procedure SetProgramEntryPoint; function AddImportFunc(const ImportLibName, ImportFuncName: TString): LongIn...
unit uImpParams; {******************************************************************************* * * * Название модуля : * * ...