Setting game title

Why are setViewName and getViewName functions removed:

Without them it is not possible to change window title.

If trying to set it directly from main.cpp using:

CCEGLView* eglView = CCEGLView::sharedOpenGLView();
strcpy(eglView->m_szViewName, “Test”);

compiler says:

cocos2d::CCEGLViewProtocol::m_szViewName’ : cannot access protected member declared in class ‘cocos2d::CCEGLViewProtocol’