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