summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2009-07-08 16:24:38 -0700
committerMarco Nelissen <marcone@google.com>2009-07-08 16:24:38 -0700
commitd43b2e4b75a46684192c316754c0008ca7f890a7 (patch)
treecd146f524db8279d932d5a9d818a8b2405c2378e /include
parent877b1750ecc1fdff1c33d371d59030aac2cccd42 (diff)
downloadframeworks_native-d43b2e4b75a46684192c316754c0008ca7f890a7.zip
frameworks_native-d43b2e4b75a46684192c316754c0008ca7f890a7.tar.gz
frameworks_native-d43b2e4b75a46684192c316754c0008ca7f890a7.tar.bz2
Add a virtual destructor to the TtsEngine class.
Diffstat (limited to 'include')
-rw-r--r--include/tts/TtsEngine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tts/TtsEngine.h b/include/tts/TtsEngine.h
index 21cb73b..ed084ca 100644
--- a/include/tts/TtsEngine.h
+++ b/include/tts/TtsEngine.h
@@ -80,6 +80,8 @@ enum tts_support_result {
class TtsEngine
{
public:
+ virtual ~TtsEngine() {}
+
// Initialize the TTS engine and returns whether initialization succeeded.
// @param synthDoneCBPtr synthesis callback function pointer
// @return TTS_SUCCESS, or TTS_FAILURE