2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include <dali/internal/accessibility/ubuntu/tts-player-impl-ubuntu.h>
22 #include <dali/public-api/object/type-registry.h>
34 #if defined(DEBUG_ENABLED)
35 Debug::Filter* TtsPlayerUbuntu::gLogFilter = Debug::Filter::New(Debug::Concise, false, "LOG_TTS_PLAYER");
38 std::unique_ptr<TtsPlayerUbuntu> TtsPlayerUbuntu::New(Dali::TtsPlayer::Mode mode)
40 return std::unique_ptr<TtsPlayerUbuntu>(new TtsPlayerUbuntu(mode));
43 TtsPlayerUbuntu::TtsPlayerUbuntu(Dali::TtsPlayer::Mode mode)
44 : mStateChangedSignal()
46 DALI_LOG_ERROR("TTS is not implemented in UBUNTU profile.\n");
49 TtsPlayerUbuntu::~TtsPlayerUbuntu()
53 void TtsPlayerUbuntu::Play(const std::string& text)
57 void TtsPlayerUbuntu::Stop()
61 void TtsPlayerUbuntu::Pause()
65 void TtsPlayerUbuntu::Resume()
69 Dali::TtsPlayer::State TtsPlayerUbuntu::GetState()
71 return Dali::TtsPlayer::UNAVAILABLE;
74 Dali::TtsPlayer::StateChangedSignalType& TtsPlayerUbuntu::StateChangedSignal()
76 return mStateChangedSignal;
79 } // namespace Adaptor
81 } // namespace Internal