home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warptlk3.zip / TOOLKIT / IDL / WPKEYBD.IDL < prev    next >
Text File  |  1995-08-30  |  2KB  |  80 lines

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