123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- //---------------------------------------------------------------------------
- #ifndef FrmCameraPlayerFH
- #define FrmCameraPlayerFH
- //---------------------------------------------------------------------------
- #include "FFBaseComponent.hpp"
- #include "FFBasePlay.hpp"
- #include "FFPlay.hpp"
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <ExtCtrls.hpp>
- #include <OleCtrls.hpp>
- #include "cxContainer.hpp"
- #include "cxControls.hpp"
- #include "cxEdit.hpp"
- #include "cxGraphics.hpp"
- #include "cxLabel.hpp"
- #include "cxLookAndFeelPainters.hpp"
- #include "cxLookAndFeels.hpp"
- #include "dxSkinBlack.hpp"
- #include "dxSkinBlue.hpp"
- #include "dxSkinsCore.hpp"
- #include <Menus.hpp>
- #include "AcesTechXPlayer2Lib_OCX.h"
- //---------------------------------------------------------------------------
- class TFrmCameraPlayer : public TForm
- {
- __published: // IDE-managed Components
- TTimer *TmrShow;
- TPopupMenu *PopupMenu1;
- TMenuItem *MnuConnect;
- TMenuItem *MnuDisconnect;
- TFFPlayer *FFPlayer1;
- TPanel *PnlCamera;
- TImage *ImgNoData;
- TPanel *PnlName;
- TMenuItem *MnuInfo;
- TMenuItem *N1;
- TAcesTechXPlayer2 *AcesTechXPlayer21;
- void __fastcall TmrShowTimer(TObject *Sender);
- void __fastcall FormShow(TObject *Sender);
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
- void __fastcall FormDestroy(TObject *Sender);
- void __fastcall MnuConnectClick(TObject *Sender);
- void __fastcall MnuDisconnectClick(TObject *Sender);
- void __fastcall PnlCameraDblClick(TObject *Sender);
- void __fastcall FFPlayer1State(TObject *Sender, TPlayState APlayState);
- void __fastcall MnuInfoClick(TObject *Sender);
- private: // User declarations
- public: // User declarations
- bool FFullScreen;
- TRect FLastBounds;
- TWinControl *FParent;
- bool FPlay;
- bool FAutoPlay;
- long FConHandle;
- String FId;
- String FName;
- String FStreamingType;
- String FViewAddress;
- String FFullAddress;
- bool Installed;
- String CCAM_ID;
- String NAME;
- String STRM_ADDR;
- String FULL_STRM_ADDR;
- int VIEW_MODE;
- void __fastcall InitCamera(bool AInstalled, String ACtlrNmbr, String AName, String AStrmAddr, String AFullStrmAddr, int AViewMode);
- void __fastcall LoadEmptyImage();
- void __fastcall AutoPlay();
- void __fastcall Play();
- void __fastcall Stop();
- __fastcall TFrmCameraPlayer(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TFrmCameraPlayer *FrmCameraPlayer;
- //---------------------------------------------------------------------------
- #endif
|