Add new class for managing state of server 44/279844/2
authorSuyeon Hwang <stom.hwang@samsung.com>
Wed, 10 Aug 2022 12:11:22 +0000 (21:11 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Fri, 19 Aug 2022 07:07:01 +0000 (16:07 +0900)
commit75a317c615b282f921bc949c654e0f0824929583
tree06a0033abbfec3915b84fee44b96cdaef6a1943f
parent7abc4714a47cbdc4f9356735628572dd50948d0f
Add new class for managing state of server

- Requirement:
The TTS engine library needs to manage its state.

- Solution:
This patch adds new class StateManager which helps to manage state of
TTS service. Through this new class, the TTS engine library can easily
change the state and notify it.

Change-Id: I3fe6a38fcd9f55f8027b8ed1cdec8ca453cbe9a8
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/CMakeLists.txt
server/StateManager.h [new file with mode: 0644]
server/ttsd_main.h
server/ttsd_player.cpp
server/ttsd_server.c
server/ttsd_state.cpp [new file with mode: 0644]
server/ttsd_state.h [new file with mode: 0644]