+ Dali::OffscreenApplication application(this);
+ mResumeSignal.Emit();
+ EmitLifecycleControllerSignal(&Internal::Adaptor::LifecycleController::OnResume);
+
+ // DALi just delivers the framework Resume event to the application.
+ // Resuming DALi core only occurs on the Window Show framework event
+
+ // Trigger processing of events queued up while paused
+ Internal::Adaptor::CoreEventInterface& coreEventInterface = Internal::Adaptor::Adaptor::GetImplementation(*mAdaptor);
+ coreEventInterface.ProcessCoreEvents();
+}
+
+void OffscreenApplication::OnReset()
+{
+ /*
+ * usually, reset callback was called when a caller request to launch this application via aul.
+ * because Application class already handled initialization in OnInit(), OnReset do nothing.
+ */
+ Dali::OffscreenApplication application(this);
+ mResetSignal.Emit();
+ EmitLifecycleControllerSignal(&Internal::Adaptor::LifecycleController::OnReset);
+}
+
+void OffscreenApplication::OnLanguageChanged()
+{
+ mAdaptor->NotifyLanguageChanged();
+
+ Dali::OffscreenApplication application(this);
+ mLanguageChangedSignal.Emit();
+ EmitLifecycleControllerSignal(&Internal::Adaptor::LifecycleController::OnLanguageChanged);
+}
+
+void OffscreenApplication::QuitFromMainLoop()
+{
+ mAdaptor->Stop();
+
+ mFramework->Quit();
+ // This will trigger OnTerminate(), below, after the main loop has completed.