2 |
|
// |
3 |
|
// Douglas Thrift |
4 |
|
// |
5 |
< |
// $Id: ScanUtility.h,v 1.5 2003/08/20 05:49:34 douglas Exp $ |
5 |
> |
// $Id: ScanUtility.h,v 1.7 2003/08/22 06:30:14 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; |
18 |
– |
bool scanEnv; |
21 |
|
string saveDir; |
22 |
< |
bool saveEnv; |
22 |
> |
HMENU menu; |
23 |
> |
HMENU popup; |
24 |
|
unsigned number; |
25 |
|
static unsigned count; |
26 |
|
static map<unsigned, ScanUtility*> utilities; |
29 |
|
void saveDirs(void); |
30 |
|
void setScanDir(HWND parent = NULL); |
31 |
|
void setSaveDir(HWND parent = NULL); |
32 |
+ |
void populate(HWND parent); |
33 |
|
static int CALLBACK browse(HWND dialog, UINT msg, LPARAM l, LPARAM d); |
34 |
|
static INT_PTR CALLBACK start(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
35 |
+ |
static INT_PTR CALLBACK select(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
36 |
+ |
static INT_PTR CALLBACK enter(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
37 |
|
public: |
38 |
|
ScanUtility(); |
39 |
|
~ScanUtility(); |