| 1 |
/* |
| 2 |
* Copyright (C) 2005-2022 Team Kodi |
| 3 |
* This file is part of Kodi - https://kodi.tv |
| 4 |
* |
| 5 |
* SPDX-License-Identifier: GPL-2.0-or-later |
| 6 |
* See LICENSES/README.md for more information. |
| 7 |
*/ |
| 8 |
|
| 9 |
#pragma once |
| 10 |
|
| 11 |
#include <memory> |
| 12 |
|
| 13 |
namespace speech |
| 14 |
{ |
| 15 |
class ISpeechRecognitionListener; |
| 16 |
|
| 17 |
class ISpeechRecognition |
| 18 |
{ |
| 19 |
public: |
| 20 |
static std::shared_ptr<speech::ISpeechRecognition> CreateInstance(); |
| 21 |
|
| 22 |
virtual ~ISpeechRecognition() = default; |
| 23 |
|
| 24 |
virtual void StartSpeechRecognition( |
| 25 |
const std::shared_ptr<speech::ISpeechRecognitionListener>& listener) = 0; |
| 26 |
}; |
| 27 |
|
| 28 |
} // namespace speech |