/[winpt]/trunk/Include/wptRegistry.h
ViewVC logotype

Diff of /trunk/Include/wptRegistry.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2 by twoaday, Mon Jan 31 11:02:21 2005 UTC revision 33 by twoaday, Tue Oct 25 07:46:20 2005 UTC
# Line 1  Line 1 
1  /* wptRegistry.h - Win32 Registry headerfile  /* wptRegistry.h - Win32 Registry headerfile
2   *      Copyright (C) 2000-2004 Timo Schulz   *      Copyright (C) 2000-2005 Timo Schulz
3   *   *
4   * This file is part of WinPT.   * This file is part of WinPT.
5   *   *
# Line 21  Line 21 
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,
# Line 35  enum { Line 36  enum {
36      CFG_DISHOTKEYS,      CFG_DISHOTKEYS,
37      CFG_NOZIP_MMEDIA,      CFG_NOZIP_MMEDIA,
38      CFG_EXPERT,      CFG_EXPERT,
39        CFG_FM_PROGRESS,
40      /* end of id list */      /* end of id list */
41      CFG_AUTOBAKPATH,      CFG_AUTOBAKPATH,
42      CFG_KSERV_CONF,      CFG_KSERV_CONF,
# Line 42  enum { Line 44  enum {
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    
# Line 60  struct winpt_reg_prefs_s { Line 62  struct winpt_reg_prefs_s {
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 {
71            int progress;   /* show the progress bar dialog. */
72        } fm;
73        char *homedir;     /* mobile home directory. */
74  };  };
75    
76  extern reg_hotkey_s reg_hotkeys[];  extern reg_hotkey_s reg_hotkeys[];

Legend:
Removed from v.2  
changed lines
  Added in v.33

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26