//--------------------------------------------------------------------------- #ifndef FrameHanwhaFH #define FrameHanwhaFH //--------------------------------------------------------------------------- #include #include #include #include #include "cxButtons.hpp" #include "cxGraphics.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "dxSkinBlack.hpp" #include "dxSkinMcSkin.hpp" #include "dxSkinsCore.hpp" #include "ImageBtn.h" #include #include #include #include #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxEdit.hpp" #include "cxLabel.hpp" #include "AcesTechXPlayer2Lib_OCX.h" #include #include "IdBaseComponent.hpp" #include "IdComponent.hpp" #include "IdHTTP.hpp" #include "IdTCPClient.hpp" #include "IdTCPConnection.hpp" #include "IdAuthenticationDigest.hpp" #include "cxTextEdit.hpp" /* idhttp ±ÇÇÑ ¼³Á¤À» À§ÇØ ÇÊ¿äÇÔ */ //--------------------------------------------------------------------------- class TFrameHanwha : public TFrame { __published: // IDE-managed Components TPanel *PnlCamConrtol; TcxButton *BtnImageSave; TPanel *PnlPTZ; TImageBtn *BtnUpLeft; TImageBtn *BtnUp; TImageBtn *BtnUpRight; TImageBtn *BtnLeft; TImageBtn *BtnHome; TImageBtn *BtnRight; TImageBtn *BtnDownLeft; TImageBtn *BtnDown; TImageBtn *BtnDownRight; TImageBtn *BtnZoomIn; TImageBtn *BtnZoomOut; TImageBtn *BtnFocusIn; TImageBtn *BtnFocusOut; TLabel *Label20; TTrackBar *PTZSpeed; TMemo *reMsg; TPanel *PnlBack; TPanel *PnlStreamInfo; TPanel *PnlCameraBack; TcxLabel *cxLabel1; TcxButton *BtnCameraConDisconn; TPanel *PnlCamera; TcxLabel *LblErrMsg; TAcesTechXPlayer2 *AcesTechXPlayer21; TIdHTTP *IdHTTP1; TcxTextEdit *EdStreamUrl; TcxLabel *cxLabel2; TcxLabel *cxLabel3; TcxTextEdit *EdStreamId; TcxTextEdit *EdStreamPswd; TcxLabel *cxLabel4; TcxTextEdit *EdHttpUrl; void __fastcall BtnWebCamControlMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y); void __fastcall BtnWebCamControlMouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y); void __fastcall BtnCameraConDisconnClick(TObject *Sender); void __fastcall IdHTTP1Authorization(TObject *Sender, TIdAuthentication *Authentication, bool &Handled); void __fastcall reMsgDblClick(TObject *Sender); private: // User declarations bool FStrmPlay; String FStrmUser; String FStrmPswd; String FStrmUrl; String FStrmHttp; String FStrmAddr; long FStrmHandle; public: void __fastcall OpenStream(); void __fastcall CloseStream(); public: // User declarations __fastcall TFrameHanwha(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TFrameHanwha *FrameHanwha; //--------------------------------------------------------------------------- #endif