//--------------------------------------------------------------------------- #ifndef FrmCameraFH #define FrmCameraFH //--------------------------------------------------------------------------- #include #include #include #include //--------------------------------------------------------------------------- #include "CDSCctvF.h" #include #include "AcesTechXPlayer2Lib_OCX.h" #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 TFrmCamera : 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; TAcesTechXPlayer2 *AcesTechXPlayer21; 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 public: // User declarations __fastcall TFrmCamera(TComponent* Owner, TXCctv *ACctv, bool AAutoPlay); //TAcesTechXPlayer2 *AcesTechXPlayer21; bool FAutoPlay; bool FPlay; long FConHandle; bool FInstalled; String FId; String FGroup; String FName; String FStreamingType; String FViewAddress; String FFullAddress; void __fastcall InitCamera(TXCctv *ACctv, bool AAutoPlay=true); void __fastcall DisplayName(String AName); void __fastcall Connect(); void __fastcall Disconnect(); void __fastcall CameraRelease(); }; //--------------------------------------------------------------------------- extern PACKAGE TFrmCamera *FrmCamera; //--------------------------------------------------------------------------- #endif