2 |
|
// |
3 |
|
// Douglas Thrift |
4 |
|
// |
5 |
< |
// $Id: ScanUtility.h,v 1.3 2003/08/19 04:39:38 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_ |
12 |
|
class ScanUtility |
13 |
|
{ |
14 |
|
private: |
15 |
< |
HPROPSHEETPAGE wizard[5]; |
15 |
> |
PROPSHEETPAGE wizard[5]; |
16 |
|
char* title; |
17 |
+ |
IndividualClient client; |
18 |
+ |
string scan; |
19 |
+ |
string save; |
20 |
+ |
string scanDir; |
21 |
+ |
string saveDir; |
22 |
+ |
HMENU menu; |
23 |
+ |
HMENU popup; |
24 |
|
unsigned number; |
25 |
|
static unsigned count; |
26 |
|
static map<unsigned, ScanUtility*> utilities; |
27 |
|
static map<HWND, ScanUtility*> windows; |
28 |
+ |
void loadDirs(void); |
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(); |