ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/VTBFileUtil2/ScanUtility.h
Revision: 274
Committed: 2003-08-21T23:30:14-07:00 (21 years, 10 months ago) by douglas
Content type: text/x-c
File size: 1058 byte(s)
Log Message:
That's the stuff. Ah.

File Contents

# User Rev Content
1 douglas 260 // Vance Thrift and Biller File Utility 2
2     //
3     // Douglas Thrift
4     //
5 douglas 274 // $Id: ScanUtility.h,v 1.7 2003/08/22 06:30:14 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 menu;
23     HMENU popup;
24 douglas 268 unsigned number;
25     static unsigned count;
26     static map<unsigned, ScanUtility*> utilities;
27     static map<HWND, ScanUtility*> windows;
28 douglas 269 void loadDirs(void);
29     void saveDirs(void);
30     void setScanDir(HWND parent = NULL);
31     void setSaveDir(HWND parent = NULL);
32 douglas 273 void populate(HWND parent);
33 douglas 271 static int CALLBACK browse(HWND dialog, UINT msg, LPARAM l, LPARAM d);
34 douglas 268 static INT_PTR CALLBACK start(HWND dialog, UINT msg, WPARAM w, LPARAM l);
35 douglas 273 static INT_PTR CALLBACK select(HWND dialog, UINT msg, WPARAM w, LPARAM l);
36 douglas 274 static INT_PTR CALLBACK enter(HWND dialog, UINT msg, WPARAM w, LPARAM l);
37 douglas 260 public:
38 douglas 268 ScanUtility();
39     ~ScanUtility();
40 douglas 265 void run(void);
41 douglas 260 };
42    
43     #endif // _ScanUtility_h_