home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / WPKEYBD.IDL < prev    next >
Text File  |  1995-11-07  |  2KB  |  103 lines

  1.  
  2. //  Module Header
  3. //
  4. //  Module Name: WPKEYBD
  5. //
  6. //  OS/2 Presentation Manager Workplace class definitions
  7. //
  8. //  Copyright (c) International Business Machines Corporation 1991, 1992
  9. //
  10.  
  11. #ifndef wpkeybd_idl
  12. #define wpkeybd_idl
  13.  
  14. #include "wpabs.idl"
  15. #include <somcls.idl>
  16.  
  17. interface M_WPKeyboard;
  18.  
  19. interface WPKeyboard : WPAbstract
  20.  
  21. {
  22.   ULONG wpAddKeyboardMappingsPage(in HWND hwndNotebook);
  23.  
  24.   ULONG wpAddKeyboardTimingPage(in HWND hwndNotebook);
  25.  
  26.   ULONG wpAddKeyboardSpecialNeedsPage(in HWND hwndNotebook);
  27.  
  28. #ifdef __SOMIDL__
  29.   implementation {
  30.  
  31.     releaseorder: wpAddKeyboardMappingsPage,wpAddKeyboardTimingPage,
  32.                   wpAddKeyboardSpecialNeedsPage;
  33.  
  34.     externalstem = WPkbd;
  35.     local;
  36.     externalprefix = kbd_;
  37.     majorversion = 1;
  38.     minorversion = 2;
  39.     filestem = wpkeybd;
  40.     metaclass = M_WPKeyboard;
  41.     callstyle = oidl;
  42.     dllname = "wpconfig.dll";
  43.  
  44.     passthru C_h =     ""
  45. ""
  46. "/***********************************************************/"
  47. "/* Defines for wpclsQuerySetting and wpclsSetSetting       */"
  48. "/***********************************************************/"
  49. ""
  50. "#define REPEATRATE_DEFAULT        0"
  51. "#define REPEATRATE_MAX           20"
  52. "#define REPEATRATE_MIN            1"
  53. "#define REPEATDELAY_DEFAULT      -1"
  54. "#define REPEATDELAY_MAX         890"
  55. "#define REPEATDELAY_MIN           0"
  56. "#define CURSORBLINK_DEFAULT      -1"
  57. "#define CURSORBLINK_MAX         890"
  58. "#define CURSORBLINK_MIN           0"
  59. "#define POPUPKEY_DEFAULT          0"
  60. "#define TEXTEDITKEY_DEFAULT       0"
  61. ""
  62. "";
  63.  
  64.     wpAddSettingsPages: override;
  65.     wpAddObjectWindowPage: override;
  66.     wpFilterPopupMenu: override;
  67.     somDefaultInit: override;             
  68.     somDestruct:    override;             
  69.  
  70.   };
  71. #endif /* __SOMIDL__ */
  72. };
  73.  
  74. interface M_WPKeyboard : M_WPAbstract
  75. {
  76.  
  77. #ifdef __SOMIDL__
  78.   implementation {
  79.  
  80.     externalstem = WPkbd;
  81.     local;
  82.     externalprefix = kbdM_;
  83.     majorversion = 1;
  84.     minorversion = 2;
  85.     filestem = wpkeybd;
  86.     callstyle = oidl;
  87.     dllname = "wpconfig.dll";
  88.  
  89.     wpclsQueryTitle: override;
  90.     wpclsQueryDefaultHelp: override;
  91.     wpclsQueryDefaultView: override;
  92.     wpclsQueryStyle: override;
  93.     wpclsQueryIconData: override;
  94.     wpclsQuerySetting: override;
  95.  
  96.     wpclsSetSetting: override;
  97.  
  98.   };
  99. #endif /* __SOMIDL__ */
  100. };
  101.  
  102. #endif  /* wpkeybd_idl */
  103.