blob: ea8fca5407ef76272e0dce69a8ef69a26cf3381f (
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
|
#ifndef guard_speak_announce_announce_dialog_h
#define guard_speak_announce_announce_dialog_h
//==============================================================================
// Miranda Speak Plugin, © 2002 Ryan Winter
//==============================================================================
#include "dialog/miranda_dialog.h"
#include "announce/announce_database.h"
#include <wtypes.h>
#include <string>
class AnnounceDialog : public MirandaDialog
{
public:
AnnounceDialog(AnnounceDatabase &db);
~AnnounceDialog();
//--------------------------------------------------------------------------
// Description : process a dialog message
// Return : true - update the systems configuration
// false - do nothing
//--------------------------------------------------------------------------
static int CALLBACK process(HWND window, UINT message, WPARAM wparam,
LPARAM lparam);
private:
void command(HWND window, int control);
//--------------------------------------------------------------------------
// Description : load/save settings to the miranda database
//--------------------------------------------------------------------------
void load(HWND window);
void save(HWND window);
static AnnounceDialog *m_instance;
AnnounceDatabase &m_db;
};
//==============================================================================
//
// Summary : Configuration Dialog box
//
// Description : Set up the configuration dialog box and process its input
//
//==============================================================================
#endif
|