bool AvCaster::Initialize(MainContent* main_content) { Gui = main_content ; CliParams = JUCEApplicationBase::getCommandLineParameterArray() ; DEBUG_TRACE_INIT_PHASE_1 if (!ValidateEnvironment()) return false ; DEBUG_TRACE_INIT_PHASE_2 // load persistent configuration if ((Store = new AvCasterStore()) == nullptr) return false ; DEBUG_TRACE_INIT_PHASE_3 // initialze GUI SetWindowTitle() ; RefreshGui() ; DEBUG_TRACE_INIT_PHASE_4 // initialize gStreamer if (!Gstreamer::Initialize(Gui->getWindowHandle())) return false ; DEBUG_TRACE_INIT_PHASE_5 if (!HandleCliParams()) return false ; SetStatusL(GUI::READY_STATUS_TEXT) ; // subscribe to model change events Store->listen(true) ; return true ; }
// --------------------------------------------------------------------------- // CAppMngr2InfoIterator::SetAllFieldsL() // --------------------------------------------------------------------------- // EXPORT_C void CAppMngr2InfoIterator::SetAllFieldsL() { SetFieldL( R_SWCOMMON_DETAIL_NAME, iInfo.Name() ); SetStatusL(); SetLocationL(); SetFieldL( R_SWCOMMON_DETAIL_APPSIZE, iInfo.Details() ); SetOtherFieldsL(); }