text stringlengths 14 6.51M |
|---|
unit XLSRange5;
{-
********************************************************************************
******* XLSReadWriteII V6.00 *******
******* *******
******* Copyright(C) 1999,2017 Lars Arvidsson, Axol... |
unit SMS_Types;
interface
uses
SysUtils;
type
TFourDoubleArray = array[0..4] of Double;
TNotifyStringEvent = procedure(const stMessage: String) of object;
TDouble2DArray = array of array of Double;
//-- conversion routines
function IntToStrComma(i:Integer) : String; overload;
function IntToStrComma(d:... |
unit ChposK;
interface
type
TCharSet = set of char;
TCharsetIndexTable = packed array[char] of integer; // CXGlobal
//TCharClass = (chClassCntrl, chClassBlank, chClassDigit, chClassUpper, chClassLower, chClassPunct,
// chClassSpace, chClassAlpha, chClassAlNum, chClassPrint, chClassGraph, chClassxDigit);
... |
unit mbsiControlInterface;
interface
type
ImbsiControl = interface(IInterface)
['{DF61AE59-41B3-4EA2-983E-884053A2A6B6}']
function Init : Boolean; stdcall;
function GetLastSuccChallenge : TDateTime; stdcall;
function GetSystemChanged : Boolean; stdcall;
property LastSuccChallenge :... |
unit UIRibbon;
{ Windows Ribbon Framework for Delphi
===================================
Please see http://www.bilsen.com/windowsribbon for detailed information
about this library.
Version history:
5/27/2011: Version 1.0: Initial release by Erik van Bilsen.
7/30/2011: Version 1.1: Added support f... |
unit U_Version;
interface
const
C_Major=4;
C_Minor=0;
C_Release=0;
C_Revision=28872;
C_Date=42667.5868250926;
C_DB_Revision=5927;
implementation
end. |
{
TStartupCommandInfo Component Version 3.0 - Suite GLibWMI
Copyright (©) 2020, by Germán Estévez (Neftalí)
La clase Win32_StartupCommand representa un comando que se ejecuta automáticamente cuando un usuario
inicia sesión en el equipo.
Utilización/Usage:
(ES) Basta con "soltar" el componente y activarlo.
(EN) Pla... |
(*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... |
unit Viper.TriggerImportList;
{
TriggerList for TriggerImport form.
We have to inherit from it to reimplement Reload(), or it'll reload the live
triggers.
}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Actions, ActnList, Menus, VirtualTrees, Trigger... |
unit TypesFunctions;
interface
uses
TypesConsts, DateUtils, StringArray;
function CompareDoubles(Double1, Double2: Double; Precision: Integer = 0): Integer;
function CompareDoublesWithRange(Double1, Double2: Double; ARange: Double): Integer;
function CompareTimes(ADateTime1, ADateTime2: TDateTime; ADatePr... |
{===============================================================================
RzDBLook Unit
Raize Components - Component Source Unit
Copyright © 1995-2015 by Raize Software, Inc. All Rights Reserved.
Components
------------------------------------------------------------------------------
TRzDBLooku... |
unit ConvexHullUnit;
{
References:
de Berg, Mark; van Kreveld, Mark; Overmars, Mark; Schwarzkopf, Otfried.
2000. Computational Geometry, Algorithms and Applications. Second Edition.
Springer, Berlin. 367 p.
}
interface
uses Classes, TurnDir;
procedure ConvexHull(const InputList, OutputList : TList);
// InputL... |
unit PRODUTO;
interface
uses
Classes,
DB,
SysUtils,
Generics.Collections,
ormbr.mapping.attributes,
ormbr.types.mapping,
ormbr.types.lazy,
ormbr.types.nullable,
ormbr.mapping.register;
type
[Entity]
[Table('PRODUTO','')]
[PrimaryKey('ID', AutoInc, NoSort, True, 'Chave primária')]
TPRODUTO =... |
program find_max;
var
inp: array [1..3] of integer;
maxim: integer = 0;
i: integer;
begin
writeln('Enter three numbers. Hit enter after every input:');
for i := 1 to 3 do
begin
readln(inp[i]);
end;
maxim := inp[1];
for i := 2 to 3 do
begin
if maxim < inp[i] the... |
unit VirtualTreeMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, VirtualTrees, Vcl.StdCtrls;
type
TfrmVTV = class(TForm)
VirtualStringTree1: TVirtualStringTree;
ListBox1: TListBox;
Label1: TLa... |
unit VideoMci;
interface
uses Windows, SysUtils, Graphics, Controls, MMSystem, VfW;
type
TMciStatusProc = procedure(Sender: TObject) of object;
var
gMciVideoArea : TWinControl;
gMciVideoFileName : string;
gMciActive : boolean;
gMciStatusProcedure : TMciSt... |
unit MngrIbDlg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ZDlg, StdCtrls, Buttons, ExtCtrls, IBCustomDataSet, IBDatabase, IBQuery, DB,
DBCtrls, gifimage;
type
TManagerDlg = class(TZDialog)
Label1: TLabel;
PassLabel: TLabel;
PassEdit: TEdit;
NameD... |
unit Discounts;
interface
uses
enDeliverer, XMLIntf, XMLDoc, Variants, SysUtils, Dialogs;
type
IDiscount = interface
function getDiscountedPercent(deliverer: TENdeliverer; percent: Double): Double;
function getDiscountedPrice(deliverer: TENdeliverer; price: Double): Double;
end;
type
TFixed = class(TInt... |
unit mIntervalCounter;
interface
uses
System.SysUtils, System.Classes, System.Math;
type
IIntervalCounter = interface
['{4B4E3216-7DF7-4AD0-B244-FF2669C9A001}']
function GetRange: Integer;
function GetCount: Integer;
function GetStrIdx(Interval: Integer): Integer;
function GetEndIdx(Interval:... |
unit MFMOCImPor;
interface
{MFMOCImPor defines the "Immobile Porosity Unit[i]" layer
and associated parameter.}
uses ANE_LayerUnit, MFGenParam;
type
TMOCImPorosityParam = class(TCustomParentUnitParameter)
class Function ANE_ParamName : string ; override;
function Value : string; override;
end;
TMOCI... |
unit PXL.Cameras.LSY201;
{
This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL).
Copyright (c) 2000 - 2015 Yuriy Kotsarenko
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free S... |
{-----------------------------------------------------------------------------
Unit Name: CardActivation
Date: 7/23/2007
Interface module to credit server for activations of non-tender card types
(for example, a phone card, push PIN to receipt transaction).
----------------------------------------------------... |
unit mVImmBase;
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.ImgList, Vcl.Buttons, System.ImageList, VA508AccessibilityRouter, VAUtils;
type
TPanelHelper = class helper for... |
unit DW.Macapi.MobileDevice;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
object Form1: TForm1
Left = 182
Top = 174
BorderStyle = bsDialog
Caption = 'NeuroVCL - binary function example'
ClientHeight = 230
ClientWidth = 288
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreat... |
(******************************************************************************
* Copyright (C) 2023 Tomáš Horák
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, includi... |
{***********UNITE*************************************************
Auteur ...... : Olivier Tarcy
Créé le ...... : 04/02/2000
Modifié le ... : 04/05/2000
Description .. : TOM pour ARTICLETIERS et tables asssociées :
Suite ........ : - ARTICLE
Suite ........ : - TIERS
Suite ........ : 1) Référencer des articles ch... |
unit cS_DB_generic;
{
Autor: Ulrich Hornung
Datum: 14.7.2007
}
interface
uses
SDBFile, Windows, SysUtils, DateUtils, cS_DB, Dialogs;
const
generic_version_string = 'generic_db_1.0';
new_file_ident = 'new_file';
type
EcSDBUnknownGenericItemFileFormat = class(Exception);
EcSDBFFGene... |
{==============================================================================|
| Project : Notes/Delphi class library | 3.8 |
|==============================================================================|
| Content: ... |
unit VisitorMain;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
ComponentModel, Vcl.StdCtrls;
type
TfrmVisitor = class(TForm)
btnDiscount: TButton;
btnRaise: TButton;
lbLog: TListBox;
pro... |
unit UDMPaiCadastro;
interface
uses
System.SysUtils, System.Classes, Data.DB, Datasnap.DBClient,
Datasnap.DSConnect, ClassPaiCadastro;
type
TDMPaiCadastro = class(TDataModule)
CDSCadastro: TClientDataSet;
DSPCCadastro: TDSProviderConnection;
CDSConsulta: TClientDataSet;
procedure CDSCadastroBef... |
unit VariantUtils;
interface
uses
Classes, StringArray;
function DeserializeVariant(Stream: TStream): Variant;
function SerializeVariant(Data: Variant; Stream: TStream): Integer;
function StringArrayToVariant(AnArray: array of string): Variant;
function VariantToStringArray(AVariant: Variant): TStringArr... |
unit ListInstanceClass;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, InstanceOfClass;
type
TListInstance = class (TInstanceOf)
private
FValue: TInstanceList;
FMetName:string;
FAddLocked, FChangeLocked: boolean;
FExpand: boolean;
function LenList:integer... |
unit ExampleUnit;
// Save TD32 information and used Turbo debugger to debug.
// (Project|Options|Linker|Include TD32 debug information)
// Start Turbo Debugger32
// Click F3 and enter the name of your dll.
// Start Argus ONE.
// After Argus ONE has started, attach to ArgusONE.dll.
// From the File menu change to the d... |
UNIT ModStringTree;
INTERFACE
TYPE
NodePtr = ^Node;
Node = RECORD
val : STRING;
left, right : NodePtr;
END;
Tree = NodePtr;
FUNCTION NewNode(val : STRING) : NodePtr;
PROCEDURE DisposeTree(VAR t : Tree);
PROCEDURE InsertSorted(VAR t : Tree; n : NodePtr);
FUNCTION... |
{
* X11 (MIT) LICENSE *
Copyright © 2006 Jolyon Smith
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, mod... |
Program TextWinDemo;
Uses Crt, TextWin;
Var I, X, Y : integer;
Answer : byte;
S : string;
Info : MenuInfo;
Procedure WaitKey;
Begin
Repeat Until InKey<>Empty
End;
Procedure WriteTitle (Title:string);
Begin
TextColor (Yellow);
TextBackg... |
unit uAutorModel;
interface
type
TAutorModel = class
private
FCodigo: Integer;
FNome: String;
public
property codigo: Integer read FCodigo write FCodigo;
property nome: String read FNome write FNome;
end;
implementation
end.
|
unit Main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
GLControl, ExtCtrls, StdCtrls;
type
TMainForm = class(TForm)
Timer1: TTimer;
GLRender: TGLRender;
procedure GLRenderMouseMove(Sender: TObject; Shift: TShiftState; X,
Y: Integer);
... |
{
Doppelt verlinkte Liste
Übungen zur Klausur: Imperative Programmierung
}
program DualLinkedList(input, output);
type
tRefDualLinkedPointer = ^tDualLinkedList;
tDualLinkedList = record
Wert : integer;
next,
prev : tRefDualLinkedPointer
end;
var
listHead : tRefDualLinke... |
unit compiler_feeder;
interface
{$INLINE AUTO}
uses
sysutils, stringx, classes;
type
TCompilerFeeder = class
private
FLastOperator: ansistring;
function GEtBOF: boolean;
function GEtOpScore(sOP: ansistring): integer;
protected
FFeed: ansistring;
FPosition: integer;
FResult: ansistring... |
unit Signals;
{$I DelphiDefs.inc}
interface
uses
{x$DEFINE DOUBLE_CHECK_SIG}
{$ifdef WINDOWS}
windows,
{$endif}
syncobjs, betterobject, sharedobject, typex, sysutils, tickcount, numbers;
type
TArrayOfEvent = array of TEvent;
TSignal = class(TSharedobject)
private
FEvent: TEvent;
[volatile] FState: b... |
unit uCadastroContatos;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
uCadastros, FMX.Objects, FMX.Edit, FMX.Controls.Presentation, FMX.Layouts,
Data.DB, FMX.Effects, FMX.TabCo... |
unit UZ_5;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Menus, Grids,
logic;
type
{ TForm1 }
TForm1 = class(TForm) //Класс формы
MainMenu1: TMainMenu; //Начало поля класса
Load: TOpenDialog;
File1: TMenuItem;
load... |
unit mUtils.Windows.Printer;
interface
uses
Vcl.Printers,
Winapi.WinSpool, Winapi.Windows;
type
TPrinterDlg = class
private const
PRINTER_FDEFAULTS: TPrinterDefaults = (
pDatatype: nil;
pDevMode: nil;
DesiredAccess: STANDARD_RIGHTS_REQUIRED or PRINTER_ACCESS_USE);
BUFFER_LEN = 256;
... |
{$MODE OBJFPC}
{$INLINE ON}
program TABLIC;
const
maxK = 1000;
type
TRec = record
x, y : Integer;
fx, fy : Integer;
end;
var
a : array[1..maxK] of TRec;
n, k : Integer;
procedure Enter;
var
i, t : Integer;
begin
ReadLn(n, k);
for i := 1 to k do
with a[i] do
be... |
unit DArrays;
{ DArrays.pas by Tom Nuydens (axeman@mail.dma.be - bewoner.dma.be/axeman).
I am not responsible for the bad things that may happen when using this unit.
If it doesn't crash your system, feel free to use it in any projects you like,
but do not use it in commercially distributed applications without ... |
{***************************************************************************************************
Delphi Utils
Original Author : Florian Bernd
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in ... |
unit unitrawmessagelog;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, SynHighlighterXML, SynMemo, Forms, Controls,
Graphics, Dialogs, StdCtrls, Menus, SynEditKeyCmds, LCLType;
type
TActionCallback = procedure of object;
{ TFormRawMessageLog }
TFormRawMessageLog = class... |
unit GilAccountLogin;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º Gil Account Login
// Author£º lksoulman
// Date£º 2017-8-19
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
Windows... |
{***********UNITE*************************************************
Auteur ...... : Paie Pgi
Créé le ...... : 04/04/2003
Modifié le ... : / /
Description .. : Edition bulletin préparatoire
Mots clefs ... : PAIE;BULLETIN
*****************************************************************}
{
PT1 24/09/2003 SB V_42 F... |
unit Unit1;
// Demo 6
//
// Demonstrate interface aggregation
// The interface is implemented by a descendent of TAggregatedObject that is contained in an instance of TInterfacedObject
// Re-use of the inner object can reduce code duplication
interface
uses
System.Classes, Vcl.Controls, Vcl.Forms, Vcl.S... |
program lab_7;
var
str: string[255];
i: byte;
k, letter: char;
letters: array ['f'..'t'] of byte;
alphabeth, alphabethUp: set of char;
begin
alphabeth:= ['f', 'k', 'p', 's', 't'];
alphabethUp:= ['F', 'K', 'P', 'S', 'T'];
{str input}
write('Enter some string(max length = 256): '... |
{PASCAL Calculadora IVA }
{Una tienda de ropa necesita dar a conocer al
usuario, el costo normal de la prenda (sin IVA), cuál es el IVA (16%) y el precio final de una prenda. (1 punto
diagrama de flujo y algoritmo)}
program Hello;
var
nombre : string;
costo : real;
StringValue : string;
StringIVAValue : string... |
unit cFuncao;
interface
uses System.Classes,
Vcl.Controls,
Vcl.ExtCtrls,
Vcl.Dialogs,
ZAbstractConnection,
ZConnection,
ZAbstractRODataset,
ZAbstractDataset,
ZDataset,
System.SysUtils,
Vcl.Forms,
Vcl.Buttons,
cAcaoAcesso,
cUsuarioLogado,
RLReport;
... |
{***********UNITE*************************************************
Auteur ...... : Olivier Tarcy
Créé le ...... : 30/05/2000
Modifié le ... : 16/06/2000
Description .. : Sélection d'articles liés lors de la saisie de pièces :
Suite ........ : - les articles obligatoires seront sélectionnés d'office
Suite ........ : ... |
UNIT Tree;
INTERFACE
TYPE
NodePtr = ^Node;
Node = RECORD
firstChild, sibling: NodePtr;
val: STRING; (* nonterminal, operator or operand as string *)
END; (*RECORD*)
TreePtr = NodePtr;
PROCEDURE InitTree(VAR t: TreePtr);
FUNCTION CreateNode(s: STRING): NodePtr;
PROCEDURE WriteTreeIn... |
unit Google.Android;
{ Provides class abstraction for the Google Sign-In libraries for Android }
{$I Grijjy.inc}
interface
uses
System.SysUtils,
System.Messaging,
FMX.Platform,
Androidapi.JNI.Os,
Androidapi.JNI.GraphicsContentViewText,
Androidapi.JNI.App,
Google.Types,
Androidapi.Helpers,
Androida... |
//////////////////////////////////////////////
/// Cap. 5
/// Ejemplo de incrustar formulario en pagecontrol
/// Desarrollado : Ing. Carlos Reyes
unit Sample.IncrustarForm.FrmMain2;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl... |
//271207
unit frHeader;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Grids, StdCtrls, GlobalDcl, Buttons, ExtCtrls, siComp, siLngLnk;
type
TFileHeaderForm = class(TForm)
Label1: TLabel;
Panel1: TPanel;
HeaderGrid: TStringGrid;
Memo: TMemo;
siLangLi... |
//
// Created by the DataSnap proxy generator.
// 25/10/2017 14:51:11
//
unit UCC;
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.DBXJSONReflect;
type
... |
{*******************************************************}
{ }
{ Vladimir Gaitanoff Delphi VCL Library }
{ Data controls }
{ }
{ Copyright (c) 1... |
{***********UNITE*************************************************
Auteur ...... : Stéphane BOUSSERT
Créé le ...... : 26/04/2002
Modifié le ... : 26/04/2002
Description .. : Depuis 04/2002, passage en E-AGL :
Suite ........ : - Passage de la fiche dans Décla "CPTABLIBRELIB",
Suite ........ : - Création d'une unité T... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 13/04/2007
Modifié le ... : / /
Description .. : Source TOF de la FICHE : CPREVHISTOCYCLE ()
Mots clefs ... : TOF;CPREVHISTOCYCLE
*****************************************************************}
Unit CPREVHISTOCYC... |
unit MOC3DGridFunctions;
interface
{MOC3DGridFunctions defines PIE functions that define the edges of the
MOC3D subgrid.}
uses SysUtils, AnePIE, Dialogs;
procedure GetMocRow1 (const refPtX : ANE_DOUBLE_PTR ;
const refPtY : ANE_DOUBLE_PTR ;
numParams : ANE_INT16 ;
const parameters : AN... |
unit UZ_5;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Menus, Grids,
logic;
type
{ TForm1 }
TForm1 = class(TForm) //Класс формы
MainMenu1: TMainMenu; //Начало поля класса
Load: TOpenDialog;
File1: TMenuItem;
load... |
unit UDirectoryForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, sqldb, db, FileUtil, Forms, Controls, Graphics, Dialogs,
DBGrids, Menus, Buttons, StdCtrls, CheckLst, ExtCtrls, UMetadata, UFilter,
USQL, UEditCard, UDBConnection, UNotification;
type
{ TDirectoryForm }
TDirectoryForm = class(TFo... |
unit mServerSocket;
interface
uses
mCodeSite, CodeSiteLogging,
System.Classes, System.SysUtils, Vcl.ComCtrls,
System.Win.ScktComp, Winapi.winsock
;
type
TSvrClient = class(TServerClientWinSocket, IInterface, ICodeSiteLog)
private
FLogger: TCodeSiteLogger;
{$REGION 'Implements IInterface'}
prot... |
unit DW.BarcodeReader.Android;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
{*******************************************************************************
作者: dmzn@163.com 2013-3-8
描述: 管理OrgChart风格
*******************************************************************************}
unit UMgrOrgChartStyle;
interface
uses
Windows, Classes, Graphics, SysUtils, IniFiles, dxorgchr;
... |
(**
This module contains a class that implements the IOTAWizard and IOTAmenuWizard interfaces to
create a wizard / expert / plugin that can be loaded by the RAD Studio IDE to provide the
ability to browse the pcakages loaded in the IDE.
@Author David Hoyle
@Version 1.0
@Date 17 Dec 2016
@stopdocume... |
unit frmCD078B8U;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ActnList, ExtCtrls, DB, ADODB, Menus,
cbDBController, cbStyleController,
cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit,
cxImageComboBox, cxDBLookupCombo... |
unit BlockedFileListFormUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls;
type
TBlockedFilesListForm = class(TForm)
BlockedFilesList: TListView;
MsgLbl: TLabel;
CancelBtn: TButton;
OkBtn: TButton;
procedure FormCreat... |
unit NodeElementUnit;
interface
uses Classes, SysUtils, IntListUnit, VertexUnit, FishnetContourUnit,
BoundaryContourUnit, SegmentUnit, Math;
type
TFishnet = class;
TMesh = class;
TNeighborHood = class;
TNode = Class(TVertex)
Private
FNodeList : TList;
FMesh : TMesh;
FElementList : TL... |
unit MFMOCInitConc;
interface
{MFMOCInitConc defines the "Init Concentration Unit[i]" layer
and associated parameter.}
uses ANE_LayerUnit;
type
TMOCInitialConcParam = class(T_ANE_ParentIndexLayerParam)
class Function ANE_ParamName : string ; override;
end;
TMOCInitialConcLayer = Class(T_ANE_InfoLayer)
... |
unit Unit1;
{----------------------------------------------------------------------------
测试两个根据 IP 地址获取物理位置的 API
通过 http 请求获取结果,返回是 Json,分析 Jaon 获得国家、城市名称。
一个是淘宝的 API
一个是 ip-api 的 API
Delphi 10.3 测试通过.
pcplayer
2020-3-11
-------------------------------------------------------------------... |
//Verificado automaticamente em 16/06/2020 09:28
unit m_Marca;
{
========================================================================================================================================
ALT| DATA |HORA |UNIT |Descrição ... |
unit LIB.Model.Poin;
interface //#################################################################### ■
uses System.Types, System.Classes, System.Math.Vectors,
FMX.Types3D, FMX.Controls3D, FMX.MaterialSources;
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】
//$$$$$$$$$... |
unit SimpleTCPConnection;
{$IFNDEF VER150}{$INLINE AUTO}{$ENDIF}
interface
//TODO: Flush buffer on close
//TODO: Flush Buffer on read
uses IdSocketHandle, idglobal, IdTCPClient, IdTCPConnection,
DtNetConst, Classes, sysutils, SimpleAbstractConnection,
debug, typex, numbers, endian, stringx;
type
TSocksHe... |
unit SysCfgImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º SystemCfg Implementation
// Author£º lksoulman
// Date£º 2017-8-10
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
SysCf... |
unit ConsoleUtils;
{$IFDEF FPC}{$MODE DELPHI}{$ENDIF}
interface
type IConsole_Command_vftable = packed record
_destructor:pointer;
Execute:pointer;
Status:pointer;
Info:pointer;
Save:pointer;
fill_tips:pointer;
add_to_LRU:pointer;
end;
type pIConsole_Command_vftable = ^IConsole_Command_vftable;
type I... |
namespace Steps;
interface
uses
CoreMotion,
HealthKit,
UIKit;
type
[IBObject]
AppDelegate = class(IUIApplicationDelegate)
private
fQueue: NSOperationQueue := new NSOperationQueue;
fCounter: CMStepCounter;
fDataFileName: NSString;
fDistanceDataFileName: NSString;
fLoa... |
unit CommandMgrImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º CommandMgr Implementation
// Author£º lksoulman
// Date£º 2017-11-14
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
... |
(*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... |
unit S_Parametros_NF;
interface
uses
h_db, firedac.comp.client, sysutils;
type
TParametros_NF = class
private
class function getCertificado: string; static;
class procedure setCertificado(value: string); static;
class function getAmbiente: string; static;
class procedure setAmbiente(value: str... |
unit PosThreads;
interface
uses Classes, DBInt, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, IBSQL, IdURI, POSDM;
type
TFPCPostThread = class(TThread)
private
FStore : integer;
FFPCurl : string;
FHTTPClient : TIdHTTP;
FConfig : TConfigRW;
FLogStr : string;
procedure... |
unit helper;
interface
function MyGetPass(prompt: string): AnsiString;
function MyGetUsername: string;
procedure mySleep(sec: Integer; var kilepes: Boolean);
function ParsePZSOutputForGenre(s: string): string;
implementation
uses {$IFDEF MSWINDOWS}System.SysUtils{$ELSE}SysUtils{$ENDIF}, {$IFDEF MSWINDOWS}System.Str... |
unit DStringListView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, Math;
type
TStringListViewForm = class(TForm)
ListView1: TListView;
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObject);
private
{ Priva... |
unit uFormat;
interface
uses System.SysUtils, FMX.Edit, Classes, System.MaskUtils;
type
TFormato = (CNPJ, CPF, InscricaoEstadual, CNPJorCPF, TelefoneFixo, Celular,
Personalizado, Valor, Money, CEP, Dt, Peso);
procedure Formatar(Obj: TObject; Formato: TFormato; Extra: string = '');
implementation
function So... |
unit Gaia;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, SynCommons, Network, Crypto;
type
{ TGaiaHub }
TGaiaHub = class
private
FHost: RawUTF8;
FPrivateKey: IECPrivateKeyParameters;
FUrlPerfix, FToken, FAddress: RawUTF8;
function GetHubInfo: RawUTF8;
function MakeAuthToken(con... |
unit regUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, NppForms, StdCtrls, Buttons, ExtCtrls,
ConstUnit,
{$IFNDEF NPPCONNECTIONS}diaConstUnit,{$ENDIF}
IniFiles, Registry, System.Actions;
type
TOptionsReg = class
public
procedur... |
unit GdiMgrImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Descriptionú║ GdiMgr Implementation
// Authorú║ lksoulman
// Dateú║ 2017-11-15
// Commentsú║
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
Windows... |
unit EspecificacaoEstoquePorProdutoCorTamanho;
interface
uses
Especificacao;
type
TEspecificacaoEstoquePorProdutoCorTamanho = class(TEspecificacao)
private
FCodigoProduto :integer;
FCodigocor :integer;
FCodigoTamanho :integer;
FSetor :integer;
public
constructor Create(setor... |
(******************************************************************************
* Copyright (C) 2023 Tomáš Horák
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, in... |
// Project: FTEditor (Fielded Text Editor)
// Licence: Public Domain
// Web Home Page: http://www.xilytix.com/FieldedTextEditor.html
// Initial Developer: Paul Klink (http://paul.klink.id.au)
unit Xilytix.FTEditor.Common;
interface
uses
Messages,
Xilytix.FieldedText.DotNet,
Xilytix.FieldedText.Util... |
unit rMeds;
{$O-}
interface
uses SysUtils, Classes, ORFn, ORNet, uCore, uConst;
type
TMedListRec = class
public
PharmID: string;
OrderID: string;
Instruct: string;
StartDate: TFMDateTime;
StopDate: TFMDateTime;
Status: string;
Refills: string;
Inpatient: Boolean;
N... |
unit functionUnit;
interface
uses
AnePIE, FunctionPie, Dialogs, SysUtils;
type
TParameter_array = array[0..32760] of pointer;
PParameter_array = ^TParameter_array;
procedure GetANEFunctions( var numNames : ANE_INT32;
var descriptors : ANEPIEDescPtr ); cdecl;
procedure GPIECheckVersionMMFun (con... |
unit UtilsTOB;
interface
uses Classes,uTob,Variants,HMsgBox
;
type
TresultCmp = (TrcEqual,TrcLess,TrcMore);
function TOBFindInto(TheTOB : TOB; Clef : Array of string; TheKeys: array of variant): Integer;
function TOBDeleteInto(TheTOB : TOB; Clef : array of string; TheKeys: array of Variant): Boolean;
function TOB... |
{
Copyright (C) 2013-2023 Tim Sinaeve tim.sinaeve@gmail.com
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 a... |
unit ProcessForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls,
VclEx.ListView, Winapi.WinNt, TdSnapshot, WorkerThreads,
DelphiUiLib.HysteresisList, PsSnapshot;
type
TFormProcessInfo = class(TForm)
Page... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.