[Tizen] Add deprecated logs to Scene and Actor
[platform/core/uifw/dali-core-legacy.git] / dali / integration-api / scene.cpp
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) );
 }