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