Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.6 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: LgUICameraEngine.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of LgUICameraEngine.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __LG__UI__VIDEO__CAMERA__ENGINE__H__INCLUDED__
  15. #define __LG__UI__VIDEO__CAMERA__ENGINE__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. class CLgUICamera;
  20. class CLgUICameraVideoWnd;
  21. class CLgUICameraMainWnd;
  22. class CLgUICameraListWnd;
  23. class CLgUICameraControlWnd;
  24. class CLgUICameraEngineObject;
  25. class CLgUISiteEngine;
  26. class CLgUICameraEngine :
  27. public CLgLink<CLgUICameraEngine,CLgUICamera>,
  28. public CLgLink<CLgUICameraEngine,CLgUICameraVideoWnd>,
  29. public CLgLinkS<CLgUICameraEngine,CLgUICameraMainWnd>,
  30. public CLgLinkS<CLgUICameraEngine,CLgUICameraListWnd>,
  31. public CLgLinkS<CLgUICameraEngine,CLgUICameraControlWnd>,
  32. public CLgLink<CLgUICameraEngine,CLgUISiteEngine>
  33. {
  34. public:
  35. CLgUICameraEngine();
  36. virtual ~CLgUICameraEngine();
  37. public:
  38. BOOL Create();
  39. void Destroy();
  40. public:
  41. // main control operations
  42. BOOL SetActiveCamera( CLgUICamera* );
  43. BOOL SetActiveVideo( CLgUICameraVideoWnd* );
  44. public:
  45. // notifications from CLgVideoCamera objects
  46. BOOL OnVideoCameraStream( CLgUICamera* pVideoCamera, BOOL bRun );
  47. private:
  48. // pointer to current conntroled window
  49. CLgUICamera *m_pActiveCamera;
  50. CWnd m_HiddenWnd;
  51. };
  52. #endif