| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- /*************************************************************************
- 【文件名】 ViewMgr.h
- 【功能模块和目的】 视图管理器类头文件
- 【开发者及日期】 郑石诺 2015/06/26
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- #pragma once
- #include "IMsgObserver.h"
- #include "ViewLog.h"
- #include "ViewDti.h"
- #include "ViewVoip.h"
- #include "ViewDsp.h"
- #include "ViewIpm.h"
- class CDisplayWnd;
- /*************************************************************************
- 【类名】 CViewMgr
- 【功能】
- 【接口说明】 视图管理器类
- 【开发者及日期】 郑石诺 2015/06/26
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- class CViewMgr : public IMsgObserver
- {
- SINGLETON_DECLARE(CViewMgr)
- public:
- ~CViewMgr(void);
- bool setup(CDisplayWnd* pWnd);
- void showLogView(void) { m_ViewLog.show(); }
- void showResView(UINT ResType);
- void onResNew(DEV_RES_ID*& pResId);
- void onResDel(DEV_RES_ID*& pResId);
- void onResState(DEV_RES_ID*& pResId);
- void onMessage(UINT MsgType, PARAM lpContent);
- private:
- CViewMgr(void);
- CViewResBase* __getView(UINT ResType);
- private:
- CDisplayWnd* m_pWnd;
- CViewLog m_ViewLog;
- CViewDti m_ViewDti;
- CViewVoip m_ViewVoip;
- CViewIpm m_ViewIpm;
- CViewDsp m_ViewDsp;
- };
|