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.5 2003/09/05 08:57:00 douglas Exp $ |
6 |
|
|
7 |
|
#ifndef _Chooser_h_ |
8 |
|
#define _Chooser_h_ |
9 |
|
|
10 |
< |
#include "VTBFileUtil2.h" |
10 |
> |
#include "License.h" |
11 |
|
|
12 |
|
class Chooser |
13 |
|
{ |
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 |
+ |
static INT_PTR CALLBACK window(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
22 |
|
void desktop(void); |
23 |
|
public: |
24 |
< |
Chooser() { shortcut = false; choice = none; } |
25 |
< |
~Chooser() {} |
24 |
> |
Chooser(); |
25 |
> |
~Chooser(); |
26 |
|
Mode choose(HWND parent = NULL); |
27 |
|
}; |
28 |
|
|