21 |
#ifndef WPT_REGISTRY_H |
#ifndef WPT_REGISTRY_H |
22 |
#define WPT_REGISTRY_H |
#define WPT_REGISTRY_H |
23 |
|
|
24 |
enum { |
/* Symbolic configuration IDs */ |
25 |
|
enum cfg_t { |
26 |
CFG_INVALID=0, |
CFG_INVALID=0, |
27 |
CFG_CACHETIME, |
CFG_CACHETIME, |
28 |
CFG_WORDWRAP, |
CFG_WORDWRAP, |
44 |
|
|
45 |
|
|
46 |
struct reg_hotkey_s { |
struct reg_hotkey_s { |
47 |
const char * reg_entry; |
const char *reg_entry; |
48 |
char key[2]; |
char key[2]; /* the hotkey as a char ('A'). */ |
49 |
int enabled; |
int enabled; /* 1=enable this hotkey. */ |
50 |
}; |
}; |
51 |
typedef struct reg_hotkey_s * reg_hotkey_t; |
typedef struct reg_hotkey_s * reg_hotkey_t; |
52 |
|
|
62 |
int always_trust; /* skip key validation (1 means yes) */ |
int always_trust; /* skip key validation (1 means yes) */ |
63 |
int auto_backup; /* automatic backup (1 means activated) */ |
int auto_backup; /* automatic backup (1 means activated) */ |
64 |
struct { |
struct { |
65 |
int mode; |
int mode; /* backup mode */ |
66 |
char *path; |
char *path; /* keyring backup path */ |
67 |
} backup; |
} backup; |
68 |
char *kserv_conf; |
char *kserv_conf; /* path to the keyserver config file. */ |
69 |
int expert; |
int expert; /* run in expert mode. */ |
70 |
struct { |
struct { |
71 |
int progress; |
int progress; /* show the progress bar dialog. */ |
72 |
} fm; |
} fm; |
73 |
char *homedir; /* WinPT mobile home dir */ |
char *homedir; /* mobile home directory. */ |
74 |
}; |
}; |
75 |
|
|
76 |
extern reg_hotkey_s reg_hotkeys[]; |
extern reg_hotkey_s reg_hotkeys[]; |