home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 May
/
VPR9705A.ISO
/
VPR_DATA
/
PROGRAM
/
CBTRIAL
/
SETUP
/
DATA.Z
/
ISP.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-14
|
50KB
|
1,049 lines
//----------------------------------------------------------------------------
// ISP.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: ISP.pas
//----------------------------------------------------------------------------
#ifndef ISPHPP
#define ISPHPP
//----------------------------------------------------------------------------
#include <Menus.hpp>
#include <Controls.hpp>
#include <OleCtrls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <OleCtl.hpp>
#include <OLE2.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Isp
{
//-- type declarations -------------------------------------------------------
struct TControlData;
typedef TControlData *PControlData;
struct TControlData
{
GUID ClassID;
GUID EventIID;
long EventCount;
void *EventDispIDs;
wchar_t *LicenseKey;
int Flags;
int InstanceCount;
Classes::TList* EnumPropDescs;
} ;
typedef void __fastcall (__closure *TFTPError)(System::TObject* Sender, short Number, System::AnsiString &
Description, int Scode, const System::AnsiString Source, const System::AnsiString HelpFile, int HelpContext
, Word &CancelDisplay);
typedef void __fastcall (__closure *TFTPTimeout)(System::TObject* Sender, short event, Word &Continue
);
typedef void __fastcall (__closure *TFTPStateChanged)(System::TObject* Sender, short State);
typedef void __fastcall (__closure *TFTPProtocolStateChanged)(System::TObject* Sender, short ProtocolState
);
typedef void __fastcall (__closure *TFTPBusy)(System::TObject* Sender, Word isBusy);
typedef void __fastcall (__closure *TFTPDocInput)(System::TObject* Sender, const System::Variant &DocInput
);
typedef void __fastcall (__closure *TFTPDocOutput)(System::TObject* Sender, const System::Variant &DocOutput
);
typedef void __fastcall (__closure *TFTPListItem)(System::TObject* Sender, const System::Variant &Item
);
class __declspec(delphiclass) TFTP;
class __declspec(pascalimplementation) TFTP : public Olectrls::TOleControl
{
typedef Olectrls::TOleControl inherited;
private:
TFTPError FOnError;
TFTPTimeout FOnTimeout;
Classes::TNotifyEvent FOnCancel;
TFTPStateChanged FOnStateChanged;
TFTPProtocolStateChanged FOnProtocolStateChanged;
TFTPBusy FOnBusy;
Classes::TNotifyEvent FOnLog;
TFTPDocInput FOnDocInput;
TFTPDocOutput FOnDocOutput;
Classes::TNotifyEvent FOnAbort;
Classes::TNotifyEvent FOnAccount;
Classes::TNotifyEvent FOnChangeDir;
Classes::TNotifyEvent FOnCreateDir;
Classes::TNotifyEvent FOnDeleteDir;
Classes::TNotifyEvent FOnDelFile;
Classes::TNotifyEvent FOnHelp;
Classes::TNotifyEvent FOnmode;
Classes::TNotifyEvent FOnNoop;
Classes::TNotifyEvent FOnParentDir;
Classes::TNotifyEvent FOnPrintDir;
Classes::TNotifyEvent FOnExecute;
Classes::TNotifyEvent FOnStatus;
Classes::TNotifyEvent FOnReinitialize;
Classes::TNotifyEvent FOnSystem;
Classes::TNotifyEvent FOnSite;
Classes::TNotifyEvent FOnType;
TFTPListItem FOnListItem;
int __stdcall Get_Timeout(short event);
void __stdcall Set_Timeout(short event, int Value);
void __stdcall Set_EnableTimer(short event, Word Value);
protected:
virtual void __fastcall InitControlData(void);
public:
void __stdcall AboutBox(void);
void __stdcall Cancel(void);
void __stdcall Connect(const System::Variant &RemoteHost, const System::Variant &RemotePort);
void __stdcall Authenticate(const System::Variant &UserId, const System::Variant &Password);
void __stdcall SendDoc(const System::Variant &URL, const System::Variant &Headers, const System::Variant
&InputData, const System::Variant &InputFile, const System::Variant &OutputFile);
void __stdcall GetDoc(const System::Variant &URL, const System::Variant &Headers, const System::Variant
&OutputFile);
void __stdcall Abort(void);
void __stdcall Account(const System::AnsiString Account);
void __stdcall ChangeDir(const System::AnsiString directory);
void __stdcall CreateDir(const System::AnsiString directory);
void __stdcall DeleteDir(const System::AnsiString directory);
void __stdcall DeleteFile(const System::AnsiString FileName);
void __stdcall Quit(void);
void __stdcall Help(const System::AnsiString Help);
void __stdcall Noop(void);
void __stdcall mode(Olectrls::TOleEnum ftpMode);
void __stdcall Type_(Olectrls::TOleEnum ftpType);
void __stdcall List(const System::AnsiString List);
void __stdcall NameList(const System::AnsiString NameList);
void __stdcall ParentDir(void);
void __stdcall PrintDir(void);
void __stdcall Execute(const System::AnsiString Execute);
void __stdcall Status(const System::AnsiString Status);
void __stdcall PutFile(const System::AnsiString srcFileName, const System::AnsiString destFileName)
;
void __stdcall Reinitialize(void);
void __stdcall System(void);
void __stdcall GetFile(const System::AnsiString srcFileName, const System::AnsiString destFileName)
;
void __stdcall PutFileUnique(const System::AnsiString FileName);
void __stdcall Site(const System::AnsiString Site);
__property short State = {read=GetSmallintProp, index=503, nodefault};
__property short ProtocolState = {read=GetSmallintProp, index=504, nodefault};
__property System::AnsiString ReplyString = {read=GetStringProp, index=505, nodefault};
__property int ReplyCode = {read=GetIntegerProp, index=506, nodefault};
__property System::Variant Errors = {read=GetVariantProp, index=508};
__property Word Busy = {read=GetOleBoolProp, index=509, nodefault};
__property System::AnsiString StateString = {read=GetStringProp, index=511, nodefault};
__property System::AnsiString ProtocolStateString = {read=GetStringProp, index=512, nodefault};
__property System::Variant DocInput = {read=GetVariantProp, index=1002};
__property System::Variant DocOutput = {read=GetVariantProp, index=1003};
__property Olectrls::TOleEnum Operation = {read=GetOleEnumProp, index=5, nodefault};
__property int Timeout[short event] = {read=Get_Timeout, write=Set_Timeout};
__property Word EnableTimer[short event] = {write=Set_EnableTimer};
__published:
__property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
index=0, nodefault};
__property int RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502, nodefault
};
__property short NotificationMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=510
, nodefault};
__property Word Logging = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=514, nodefault
};
__property System::AnsiString UserId = {read=GetStringProp, write=SetStringProp, stored=false, index=601
, nodefault};
__property System::AnsiString Password = {read=GetStringProp, write=SetStringProp, stored=false, index=602
, nodefault};
__property System::AnsiString URL = {read=GetStringProp, write=SetStringProp, stored=false, index=1001
, nodefault};
__property Word AppendToFile = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=1, nodefault
};
__property Word ListItemNotify = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=2,
nodefault};
__property System::AnsiString RemoteFile = {read=GetStringProp, write=SetStringProp, stored=false,
index=3, nodefault};
__property TFTPError OnError = {read=FOnError, write=FOnError};
__property TFTPTimeout OnTimeout = {read=FOnTimeout, write=FOnTimeout};
__property Classes::TNotifyEvent OnCancel = {read=FOnCancel, write=FOnCancel};
__property TFTPStateChanged OnStateChanged = {read=FOnStateChanged, write=FOnStateChanged};
__property TFTPProtocolStateChanged OnProtocolStateChanged = {read=FOnProtocolStateChanged, write=FOnProtocolStateChanged
};
__property TFTPBusy OnBusy = {read=FOnBusy, write=FOnBusy};
__property Classes::TNotifyEvent OnLog = {read=FOnLog, write=FOnLog};
__property TFTPDocInput OnDocInput = {read=FOnDocInput, write=FOnDocInput};
__property TFTPDocOutput OnDocOutput = {read=FOnDocOutput, write=FOnDocOutput};
__property Classes::TNotifyEvent OnAbort = {read=FOnAbort, write=FOnAbort};
__property Classes::TNotifyEvent OnAccount = {read=FOnAccount, write=FOnAccount};
__property Classes::TNotifyEvent OnChangeDir = {read=FOnChangeDir, write=FOnChangeDir};
__property Classes::TNotifyEvent OnCreateDir = {read=FOnCreateDir, write=FOnCreateDir};
__property Classes::TNotifyEvent OnDeleteDir = {read=FOnDeleteDir, write=FOnDeleteDir};
__property Classes::TNotifyEvent OnDelFile = {read=FOnDelFile, write=FOnDelFile};
__property Classes::TNotifyEvent OnHelp = {read=FOnHelp, write=FOnHelp};
__property Classes::TNotifyEvent Onmode = {read=FOnmode, write=FOnmode};
__property Classes::TNotifyEvent OnNoop = {read=FOnNoop, write=FOnNoop};
__property Classes::TNotifyEvent OnParentDir = {read=FOnParentDir, write=FOnParentDir};
__property Classes::TNotifyEvent OnPrintDir = {read=FOnPrintDir, write=FOnPrintDir};
__property Classes::TNotifyEvent OnExecute = {read=FOnExecute, write=FOnExecute};
__property Classes::TNotifyEvent OnStatus = {read=FOnStatus, write=FOnStatus};
__property Classes::TNotifyEvent OnReinitialize = {read=FOnReinitialize, write=FOnReinitialize};
__property Classes::TNotifyEvent OnSystem = {read=FOnSystem, write=FOnSystem};
__property Classes::TNotifyEvent OnSite = {read=FOnSite, write=FOnSite};
__property Classes::TNotifyEvent OnType = {read=FOnType, write=FOnType};
__property TFTPListItem OnListItem = {read=FOnListItem, write=FOnListItem};
public:
/* TOleControl.Create */ __fastcall virtual TFTP(Classes::TComponent* AOwner) : Olectrls::TOleControl(
AOwner) { }
/* TOleControl.Destroy */ __fastcall virtual ~TFTP(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TFTP(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
) { }
};
typedef void __fastcall (__closure *THTMLError)(System::TObject* Sender, short Number, System::AnsiString &
Description, int Scode, const System::AnsiString Source, const System::AnsiString HelpFile, int HelpContext
, Word &CancelDisplay);
typedef void __fastcall (__closure *THTMLDocInput)(System::TObject* Sender, const System::Variant &DocInput
);
typedef void __fastcall (__closure *THTMLDocOutput)(System::TObject* Sender, const System::Variant &DocOutput
);
typedef void __fastcall (__closure *THTMLDoRequestDoc)(System::TObject* Sender, const System::AnsiString
URL, const System::Variant &Element, const System::Variant &DocInput, Word &EnableDefault);
typedef void __fastcall (__closure *THTMLDoRequestEmbedded)(System::TObject* Sender, const System::AnsiString
URL, const System::Variant &Element, const System::Variant &DocInput, Word &EnableDefault);
typedef void __fastcall (__closure *THTMLDoRequestSubmit)(System::TObject* Sender, const System::AnsiString
URL, const System::Variant &Form, const System::Variant &DocOutput, Word &EnableDefault);
typedef void __fastcall (__closure *THTMLDoNewElement)(System::TObject* Sender, const System::AnsiString
ElemType, Word EndTag, const System::Variant &Attrs, const System::AnsiString Text, Word &EnableDefault
);
class __declspec(delphiclass) THTML;
class __declspec(pascalimplementation) THTML : public Olectrls::TOleControl
{
typedef Olectrls::TOleControl inherited;
private:
THTMLError FOnError;
THTMLDocInput FOnDocInput;
THTMLDocOutput FOnDocOutput;
Classes::TNotifyEvent FOnParseComplete;
Classes::TNotifyEvent FOnLayoutComplete;
Classes::TNotifyEvent FOnTimeout;
Classes::TNotifyEvent FOnBeginRetrieval;
Classes::TNotifyEvent FOnUpdateRetrieval;
Classes::TNotifyEvent FOnEndRetrieval;
THTMLDoRequestDoc FOnDoRequestDoc;
THTMLDoRequestEmbedded FOnDoRequestEmbedded;
THTMLDoRequestSubmit FOnDoRequestSubmit;
THTMLDoNewElement FOnDoNewElement;
protected:
virtual void __fastcall InitControlData(void);
public:
void __stdcall AboutBox(void);
void __stdcall RequestDoc(const System::AnsiString URL);
void __stdcall RequestAllEmbedded(void);
void __stdcall Cancel(const System::Variant &Message);
__property System::Variant DocInput = {read=GetVariantProp, index=1002};
__property System::Variant DocOutput = {read=GetVariantProp, index=1003};
__property System::AnsiString URL = {read=GetStringProp, index=1001, nodefault};
__property System::AnsiString RequestURL = {read=GetStringProp, index=2, nodefault};
__property System::AnsiString BaseURL = {read=GetStringProp, index=3, nodefault};
__property System::Variant Forms = {read=GetVariantProp, index=4};
__property int TotalWidth = {read=GetIntegerProp, index=5, nodefault};
__property int TotalHeight = {read=GetIntegerProp, index=6, nodefault};
__property int RetrieveBytesTotal = {read=GetIntegerProp, index=7, nodefault};
__property int RetrieveBytesDone = {read=GetIntegerProp, index=8, nodefault};
__property Word ParseDone = {read=GetOleBoolProp, index=9, nodefault};
__property Word LayoutDone = {read=GetOleBoolProp, index=10, nodefault};
__property System::AnsiString SourceText = {read=GetStringProp, index=14, nodefault};
__property Graphics::TColor DocBackColor = {read=GetColorProp, index=23, nodefault};
__property Graphics::TColor DocForeColor = {read=GetColorProp, index=24, nodefault};
__property Graphics::TColor DocLinkColor = {read=GetColorProp, index=25, nodefault};
__property Graphics::TColor DocVisitedColor = {read=GetColorProp, index=26, nodefault};
__property System::Variant Errors = {read=GetVariantProp, index=508};
__published:
__property Align ;
__property ParentColor ;
__property ParentFont ;
__property TabStop ;
__property DragCursor ;
__property DragMode ;
__property ParentShowHint ;
__property PopupMenu ;
__property ShowHint ;
__property TabOrder ;
__property Visible ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDrag ;
__property OnEnter ;
__property OnExit ;
__property OnStartDrag ;
__property OnClick ;
__property OnDblClick ;
__property OnKeyDown ;
__property OnKeyPress ;
__property OnKeyUp ;
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property Word DeferRetrieval = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=11
, nodefault};
__property Word ViewSource = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=12, nodefault
};
__property Word RetainSource = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=13,
nodefault};
__property Word ElemNotification = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=15
, nodefault};
__property int Timeout = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=507, nodefault
};
__property Word Redraw = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=17, nodefault
};
__property Word UnderlineLinks = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=18
, nodefault};
__property Word UseDocColors = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=19,
nodefault};
__property System::AnsiString BackImage = {read=GetStringProp, write=SetStringProp, stored=false, index=20
, nodefault};
__property Graphics::TColor BackColor = {read=GetColorProp, write=SetColorProp, stored=false, index=-501
, nodefault};
__property Graphics::TColor ForeColor = {read=GetColorProp, write=SetColorProp, stored=false, index=-513
, nodefault};
__property Graphics::TColor LinkColor = {read=GetColorProp, write=SetColorProp, stored=false, index=21
, nodefault};
__property Graphics::TColor VisitedColor = {read=GetColorProp, write=SetColorProp, stored=false, index=22
, nodefault};
__property System::Variant Font = {read=GetVariantProp, write=SetVariantProp, stored=false, index=-512
};
__property System::Variant FixedFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=27
};
__property System::Variant Heading1Font = {read=GetVariantProp, write=SetVariantProp, stored=false,
index=28};
__property System::Variant Heading2Font = {read=GetVariantProp, write=SetVariantProp, stored=false,
index=29};
__property System::Variant Heading3Font = {read=GetVariantProp, write=SetVariantProp, stored=false,
index=30};
__property System::Variant Heading4Font = {read=GetVariantProp, write=SetVariantProp, stored=false,
index=31};
__property System::Variant Heading5Font = {read=GetVariantProp, write=SetVariantProp, stored=false,
index=32};
__property System::Variant Heading6Font = {read=GetVariantProp, write=SetVariantProp, stored=false,
index=33};
__property THTMLError OnError = {read=FOnError, write=FOnError};
__property THTMLDocInput OnDocInput = {read=FOnDocInput, write=FOnDocInput};
__property THTMLDocOutput OnDocOutput = {read=FOnDocOutput, write=FOnDocOutput};
__property Classes::TNotifyEvent OnParseComplete = {read=FOnParseComplete, write=FOnParseComplete};
__property Classes::TNotifyEvent OnLayoutComplete = {read=FOnLayoutComplete, write=FOnLayoutComplete
};
__property Classes::TNotifyEvent OnTimeout = {read=FOnTimeout, write=FOnTimeout};
__property Classes::TNotifyEvent OnBeginRetrieval = {read=FOnBeginRetrieval, write=FOnBeginRetrieval
};
__property Classes::TNotifyEvent OnUpdateRetrieval = {read=FOnUpdateRetrieval, write=FOnUpdateRetrieval
};
__property Classes::TNotifyEvent OnEndRetrieval = {read=FOnEndRetrieval, write=FOnEndRetrieval};
__property THTMLDoRequestDoc OnDoRequestDoc = {read=FOnDoRequestDoc, write=FOnDoRequestDoc};
__property THTMLDoRequestEmbedded OnDoRequestEmbedded = {read=FOnDoRequestEmbedded, write=FOnDoRequestEmbedded
};
__property THTMLDoRequestSubmit OnDoRequestSubmit = {read=FOnDoRequestSubmit, write=FOnDoRequestSubmit
};
__property THTMLDoNewElement OnDoNewElement = {read=FOnDoNewElement, write=FOnDoNewElement};
public:
/* TOleControl.Create */ __fastcall virtual THTML(Classes::TComponent* AOwner) : Olectrls::TOleControl(
AOwner) { }
/* TOleControl.Destroy */ __fastcall virtual ~THTML(void) { }
public:
/* TWinControl.CreateParented */ __fastcall THTML(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
) { }
};
typedef void __fastcall (__closure *THTTPError)(System::TObject* Sender, short Number, System::AnsiString &
Description, int Scode, const System::AnsiString Source, const System::AnsiString HelpFile, int HelpContext
, Word &CancelDisplay);
typedef void __fastcall (__closure *THTTPTimeout)(System::TObject* Sender, short event, Word &Continue
);
typedef void __fastcall (__closure *THTTPStateChanged)(System::TObject* Sender, short State);
typedef void __fastcall (__closure *THTTPProtocolStateChanged)(System::TObject* Sender, short ProtocolState
);
typedef void __fastcall (__closure *THTTPBusy)(System::TObject* Sender, Word isBusy);
typedef void __fastcall (__closure *THTTPDocInput)(System::TObject* Sender, const System::Variant &DocInput
);
typedef void __fastcall (__closure *THTTPDocOutput)(System::TObject* Sender, const System::Variant &DocOutput
);
class __declspec(delphiclass) THTTP;
class __declspec(pascalimplementation) THTTP : public Olectrls::TOleControl
{
typedef Olectrls::TOleControl inherited;
private:
THTTPError FOnError;
THTTPTimeout FOnTimeout;
Classes::TNotifyEvent FOnCancel;
THTTPStateChanged FOnStateChanged;
THTTPProtocolStateChanged FOnProtocolStateChanged;
THTTPBusy FOnBusy;
Classes::TNotifyEvent FOnLog;
THTTPDocInput FOnDocInput;
THTTPDocOutput FOnDocOutput;
int __stdcall Get_Timeout(short event);
void __stdcall Set_Timeout(short event, int Value);
void __stdcall Set_EnableTimer(short event, Word Value);
protected:
virtual void __fastcall InitControlData(void);
public:
void __stdcall AboutBox(void);
void __stdcall Cancel(void);
void __stdcall SendDoc(const System::Variant &URL, const System::Variant &Headers, const System::Variant
&InputData, const System::Variant &InputFile, const System::Variant &OutputFile);
void __stdcall GetDoc(const System::Variant &URL, const System::Variant &Headers, const System::Variant
&OutputFile);
__property short State = {read=GetSmallintProp, index=503, nodefault};
__property short ProtocolState = {read=GetSmallintProp, index=504, nodefault};
__property System::AnsiString ReplyString = {read=GetStringProp, index=505, nodefault};
__property int ReplyCode = {read=GetIntegerProp, index=506, nodefault};
__property System::Variant Errors = {read=GetVariantProp, index=508};
__property Word Busy = {read=GetOleBoolProp, index=509, nodefault};
__property System::AnsiString StateString = {read=GetStringProp, index=511, nodefault};
__property System::AnsiString ProtocolStateString = {read=GetStringProp, index=512, nodefault};
__property System::Variant DocInput = {read=GetVariantProp, index=1002};
__property System::Variant DocOutput = {read=GetVariantProp, index=1003};
__property int Timeout[short event] = {read=Get_Timeout, write=Set_Timeout};
__property Word EnableTimer[short event] = {write=Set_EnableTimer};
__published:
__property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
index=0, nodefault};
__property int RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502, nodefault
};
__property short NotificationMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=510
, nodefault};
__property Word Logging = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=514, nodefault
};
__property System::AnsiString Document = {read=GetStringProp, write=SetStringProp, stored=false, index=10
, nodefault};
__property Olectrls::TOleEnum Method = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, index=11
, nodefault};
__property System::AnsiString URL = {read=GetStringProp, write=SetStringProp, stored=false, index=1001
, nodefault};
__property THTTPError OnError = {read=FOnError, write=FOnError};
__property THTTPTimeout OnTimeout = {read=FOnTimeout, write=FOnTimeout};
__property Classes::TNotifyEvent OnCancel = {read=FOnCancel, write=FOnCancel};
__property THTTPStateChanged OnStateChanged = {read=FOnStateChanged, write=FOnStateChanged};
__property THTTPProtocolStateChanged OnProtocolStateChanged = {read=FOnProtocolStateChanged, write=
FOnProtocolStateChanged};
__property THTTPBusy OnBusy = {read=FOnBusy, write=FOnBusy};
__property Classes::TNotifyEvent OnLog = {read=FOnLog, write=FOnLog};
__property THTTPDocInput OnDocInput = {read=FOnDocInput, write=FOnDocInput};
__property THTTPDocOutput OnDocOutput = {read=FOnDocOutput, write=FOnDocOutput};
public:
/* TOleControl.Create */ __fastcall virtual THTTP(Classes::TComponent* AOwner) : Olectrls::TOleControl(
AOwner) { }
/* TOleControl.Destroy */ __fastcall virtual ~THTTP(void) { }
public:
/* TWinControl.CreateParented */ __fastcall THTTP(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
) { }
};
typedef void __fastcall (__closure *TNNTPError)(System::TObject* Sender, short Number, System::AnsiString &
Description, int Scode, const System::AnsiString Source, const System::AnsiString HelpFile, int HelpContext
, Word &CancelDisplay);
typedef void __fastcall (__closure *TNNTPTimeout)(System::TObject* Sender, short event, Word &Continue
);
typedef void __fastcall (__closure *TNNTPStateChanged)(System::TObject* Sender, short State);
typedef void __fastcall (__closure *TNNTPProtocolStateChanged)(System::TObject* Sender, short ProtocolState
);
typedef void __fastcall (__closure *TNNTPBusy)(System::TObject* Sender, Word isBusy);
typedef void __fastcall (__closure *TNNTPDocInput)(System::TObject* Sender, const System::Variant &DocInput
);
typedef void __fastcall (__closure *TNNTPDocOutput)(System::TObject* Sender, const System::Variant &DocOutput
);
typedef void __fastcall (__closure *TNNTPAuthenticateRequest)(System::TObject* Sender, System::AnsiString &
UserId, System::AnsiString &Password);
typedef void __fastcall (__closure *TNNTPAuthenticateResponse)(System::TObject* Sender, Word Authenticated
);
typedef void __fastcall (__closure *TNNTPBanner)(System::TObject* Sender, const System::AnsiString Banner
);
typedef void __fastcall (__closure *TNNTPSelectGroup)(System::TObject* Sender, const System::AnsiString
groupName, int firstMessage, int lastMessage, int msgCount);
typedef void __fastcall (__closure *TNNTPNextArticle)(System::TObject* Sender, int articleNumber, const System::AnsiString
messageID);
typedef void __fastcall (__closure *TNNTPlastArticle)(System::TObject* Sender, int articleNumber, const System::AnsiString
messageID);
typedef void __fastcall (__closure *TNNTPArticleStatus)(System::TObject* Sender, int articleNumber,
const System::AnsiString messageID);
class __declspec(delphiclass) TNNTP;
class __declspec(pascalimplementation) TNNTP : public Olectrls::TOleControl
{
typedef Olectrls::TOleControl inherited;
private:
TNNTPError FOnError;
TNNTPTimeout FOnTimeout;
Classes::TNotifyEvent FOnCancel;
TNNTPStateChanged FOnStateChanged;
TNNTPProtocolStateChanged FOnProtocolStateChanged;
TNNTPBusy FOnBusy;
Classes::TNotifyEvent FOnLog;
TNNTPDocInput FOnDocInput;
TNNTPDocOutput FOnDocOutput;
TNNTPAuthenticateRequest FOnAuthenticateRequest;
TNNTPAuthenticateResponse FOnAuthenticateResponse;
TNNTPBanner FOnBanner;
TNNTPSelectGroup FOnSelectGroup;
TNNTPNextArticle FOnNextArticle;
TNNTPlastArticle FOnlastArticle;
TNNTPArticleStatus FOnArticleStatus;
int __stdcall Get_Timeout(short event);
void __stdcall Set_Timeout(short event, int Value);
void __stdcall Set_EnableTimer(short event, Word Value);
protected:
virtual void __fastcall InitControlData(void);
public:
void __stdcall AboutBox(void);
void __stdcall Cancel(void);
void __stdcall Connect(const System::Variant &RemoteHost, const System::Variant &RemotePort);
void __stdcall SendDoc(const System::Variant &URL, const System::Variant &Headers, const System::Variant
&InputData, const System::Variant &InputFile, const System::Variant &OutputFile);
void __stdcall GetDoc(const System::Variant &URL, const System::Variant &Headers, const System::Variant
&OutputFile);
void __stdcall GetAdministrationFile(const System::Variant &LastUpdate);
void __stdcall SelectGroup(const System::AnsiString groupName);
void __stdcall SetNextArticle(void);
void __stdcall SetLastArticle(void);
void __stdcall GetArticleNumbers(const System::Variant &groupName);
void __stdcall GetArticleHeaders(const System::AnsiString header, const System::Variant &firstArticle
, const System::Variant &lastArticle);
void __stdcall GetArticleByArticleNumber(const System::Variant &articleNumber);
void __stdcall GetArticleByMessageID(const System::AnsiString messageID);
void __stdcall GetHeaderByArticleNumber(const System::Variant &articleNumber);
void __stdcall GetHeaderByMessageID(const System::AnsiString messageID);
void __stdcall GetBodyByArticleNumber(const System::Variant &articleNumber);
void __stdcall GetBodyByMessageID(const System::AnsiString messageID);
void __stdcall GetStatByArticleNumber(const System::Variant &articleNumber);
void __stdcall GetOverviewFormat(void);
void __stdcall GetOverview(const System::Variant &firstArticle, const System::Variant &lastArticle)
;
void __stdcall ListGroups(void);
void __stdcall ListGroupDescriptions(void);
void __stdcall ListNewGroups(const System::Variant &LastUpdate);
void __stdcall Quit(void);
__property short State = {read=GetSmallintProp, index=503, nodefault};
__property short ProtocolState = {read=GetSmallintProp, index=504, nodefault};
__property System::AnsiString ReplyString = {read=GetStringProp, index=505, nodefault};
__property int ReplyCode = {read=GetIntegerProp, index=506, nodefault};
__property System::Variant Errors = {read=GetVariantProp, index=508};
__property Word Busy = {read=GetOleBoolProp, index=509, nodefault};
__property System::AnsiString StateString = {read=GetStringProp, index=511, nodefault};
__property System::AnsiString ProtocolStateString = {read=GetStringProp, index=512, nodefault};
__property System::Variant DocInput = {read=GetVariantProp, index=1002};
__property System::Variant DocOutput = {read=GetVariantProp, index=1003};
__property Word ArticleNumbersSupported = {read=GetOleBoolProp, index=1, nodefault};
__property Word OverviewSupported = {read=GetOleBoolProp, index=2, nodefault};
__property Word PostingAllowed = {read=GetOleBoolProp, index=3, nodefault};
__property int Timeout[short event] = {read=Get_Timeout, write=Set_Timeout};
__property Word EnableTimer[short event] = {write=Set_EnableTimer};
__published:
__property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
index=0, nodefault};
__property int RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502, nodefault
};
__property short NotificationMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=510
, nodefault};
__property Word Logging = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=514, nodefault
};
__property System::AnsiString URL = {read=GetStringProp, write=SetStringProp, stored=false, index=1001
, nodefault};
__property double LastUpdate = {read=GetOleDateProp, write=SetOleDateProp, stored=false, index=4};
__property TNNTPError OnError = {read=FOnError, write=FOnError};
__property TNNTPTimeout OnTimeout = {read=FOnTimeout, write=FOnTimeout};
__property Classes::TNotifyEvent OnCancel = {read=FOnCancel, write=FOnCancel};
__property TNNTPStateChanged OnStateChanged = {read=FOnStateChanged, write=FOnStateChanged};
__property TNNTPProtocolStateChanged OnProtocolStateChanged = {read=FOnProtocolStateChanged, write=
FOnProtocolStateChanged};
__property TNNTPBusy OnBusy = {read=FOnBusy, write=FOnBusy};
__property Classes::TNotifyEvent OnLog = {read=FOnLog, write=FOnLog};
__property TNNTPDocInput OnDocInput = {read=FOnDocInput, write=FOnDocInput};
__property TNNTPDocOutput OnDocOutput = {read=FOnDocOutput, write=FOnDocOutput};
__property TNNTPAuthenticateRequest OnAuthenticateRequest = {read=FOnAuthenticateRequest, write=FOnAuthenticateRequest
};
__property TNNTPAuthenticateResponse OnAuthenticateResponse = {read=FOnAuthenticateResponse, write=
FOnAuthenticateResponse};
__property TNNTPBanner OnBanner = {read=FOnBanner, write=FOnBanner};
__property TNNTPSelectGroup OnSelectGroup = {read=FOnSelectGroup, write=FOnSelectGroup};
__property TNNTPNextArticle OnNextArticle = {read=FOnNextArticle, write=FOnNextArticle};
__property TNNTPlastArticle OnlastArticle = {read=FOnlastArticle, write=FOnlastArticle};
__property TNNTPArticleStatus OnArticleStatus = {read=FOnArticleStatus, write=FOnArticleStatus};
public:
/* TOleControl.Create */ __fastcall virtual TNNTP(Classes::TComponent* AOwner) : Olectrls::TOleControl(
AOwner) { }
/* TOleControl.Destroy */ __fastcall virtual ~TNNTP(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TNNTP(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
) { }
};
typedef void __fastcall (__closure *TPOPError)(System::TObject* Sender, short Number, System::AnsiString &
Description, int Scode, const System::AnsiString Source, const System::AnsiString HelpFile, int HelpContext
, Word &CancelDisplay);
typedef void __fastcall (__closure *TPOPTimeout)(System::TObject* Sender, short event, Word &Continue
);
typedef void __fastcall (__closure *TPOPStateChanged)(System::TObject* Sender, short State);
typedef void __fastcall (__closure *TPOPProtocolStateChanged)(System::TObject* Sender, short ProtocolState
);
typedef void __fastcall (__closure *TPOPBusy)(System::TObject* Sender, Word isBusy);
typedef void __fastcall (__closure *TPOPDocOutput)(System::TObject* Sender, const System::Variant &DocOutput
);
typedef void __fastcall (__closure *TPOPMessageSize)(System::TObject* Sender, int msgSize);
typedef void __fastcall (__closure *TPOPLast)(System::TObject* Sender, int Number);
typedef void __fastcall (__closure *TPOPRefreshMessageCount)(System::TObject* Sender, int Number);
class __declspec(delphiclass) TPOP;
class __declspec(pascalimplementation) TPOP : public Olectrls::TOleControl
{
typedef Olectrls::TOleControl inherited;
private:
TPOPError FOnError;
TPOPTimeout FOnTimeout;
Classes::TNotifyEvent FOnCancel;
TPOPStateChanged FOnStateChanged;
TPOPProtocolStateChanged FOnProtocolStateChanged;
TPOPBusy FOnBusy;
Classes::TNotifyEvent FOnLog;
TPOPDocOutput FOnDocOutput;
TPOPMessageSize FOnMessageSize;
Classes::TNotifyEvent FOnDelete;
Classes::TNotifyEvent FOnReset;
TPOPLast FOnLast;
Classes::TNotifyEvent FOnNoop;
TPOPRefreshMessageCount FOnRefreshMessageCount;
int __stdcall Get_Timeout(short event);
void __stdcall Set_Timeout(short event, int Value);
void __stdcall Set_EnableTimer(short event, Word Value);
protected:
virtual void __fastcall InitControlData(void);
public:
void __stdcall AboutBox(void);
void __stdcall Cancel(void);
void __stdcall Connect(const System::Variant &RemoteHost, const System::Variant &RemotePort);
void __stdcall Authenticate(const System::Variant &UserId, const System::Variant &Password);
void __stdcall GetDoc(const System::Variant &URL, const System::Variant &Headers, const System::Variant
&OutputFile);
void __stdcall MessageSize(short MessageNumber);
void __stdcall RetrieveMessage(short MessageNumber);
void __stdcall Delete(short MessageNumber);
void __stdcall Reset(void);
void __stdcall Last(void);
void __stdcall Noop(void);
void __stdcall TopMessage(short MessageNumber);
void __stdcall Quit(void);
void __stdcall RefreshMessageCount(void);
__property short State = {read=GetSmallintProp, index=503, nodefault};
__property short ProtocolState = {read=GetSmallintProp, index=504, nodefault};
__property System::AnsiString ReplyString = {read=GetStringProp, index=505, nodefault};
__property int ReplyCode = {read=GetIntegerProp, index=506, nodefault};
__property System::Variant Errors = {read=GetVariantProp, index=508};
__property Word Busy = {read=GetOleBoolProp, index=509, nodefault};
__property System::AnsiString StateString = {read=GetStringProp, index=511, nodefault};
__property System::AnsiString ProtocolStateString = {read=GetStringProp, index=512, nodefault};
__property System::Variant DocOutput = {read=GetVariantProp, index=1003};
__property Word TopSupported = {read=GetOleBoolProp, index=2452, nodefault};
__property short MessageCount = {read=GetSmallintProp, index=2454, nodefault};
__property int Timeout[short event] = {read=Get_Timeout, write=Set_Timeout};
__property Word EnableTimer[short event] = {write=Set_EnableTimer};
__published:
__property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
index=0, nodefault};
__property int RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502, nodefault
};
__property short NotificationMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=510
, nodefault};
__property Word Logging = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=514, nodefault
};
__property System::AnsiString UserId = {read=GetStringProp, write=SetStringProp, stored=false, index=601
, nodefault};
__property System::AnsiString Password = {read=GetStringProp, write=SetStringProp, stored=false, index=602
, nodefault};
__property System::AnsiString URL = {read=GetStringProp, write=SetStringProp, stored=false, index=1001
, nodefault};
__property int TopLines = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2453, nodefault
};
__property TPOPError OnError = {read=FOnError, write=FOnError};
__property TPOPTimeout OnTimeout = {read=FOnTimeout, write=FOnTimeout};
__property Classes::TNotifyEvent OnCancel = {read=FOnCancel, write=FOnCancel};
__property TPOPStateChanged OnStateChanged = {read=FOnStateChanged, write=FOnStateChanged};
__property TPOPProtocolStateChanged OnProtocolStateChanged = {read=FOnProtocolStateChanged, write=FOnProtocolStateChanged
};
__property TPOPBusy OnBusy = {read=FOnBusy, write=FOnBusy};
__property Classes::TNotifyEvent OnLog = {read=FOnLog, write=FOnLog};
__property TPOPDocOutput OnDocOutput = {read=FOnDocOutput, write=FOnDocOutput};
__property TPOPMessageSize OnMessageSize = {read=FOnMessageSize, write=FOnMessageSize};
__property Classes::TNotifyEvent OnDelete = {read=FOnDelete, write=FOnDelete};
__property Classes::TNotifyEvent OnReset = {read=FOnReset, write=FOnReset};
__property TPOPLast OnLast = {read=FOnLast, write=FOnLast};
__property Classes::TNotifyEvent OnNoop = {read=FOnNoop, write=FOnNoop};
__property TPOPRefreshMessageCount OnRefreshMessageCount = {read=FOnRefreshMessageCount, write=FOnRefreshMessageCount
};
public:
/* TOleControl.Create */ __fastcall virtual TPOP(Classes::TComponent* AOwner) : Olectrls::TOleControl(
AOwner) { }
/* TOleControl.Destroy */ __fastcall virtual ~TPOP(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TPOP(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
) { }
};
typedef void __fastcall (__closure *TSMTPError)(System::TObject* Sender, short Number, System::AnsiString &
Description, int Scode, const System::AnsiString Source, const System::AnsiString HelpFile, int HelpContext
, Word &CancelDisplay);
typedef void __fastcall (__closure *TSMTPTimeout)(System::TObject* Sender, short event, Word &Continue
);
typedef void __fastcall (__closure *TSMTPStateChanged)(System::TObject* Sender, short State);
typedef void __fastcall (__closure *TSMTPProtocolStateChanged)(System::TObject* Sender, short ProtocolState
);
typedef void __fastcall (__closure *TSMTPBusy)(System::TObject* Sender, Word isBusy);
typedef void __fastcall (__closure *TSMTPDocInput)(System::TObject* Sender, const System::Variant &DocInput
);
class __declspec(delphiclass) TSMTP;
class __declspec(pascalimplementation) TSMTP : public Olectrls::TOleControl
{
typedef Olectrls::TOleControl inherited;
private:
TSMTPError FOnError;
TSMTPTimeout FOnTimeout;
Classes::TNotifyEvent FOnCancel;
TSMTPStateChanged FOnStateChanged;
TSMTPProtocolStateChanged FOnProtocolStateChanged;
TSMTPBusy FOnBusy;
Classes::TNotifyEvent FOnLog;
TSMTPDocInput FOnDocInput;
Classes::TNotifyEvent FOnReset;
Classes::TNotifyEvent FOnVerify;
Classes::TNotifyEvent FOnExpand;
Classes::TNotifyEvent FOnHelp;
Classes::TNotifyEvent FOnNoop;
int __stdcall Get_Timeout(short event);
void __stdcall Set_Timeout(short event, int Value);
void __stdcall Set_EnableTimer(short event, Word Value);
protected:
virtual void __fastcall InitControlData(void);
public:
void __stdcall AboutBox(void);
void __stdcall Cancel(void);
void __stdcall Connect(const System::Variant &RemoteHost, const System::Variant &RemotePort);
void __stdcall SendDoc(const System::Variant &URL, const System::Variant &Headers, const System::Variant
&InputData, const System::Variant &InputFile, const System::Variant &OutputFile);
void __stdcall Reset(void);
void __stdcall Verify(const System::AnsiString name);
void __stdcall Expand(const System::AnsiString name);
void __stdcall Help(const System::Variant &helpTopic);
void __stdcall Noop(void);
void __stdcall Quit(void);
__property short State = {read=GetSmallintProp, index=503, nodefault};
__property short ProtocolState = {read=GetSmallintProp, index=504, nodefault};
__property System::AnsiString ReplyString = {read=GetStringProp, index=505, nodefault};
__property int ReplyCode = {read=GetIntegerProp, index=506, nodefault};
__property System::Variant Errors = {read=GetVariantProp, index=508};
__property Word Busy = {read=GetOleBoolProp, index=509, nodefault};
__property System::AnsiString StateString = {read=GetStringProp, index=511, nodefault};
__property System::AnsiString ProtocolStateString = {read=GetStringProp, index=512, nodefault};
__property System::Variant DocInput = {read=GetVariantProp, index=1002};
__property int Timeout[short event] = {read=Get_Timeout, write=Set_Timeout};
__property Word EnableTimer[short event] = {write=Set_EnableTimer};
__published:
__property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
index=0, nodefault};
__property int RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502, nodefault
};
__property short NotificationMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=510
, nodefault};
__property Word Logging = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=514, nodefault
};
__property System::AnsiString URL = {read=GetStringProp, write=SetStringProp, stored=false, index=1001
, nodefault};
__property TSMTPError OnError = {read=FOnError, write=FOnError};
__property TSMTPTimeout OnTimeout = {read=FOnTimeout, write=FOnTimeout};
__property Classes::TNotifyEvent OnCancel = {read=FOnCancel, write=FOnCancel};
__property TSMTPStateChanged OnStateChanged = {read=FOnStateChanged, write=FOnStateChanged};
__property TSMTPProtocolStateChanged OnProtocolStateChanged = {read=FOnProtocolStateChanged, write=
FOnProtocolStateChanged};
__property TSMTPBusy OnBusy = {read=FOnBusy, write=FOnBusy};
__property Classes::TNotifyEvent OnLog = {read=FOnLog, write=FOnLog};
__property TSMTPDocInput OnDocInput = {read=FOnDocInput, write=FOnDocInput};
__property Classes::TNotifyEvent OnReset = {read=FOnReset, write=FOnReset};
__property Classes::TNotifyEvent OnVerify = {read=FOnVerify, write=FOnVerify};
__property Classes::TNotifyEvent OnExpand = {read=FOnExpand, write=FOnExpand};
__property Classes::TNotifyEvent OnHelp = {read=FOnHelp, write=FOnHelp};
__property Classes::TNotifyEvent OnNoop = {read=FOnNoop, write=FOnNoop};
public:
/* TOleControl.Create */ __fastcall virtual TSMTP(Classes::TComponent* AOwner) : Olectrls::TOleControl(
AOwner) { }
/* TOleControl.Destroy */ __fastcall virtual ~TSMTP(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TSMTP(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
) { }
};
typedef void __fastcall (__closure *TTCPError)(System::TObject* Sender, short Number, System::AnsiString &
Description, int Scode, const System::AnsiString Source, const System::AnsiString HelpFile, int HelpContext
, Word &CancelDisplay);
typedef void __fastcall (__closure *TTCPDataArrival)(System::TObject* Sender, int bytesTotal);
typedef void __fastcall (__closure *TTCPConnectionRequest)(System::TObject* Sender, int requestID);
typedef void __fastcall (__closure *TTCPSendProgress)(System::TObject* Sender, int bytesSent, int bytesRemaining
);
class __declspec(delphiclass) TTCP;
class __declspec(pascalimplementation) TTCP : public Olectrls::TOleControl
{
typedef Olectrls::TOleControl inherited;
private:
TTCPError FOnError;
TTCPDataArrival FOnDataArrival;
Classes::TNotifyEvent FOnConnect;
TTCPConnectionRequest FOnConnectionRequest;
Classes::TNotifyEvent FOnClose;
TTCPSendProgress FOnSendProgress;
Classes::TNotifyEvent FOnSendComplete;
protected:
virtual void __fastcall InitControlData(void);
public:
void __stdcall AboutBox(void);
void __stdcall Connect(const System::Variant &RemoteHost, const System::Variant &RemotePort);
void __stdcall Listen(void);
void __stdcall Accept(int requestID);
void __stdcall SendData(const System::Variant &data);
void __stdcall GetData(System::Variant &data, const System::Variant &type_, const System::Variant &maxLen
);
void __stdcall PeekData(System::Variant &data, const System::Variant &type_, const System::Variant
&maxLen);
void __stdcall Close(void);
__property System::AnsiString RemoteHostIP = {read=GetStringProp, index=1001, nodefault};
__property System::AnsiString LocalHostName = {read=GetStringProp, index=1002, nodefault};
__property System::AnsiString LocalIP = {read=GetStringProp, index=1003, nodefault};
__property int SocketHandle = {read=GetIntegerProp, index=1004, nodefault};
__property short State = {read=GetSmallintProp, index=503, nodefault};
__property int BytesReceived = {read=GetIntegerProp, index=1101, nodefault};
__published:
__property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
index=0, nodefault};
__property int RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502, nodefault
};
__property int LocalPort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=1010, nodefault
};
__property TTCPError OnError = {read=FOnError, write=FOnError};
__property TTCPDataArrival OnDataArrival = {read=FOnDataArrival, write=FOnDataArrival};
__property Classes::TNotifyEvent OnConnect = {read=FOnConnect, write=FOnConnect};
__property TTCPConnectionRequest OnConnectionRequest = {read=FOnConnectionRequest, write=FOnConnectionRequest
};
__property Classes::TNotifyEvent OnClose = {read=FOnClose, write=FOnClose};
__property TTCPSendProgress OnSendProgress = {read=FOnSendProgress, write=FOnSendProgress};
__property Classes::TNotifyEvent OnSendComplete = {read=FOnSendComplete, write=FOnSendComplete};
public:
/* TOleControl.Create */ __fastcall virtual TTCP(Classes::TComponent* AOwner) : Olectrls::TOleControl(
AOwner) { }
/* TOleControl.Destroy */ __fastcall virtual ~TTCP(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TTCP(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
) { }
};
typedef void __fastcall (__closure *TUDPError)(System::TObject* Sender, short Number, System::AnsiString &
Description, int Scode, const System::AnsiString Source, const System::AnsiString HelpFile, int HelpContext
, Word &CancelDisplay);
typedef void __fastcall (__closure *TUDPDataArrival)(System::TObject* Sender, int bytesTotal);
class __declspec(delphiclass) TUDP;
class __declspec(pascalimplementation) TUDP : public Olectrls::TOleControl
{
typedef Olectrls::TOleControl inherited;
private:
TUDPError FOnError;
TUDPDataArrival FOnDataArrival;
protected:
virtual void __fastcall InitControlData(void);
public:
void __stdcall AboutBox(void);
void __stdcall SendData(const System::Variant &data);
void __stdcall GetData(System::Variant &data, const System::Variant &type_);
__property System::AnsiString RemoteHostIP = {read=GetStringProp, index=1001, nodefault};
__property System::AnsiString LocalHostName = {read=GetStringProp, index=1002, nodefault};
__property System::AnsiString LocalIP = {read=GetStringProp, index=1003, nodefault};
__property int SocketHandle = {read=GetIntegerProp, index=1004, nodefault};
__published:
__property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
index=0, nodefault};
__property int RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502, nodefault
};
__property int LocalPort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=1010, nodefault
};
__property TUDPError OnError = {read=FOnError, write=FOnError};
__property TUDPDataArrival OnDataArrival = {read=FOnDataArrival, write=FOnDataArrival};
public:
/* TOleControl.Create */ __fastcall virtual TUDP(Classes::TComponent* AOwner) : Olectrls::TOleControl(
AOwner) { }
/* TOleControl.Destroy */ __fastcall virtual ~TUDP(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TUDP(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
) { }
};
//-- var, const, procedure ---------------------------------------------------
#define icCompleteMode (Byte)(0)
#define icContinousMode (Byte)(1)
#define prcConnecting (Byte)(1)
#define prcResolvingHost (Byte)(2)
#define prcHostResolved (Byte)(3)
#define prcConnected (Byte)(4)
#define prcDisconnecting (Byte)(5)
#define prcDisconnected (Byte)(6)
#define prcConnectTimeout (Byte)(1)
#define prcReceiveTimeout (Byte)(2)
#define prcUserTimeout (Byte)(65)
#define prcGet (Byte)(1)
#define prcHead (Byte)(2)
#define prcPost (Byte)(3)
#define prcPut (Byte)(4)
#define ftpAscii (Byte)(0)
#define ftpEBCDIC (Byte)(1)
#define ftpImage (Byte)(2)
#define ftpBinary (Byte)(3)
#define ftpStream (Byte)(0)
#define ftpBlock (Byte)(1)
#define ftpCompressed (Byte)(2)
#define ftpFile (Byte)(0)
#define ftpList (Byte)(1)
#define ftpNameList (Byte)(2)
#define ftpBase (Byte)(0)
#define ftpAuthentication (Byte)(1)
#define ftpTransaction (Byte)(2)
#define httpBase (Byte)(0)
#define httpTransferring (Byte)(1)
#define nntpBase (Byte)(0)
#define nntpTransaction (Byte)(1)
#define popBase (Byte)(0)
#define popAuthorization (Byte)(1)
#define popTransaction (Byte)(2)
#define popUpdate (Byte)(3)
#define smtpBase (Byte)(0)
#define smtpTransaction (Byte)(1)
#define sckClosed (Byte)(0)
#define sckOpen (Byte)(1)
#define sckListening (Byte)(2)
#define sckConnectionPending (Byte)(3)
#define sckResolvingHost (Byte)(4)
#define sckHostResolved (Byte)(5)
#define sckConnecting (Byte)(6)
#define sckConnected (Byte)(7)
#define sckClosing (Byte)(8)
#define sckError (Byte)(9)
#define icDocNone (Byte)(0)
#define icDocBegin (Byte)(1)
#define icDocHeaders (Byte)(2)
#define icDocData (Byte)(3)
#define icDocError (Byte)(4)
#define icDocEnd (Byte)(5)
extern void __fastcall Register(void);
} /* namespace Isp */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Isp;
#endif
//-- end unit ----------------------------------------------------------------
#endif // ISP