//--------------------------------------------------------------------------- #ifndef FrmIcsCameraFH #define FrmIcsCameraFH //--------------------------------------------------------------------------- #include #include #include #include #include "IcsView.hpp" //--------------------------------------------------------------------------- #include "CDSCctvF.h" #include #include #include #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxEdit.hpp" #include "cxGraphics.hpp" #include "cxLabel.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "dxSkinsCore.hpp" #include "dxSkinBlack.hpp" #include "dxSkinBlue.hpp" //--------------------------------------------------------------------------- class TFrmIcsCamera : public TForm { __published: // IDE-managed Components TPanel *PnlCamera; TPopupMenu *PopupMenu1; TMenuItem *MnuConnect; TMenuItem *MnuDisconnect; TMenuItem *MnuRelease; TMenuItem *N2; TTimer *TmrPlay; TTimer *TmrStop; TImage *ImgNoData; TcxLabel *LblName; void __fastcall MnuConnectClick(TObject *Sender); void __fastcall MnuDisconnectClick(TObject *Sender); void __fastcall MnuReleaseClick(TObject *Sender); void __fastcall TmrPlayTimer(TObject *Sender); void __fastcall TmrStopTimer(TObject *Sender); private: // User declarations TIcsView *IcsView; public: // User declarations __fastcall TFrmIcsCamera(TComponent* Owner, TXCctv *ACctv, bool AAutoPlay); bool FAutoPlay; bool FPlay; long FConHandle; bool FInstalled; String FId; String FGroup; String FName; String FStreamingType; String FViewAddress; String FFullAddress; String FWebCamIp; String FWebCamUser; String FWebCamPswd; void __fastcall InitCamera(TXCctv *ACctv, bool AAutoPlay=true); void __fastcall DisplayName(String AName); void __fastcall Connect(); void __fastcall Disconnect(); void __fastcall CameraRelease(); }; //--------------------------------------------------------------------------- extern PACKAGE TFrmIcsCamera *FrmIcsCamera; //--------------------------------------------------------------------------- #endif