[Tizen] Add deprecated logs to Scene and Actor 80/243680/3 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_unified tizen tizen_6.0 tizen_6.0_hotfix tizen_6.5 tizen_7.0 tizen_7.0_hotfix accepted/tizen/6.0/unified/20201030.114236 accepted/tizen/6.0/unified/hotfix/20201103.002513 accepted/tizen/6.5/unified/20211028.114227 accepted/tizen/7.0/unified/20221110.060706 accepted/tizen/7.0/unified/hotfix/20221116.105939 accepted/tizen/unified/20200911.143320 submit/tizen/20200911.032851 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 submit/tizen_6.5/20211028.163101 tizen_6.0.m2_release tizen_6.5.m2_release tizen_7.0_m2_release
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 9 Sep 2020 05:50:29 +0000 (14:50 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 10 Sep 2020 08:21:56 +0000 (17:21 +0900)
- DALi projects are deprecated now,
 so added deprecated logs to major classes.

Change-Id: Ic40757dfb6858227c3c791123e4f65033e3d827a
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
dali/integration-api/scene.cpp
dali/integration-api/scene.h
dali/public-api/actors/actor.cpp
dali/public-api/actors/actor.h
doc/dali-core-doc.h

index a5fc5a2..d9e5711 100644 (file)
@@ -31,6 +31,7 @@ namespace Integration
 
 Scene Scene::New( Size size )
 {
+  DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: DALi is deprecated and will be removed from next version. Please use NUI(C# interface of DALi).\n For more information on NUI, see the NUI quick start page : https://docs.tizen.org/application/dotnet/get-started/nui/quickstart/ \n" );
   Internal::ScenePtr internal = Internal::Scene::New( size );
   return Scene( internal.Get() );
 }
@@ -66,11 +67,13 @@ Scene& Scene::operator=( const Scene& rhs )
 
 void Scene::Add( Actor actor )
 {
+  DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: DALi is deprecated and will be removed from next version. Please use NUI(C# interface of DALi).\n For more information on NUI, see the NUI quick start page : https://docs.tizen.org/application/dotnet/get-started/nui/quickstart/ \n" );
   GetImplementation(*this).Add( GetImplementation(actor) );
 }
 
 void Scene::Remove( Actor actor )
 {
+  DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: DALi is deprecated and will be removed from next version. Please use NUI(C# interface of DALi).\n For more information on NUI, see the NUI quick start page : https://docs.tizen.org/application/dotnet/get-started/nui/quickstart/ \n" );
   GetImplementation(*this).Remove( GetImplementation(actor) );
 }
 
index 5ec8cc3..aaacdd9 100755 (executable)
@@ -48,6 +48,8 @@ namespace Integration
 struct Event;
 
 /**
+ * @DEPRECATED_1_5.19
+ *
  * @brief
  *
  * Scene creates a "world" that can be bound to a surface for rendering.
@@ -65,6 +67,8 @@ public:
   using FrameCallbackContainer = std::vector< std::pair< std::unique_ptr< CallbackBase >, int32_t > >;
 
   /**
+   * @DEPRECATED_1_5.19
+   *
    * @brief Create an initialized Scene handle.
    *
    * @param[in] size The size of the set surface for this scene
index 88a1cd9..46d1d04 100644 (file)
@@ -40,6 +40,7 @@ Actor::Actor()
 
 Actor Actor::New()
 {
+  DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: DALi is deprecated and will be removed from next version. Please use NUI(C# interface of DALi).\n For more information on NUI, see the NUI quick start page : https://docs.tizen.org/application/dotnet/get-started/nui/quickstart/ \n" );
   Internal::ActorPtr internal = Internal::Actor::New();
 
   return Actor(internal.Get());
@@ -102,6 +103,7 @@ Layer Actor::GetLayer()
 
 void Actor::Add(Actor actor)
 {
+  DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: DALi is deprecated and will be removed from next version. Please use NUI(C# interface of DALi).\n For more information on NUI, see the NUI quick start page : https://docs.tizen.org/application/dotnet/get-started/nui/quickstart/ \n" );
   GetImplementation(*this).Add(GetImplementation(actor));
 }
 
index 82ce5c0..1c10bfe 100644 (file)
@@ -61,6 +61,8 @@ struct Vector4;
 typedef Rect<float> Padding;      ///< Padding definition @SINCE_1_0.0
 
 /**
+ * @DEPRECATED_1_5.19
+ *
  * @brief Actor is the primary object with which Dali applications interact.
  *
  * UI controls can be built by combining multiple actors.
@@ -718,6 +720,8 @@ public:
   // Creation
 
   /**
+   * @DEPRECATED_1_5.19
+   *
    * @brief Creates an uninitialized Actor; this can be initialized with Actor::New().
    *
    * Calling member functions with an uninitialized Actor handle is not allowed.
@@ -726,6 +730,8 @@ public:
   Actor();
 
   /**
+   * @DEPRECATED_1_5.19
+   *
    * @brief Creates an initialized Actor.
    *
    * @SINCE_1_0.0
index d104906..571a91a 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 /**
- * @defgroup dali_core DALi Core
+ * @defgroup dali_core DALi Core (Deprecated)
  *
  * @brief DALi Core provides core functionalities such as scene graph-based rendering, animation, and event handling.
  *