// DataUpdateCentrer.cpp: implementation of the DataUpdateCentrer class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "DataUpdateCentrer.h"


//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

DataUpdateCentrer::DataUpdateCentrer()
{
	mTodayBar=NULL;
}

DataUpdateCentrer::~DataUpdateCentrer()
{
	mTodayBar=NULL;
}

void DataUpdateCentrer::setTodayBar(TodayBar *mbar){
	mTodayBar=mbar;
}
void DataUpdateCentrer::UpdateTodayBarMsg(){
	if(mTodayBar!=NULL){
		mTodayBar->UpdateTodayMsg();
	}
}


DataUpdateCentrer dataUpdateCentrer;