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.
64 lines
1.8 KiB
64 lines
1.8 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: LgUICameraListWnd.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of LgUICameraListWnd.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __LG__UI__VIDEO__CAMERA__LIST__WND__H__INCLUDED__
|
|
#define __LG__UI__VIDEO__CAMERA__LIST__WND__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "LgUICameraVideoWnd.h"
|
|
#include "..\Templ.h"
|
|
#include "..\MFC\ListWnd.h"
|
|
|
|
class CLgUICameraListWnd :
|
|
public CLgListWnd,
|
|
public CLgLinkS<CLgUICameraListWnd,CLgUICameraEngine>,
|
|
public CLgLink<CLgUICameraListWnd,CLgUICameraVideoWnd>
|
|
{
|
|
public:
|
|
CLgUICameraListWnd();
|
|
virtual ~CLgUICameraListWnd();
|
|
|
|
public:
|
|
//{{AFX_VIRTUAL(CLgUICameraListWnd)
|
|
public:
|
|
//}}AFX_VIRTUAL
|
|
|
|
public:
|
|
virtual BOOL Create( CWnd *pParentWnd, int x, int y, int nWidth, int nHeight );
|
|
virtual BOOL DestroyWindow();
|
|
|
|
public:
|
|
BOOL SetActiveVideo( CLgUICameraVideoWnd* pVideoWnd );
|
|
|
|
protected:
|
|
//{{AFX_MSG(CLgUICameraListWnd)
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
protected:
|
|
// inherited from CLgListWnd
|
|
virtual void OnItemMove( void* pItem, CRect *pRect, BOOL bShow, BOOL bActive );
|
|
virtual void OnItemAdd( void* pItem );
|
|
virtual void OnItemRemove( void *pItem );
|
|
|
|
public:
|
|
virtual BOOL Link( CLgLink<CLgUICameraVideoWnd,CLgUICameraListWnd>* );
|
|
virtual BOOL Unlink( CLgLink<CLgUICameraVideoWnd,CLgUICameraListWnd>* );
|
|
INT GetVideoWndCount() { return CLgListWnd::GetItemCount(); }
|
|
CLgUICameraVideoWnd *GetVideoWnd( INT nIndex ) { return (CLgUICameraVideoWnd*)CLgListWnd::GetItem( nIndex ); }
|
|
};
|
|
|
|
#endif
|