FrmSamsungCameraF.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. //---------------------------------------------------------------------------
  2. #ifndef FrmSamsungCameraFH
  3. #define FrmSamsungCameraFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. //---------------------------------------------------------------------------
  10. #include "CDSCctvF.h"
  11. #include <ExtCtrls.hpp>
  12. #include "AcesTechXPlayer2Lib_OCX.h"
  13. #include <OleCtrls.hpp>
  14. #include <Menus.hpp>
  15. #include "cxContainer.hpp"
  16. #include "cxControls.hpp"
  17. #include "cxEdit.hpp"
  18. #include "cxGraphics.hpp"
  19. #include "cxLabel.hpp"
  20. #include "cxLookAndFeelPainters.hpp"
  21. #include "cxLookAndFeels.hpp"
  22. #include "dxSkinsCore.hpp"
  23. #include "dxSkinBlack.hpp"
  24. #include "dxSkinBlue.hpp"
  25. //---------------------------------------------------------------------------
  26. class TFrmSamsungCamera : public TForm
  27. {
  28. __published: // IDE-managed Components
  29. TPanel *PnlCamera;
  30. TPopupMenu *PopupMenu1;
  31. TMenuItem *MnuConnect;
  32. TMenuItem *MnuDisconnect;
  33. TMenuItem *MnuRelease;
  34. TMenuItem *N2;
  35. TTimer *TmrPlay;
  36. TTimer *TmrStop;
  37. TImage *ImgNoData;
  38. TcxLabel *LblName;
  39. TAcesTechXPlayer2 *AcesTechXPlayer21;
  40. void __fastcall MnuConnectClick(TObject *Sender);
  41. void __fastcall MnuDisconnectClick(TObject *Sender);
  42. void __fastcall MnuReleaseClick(TObject *Sender);
  43. void __fastcall TmrPlayTimer(TObject *Sender);
  44. void __fastcall TmrStopTimer(TObject *Sender);
  45. private: // User declarations
  46. public: // User declarations
  47. __fastcall TFrmSamsungCamera(TComponent* Owner, TXCctv *ACctv, bool AAutoPlay);
  48. //TAcesTechXPlayer2 *AcesTechXPlayer21;
  49. bool FAutoPlay;
  50. bool FPlay;
  51. long FConHandle;
  52. bool FInstalled;
  53. String FId;
  54. String FGroup;
  55. String FName;
  56. String FStreamingType;
  57. String FViewAddress;
  58. String FFullAddress;
  59. void __fastcall InitCamera(TXCctv *ACctv, bool AAutoPlay=true);
  60. void __fastcall DisplayName(String AName);
  61. void __fastcall Connect();
  62. void __fastcall Disconnect();
  63. void __fastcall CameraRelease();
  64. };
  65. //---------------------------------------------------------------------------
  66. extern PACKAGE TFrmSamsungCamera *FrmSamsungCamera;
  67. //---------------------------------------------------------------------------
  68. #endif