123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- //---------------------------------------------------------------------------
- #ifndef FrameSamsungFH
- #define FrameSamsungFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include "cxButtons.hpp"
- #include "cxGraphics.hpp"
- #include "cxLookAndFeelPainters.hpp"
- #include "cxLookAndFeels.hpp"
- #include "dxSkinBlack.hpp"
- #include "dxSkinMcSkin.hpp"
- #include "dxSkinsCore.hpp"
- #include "ImageBtn.h"
- #include <ComCtrls.hpp>
- #include <ExtCtrls.hpp>
- #include <Graphics.hpp>
- #include <Menus.hpp>
- #include "cxContainer.hpp"
- #include "cxControls.hpp"
- #include "cxEdit.hpp"
- #include "cxLabel.hpp"
- #include "AcesTechXPlayer2Lib_OCX.h"
- #include <OleCtrls.hpp>
- #include "IdBaseComponent.hpp"
- #include "IdComponent.hpp"
- #include "IdHTTP.hpp"
- #include "IdTCPClient.hpp"
- #include "IdTCPConnection.hpp"
- #include "IdAuthenticationDigest.hpp"
- #include "cxTextEdit.hpp" /* idhttp ±ÇÇÑ ¼³Á¤À» À§ÇØ ÇÊ¿äÇÔ */
- //---------------------------------------------------------------------------
- class TFrameSamsung : public TFrame
- {
- __published: // IDE-managed Components
- TPanel *PnlCamConrtol;
- TcxButton *BtnImageSave;
- TPanel *PnlPTZ;
- TImageBtn *BtnUpLeft;
- TImageBtn *BtnUp;
- TImageBtn *BtnUpRight;
- TImageBtn *BtnLeft;
- TImageBtn *BtnHome;
- TImageBtn *BtnRight;
- TImageBtn *BtnDownLeft;
- TImageBtn *BtnDown;
- TImageBtn *BtnDownRight;
- TImageBtn *BtnZoomIn;
- TImageBtn *BtnZoomOut;
- TImageBtn *BtnFocusIn;
- TImageBtn *BtnFocusOut;
- TLabel *Label20;
- TTrackBar *PTZSpeed;
- TMemo *reMsg;
- TPanel *PnlBack;
- TPanel *PnlStreamInfo;
- TPanel *PnlCameraBack;
- TcxLabel *cxLabel1;
- TcxButton *BtnCameraConDisconn;
- TPanel *PnlCamera;
- TcxLabel *LblErrMsg;
- TAcesTechXPlayer2 *AcesTechXPlayer21;
- TIdHTTP *IdHTTP1;
- TcxTextEdit *EdStreamUrl;
- TcxLabel *cxLabel2;
- TcxLabel *cxLabel3;
- TcxTextEdit *EdStreamId;
- TcxTextEdit *EdStreamPswd;
- TcxLabel *cxLabel4;
- TcxTextEdit *EdHttpUrl;
- void __fastcall BtnWebCamControlMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
- void __fastcall BtnWebCamControlMouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
- void __fastcall BtnCameraConDisconnClick(TObject *Sender);
- void __fastcall IdHTTP1Authorization(TObject *Sender, TIdAuthentication *Authentication, bool &Handled);
- void __fastcall reMsgDblClick(TObject *Sender);
- private: // User declarations
- bool FStrmPlay;
- String FStrmUser;
- String FStrmPswd;
- String FStrmUrl;
- String FStrmHttp;
- String FStrmAddr;
- long FStrmHandle;
- public:
- void __fastcall OpenStream();
- void __fastcall CloseStream();
- public: // User declarations
- __fastcall TFrameSamsung(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TFrameSamsung *FrameSamsung;
- //---------------------------------------------------------------------------
- #endif
|