FRAME_CameraF.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //---------------------------------------------------------------------------
  2. #ifndef FRAME_CameraFH
  3. #define FRAME_CameraFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ExtCtrls.hpp>
  10. #include "AcesTechXPlayer2Lib_OCX.h"
  11. #include <OleCtrls.hpp>
  12. #include "FFBaseComponent.hpp"
  13. #include "FFBasePlay.hpp"
  14. #include "FFPlay.hpp"
  15. #include "dxGDIPlusClasses.hpp"
  16. //---------------------------------------------------------------------------
  17. class TFRAMECamera : public TFrame
  18. {
  19. __published: // IDE-managed Components
  20. TFFPlayer *FFPlayer;
  21. TTimer *Timer1;
  22. TPanel *Panel5;
  23. TPanel *PnlTitle;
  24. TPanel *PnlStream;
  25. TImage *ImgDefault;
  26. TAcesTechXPlayer2 *AcesTechXPlayer2;
  27. void __fastcall Timer1Timer(TObject *Sender);
  28. void __fastcall FFPlayerState(TObject *Sender, TPlayState APlayState);
  29. private: // User declarations
  30. String FMngrNmbr;
  31. String FCtlrId;
  32. String FCtlrNm;
  33. String FStreamUrl;
  34. bool FPlay;
  35. long FConHandle;
  36. public:
  37. void __fastcall Connect();
  38. void __fastcall Disconnect();
  39. bool __fastcall Init(String AMngrNmbr, String ACtlrId, String ACtrlNm, String AStreamUrl);
  40. public: // User declarations
  41. __fastcall TFRAMECamera(TComponent* Owner);
  42. };
  43. //---------------------------------------------------------------------------
  44. extern PACKAGE TFRAMECamera *FRAMECamera;
  45. //---------------------------------------------------------------------------
  46. #endif