FrmSamsungCameraF.h 2.2 KB

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