aboutsummaryrefslogtreecommitdiff
path: root/backends/text-to-speech/windows/windows-text-to-speech.h
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-18 11:27:17 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commit5d9f03e71d75a307c8f8e538803fe2f09f38c5ae (patch)
treee472499cd024f74e211dc6cd63c578d300f20e92 /backends/text-to-speech/windows/windows-text-to-speech.h
parent8e4a24f55e2986de6c0556ab1a0faeeca20c724f (diff)
downloadscummvm-rg350-5d9f03e71d75a307c8f8e538803fe2f09f38c5ae.tar.gz
scummvm-rg350-5d9f03e71d75a307c8f8e538803fe2f09f38c5ae.tar.bz2
scummvm-rg350-5d9f03e71d75a307c8f8e538803fe2f09f38c5ae.zip
TTS: Add reference counting to TTSVoice
Also refactor TTSVoice destruction to use this reference counting.
Diffstat (limited to 'backends/text-to-speech/windows/windows-text-to-speech.h')
-rw-r--r--backends/text-to-speech/windows/windows-text-to-speech.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/text-to-speech/windows/windows-text-to-speech.h b/backends/text-to-speech/windows/windows-text-to-speech.h
index 03a1806849..2ae062ce92 100644
--- a/backends/text-to-speech/windows/windows-text-to-speech.h
+++ b/backends/text-to-speech/windows/windows-text-to-speech.h
@@ -66,6 +66,8 @@ public:
virtual bool popState();
+ virtual void freeVoiceData(void *data);
+
private:
void init();
virtual void updateVoices();