summaryrefslogtreecommitdiffstats
path: root/native/include/android
diff options
context:
space:
mode:
authorCharles Chen <clchen@google.com>2010-07-14 15:20:07 -0700
committerCharles Chen <clchen@google.com>2010-07-14 15:21:56 -0700
commit039a9ae320f0df32df33964ca1afe5fb52e4305d (patch)
tree630d50df074590ed9f9b1973fed8737a024e45a9 /native/include/android
parent26dd7b3bb381ba06ce3a7eb17205e54fdd7becfc (diff)
downloadframeworks_base-039a9ae320f0df32df33964ca1afe5fb52e4305d.zip
frameworks_base-039a9ae320f0df32df33964ca1afe5fb52e4305d.tar.gz
frameworks_base-039a9ae320f0df32df33964ca1afe5fb52e4305d.tar.bz2
Adding the old legacy method for getTtsEngine for Froyo compatibility.
Change-Id: I1f29f1b670137daff0c153e9f7ecdb7bfb2b5ff6
Diffstat (limited to 'native/include/android')
-rw-r--r--native/include/android/tts.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/native/include/android/tts.h b/native/include/android/tts.h
index e5c99f7..fb15108 100644
--- a/native/include/android/tts.h
+++ b/native/include/android/tts.h
@@ -87,6 +87,11 @@ typedef struct {
*/
extern android_tts_engine_t *android_getTtsEngine();
+/* Including the old version for legacy support (Froyo compatibility).
+ * This should return the same thing as android_getTtsEngine.
+ */
+extern "C" android_tts_engine_t *getTtsEngine();
+
// A callback type used to notify the framework of new synthetized
// audio samples, status will be SYNTH_DONE for the last sample of
// the last request, of SYNTH_PENDING otherwise.