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

Diff of /trunk/Include/wptHotkey.h

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

revision 23 by twoaday, Fri Sep 30 10:10:16 2005 UTC revision 25 by twoaday, Wed Oct 12 10:04:26 2005 UTC
# Line 1  Line 1 
1  /* wptHotkey.h - Hotkey registration  /* wptHotkey.h - Hotkey registration
2   *      Copyright (C) 2001-2004 Timo Schulz   *      Copyright (C) 2001-2005 Timo Schulz
3   *   *
4   * This file is part of WinPT.   * This file is part of WinPT.
5   *   *
# Line 17  Line 17 
17   * along with WinPT; if not, write to the Free Software Foundation,   * along with WinPT; if not, write to the Free Software Foundation,
18   * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA   * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19   */   */
   
20  #ifndef WPT_HOTKEY_H  #ifndef WPT_HOTKEY_H
21  #define WPT_HOTKEY_H  #define WPT_HOTKEY_H
22    
# Line 36  enum { Line 35  enum {
35    
36  /* Hotkey context. */  /* Hotkey context. */
37  struct hotkey_s {  struct hotkey_s {
38      int enabled;      int enabled;        /* 1 = enabled. */
39      int id;      int id;             /* valid ID (see above). */
40      int alt_ctrl;      int alt_ctrl;       /* hotkey used with ALT+ */
41      int alt_shift;      int alt_shift;      /* hotkey used with SHIFT+ */
42      int key;          int key;            /* actual key code. */
43  };  };
44  typedef struct hotkey_s * hotkey_t;  typedef struct hotkey_s * hotkey_t;
45    
46  /* List of all available hotkeys. */  /* List of all predefined hotkeys. */
47  static hotkey_s wpt_hotkeys[]  = {  static hotkey_s wpt_hotkeys[]  = {
48      {1, WPT_CLIP_ENCRYPT_ID,           1, 0, 0x45}, /* alt+ctrl+e */      {1, WPT_CLIP_ENCRYPT_ID,           1, 0, 0x45}, /* alt+ctrl+e */
49      {1, WPT_CLIP_DECRYPT_VERIFY_ID,    1, 0, 0x44}, /* alt+ctrl+d */      {1, WPT_CLIP_DECRYPT_VERIFY_ID,    1, 0, 0x44}, /* alt+ctrl+d */

Legend:
Removed from v.23  
changed lines
  Added in v.25

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26