diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-10 08:04:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-10 08:04:30 +0000 |
commit | ddba4ede6b451d0cfcd0d32b5180fbd0689966bf (patch) | |
tree | 5d74f37a7013d13b92c182628d6b68a58e148ae4 /plugins/WinterSpeak/src/SpeakConfig.h | |
parent | c39340bf493a1745a41317bbf937fc7eb6cbb26a (diff) |
- HANDLE hContact => HCONTACT
- GCF_* prefix was added to chat constants to avoid name conflicts
git-svn-id: http://svn.miranda-ng.org/main/trunk@8078 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WinterSpeak/src/SpeakConfig.h')
-rw-r--r-- | plugins/WinterSpeak/src/SpeakConfig.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/plugins/WinterSpeak/src/SpeakConfig.h b/plugins/WinterSpeak/src/SpeakConfig.h index e1a4cb421a..6894eecfb3 100644 --- a/plugins/WinterSpeak/src/SpeakConfig.h +++ b/plugins/WinterSpeak/src/SpeakConfig.h @@ -8,34 +8,34 @@ class TextToSpeech; class SpeakConfig : public Observer
{
- public:
+public:
SpeakConfig(HINSTANCE instance);
- virtual ~SpeakConfig();
+ virtual ~SpeakConfig();
- //--------------------------------------------------------------------------
- // Description : Called by a subject that this observer is observing
- // to signify a change in state
- // Parameters : subject - the subject that changed
- //--------------------------------------------------------------------------
- virtual void update(Subject &subject);
+ //--------------------------------------------------------------------------
+ // Description : Called by a subject that this observer is observing
+ // to signify a change in state
+ // Parameters : subject - the subject that changed
+ //--------------------------------------------------------------------------
+ virtual void update(Subject &subject);
//--------------------------------------------------------------------------
// Description : speak a sentence
// Parameters : sentence - the sentence to speak
- // user - the user to associate the say with
- // NULL = ignore user
+ // user - the user to associate the say with
+ // NULL = ignore user
// Returns : true - speak successful
// false - speak failed
//--------------------------------------------------------------------------
- bool status(const std::wstring &sentence, HANDLE user = NULL);
- bool message(const std::wstring &sentence, HANDLE user = NULL);
- bool say(const std::wstring &sentence, HANDLE user, bool message);
+ bool status(const std::wstring &sentence, HCONTACT user = NULL);
+ bool message(const std::wstring &sentence, HCONTACT user = NULL);
+ bool say(const std::wstring &sentence, HCONTACT user, bool message);
- private:
- HINSTANCE m_instance;
+private:
+ HINSTANCE m_instance;
ConfigDatabase m_db;
- std::auto_ptr<TextToSpeech> m_tts;
- DialogConfigEngine m_dialog_engine;
- DialogConfigActive m_dialog_active;
+ std::auto_ptr<TextToSpeech> m_tts;
+ DialogConfigEngine m_dialog_engine;
+ DialogConfigActive m_dialog_active;
};
\ No newline at end of file |