ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/SearchInstaller/Worker.h
Revision: 368
Committed: 2008-08-23T02:44:00-07:00 (14 years, 5 months ago) by douglas
Content type: text/x-c
File size: 798 byte(s)
Log Message:
Rearranged everything else.

File Contents

# Content
1 // Douglas Thrift's Search Engine Installer
2 //
3 // Douglas Thrift
4 //
5 // Worker.h
6
7 #ifndef _Worker_h_
8 #define _Worker_h_
9
10 #include "SearchInstaller.h"
11
12 inline HWND GetGrandParent(HWND hwnd) { return GetParent(GetParent(hwnd)); }
13
14 class Worker
15 {
16 private:
17 bool nt;
18 bool single;
19 bool templates;
20 string folder;
21 void prepare(HWND bar);
22 void files(HWND bar);
23 void shortcuts(HWND bar);
24 void registry(HWND bar);
25 public:
26 Worker();
27 ~Worker() {}
28 void work(HWND bar);
29 void setSingle(bool single) { this->single = single; }
30 void setTemplates(bool templates) { this->templates = templates; }
31 void setFolder(const string& folder) { this->folder = folder; }
32 bool getSingle() { return single; }
33 bool getTemplates() { return templates; }
34 string getFolder() { return folder; }
35 };
36
37 #endif // _Worker_h_