2 |
|
// |
3 |
|
// Douglas Thrift |
4 |
|
// |
5 |
< |
// $Id: ScanUtility.h,v 1.4 2003/08/19 08:19:24 douglas Exp $ |
5 |
> |
// $Id: ScanUtility.h,v 1.5 2003/08/20 05:49:34 douglas Exp $ |
6 |
|
|
7 |
|
#ifndef _ScanUtility_h_ |
8 |
|
#define _ScanUtility_h_ |
12 |
|
class ScanUtility |
13 |
|
{ |
14 |
|
private: |
15 |
< |
HPROPSHEETPAGE wizard[5]; |
15 |
> |
PROPSHEETPAGE wizard[5]; |
16 |
|
char* title; |
17 |
< |
char scanDir[MAX_PATH]; |
18 |
< |
char saveDir[MAX_PATH]; |
17 |
> |
string scanDir; |
18 |
> |
bool scanEnv; |
19 |
> |
string saveDir; |
20 |
> |
bool saveEnv; |
21 |
|
unsigned number; |
22 |
|
static unsigned count; |
23 |
|
static map<unsigned, ScanUtility*> utilities; |
26 |
|
void saveDirs(void); |
27 |
|
void setScanDir(HWND parent = NULL); |
28 |
|
void setSaveDir(HWND parent = NULL); |
29 |
+ |
static int CALLBACK browse(HWND dialog, UINT msg, LPARAM l, LPARAM d); |
30 |
|
static INT_PTR CALLBACK start(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
31 |
|
public: |
32 |
|
ScanUtility(); |