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
60 lines
1.6 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: LgUICameraEngine.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of LgUICameraEngine.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __LG__UI__VIDEO__CAMERA__ENGINE__H__INCLUDED__
|
|
#define __LG__UI__VIDEO__CAMERA__ENGINE__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
class CLgUICamera;
|
|
class CLgUICameraVideoWnd;
|
|
class CLgUICameraMainWnd;
|
|
class CLgUICameraListWnd;
|
|
class CLgUICameraControlWnd;
|
|
class CLgUICameraEngineObject;
|
|
class CLgUISiteEngine;
|
|
|
|
class CLgUICameraEngine :
|
|
public CLgLink<CLgUICameraEngine,CLgUICamera>,
|
|
public CLgLink<CLgUICameraEngine,CLgUICameraVideoWnd>,
|
|
public CLgLinkS<CLgUICameraEngine,CLgUICameraMainWnd>,
|
|
public CLgLinkS<CLgUICameraEngine,CLgUICameraListWnd>,
|
|
public CLgLinkS<CLgUICameraEngine,CLgUICameraControlWnd>,
|
|
public CLgLink<CLgUICameraEngine,CLgUISiteEngine>
|
|
{
|
|
public:
|
|
CLgUICameraEngine();
|
|
virtual ~CLgUICameraEngine();
|
|
|
|
public:
|
|
BOOL Create();
|
|
void Destroy();
|
|
|
|
public:
|
|
// main control operations
|
|
BOOL SetActiveCamera( CLgUICamera* );
|
|
BOOL SetActiveVideo( CLgUICameraVideoWnd* );
|
|
|
|
public:
|
|
// notifications from CLgVideoCamera objects
|
|
BOOL OnVideoCameraStream( CLgUICamera* pVideoCamera, BOOL bRun );
|
|
|
|
private:
|
|
// pointer to current conntroled window
|
|
CLgUICamera *m_pActiveCamera;
|
|
CWnd m_HiddenWnd;
|
|
};
|
|
|
|
#endif
|