adaptor_accessibility_tizen_wearable_src_files=\
${adaptor_accessibility_dir}/tizen-wayland/tizen-wearable/accessibility-adaptor-impl-wearable.cpp
-# module: accessibility, backend: ubuntu
+# module: accessibility, backend: generic
adaptor_accessibility_ubuntu_src_files=\
${adaptor_accessibility_dir}/generic/accessibility-adaptor-impl-generic.cpp \
- ${adaptor_accessibility_dir}/ubuntu/tts-player-factory-ubuntu.cpp \
- ${adaptor_accessibility_dir}/ubuntu/tts-player-impl-ubuntu.cpp
+ ${adaptor_accessibility_dir}/generic/tts-player-factory-generic.cpp \
+ ${adaptor_accessibility_dir}/generic/tts-player-impl-generic.cpp
/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*/
#include <dali/internal/accessibility/common/tts-player-factory.h>
-#include <dali/internal/accessibility/ubuntu/tts-player-impl-ubuntu.h>
+#include <dali/internal/accessibility/generic/tts-player-impl-generic.h>
namespace Dali
{
std::unique_ptr<TtsPlayer> New(Dali::TtsPlayer::Mode mode)
{
- return TtsPlayerUbuntu::New(mode);
+ return TtsPlayerGeneric::New(mode);
}
} // namespace TtsPlayerFactory
} // namespace Internal
-} // namespace Dali
\ No newline at end of file
+} // namespace Dali
/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*/
// CLASS HEADER
-#include <dali/internal/accessibility/ubuntu/tts-player-impl-ubuntu.h>
+#include <dali/internal/accessibility/generic/tts-player-impl-generic.h>
// EXTERNAL INCLUDES
#include <dali/public-api/object/type-registry.h>
{
#if defined(DEBUG_ENABLED)
-Debug::Filter* TtsPlayerUbuntu::gLogFilter = Debug::Filter::New(Debug::Concise, false, "LOG_TTS_PLAYER");
+Debug::Filter* TtsPlayerGeneric::gLogFilter = Debug::Filter::New(Debug::Concise, false, "LOG_TTS_PLAYER");
#endif
-std::unique_ptr<TtsPlayerUbuntu> TtsPlayerUbuntu::New(Dali::TtsPlayer::Mode mode)
+std::unique_ptr<TtsPlayerGeneric> TtsPlayerGeneric::New(Dali::TtsPlayer::Mode mode)
{
- return std::unique_ptr<TtsPlayerUbuntu>(new TtsPlayerUbuntu(mode));
+ return std::unique_ptr<TtsPlayerGeneric>(new TtsPlayerGeneric(mode));
}
-TtsPlayerUbuntu::TtsPlayerUbuntu(Dali::TtsPlayer::Mode mode)
+TtsPlayerGeneric::TtsPlayerGeneric(Dali::TtsPlayer::Mode mode)
: mStateChangedSignal()
{
- DALI_LOG_ERROR("TTS is not implemented in UBUNTU profile.\n");
+ DALI_LOG_ERROR("TTS is not implemented in GENERIC profile.\n");
}
-TtsPlayerUbuntu::~TtsPlayerUbuntu()
+TtsPlayerGeneric::~TtsPlayerGeneric()
{
}
-void TtsPlayerUbuntu::Play(const std::string& text)
+void TtsPlayerGeneric::Play(const std::string& text)
{
}
-void TtsPlayerUbuntu::Stop()
+void TtsPlayerGeneric::Stop()
{
}
-void TtsPlayerUbuntu::Pause()
+void TtsPlayerGeneric::Pause()
{
}
-void TtsPlayerUbuntu::Resume()
+void TtsPlayerGeneric::Resume()
{
}
-Dali::TtsPlayer::State TtsPlayerUbuntu::GetState()
+Dali::TtsPlayer::State TtsPlayerGeneric::GetState()
{
return Dali::TtsPlayer::UNAVAILABLE;
}
-Dali::TtsPlayer::StateChangedSignalType& TtsPlayerUbuntu::StateChangedSignal()
+Dali::TtsPlayer::StateChangedSignalType& TtsPlayerGeneric::StateChangedSignal()
{
return mStateChangedSignal;
}
-#ifndef DALI_INTERNAL_ACCESSIBILITY_UBUNTU_TTS_PLAYER_IMPL_UBUNTU_H
-#define DALI_INTERNAL_ACCESSIBILITY_UBUNTU_TTS_PLAYER_IMPL_UBUNTU_H
+#ifndef DALI_INTERNAL_ACCESSIBILITY_GENERIC_TTS_PLAYER_IMPL_GENERIC_H
+#define DALI_INTERNAL_ACCESSIBILITY_GENERIC_TTS_PLAYER_IMPL_GENERIC_H
/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/**
* Text-to-speech player
*/
-class TtsPlayerUbuntu : public Dali::Internal::Adaptor::TtsPlayer
+class TtsPlayerGeneric : public Dali::Internal::Adaptor::TtsPlayer
{
public:
* @param mode the mode of tts-player
* @return A newly created TtsPlayer.
*/
- static std::unique_ptr<TtsPlayerUbuntu> New(Dali::TtsPlayer::Mode mode);
+ static std::unique_ptr<TtsPlayerGeneric> New(Dali::TtsPlayer::Mode mode);
/**
* @copydoc TtsPlayer::Play()
* Private Constructor; see also TtsPlayer::New()
* @param mode the mode of tts-player
*/
- TtsPlayerUbuntu(Dali::TtsPlayer::Mode mode);
+ TtsPlayerGeneric(Dali::TtsPlayer::Mode mode);
/**
* Destructor
*/
- virtual ~TtsPlayerUbuntu();
+ virtual ~TtsPlayerGeneric();
private:
} // namespace Dali
-#endif // DALI_INTERNAL_ACCESSIBILITY_UBUNTU_TTS_PLAYER_IMPL_UBUNTU_H
+#endif // DALI_INTERNAL_ACCESSIBILITY_GENERIC_TTS_PLAYER_IMPL_GENERIC_H