2 * Copyright (c) 2019 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/generic/tts-player-impl-generic.h>
22 #include <dali/public-api/object/type-registry.h>
34 #if defined(DEBUG_ENABLED)
35 Debug::Filter* TtsPlayerGeneric::gLogFilter = Debug::Filter::New(Debug::Concise, false, "LOG_TTS_PLAYER");
38 std::unique_ptr<TtsPlayerGeneric> TtsPlayerGeneric::New(Dali::TtsPlayer::Mode mode)
40 return std::unique_ptr<TtsPlayerGeneric>(new TtsPlayerGeneric(mode));
43 TtsPlayerGeneric::TtsPlayerGeneric(Dali::TtsPlayer::Mode mode)
44 : mStateChangedSignal()
46 DALI_LOG_ERROR("TTS is not implemented in GENERIC profile.\n");
49 TtsPlayerGeneric::~TtsPlayerGeneric()
53 void TtsPlayerGeneric::Play(const std::string& text)
57 void TtsPlayerGeneric::Stop()
61 void TtsPlayerGeneric::Pause()
65 void TtsPlayerGeneric::Resume()
69 Dali::TtsPlayer::State TtsPlayerGeneric::GetState()
71 return Dali::TtsPlayer::UNAVAILABLE;
74 Dali::TtsPlayer::StateChangedSignalType& TtsPlayerGeneric::StateChangedSignal()
76 return mStateChangedSignal;
79 } // namespace Adaptor
81 } // namespace Internal