kodi
SpeechRecognitionStub.h
1 /*
2  * Copyright (C) 2012-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 "speech/ISpeechRecognition.h"
12 
13 // This is a stub for all platforms without a speech recognition implementation
14 // Saves us from feature/platform ifdeffery.
16 {
17 public:
18  void StartSpeechRecognition(
19  const std::shared_ptr<speech::ISpeechRecognitionListener>& listener) override
20  {
21  }
22 };
Definition: SpeechRecognitionStub.h:15
Definition: ISpeechRecognition.h:17