2 |
|
// |
3 |
|
// Douglas Thrift |
4 |
|
// |
5 |
< |
// $Id: Chooser.h,v 1.2 2003/08/17 03:55:39 douglas Exp $ |
5 |
> |
// $Id: Chooser.h,v 1.3 2003/08/17 23:39:32 douglas Exp $ |
6 |
|
|
7 |
|
#ifndef _Chooser_h_ |
8 |
|
#define _Chooser_h_ |
14 |
|
private: |
15 |
|
bool shortcut; |
16 |
|
Mode choice; |
17 |
+ |
unsigned number; |
18 |
+ |
static unsigned count; |
19 |
+ |
static map<unsigned, Chooser*> choosers; |
20 |
+ |
static map<HWND, Chooser*> windows; |
21 |
|
void desktop(void); |
22 |
|
public: |
23 |
< |
Chooser() { shortcut = false; choice = none; } |
24 |
< |
~Chooser() {} |
23 |
> |
Chooser(); |
24 |
> |
~Chooser(); |
25 |
|
Mode choose(HWND parent = NULL); |
26 |
+ |
static INT_PTR CALLBACK window(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
27 |
|
}; |
28 |
|
|
29 |
|
#endif // _Chooser_h_ |