1 #include "toolkit-tts-player.h"
4 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
21 #include <dali/public-api/object/base-handle.h>
22 #include <dali/public-api/signals/dali-signal.h>
27 TtsPlayer::TtsPlayer()
31 TtsPlayer TtsPlayer::Get(Dali::TtsPlayer::Mode mode)
38 TtsPlayer::~TtsPlayer()
42 TtsPlayer::TtsPlayer(const TtsPlayer& handle)
47 TtsPlayer& TtsPlayer::operator=(const TtsPlayer& rhs)
49 BaseHandle::operator=(rhs);
53 void TtsPlayer::Play(const std::string& text)
55 // GetImplementation(*this).Play(text);
58 void TtsPlayer::Stop()
60 // GetImplementation(*this).Stop();
63 void TtsPlayer::Pause()
65 // GetImplementation(*this).Pause();
68 void TtsPlayer::Resume()
70 // GetImplementation(*this).Resume();
73 TtsPlayer::State TtsPlayer::GetState()
75 return READY; // GetImplementation(*this).GetState();
78 TtsPlayer::StateChangedSignalType& TtsPlayer::StateChangedSignal()
80 return mStateChangedSignal; // GetImplementation(*this).StateChangedSignal();