std::vector<IInitialExperienceStep*> AndroidInitialExperienceModule::CreateSteps(WorldAreaLoader::SdkModel::IWorldAreaLoaderModel& worldAreaLoaderModel) { std::vector<IInitialExperienceStep*> steps; IInitialExperienceStep* pIntroStep = Eegeo_NEW(InitialExperienceIntroStep)(m_messageBus, GetPersistentSettings()); steps.push_back(pIntroStep); IInitialExperienceStep* pWorldAreaLoaderStep = Eegeo_NEW(PreLoad::SdkModel::AndroidInitialExperiencePreLoadModel)( m_nativeState, worldAreaLoaderModel, GetPersistentSettings() ); steps.push_back(pWorldAreaLoaderStep); return steps; }
std::vector<SdkModel::IInitialExperienceStep*> iOSInitialExperienceModule::CreateSteps(WorldAreaLoader::SdkModel::IWorldAreaLoaderModel& worldAreaLoaderModel, Menu::View::IMenuViewModel& searchMenuViewModelControl, SearchResultMenu::View::ISearchResultMenuViewModel& searchResultMenuViewModel) { std::vector<SdkModel::IInitialExperienceStep*> steps; SdkModel::IInitialExperienceStep* pWorldAreaLoaderStep = Eegeo_NEW(PreLoad::iOSInitialExperiencePreLoadModel)(worldAreaLoaderModel, GetPersistentSettings()); steps.push_back(pWorldAreaLoaderStep); SdkModel::IInitialExperienceStep* pIntroScreenStep = Eegeo_NEW(SdkModel::InitialExperienceIntroStep)(m_messageBus, GetPersistentSettings()); steps.push_back(pIntroScreenStep); m_pInitialExperienceSearchResultAttractModeModule = Eegeo_NEW(SearchResultAttractMode::InitialExperienceSearchResultAttractModeModule)(GetPersistentSettings(), searchMenuViewModelControl,searchResultMenuViewModel, m_messageBus); steps.push_back(&m_pInitialExperienceSearchResultAttractModeModule->GetInitialExperienceStep()); return steps; }