1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- //---------------------------------------------------------------------------
- #ifndef FrmIcsCamFH
- #define FrmIcsCamFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <ExtCtrls.hpp>
- #include <OleCtrls.hpp>
- #include <ADODB.hpp>
- #include <DB.hpp>
- #include <Menus.hpp>
- #include "CDSVmsCtlrF.h"
- #include <SHDocVw.hpp>
- //---------------------------------------------------------------------------
- class TFrmIcsCam : public TForm
- {
- __published: // IDE-managed Components
- TPanel *PnlBack;
- TTimer *TmrShow;
- TPanel *PnlBlob;
- TADOQuery *pADO;
- TImage *ImgBlob;
- TPopupMenu *PopupMenu1;
- TMenuItem *MnuConnect;
- TMenuItem *MnuDisconnect;
- TWebBrowser *WebBrowser1;
- void __fastcall TmrShowTimer(TObject *Sender);
- void __fastcall FormShow(TObject *Sender);
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
- void __fastcall FormDestroy(TObject *Sender);
- void __fastcall MnuConnectClick(TObject *Sender);
- void __fastcall MnuDisconnectClick(TObject *Sender);
- private: // User declarations
- bool FDispBlob;
- DWORD FProcessId;
- HWND FWnd;
- PROCESS_INFORMATION ProcessInfo;
- public: // User declarations
- TVmsCtlr *FObj;
- TForm *FPalyerForm;
- //String FTitle;
- bool FAutoPlay;
- bool FPlay;
- long FConHandle;
- //bool FInstalled;
- String FId;
- String FGroup;
- String FName;
- String FStreamingType;
- String FViewAddress;
- String FFullAddress;
- String FCamUrl;
- void __fastcall OpenUrl(bool AOpen);
- void __fastcall InitCamera(void *ACctv, bool AAutoPlay=true);
- void __fastcall Connect();
- void __fastcall Disconnect();
- void __fastcall CameraRelease();
- void __fastcall RefreshCctv();
- __fastcall TFrmIcsCam(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- //extern PACKAGE TFrmCctvCam *FrmCctvCam;
- //---------------------------------------------------------------------------
- #endif
|