home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / xwplascr.zip / XWPL0208.ZIP / idl / xwpkeybd.idl < prev    next >
Text File  |  2002-02-26  |  3KB  |  136 lines

  1.  
  2. /*
  3.  * xwpkeybd.idl:
  4.  *      SOM interface description file for the following
  5.  *      XWorkplace classes (in this order):
  6.  *          XWPKeyboard ("Keyboard" object; WPKeyboard replacement)
  7.  *      and the respective metaclasses.
  8.  *
  9.  *      See src\classes\xwpkeybd.c for details.
  10.  *
  11.  *      Copyright (C) 1999-2002 Ulrich Möller.
  12.  *      This file is part of the XWorkplace source package.
  13.  *      XWorkplace is free software; you can redistribute it and/or modify
  14.  *      it under the terms of the GNU General Public License as published
  15.  *      by the Free Software Foundation, in version 2 as it comes in the
  16.  *      "COPYING" file of the XWorkplace main distribution.
  17.  *      This program is distributed in the hope that it will be useful,
  18.  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
  19.  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  20.  *      GNU General Public License for more details.
  21.  */
  22.  
  23. #include <wpkeybd.idl>         // this is SOM for WPKeyboard
  24.  
  25. /*
  26.    CLASS: XWPKeyboard
  27.  
  28.    CLASS HIERARCHY:
  29.  
  30.        SOMObject
  31.          └── WPObject
  32.                └── WPAbstract
  33.                      └── WPKeyboard
  34.                            └──  XWPKeyboard
  35. */
  36.  
  37. interface M_XWPKeyboard;            // forward reference to metaclass
  38.  
  39. interface XWPKeyboard : WPKeyboard
  40. {
  41.     /*
  42.      * New instance methods for XWPKeyboard:
  43.      *
  44.      */
  45.  
  46.     ULONG xwpAddKeyboardHotkeysPage(in HWND hwndDlg);
  47.  
  48.     ULONG xwpAddKeyboardFunctionKeysPage(in HWND hwndDlg);
  49.  
  50. #ifdef __SOMIDL__
  51.   implementation {
  52.  
  53.     releaseorder: xwpAddKeyboardHotkeysPage,
  54.                   xwpAddKeyboardFunctionKeysPage;
  55.  
  56.     /*
  57.      * Class Modifiers:
  58.      *
  59.      */
  60.  
  61.     externalprefix = xkb_;
  62.     externalstem = xkb;
  63.     majorversion = 1;
  64.     minorversion = 1;
  65.     filestem = xwpkeybd;           //# specifies the filestem for sc-generated files
  66.     metaclass = M_XWPKeyboard;
  67.     dllname = "xfldr.dll";
  68.     callstyle = oidl;           //# forget CORBA stuff (*ev and such)
  69.  
  70.     /*
  71.      * Internal instance variables for XWPKeyboard:
  72.      *
  73.      */
  74.  
  75.     /*
  76.      * WPKeyboard methods overridden by XWPKeyboard:
  77.      *
  78.      */
  79.  
  80.     wpFilterPopupMenu: override;
  81.  
  82.     wpAddKeyboardSpecialNeedsPage: override;
  83.  
  84. #ifdef __PRIVATE__
  85.  
  86. #endif
  87.  
  88.   }; // implementation
  89. #endif /* __SOMIDL__ */
  90. };
  91.  
  92. //#
  93. //#
  94. //# Now define Metaclass.
  95. //# ---------------------
  96. //#
  97.  
  98. interface M_XWPKeyboard : M_WPKeyboard
  99. {
  100.  
  101. #ifdef __SOMIDL__
  102.   implementation {
  103.  
  104.     /*
  105.      * Class Modifiers:
  106.      *
  107.      */
  108.  
  109.     externalprefix = xkbM_;
  110.     externalstem = xkbM;
  111.     functionprefix = xkbM_;
  112.     majorversion = 1;
  113.     minorversion = 1;
  114.     filestem = xwpkeybd;           //# specifies the filestem for sc-generated files
  115.     dllname = "xfldr.dll";
  116.     callstyle = oidl;
  117.  
  118.     /*
  119.      * Internal instance variables:
  120.      *
  121.      */
  122.  
  123.     /*
  124.      * M_WPKeyboard methods overridden by M_XWPKeyboard:
  125.      *
  126.      */
  127.  
  128.     wpclsInitData: override;
  129.     wpclsQuerySettingsPageSize: override;
  130.  
  131.   };
  132. #endif /* __SOMIDL__ */
  133. };
  134.  
  135.  
  136.