EntityController::EntityController(DataManager* dm, Ogre::SceneManager *sm, OgreAL::SoundManager* soundManager) { m_datamanager = dm; m_sceneMgr = sm; m_soundManager = soundManager; createSite(); PersonelEntity::init(); ResourceEntity::init(); OnsiteEntity::init(); }
EWAUpdatesChecker::EWAUpdatesChecker( QObject *pParent ) :QObject( pParent ) { m_bUsed = true; m_strUpdatesUrl = "http://cv.indatray.com/"; createSite(); #ifdef EWA_DBG qDebug( "EWAUpdatesChecker::EWAUpdatesChecker:UA: %s",qPrintable( m_pSite->getWebPage()->getUserAgent() ) ); #endif //-- EWA_DBG m_pTimer = new EWATimer( this ); m_pTimer->setInterval( 1000 ); connect( m_pTimer, SIGNAL( signalTimeOut() ), this, SLOT( slotOneSecondTicked() ) ); }