1 |
douglas |
260 |
// Vance Thrift and Biller File Utility 2 |
2 |
|
|
// |
3 |
|
|
// Douglas Thrift |
4 |
|
|
// |
5 |
douglas |
282 |
// $Id: ScanUtility.h,v 1.10 2003/08/26 06:41:12 douglas Exp $ |
6 |
douglas |
260 |
|
7 |
|
|
#ifndef _ScanUtility_h_ |
8 |
|
|
#define _ScanUtility_h_ |
9 |
|
|
|
10 |
douglas |
282 |
#include "DiscBrowse.h" |
11 |
douglas |
260 |
|
12 |
douglas |
282 |
class ScanUtility : public DiscBrowse |
13 |
douglas |
260 |
{ |
14 |
|
|
private: |
15 |
douglas |
271 |
PROPSHEETPAGE wizard[5]; |
16 |
douglas |
274 |
IndividualClient client; |
17 |
|
|
string scan; |
18 |
|
|
string save; |
19 |
douglas |
271 |
string scanDir; |
20 |
|
|
string saveDir; |
21 |
douglas |
268 |
static map<unsigned, ScanUtility*> utilities; |
22 |
|
|
static map<HWND, ScanUtility*> windows; |
23 |
douglas |
269 |
void loadDirs(void); |
24 |
|
|
void saveDirs(void); |
25 |
|
|
void setScanDir(HWND parent = NULL); |
26 |
|
|
void setSaveDir(HWND parent = NULL); |
27 |
douglas |
273 |
void populate(HWND parent); |
28 |
douglas |
277 |
static ScanUtility* which(HWND window); |
29 |
|
|
static ScanUtility* which(HWND window, LPARAM l); |
30 |
douglas |
271 |
static int CALLBACK browse(HWND dialog, UINT msg, LPARAM l, LPARAM d); |
31 |
douglas |
268 |
static INT_PTR CALLBACK start(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
32 |
douglas |
273 |
static INT_PTR CALLBACK select(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
33 |
douglas |
274 |
static INT_PTR CALLBACK enter(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
34 |
douglas |
278 |
static INT_PTR CALLBACK confirm(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
35 |
|
|
static INT_PTR CALLBACK done(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
36 |
douglas |
260 |
public: |
37 |
douglas |
268 |
ScanUtility(); |
38 |
|
|
~ScanUtility(); |
39 |
douglas |
265 |
void run(void); |
40 |
douglas |
260 |
}; |
41 |
|
|
|
42 |
|
|
#endif // _ScanUtility_h_ |