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