home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // ISP.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
- // From: ISP.pas
- //----------------------------------------------------------------------------
- #ifndef ISPHPP
- #define ISPHPP
- //----------------------------------------------------------------------------
- #ifndef MenusHPP
- #include <Menus.hpp>
- #endif
-
- #ifndef ControlsHPP
- #include <Controls.hpp>
- #endif
-
- #ifndef OleCtrlsHPP
- #include <OleCtrls.hpp>
- #endif
-
- #ifndef GraphicsHPP
- #include <Graphics.hpp>
- #endif
-
- #ifndef ClassesHPP
- #include <Classes.hpp>
- #endif
-
- #ifndef OleCtlHPP
- #include <OleCtl.hpp>
- #endif
-
- #ifndef OLE2HPP
- #include <OLE2.hpp>
- #endif
-
- #ifndef SystemHPP
- #include <System.hpp>
- #endif
-
- namespace Isp
- {
- //-- type declarations -------------------------------------------------------
- typedef void __fastcall (__closure *TFTPError)(System::TObject *Sender, System::Smallint Number, System::AnsiString &
- Description, System::Integer Scode, const System::AnsiString Source, const System::AnsiString HelpFile
- , System::Integer HelpContext, System::WordBool &CancelDisplay);
-
- typedef void __fastcall (__closure *TFTPTimeout)(System::TObject *Sender, System::Smallint event, System::WordBool
- &Continue);
-
- typedef void __fastcall (__closure *TFTPStateChanged)(System::TObject *Sender, System::Smallint State
- );
-
- typedef void __fastcall (__closure *TFTPProtocolStateChanged)(System::TObject *Sender, System::Smallint
- ProtocolState);
-
- typedef void __fastcall (__closure *TFTPBusy)(System::TObject *Sender, System::WordBool 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 TFTP ThisClass;
- 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;
- System::Integer __stdcall Get_Timeout(System::Smallint event);
- void __stdcall Set_Timeout(System::Smallint event, System::Integer Value);
- void __stdcall Set_EnableTimer(System::Smallint event, System::WordBool 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 System::Smallint State = {read=GetSmallintProp, index=503, nodefault};
- __property System::Smallint ProtocolState = {read=GetSmallintProp, index=504, nodefault};
- __property System::AnsiString ReplyString = {read=GetStringProp, index=505, nodefault};
- __property System::Integer ReplyCode = {read=GetIntegerProp, index=506, nodefault};
- __property System::Variant Errors = {read=GetVariantProp, index=508};
- __property System::WordBool 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 System::Integer Timeout[System::Smallint event] = {read=Get_Timeout, write=Set_Timeout};
-
- __property System::WordBool EnableTimer[System::Smallint event] = {write=Set_EnableTimer};
-
- __published:
- __property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
- index=0, nodefault};
- __property System::Integer RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502
- , nodefault};
- __property System::Smallint NotificationMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false
- , index=510, nodefault};
- __property System::WordBool 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 System::WordBool AppendToFile = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
- , index=1, nodefault};
- __property System::WordBool 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) { }
-
- };
-
- typedef void __fastcall (__closure *THTMLError)(System::TObject *Sender, System::Smallint Number, System::AnsiString &
- Description, System::Integer Scode, const System::AnsiString Source, const System::AnsiString HelpFile
- , System::Integer HelpContext, System::WordBool &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, System::WordBool &EnableDefault
- );
-
- typedef void __fastcall (__closure *THTMLDoRequestEmbedded)(System::TObject *Sender, const System::AnsiString
- URL, const System::Variant &Element, const System::Variant &DocInput, System::WordBool &EnableDefault
- );
-
- typedef void __fastcall (__closure *THTMLDoRequestSubmit)(System::TObject *Sender, const System::AnsiString
- URL, const System::Variant &Form, const System::Variant &DocOutput, System::WordBool &EnableDefault
- );
-
- typedef void __fastcall (__closure *THTMLDoNewElement)(System::TObject *Sender, const System::AnsiString
- ElemType, System::WordBool EndTag, const System::Variant &Attrs, const System::AnsiString Text, System::WordBool
- &EnableDefault);
-
- class __declspec(delphiclass) THTML;
- class __declspec(pascalimplementation) THTML : public Olectrls::TOleControl
- {
- typedef THTML ThisClass;
- 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 System::Integer TotalWidth = {read=GetIntegerProp, index=5, nodefault};
- __property System::Integer TotalHeight = {read=GetIntegerProp, index=6, nodefault};
- __property System::Integer RetrieveBytesTotal = {read=GetIntegerProp, index=7, nodefault};
- __property System::Integer RetrieveBytesDone = {read=GetIntegerProp, index=8, nodefault};
- __property System::WordBool ParseDone = {read=GetOleBoolProp, index=9, nodefault};
- __property System::WordBool 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 System::WordBool DeferRetrieval = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
- , index=11, nodefault};
- __property System::WordBool ViewSource = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false,
- index=12, nodefault};
- __property System::WordBool RetainSource = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
- , index=13, nodefault};
- __property System::WordBool ElemNotification = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
- , index=15, nodefault};
- __property System::Integer Timeout = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=507
- , nodefault};
- __property System::WordBool Redraw = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=17
- , nodefault};
- __property System::WordBool UnderlineLinks = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
- , index=18, nodefault};
- __property System::WordBool 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) { }
-
- };
-
- typedef void __fastcall (__closure *THTTPError)(System::TObject *Sender, System::Smallint Number, System::AnsiString &
- Description, System::Integer Scode, const System::AnsiString Source, const System::AnsiString HelpFile
- , System::Integer HelpContext, System::WordBool &CancelDisplay);
-
- typedef void __fastcall (__closure *THTTPTimeout)(System::TObject *Sender, System::Smallint event, System::WordBool
- &Continue);
-
- typedef void __fastcall (__closure *THTTPStateChanged)(System::TObject *Sender, System::Smallint State
- );
-
- typedef void __fastcall (__closure *THTTPProtocolStateChanged)(System::TObject *Sender, System::Smallint
- ProtocolState);
-
- typedef void __fastcall (__closure *THTTPBusy)(System::TObject *Sender, System::WordBool 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 THTTP ThisClass;
- 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;
- System::Integer __stdcall Get_Timeout(System::Smallint event);
- void __stdcall Set_Timeout(System::Smallint event, System::Integer Value);
- void __stdcall Set_EnableTimer(System::Smallint event, System::WordBool 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 System::Smallint State = {read=GetSmallintProp, index=503, nodefault};
- __property System::Smallint ProtocolState = {read=GetSmallintProp, index=504, nodefault};
- __property System::AnsiString ReplyString = {read=GetStringProp, index=505, nodefault};
- __property System::Integer ReplyCode = {read=GetIntegerProp, index=506, nodefault};
- __property System::Variant Errors = {read=GetVariantProp, index=508};
- __property System::WordBool 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 System::Integer Timeout[System::Smallint event] = {read=Get_Timeout, write=Set_Timeout};
-
- __property System::WordBool EnableTimer[System::Smallint event] = {write=Set_EnableTimer};
-
- __published:
- __property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
- index=0, nodefault};
- __property System::Integer RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502
- , nodefault};
- __property System::Smallint NotificationMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false
- , index=510, nodefault};
- __property System::WordBool 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) { }
-
- };
-
- typedef void __fastcall (__closure *TNNTPError)(System::TObject *Sender, System::Smallint Number, System::AnsiString &
- Description, System::Integer Scode, const System::AnsiString Source, const System::AnsiString HelpFile
- , System::Integer HelpContext, System::WordBool &CancelDisplay);
-
- typedef void __fastcall (__closure *TNNTPTimeout)(System::TObject *Sender, System::Smallint event, System::WordBool
- &Continue);
-
- typedef void __fastcall (__closure *TNNTPStateChanged)(System::TObject *Sender, System::Smallint State
- );
-
- typedef void __fastcall (__closure *TNNTPProtocolStateChanged)(System::TObject *Sender, System::Smallint
- ProtocolState);
-
- typedef void __fastcall (__closure *TNNTPBusy)(System::TObject *Sender, System::WordBool 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, System::WordBool
- 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, System::Integer firstMessage, System::Integer lastMessage, System::Integer msgCount);
-
- typedef void __fastcall (__closure *TNNTPNextArticle)(System::TObject *Sender, System::Integer articleNumber
- , const System::AnsiString messageID);
-
- typedef void __fastcall (__closure *TNNTPlastArticle)(System::TObject *Sender, System::Integer articleNumber
- , const System::AnsiString messageID);
-
- typedef void __fastcall (__closure *TNNTPArticleStatus)(System::TObject *Sender, System::Integer articleNumber
- , const System::AnsiString messageID);
-
- class __declspec(delphiclass) TNNTP;
- class __declspec(pascalimplementation) TNNTP : public Olectrls::TOleControl
- {
- typedef TNNTP ThisClass;
- 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;
- System::Integer __stdcall Get_Timeout(System::Smallint event);
- void __stdcall Set_Timeout(System::Smallint event, System::Integer Value);
- void __stdcall Set_EnableTimer(System::Smallint event, System::WordBool 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 System::Smallint State = {read=GetSmallintProp, index=503, nodefault};
- __property System::Smallint ProtocolState = {read=GetSmallintProp, index=504, nodefault};
- __property System::AnsiString ReplyString = {read=GetStringProp, index=505, nodefault};
- __property System::Integer ReplyCode = {read=GetIntegerProp, index=506, nodefault};
- __property System::Variant Errors = {read=GetVariantProp, index=508};
- __property System::WordBool 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 System::WordBool ArticleNumbersSupported = {read=GetOleBoolProp, index=1, nodefault};
- __property System::WordBool OverviewSupported = {read=GetOleBoolProp, index=2, nodefault};
- __property System::WordBool PostingAllowed = {read=GetOleBoolProp, index=3, nodefault};
- __property System::Integer Timeout[System::Smallint event] = {read=Get_Timeout, write=Set_Timeout};
-
- __property System::WordBool EnableTimer[System::Smallint event] = {write=Set_EnableTimer};
-
- __published:
- __property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
- index=0, nodefault};
- __property System::Integer RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502
- , nodefault};
- __property System::Smallint NotificationMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false
- , index=510, nodefault};
- __property System::WordBool Logging = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=514
- , nodefault};
- __property System::AnsiString URL = {read=GetStringProp, write=SetStringProp, stored=false, index=1001
- , nodefault};
- __property System::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) { }
-
- };
-
- typedef void __fastcall (__closure *TPOPError)(System::TObject *Sender, System::Smallint Number, System::AnsiString &
- Description, System::Integer Scode, const System::AnsiString Source, const System::AnsiString HelpFile
- , System::Integer HelpContext, System::WordBool &CancelDisplay);
-
- typedef void __fastcall (__closure *TPOPTimeout)(System::TObject *Sender, System::Smallint event, System::WordBool
- &Continue);
-
- typedef void __fastcall (__closure *TPOPStateChanged)(System::TObject *Sender, System::Smallint State
- );
-
- typedef void __fastcall (__closure *TPOPProtocolStateChanged)(System::TObject *Sender, System::Smallint
- ProtocolState);
-
- typedef void __fastcall (__closure *TPOPBusy)(System::TObject *Sender, System::WordBool isBusy);
-
- typedef void __fastcall (__closure *TPOPDocOutput)(System::TObject *Sender, const System::Variant &DocOutput
- );
-
- typedef void __fastcall (__closure *TPOPMessageSize)(System::TObject *Sender, System::Integer msgSize
- );
-
- typedef void __fastcall (__closure *TPOPLast)(System::TObject *Sender, System::Integer Number);
-
- typedef void __fastcall (__closure *TPOPRefreshMessageCount)(System::TObject *Sender, System::Integer
- Number);
-
- class __declspec(delphiclass) TPOP;
- class __declspec(pascalimplementation) TPOP : public Olectrls::TOleControl
- {
- typedef TPOP ThisClass;
- 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;
- System::Integer __stdcall Get_Timeout(System::Smallint event);
- void __stdcall Set_Timeout(System::Smallint event, System::Integer Value);
- void __stdcall Set_EnableTimer(System::Smallint event, System::WordBool 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(System::Smallint MessageNumber);
- void __stdcall RetrieveMessage(System::Smallint MessageNumber);
- void __stdcall Delete(System::Smallint MessageNumber);
- void __stdcall Reset(void);
- void __stdcall Last(void);
- void __stdcall Noop(void);
- void __stdcall TopMessage(System::Smallint MessageNumber);
- void __stdcall Quit(void);
- void __stdcall RefreshMessageCount(void);
- __property System::Smallint State = {read=GetSmallintProp, index=503, nodefault};
- __property System::Smallint ProtocolState = {read=GetSmallintProp, index=504, nodefault};
- __property System::AnsiString ReplyString = {read=GetStringProp, index=505, nodefault};
- __property System::Integer ReplyCode = {read=GetIntegerProp, index=506, nodefault};
- __property System::Variant Errors = {read=GetVariantProp, index=508};
- __property System::WordBool 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 System::WordBool TopSupported = {read=GetOleBoolProp, index=2452, nodefault};
- __property System::Smallint MessageCount = {read=GetSmallintProp, index=2454, nodefault};
- __property System::Integer Timeout[System::Smallint event] = {read=Get_Timeout, write=Set_Timeout};
-
- __property System::WordBool EnableTimer[System::Smallint event] = {write=Set_EnableTimer};
-
- __published:
- __property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
- index=0, nodefault};
- __property System::Integer RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502
- , nodefault};
- __property System::Smallint NotificationMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false
- , index=510, nodefault};
- __property System::WordBool 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 System::Integer 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) { }
-
- };
-
- typedef void __fastcall (__closure *TSMTPError)(System::TObject *Sender, System::Smallint Number, System::AnsiString &
- Description, System::Integer Scode, const System::AnsiString Source, const System::AnsiString HelpFile
- , System::Integer HelpContext, System::WordBool &CancelDisplay);
-
- typedef void __fastcall (__closure *TSMTPTimeout)(System::TObject *Sender, System::Smallint event, System::WordBool
- &Continue);
-
- typedef void __fastcall (__closure *TSMTPStateChanged)(System::TObject *Sender, System::Smallint State
- );
-
- typedef void __fastcall (__closure *TSMTPProtocolStateChanged)(System::TObject *Sender, System::Smallint
- ProtocolState);
-
- typedef void __fastcall (__closure *TSMTPBusy)(System::TObject *Sender, System::WordBool 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 TSMTP ThisClass;
- 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;
- System::Integer __stdcall Get_Timeout(System::Smallint event);
- void __stdcall Set_Timeout(System::Smallint event, System::Integer Value);
- void __stdcall Set_EnableTimer(System::Smallint event, System::WordBool 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 System::Smallint State = {read=GetSmallintProp, index=503, nodefault};
- __property System::Smallint ProtocolState = {read=GetSmallintProp, index=504, nodefault};
- __property System::AnsiString ReplyString = {read=GetStringProp, index=505, nodefault};
- __property System::Integer ReplyCode = {read=GetIntegerProp, index=506, nodefault};
- __property System::Variant Errors = {read=GetVariantProp, index=508};
- __property System::WordBool 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::Integer Timeout[System::Smallint event] = {read=Get_Timeout, write=Set_Timeout};
-
- __property System::WordBool EnableTimer[System::Smallint event] = {write=Set_EnableTimer};
-
- __published:
- __property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
- index=0, nodefault};
- __property System::Integer RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502
- , nodefault};
- __property System::Smallint NotificationMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false
- , index=510, nodefault};
- __property System::WordBool 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) { }
-
- };
-
- typedef void __fastcall (__closure *TTCPError)(System::TObject *Sender, System::Smallint Number, System::AnsiString &
- Description, System::Integer Scode, const System::AnsiString Source, const System::AnsiString HelpFile
- , System::Integer HelpContext, System::WordBool &CancelDisplay);
-
- typedef void __fastcall (__closure *TTCPDataArrival)(System::TObject *Sender, System::Integer bytesTotal
- );
-
- typedef void __fastcall (__closure *TTCPConnectionRequest)(System::TObject *Sender, System::Integer
- requestID);
-
- typedef void __fastcall (__closure *TTCPSendProgress)(System::TObject *Sender, System::Integer bytesSent
- , System::Integer bytesRemaining);
-
- class __declspec(delphiclass) TTCP;
- class __declspec(pascalimplementation) TTCP : public Olectrls::TOleControl
- {
- typedef TTCP ThisClass;
- 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(System::Integer 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 System::Integer SocketHandle = {read=GetIntegerProp, index=1004, nodefault};
- __property System::Smallint State = {read=GetSmallintProp, index=503, nodefault};
- __property System::Integer BytesReceived = {read=GetIntegerProp, index=1101, nodefault};
-
- __published:
- __property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
- index=0, nodefault};
- __property System::Integer RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502
- , nodefault};
- __property System::Integer 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) { }
-
- };
-
- typedef void __fastcall (__closure *TUDPError)(System::TObject *Sender, System::Smallint Number, System::AnsiString &
- Description, System::Integer Scode, const System::AnsiString Source, const System::AnsiString HelpFile
- , System::Integer HelpContext, System::WordBool &CancelDisplay);
-
- typedef void __fastcall (__closure *TUDPDataArrival)(System::TObject *Sender, System::Integer bytesTotal
- );
-
- class __declspec(delphiclass) TUDP;
- class __declspec(pascalimplementation) TUDP : public Olectrls::TOleControl
- {
- typedef TUDP ThisClass;
- 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 System::Integer SocketHandle = {read=GetIntegerProp, index=1004, nodefault};
-
- __published:
- __property System::AnsiString RemoteHost = {read=GetStringProp, write=SetStringProp, stored=false,
- index=0, nodefault};
- __property System::Integer RemotePort = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=502
- , nodefault};
- __property System::Integer 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) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- #define icCompleteMode System::Byte(0)
- #define icContinousMode System::Byte(1)
- #define prcConnecting System::Byte(1)
- #define prcResolvingHost System::Byte(2)
- #define prcHostResolved System::Byte(3)
- #define prcConnected System::Byte(4)
- #define prcDisconnecting System::Byte(5)
- #define prcDisconnected System::Byte(6)
- #define prcConnectTimeout System::Byte(1)
- #define prcReceiveTimeout System::Byte(2)
- #define prcUserTimeout System::Byte(65)
- #define prcGet System::Byte(1)
- #define prcHead System::Byte(2)
- #define prcPost System::Byte(3)
- #define prcPut System::Byte(4)
- #define ftpAscii System::Byte(0)
- #define ftpEBCDIC System::Byte(1)
- #define ftpImage System::Byte(2)
- #define ftpBinary System::Byte(3)
- #define ftpStream System::Byte(0)
- #define ftpBlock System::Byte(1)
- #define ftpCompressed System::Byte(2)
- #define ftpFile System::Byte(0)
- #define ftpList System::Byte(1)
- #define ftpNameList System::Byte(2)
- #define ftpBase System::Byte(0)
- #define ftpAuthentication System::Byte(1)
- #define ftpTransaction System::Byte(2)
- #define httpBase System::Byte(0)
- #define httpTransferring System::Byte(1)
- #define nntpBase System::Byte(0)
- #define nntpTransaction System::Byte(1)
- #define popBase System::Byte(0)
- #define popAuthorization System::Byte(1)
- #define popTransaction System::Byte(2)
- #define popUpdate System::Byte(3)
- #define smtpBase System::Byte(0)
- #define smtpTransaction System::Byte(1)
- #define sckClosed System::Byte(0)
- #define sckOpen System::Byte(1)
- #define sckListening System::Byte(2)
- #define sckConnectionPending System::Byte(3)
- #define sckResolvingHost System::Byte(4)
- #define sckHostResolved System::Byte(5)
- #define sckConnecting System::Byte(6)
- #define sckConnected System::Byte(7)
- #define sckClosing System::Byte(8)
- #define sckError System::Byte(9)
- #define icDocNone System::Byte(0)
- #define icDocBegin System::Byte(1)
- #define icDocHeaders System::Byte(2)
- #define icDocData System::Byte(3)
- #define icDocError System::Byte(4)
- #define icDocEnd System::Byte(5)
- extern void __fastcall Register(void);
-
- } /* namespace Isp */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Isp;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // ISP
-