home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / idl / wpkeybd.idl < prev    next >
Text File  |  1999-03-15  |  3KB  |  116 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.   ULONG wpAddKeyboardLayoutPage(in HWND hwndNotebook);                          
  29.  
  30. #ifdef _PPC_
  31.   ULONG wpAddKeyboardInputMethodPage(in HWND hwndNotebook);
  32.  
  33. #endif
  34.  
  35. #ifdef __SOMIDL__
  36.   implementation {
  37.  
  38.     releaseorder: wpAddKeyboardMappingsPage,wpAddKeyboardTimingPage,
  39. #ifdef _PPC_
  40.                   wpAddKeyboardSpecialNeedsPage,wpAddKeyboardInputMethodPage;
  41. #else
  42.                   wpAddKeyboardSpecialNeedsPage,wpAddKeyboardLayoutPage;        
  43. #endif
  44.  
  45.     externalstem = WPkbd;
  46.     local;
  47.     externalprefix = kbd_;
  48.     majorversion = 1;
  49.     minorversion = 2;
  50.     filestem = wpkeybd;
  51.     metaclass = M_WPKeyboard;
  52.     callstyle = oidl;
  53.     dllname = "wpconfig.dll";
  54.  
  55.     passthru C_h =     ""
  56. ""
  57. "/***********************************************************/"
  58. "/* Defines for wpclsQuerySetting and wpclsSetSetting       */"
  59. "/***********************************************************/"
  60. ""
  61. "#define REPEATRATE_DEFAULT        0"
  62. "#define REPEATRATE_MAX           20"
  63. "#define REPEATRATE_MIN            1"
  64. "#define REPEATDELAY_DEFAULT      -1"
  65. "#define REPEATDELAY_MAX         890"
  66. "#define REPEATDELAY_MIN           0"
  67. "#define CURSORBLINK_DEFAULT      -1"
  68. "#define CURSORBLINK_MAX         890"
  69. "#define CURSORBLINK_MIN           0"
  70. "#define POPUPKEY_DEFAULT          0"
  71. "#define TEXTEDITKEY_DEFAULT       0"
  72. ""
  73. "";
  74.  
  75.     wpAddSettingsPages: override;
  76.     wpAddObjectWindowPage: override;
  77.     wpFilterMenu: override;                                                     
  78.     somDefaultInit: override;             
  79.     somDestruct:    override;             
  80.  
  81.   };
  82. #endif /* __SOMIDL__ */
  83. };
  84.  
  85. interface M_WPKeyboard : M_WPAbstract
  86. {
  87.  
  88. #ifdef __SOMIDL__
  89.   implementation {
  90.  
  91.     externalstem = WPkbd;
  92.     local;
  93.     externalprefix = kbdM_;
  94.     majorversion = 1;
  95.     minorversion = 2;
  96.     filestem = wpkeybd;
  97.     callstyle = oidl;
  98.     dllname = "wpconfig.dll";
  99.  
  100.     wpclsQueryTitle: override;
  101.     wpclsQueryDefaultHelp: override;
  102.     wpclsQueryDefaultView: override;
  103.     wpclsQueryStyle: override;
  104.     wpclsQueryIconData: override;
  105.     wpclsQuerySettingsPageSize: override;                                       
  106.  
  107.     wpclsQuerySetting: override;
  108.  
  109.     wpclsSetSetting: override;
  110.  
  111.   };
  112. #endif /* __SOMIDL__ */
  113. };
  114.  
  115. #endif  /* wpkeybd_idl */
  116.