20 lines
442 B
C
20 lines
442 B
C
|
|
#import "MWMTextToSpeech.h"
|
||
|
|
|
||
|
|
#include <string>
|
||
|
|
#include <vector>
|
||
|
|
|
||
|
|
@interface MWMTextToSpeech (CPP)
|
||
|
|
|
||
|
|
// Returns a list of available languages in the following format:
|
||
|
|
// * name in bcp47;
|
||
|
|
// * localized name;
|
||
|
|
- (std::vector<std::pair<std::string, std::string>>)availableLanguages;
|
||
|
|
- (std::pair<std::string, std::string>)standardLanguage;
|
||
|
|
|
||
|
|
@end
|
||
|
|
|
||
|
|
namespace tts
|
||
|
|
{
|
||
|
|
std::string translateLocale(std::string const & localeString);
|
||
|
|
} // namespace tts
|