GLOBALVARIABLE.CPP
上传用户:lvjun8202
上传日期:2013-04-30
资源大小:797k
文件大小:1k
- // 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);
- }