FrmVmsCamF.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. //---------------------------------------------------------------------------
  2. #ifndef FrmVmsCamFH
  3. #define FrmVmsCamFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ExtCtrls.hpp>
  10. #include <OleCtrls.hpp>
  11. #include <ADODB.hpp>
  12. #include <DB.hpp>
  13. #include <Menus.hpp>
  14. #include "CDSVmsCtlrF.h"
  15. //---------------------------------------------------------------------------
  16. class TFrmVmsCam : public TForm
  17. {
  18. __published: // IDE-managed Components
  19. TPanel *PnlBack;
  20. TTimer *TmrShow;
  21. TPanel *PnlBlob;
  22. TADOQuery *pADO;
  23. TImage *ImgBlob;
  24. TPopupMenu *PopupMenu1;
  25. TMenuItem *MnuConnect;
  26. TMenuItem *MnuDisconnect;
  27. void __fastcall TmrShowTimer(TObject *Sender);
  28. void __fastcall FormShow(TObject *Sender);
  29. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  30. void __fastcall FormDestroy(TObject *Sender);
  31. void __fastcall MnuConnectClick(TObject *Sender);
  32. void __fastcall MnuDisconnectClick(TObject *Sender);
  33. private: // User declarations
  34. bool FDispBlob;
  35. DWORD FProcessId;
  36. HWND FWnd;
  37. PROCESS_INFORMATION ProcessInfo;
  38. public: // User declarations
  39. TVmsCtlr *FObj;
  40. TForm *FPalyerForm;
  41. //String FTitle;
  42. bool FAutoPlay;
  43. bool FPlay;
  44. long FConHandle;
  45. //bool FInstalled;
  46. String FId;
  47. String FGroup;
  48. String FName;
  49. String FStreamingType;
  50. String FViewAddress;
  51. String FFullAddress;
  52. void __fastcall InitCamera(void *ACctv, bool AAutoPlay=true);
  53. void __fastcall Connect();
  54. void __fastcall Disconnect();
  55. void __fastcall CameraRelease();
  56. void __fastcall RefreshCctv();
  57. __fastcall TFrmVmsCam(TComponent* Owner);
  58. };
  59. //---------------------------------------------------------------------------
  60. //extern PACKAGE TFrmCctvCam *FrmCctvCam;
  61. //---------------------------------------------------------------------------
  62. #endif