2 |
|
// |
3 |
|
// Douglas Thrift |
4 |
|
// |
5 |
< |
// $Id: ScanUtility.h,v 1.6 2003/08/21 06:29:24 douglas Exp $ |
5 |
> |
// $Id: ScanUtility.h,v 1.8 2003/08/24 07:31:45 douglas Exp $ |
6 |
|
|
7 |
|
#ifndef _ScanUtility_h_ |
8 |
|
#define _ScanUtility_h_ |
14 |
|
private: |
15 |
|
PROPSHEETPAGE wizard[5]; |
16 |
|
char* title; |
17 |
+ |
IndividualClient client; |
18 |
+ |
string scan; |
19 |
+ |
string save; |
20 |
|
string scanDir; |
21 |
|
string saveDir; |
22 |
+ |
HMENU popup; |
23 |
|
unsigned number; |
24 |
|
static unsigned count; |
25 |
|
static map<unsigned, ScanUtility*> utilities; |
29 |
|
void setScanDir(HWND parent = NULL); |
30 |
|
void setSaveDir(HWND parent = NULL); |
31 |
|
void populate(HWND parent); |
32 |
+ |
static ScanUtility* which(HWND window); |
33 |
+ |
static ScanUtility* which(HWND window, LPARAM l); |
34 |
|
static int CALLBACK browse(HWND dialog, UINT msg, LPARAM l, LPARAM d); |
35 |
|
static INT_PTR CALLBACK start(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
36 |
|
static INT_PTR CALLBACK select(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
37 |
+ |
static INT_PTR CALLBACK enter(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
38 |
|
public: |
39 |
|
ScanUtility(); |
40 |
|
~ScanUtility(); |