summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/WinterSpeak/speak/dialog/miranda_dialog.h
blob: 833e27743441cf86ba9966946ce8558a820506b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef guard_speak_dialog_miranda_dialog_h
#define guard_speak_dialog_miranda_dialog_h
//==============================================================================
// 	Miranda Speak Plugin, © 2002 Ryan Winter
//==============================================================================

#include <windows.h>

#include <map>

class MirandaDialog
{
  public:
//	MirandaDialog(HWND window);
	MirandaDialog();
	virtual ~MirandaDialog() = 0;

  protected:
	//--------------------------------------------------------------------------
	// Description : set the window the dialog events are coming from
	//--------------------------------------------------------------------------
/*    void setWindow(HWND window)
    {
        m_window = window;
    }

    HWND getWindow()
    {
        return m_window;
    }*/

	//--------------------------------------------------------------------------
	// Description : return a pointer to the class object
	//--------------------------------------------------------------------------
//    MirandaDialog * instance()
//    {
//        return m_instance;
//    }
//    MirandaDialog * instance(HWND window);

	//--------------------------------------------------------------------------
	// Description : flag that a dialog control has changed
	//--------------------------------------------------------------------------
	void changed(HWND window);

//    static std::map<HWND, MirandaDialog *> m_window_map;

//    HWND m_window;
};

//==============================================================================
//
//  Summary     : Abstract base class for the dialog forms
//
//  Description : Implement common code
//
//==============================================================================

#endif