summaryrefslogtreecommitdiff
path: root/plugins/WinterSpeak/src/DialogConfigEngine.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WinterSpeak/src/DialogConfigEngine.h')
-rw-r--r--plugins/WinterSpeak/src/DialogConfigEngine.h30
1 files changed, 16 insertions, 14 deletions
diff --git a/plugins/WinterSpeak/src/DialogConfigEngine.h b/plugins/WinterSpeak/src/DialogConfigEngine.h
index b72037288f..e103ec1003 100644
--- a/plugins/WinterSpeak/src/DialogConfigEngine.h
+++ b/plugins/WinterSpeak/src/DialogConfigEngine.h
@@ -7,19 +7,21 @@ class TextToSpeech;
class DialogConfigEngine : public MirandaDialog
{
- public:
+ DialogConfigEngine& operator=(const DialogConfigEngine&);
+
+public:
DialogConfigEngine(ConfigDatabase &db);
virtual ~DialogConfigEngine();
- //--------------------------------------------------------------------------
+ //--------------------------------------------------------------------------
// Description : process a dialog message
// Return : 0 - process ok
- // 1 - error
+ // 1 - error
//--------------------------------------------------------------------------
- static INT_PTR CALLBACK process(HWND window, UINT message, WPARAM wparam, LPARAM lparam);
+ static INT_PTR CALLBACK process(HWND window, UINT message, WPARAM wparam, LPARAM lparam);
- private:
- void command(HWND window, int control);
+private:
+ void command(HWND window, int control);
//--------------------------------------------------------------------------
// Description : load/save setting to the miranda database
@@ -30,12 +32,12 @@ class DialogConfigEngine : public MirandaDialog
//--------------------------------------------------------------------------
// Description : update the voices combo box
//--------------------------------------------------------------------------
- void updateVoices(HWND window);
- void getVoiceDesc(HWND window, VoiceDesc &desc);
- std::wstring getEngine(HWND window);
- bool createTts(HWND window);
-
- static DialogConfigEngine *m_instance;
- ConfigDatabase &m_db;
- std::auto_ptr<TextToSpeech> m_test_tts;
+ void updateVoices(HWND window);
+ void getVoiceDesc(HWND window, VoiceDesc &desc);
+ std::wstring getEngine(HWND window);
+ bool createTts(HWND window);
+
+ static DialogConfigEngine* m_instance;
+ ConfigDatabase& m_db;
+ std::auto_ptr<TextToSpeech> m_test_tts;
};