-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprogram.h
executable file
·38 lines (30 loc) · 1.33 KB
/
program.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// bug, close it while it's copying, and the last file is full size but corrupt
// bug, unlock workstation and child windows don't paint entirely
// new feature, cancel in the middle of a compare
// new feature, close while running, have it stay on the screen until done
// new feature, quick compare task just looks at size and date
// new feature, use copyfileex to cancel in the middle
// removed feature, mark folders to skip
// removed feature, safe to delete flag
// Program build and name
#define PROGRAMTEST false
#define PROGRAMTITLE L"Backup 2011 December 26"
// Program settings
#define PULSE 100
#define STOPERRORS 1000
#define VIEWSIZE 67108864
// Registry locations
#define REGISTRYKEY HKEY_CURRENT_USER
#define REGISTRYPATH L"Software\\Rocky Mountain Tools\\Backup"
#define REGISTRYNAME L"tasks"
// Timer
#define TIMER_PULSE 1
// Number types
typedef unsigned __int64 big;
// Text
#define length lstrlenW // Rename function
typedef CString string; // string is a CString object
typedef LPCWSTR read; // read is a pointer to wide characters and a null terminator that will only be read
// Text options
enum direction {Forward, Reverse}; // Default forward and the start, or reverse and the end
enum matching {Different, Matching}; // Default case sensitive, or case insensitive matching