ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/VTBFileUtil2/ScanUtility.h
Revision: 277
Committed: 2003-08-24T00:31:45-07:00 (21 years, 10 months ago) by douglas
Content type: text/x-c
File size: 1137 byte(s)
Log Message:
Did work.

File Contents

# User Rev Content
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_