/**
* @copydoc Dali::Application::MainLoop()
*/
- void MainLoop(Dali::Configuration::ContextLoss configuration);
+ void MainLoop();
/**
* @copydoc Dali::Application::Lower()
std::string GetLanguage() const;
/**
+ * @copydoc Dali::Application::GetObjectRegistry();
+ */
+ Dali::ObjectRegistry GetObjectRegistry() const;
+
+ /**
* @copydoc Dali::Application::GetResourcePath();
*/
static std::string GetResourcePath();
/**
* Called when the framework is initialised.
*/
- virtual void OnInit();
+ void OnInit() override;
/**
* Called when the framework is terminated.
*/
- virtual void OnTerminate();
+ void OnTerminate() override;
/**
* Called when the framework is paused.
*/
- virtual void OnPause();
+ void OnPause() override;
/**
* Called when the framework resumes from a paused state.
*/
- virtual void OnResume();
+ void OnResume() override;
/**
* Called when the framework received AppControlSignal.
* @param[in] The bundle data of AppControl event.
*/
- virtual void OnAppControl(void *data);
+ void OnAppControl(void *data) override;
/**
* Called when the framework informs the application that it should reset itself.
*/
- virtual void OnReset();
+ void OnReset() override;
/**
* Called when the framework informs the application that the language of the device has changed.
*/
- virtual void OnLanguageChanged();
+ void OnLanguageChanged() override;
/**
* Called when the framework informs the application that the region of the device has changed.
*/
- virtual void OnRegionChanged();
+ void OnRegionChanged() override;
/**
* Called when the framework informs the application that the battery level of the device is low.
*/
- virtual void OnBatteryLow( Dali::DeviceStatus::Battery::Status status );
+ void OnBatteryLow( Dali::DeviceStatus::Battery::Status status ) override;
/**
* Called when the framework informs the application that the memory level of the device is low.
*/
- virtual void OnMemoryLow( Dali::DeviceStatus::Memory::Status status );
+ void OnMemoryLow( Dali::DeviceStatus::Memory::Status status ) override;
/**
* Called when the framework informs the application that the platform surface is created.
*/
- virtual void OnSurfaceCreated( Any newSurface );
+ void OnSurfaceCreated( Any newSurface ) override;
/**
* Called when the framework informs the application that the platform surface is destroyed.
*/
- virtual void OnSurfaceDestroyed( Any newSurface );
+ void OnSurfaceDestroyed( Any newSurface ) override;
public:
/**
* Destructor
*/
- virtual ~Application();
+ ~Application() override;
// Undefined
Application(const Application&);
EventLoop* mEventLoop;
Framework* mFramework;
- Dali::Configuration::ContextLoss mContextLossConfiguration;
CommandLineOptions* mCommandLineOptions;
Dali::Internal::Adaptor::AdaptorBuilder* mAdaptorBuilder; ///< The adaptor builder