[3.0] Add UpdateTopMargin in tizen indicator
[platform/core/uifw/dali-adaptor.git] / adaptors / ubuntu / tts-player-impl-ubuntu.cpp
index 8e6b579..d438054 100644 (file)
@@ -31,17 +31,6 @@ namespace Internal
 namespace Adaptor
 {
 
-namespace // unnamed namespace
-{
-// Type Registration
-Dali::BaseHandle Create()
-{
-  return Dali::TtsPlayer::Get() ;
-}
-
-Dali::TypeRegistration mType( typeid(Dali::TtsPlayer), typeid(Dali::BaseHandle), Create ) ;
-} // unnamed namespace
-
 #if defined(DEBUG_ENABLED)
 Debug::Filter* TtsPlayer::gLogFilter = Debug::Filter::New(Debug::Concise, false, "LOG_TTS_PLAYER");
 #endif
@@ -54,8 +43,9 @@ Dali::TtsPlayer TtsPlayer::New(Dali::TtsPlayer::Mode mode)
 }
 
 TtsPlayer::TtsPlayer(Dali::TtsPlayer::Mode mode)
+: mStateChangedSignal()
 {
-  DALI_LOG_ERROR("TTS is not implemented in UBUNTU profile.");
+  DALI_LOG_ERROR("TTS is not implemented in UBUNTU profile.\n");
 }
 
 TtsPlayer::~TtsPlayer()
@@ -83,10 +73,13 @@ Dali::TtsPlayer::State TtsPlayer::GetState()
   return Dali::TtsPlayer::UNAVAILABLE;
 }
 
+Dali::TtsPlayer::StateChangedSignalType& TtsPlayer::StateChangedSignal()
+{
+  return mStateChangedSignal;
+}
 
 } // namespace Adaptor
 
 } // namespace Internal
 
 } // namespace Dali
-