Add API to notify adaptor that scene has been created 87/41487/1
authorJonghyun Ho <jonghyun.ho@samsung.com>
Fri, 12 Jun 2015 02:28:59 +0000 (11:28 +0900)
committerJonghyun Ho <jonghyun.ho@samsung.com>
Tue, 16 Jun 2015 07:50:19 +0000 (16:50 +0900)
Change-Id: I26c3336868f1ac02f19ecc813039799f343fd031

adaptors/common/adaptor-impl.cpp
adaptors/common/adaptor-impl.h
adaptors/common/adaptor.cpp
adaptors/integration-api/adaptor.h

index 1038e11..5fd0e15 100644 (file)
@@ -730,6 +730,11 @@ void Adaptor::SurfaceSizeChanged(const PositionSize& positionSize)
   mResizedSignal.Emit( mAdaptor );
 }
 
+void Adaptor::NotifySceneCreated()
+{
+  GetCore().SceneCreated();
+}
+
 void Adaptor::NotifyLanguageChanged()
 {
   mLanguageChangedSignal.Emit( mAdaptor );
index 5e4e25e..9f4ba11 100644 (file)
@@ -294,6 +294,11 @@ public:
   void RequestUpdateOnce();
 
   /**
+   * @copydoc Dali::Adaptor::NotifySceneCreated()
+   */
+  void NotifySceneCreated();
+
+  /**
    * @copydoc Dali::Adaptor::NotifyLanguageChanged()
    */
   void NotifyLanguageChanged();
index 944650c..f041a68 100644 (file)
@@ -135,6 +135,11 @@ bool Adaptor::IsAvailable()
   return Internal::Adaptor::Adaptor::IsAvailable();
 }
 
+void Adaptor::NotifySceneCreated()
+{
+  mImpl->NotifySceneCreated();
+}
+
 void Adaptor::NotifyLanguageChanged()
 {
   mImpl->NotifyLanguageChanged();
index 6ac79ea..d5a1826 100644 (file)
@@ -247,6 +247,13 @@ public:
   static bool IsAvailable();
 
   /**
+   * @brief Call this method to notify Dali when scene is created and initialized.
+   *
+   * Notify Adaptor that the scene has been created.
+   */
+  void NotifySceneCreated();
+
+  /**
    * @brief Call this method to notify Dali when the system language changes.
    *
    * Use this only when NOT using Dali::Application, As Application created using