GLOBALVARIABLE.CPP
资源名称:SNMP范例源代码.zip [点击查看]
上传用户:shgx688
上传日期:2009-12-27
资源大小:855k
文件大小:1k
源码类别:
SNMP编程
开发平台:
MultiPlatform
- // GlobalVariable.cpp: implementation of the CGlobalVariable class.
- //
- //////////////////////////////////////////////////////////////////////
- #include "stdafx.h"
- #include "oam.h"
- #include "GlobalVariable.h"
- #include "Splash.h" // e.g. splash.h
- #ifdef _DEBUG
- #undef THIS_FILE
- static char THIS_FILE[]=__FILE__;
- #define new DEBUG_NEW
- #endif
- //////////////////////////////////////////////////////////////////////
- // Construction/Destruction
- //////////////////////////////////////////////////////////////////////
- CMainFrame * CGlobalVariable::m_pMainFrame = NULL;
- COAMDoc * CGlobalVariable::m_pMainDoc = NULL;
- CSnmp_cwdmView * CGlobalVariable::m_pStationTreeView = NULL;
- CAdressComboBox * CGlobalVariable::m_pAddressCombo = NULL;
- CMainView * CGlobalVariable::m_pMainView = NULL;
- CDibList CGlobalVariable::m_imageMap;
- CFont CGlobalVariable::m_fontSystem;
- CDibList CGlobalVariable::m_imageLE;
- CDibList CGlobalVariable::m_imageAN;
- CDibList CGlobalVariable::m_imageComp;
- CDibList CGlobalVariable::m_imgCompAni;
- CGlobalVariable::CGlobalVariable()
- {
- }
- CGlobalVariable::~CGlobalVariable()
- {
- }
- void CGlobalVariable::Init()
- {
- m_fontSys.CreateStockObject(DEFAULT_GUI_FONT) ||
- m_fontSys.CreateStockObject(SYSTEM_FONT);
- }