FrameSamsungF.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. //---------------------------------------------------------------------------
  2. #ifndef FrameSamsungFH
  3. #define FrameSamsungFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "cxButtons.hpp"
  10. #include "cxGraphics.hpp"
  11. #include "cxLookAndFeelPainters.hpp"
  12. #include "cxLookAndFeels.hpp"
  13. #include "dxSkinBlack.hpp"
  14. #include "dxSkinMcSkin.hpp"
  15. #include "dxSkinsCore.hpp"
  16. #include "ImageBtn.h"
  17. #include <ComCtrls.hpp>
  18. #include <ExtCtrls.hpp>
  19. #include <Graphics.hpp>
  20. #include <Menus.hpp>
  21. #include "cxContainer.hpp"
  22. #include "cxControls.hpp"
  23. #include "cxEdit.hpp"
  24. #include "cxLabel.hpp"
  25. #include "AcesTechXPlayer2Lib_OCX.h"
  26. #include <OleCtrls.hpp>
  27. #include "IdBaseComponent.hpp"
  28. #include "IdComponent.hpp"
  29. #include "IdHTTP.hpp"
  30. #include "IdTCPClient.hpp"
  31. #include "IdTCPConnection.hpp"
  32. #include "IdAuthenticationDigest.hpp"
  33. #include "cxTextEdit.hpp" /* idhttp ±ÇÇÑ ¼³Á¤À» À§ÇØ ÇÊ¿äÇÔ */
  34. //---------------------------------------------------------------------------
  35. class TFrameSamsung : public TFrame
  36. {
  37. __published: // IDE-managed Components
  38. TPanel *PnlCamConrtol;
  39. TcxButton *BtnImageSave;
  40. TPanel *PnlPTZ;
  41. TImageBtn *BtnUpLeft;
  42. TImageBtn *BtnUp;
  43. TImageBtn *BtnUpRight;
  44. TImageBtn *BtnLeft;
  45. TImageBtn *BtnHome;
  46. TImageBtn *BtnRight;
  47. TImageBtn *BtnDownLeft;
  48. TImageBtn *BtnDown;
  49. TImageBtn *BtnDownRight;
  50. TImageBtn *BtnZoomIn;
  51. TImageBtn *BtnZoomOut;
  52. TImageBtn *BtnFocusIn;
  53. TImageBtn *BtnFocusOut;
  54. TLabel *Label20;
  55. TTrackBar *PTZSpeed;
  56. TMemo *reMsg;
  57. TPanel *PnlBack;
  58. TPanel *PnlStreamInfo;
  59. TPanel *PnlCameraBack;
  60. TcxLabel *cxLabel1;
  61. TcxButton *BtnCameraConDisconn;
  62. TPanel *PnlCamera;
  63. TcxLabel *LblErrMsg;
  64. TAcesTechXPlayer2 *AcesTechXPlayer21;
  65. TIdHTTP *IdHTTP1;
  66. TcxTextEdit *EdStreamUrl;
  67. TcxLabel *cxLabel2;
  68. TcxLabel *cxLabel3;
  69. TcxTextEdit *EdStreamId;
  70. TcxTextEdit *EdStreamPswd;
  71. TcxLabel *cxLabel4;
  72. TcxTextEdit *EdHttpUrl;
  73. void __fastcall BtnWebCamControlMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
  74. void __fastcall BtnWebCamControlMouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
  75. void __fastcall BtnCameraConDisconnClick(TObject *Sender);
  76. void __fastcall IdHTTP1Authorization(TObject *Sender, TIdAuthentication *Authentication, bool &Handled);
  77. void __fastcall reMsgDblClick(TObject *Sender);
  78. private: // User declarations
  79. bool FStrmPlay;
  80. String FStrmUser;
  81. String FStrmPswd;
  82. String FStrmUrl;
  83. String FStrmHttp;
  84. String FStrmAddr;
  85. long FStrmHandle;
  86. public:
  87. void __fastcall OpenStream();
  88. void __fastcall CloseStream();
  89. public: // User declarations
  90. __fastcall TFrameSamsung(TComponent* Owner);
  91. };
  92. //---------------------------------------------------------------------------
  93. extern PACKAGE TFrameSamsung *FrameSamsung;
  94. //---------------------------------------------------------------------------
  95. #endif