mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 23:42:30 +00:00
Add accessibility.h
This commit is contained in:
parent
88ee7cbfa8
commit
34a9224334
51
accessibility.h
Normal file
51
accessibility.h
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
/* RetroArch - A frontend for libretro.
|
||||||
|
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
|
||||||
|
* Copyright (C) 2011-2016 - Daniel De Matteis
|
||||||
|
*
|
||||||
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
||||||
|
* of the GNU General Public License as published by the Free Software Found-
|
||||||
|
* ation, either version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||||
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE. See the GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __RETROARCH_ACCESSIBILITY_H
|
||||||
|
#define __RETROARCH_ACCESSIBILITY_H
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include <boolean.h>
|
||||||
|
#include <retro_inline.h>
|
||||||
|
#include <retro_common_api.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
RETRO_BEGIN_DECLS
|
||||||
|
|
||||||
|
bool is_accessibility_enabled(void);
|
||||||
|
|
||||||
|
bool accessibility_speak(const char* speak_text);
|
||||||
|
|
||||||
|
bool accessibility_speak_priority(const char* speak_text, int priority);
|
||||||
|
|
||||||
|
bool accessibility_startup_message(void);
|
||||||
|
|
||||||
|
bool is_narrator_running(void);
|
||||||
|
|
||||||
|
bool accessibility_speak_ai_service(
|
||||||
|
const char* speak_text, const char* voice, int priority);
|
||||||
|
|
||||||
|
RETRO_END_DECLS
|
||||||
|
|
||||||
|
#endif
|
Loading…
x
Reference in New Issue
Block a user