FishEyeWindow.h 376 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <thread>
  3. class CFishEyeWindow
  4. {
  5. public:
  6. CFishEyeWindow();
  7. void Start(HWND hWnd,const char* ip);
  8. void Stop();
  9. static LRESULT CALLBACK WndProc(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam);
  10. private:
  11. void Run();
  12. HWND m_hWnd;
  13. HWND m_hParent;
  14. std::thread m_Thread;
  15. bool m_bRun;
  16. LONG lRealPlayHandle;
  17. LONG lUserID;
  18. std::string szAddress;
  19. };