1 |
douglas |
291 |
// Vance Thrift and Biller File Utility 2 |
2 |
|
|
// |
3 |
|
|
// Douglas Thrift |
4 |
|
|
// |
5 |
douglas |
292 |
// $Id: License.h,v 1.2 2003/09/09 01:43:28 douglas Exp $ |
6 |
douglas |
291 |
|
7 |
|
|
#ifndef _License_h_ |
8 |
|
|
#define _License_h_ |
9 |
|
|
|
10 |
|
|
#include "VTBFileUtil2.h" |
11 |
|
|
|
12 |
|
|
class License |
13 |
|
|
{ |
14 |
|
|
private: |
15 |
|
|
unsigned number; |
16 |
douglas |
292 |
ostringstream license; |
17 |
douglas |
291 |
static unsigned count; |
18 |
douglas |
292 |
static HMODULE library; |
19 |
douglas |
291 |
static map<unsigned, License*> licenses; |
20 |
|
|
static map<HWND, License*> windows; |
21 |
|
|
static INT_PTR CALLBACK window(HWND dialog, UINT msg, WPARAM w, LPARAM l); |
22 |
|
|
public: |
23 |
|
|
License(); |
24 |
|
|
~License(); |
25 |
|
|
void display(HWND parent = NULL); |
26 |
|
|
void check(HWND parent = NULL); |
27 |
|
|
}; |
28 |
|
|
|
29 |
|
|
#endif // _License_h_ |