Reduce the amount of calls to Stage::GetCurrent() in actor creation and remove depend...
[platform/core/uifw/dali-core.git] / dali / internal / event / common / stage-impl.h
index 3a9bd85..03d4d93 100644 (file)
@@ -98,6 +98,7 @@ public:
 
   /**
    * @copydoc Dali::Stage::GetCurrent()
+   * @note this version is for internal usage so it does not assert
    */
   static StagePtr GetCurrent();
 
@@ -112,6 +113,16 @@ public:
   ObjectRegistry& GetObjectRegistry();
 
   /**
+   * @copydoc Dali::Internal::ObjectRegistry::RegisterObject
+   */
+  void RegisterObject( Dali::BaseObject* object );
+
+  /**
+   * @copydoc Dali::Internal::ObjectRegistry::UnregisterObject
+   */
+  void UnregisterObject( Dali::BaseObject* object );
+
+  /**
    * Retrieve the root actor (not publically accessible).
    * @return The root actor.
    */