-
Notifications
You must be signed in to change notification settings - Fork 3
/
javaSpeak.i
42 lines (41 loc) · 1.29 KB
/
javaSpeak.i
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* javaSpeak.i */
%module javaSpeak
%{
/* Put header files here or function declarations like below */
extern int getRate(int current);
extern int setRate(int rate);
extern int getPitch(int current);
extern int setPitch(int pitch);
extern int getRange(int current);
extern int setRange(int range);
extern int getPunctuation(int current);
extern int setPunctuation(int punct);
extern int getCapitals(int current);
extern int setCapitals(int cap);
extern int speakText(const char *text);
extern int speakKey(const char *key_name);
extern int speakChar(wchar_t character);
extern int cancel();
extern int isTalking();
extern int synchronize();
extern int terminate();
extern int initialize();
%}
extern int getRate(int current);
extern int setRate(int rate);
extern int getPitch(int current);
extern int setPitch(int pitch);
extern int getRange(int current);
extern int setRange(int range);
extern int getPunctuation(int current);
extern int setPunctuation(int punct);
extern int getCapitals(int current);
extern int setCapitals(int cap);
extern int speakText(const char *text);
extern int speakKey(const char *key_name);
extern int speakChar(wchar_t character);
extern int cancel();
extern int isTalking();
extern int synchronize();
extern int terminate();
extern int initialize();