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

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