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

  1.  
  2. /*
  3.  * xfdisk.idl:
  4.  *      SOM interface description file for the following
  5.  *      XWorkplace classes (in this order):
  6.  *          XFldDisk
  7.  *      and the respective metaclasses.
  8.  *
  9.  *      See src\classes\xfdisk.c for details.
  10.  *
  11.  *      Copyright (C) 1997-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 <wpdisk.idl>           // this is SOM for WPDisk
  24.  
  25. /*
  26.    CLASS: XFldDisk
  27.  
  28.    CLASS HIERARCHY:
  29.  
  30.        SOMObject
  31.          └── WPObject = XFldObject
  32.                └── WPAbstract
  33.                      └── WPDisk
  34.                            └── XFldDisk
  35. */
  36.  
  37. interface M_XFldDisk;            // forward reference to metaclass
  38.  
  39. interface XFldDisk : WPDisk
  40. {
  41.  
  42.     /*
  43.      * New instance methods for XFldDisk:
  44.      *
  45.      */
  46.  
  47.     WPRootFolder xwpSafeQueryRootFolder(in BOOL fForceMap,
  48.                                         in PULONG pulErrorCode);
  49.  
  50. #ifdef __SOMIDL__
  51.   implementation {
  52.  
  53.     releaseorder:   xwpSafeQueryRootFolder;
  54.  
  55.     /*
  56.      * Class Modifiers:
  57.      *
  58.      */
  59.  
  60.     externalprefix = xfdisk_;
  61.     externalstem = xfdisk;
  62.     majorversion = 1;
  63.     minorversion = 1;
  64.     filestem = xfdisk;           //# specifies the filestem for sc-generated files
  65.     metaclass = M_XFldDisk;
  66.     dllname = "xfldr.dll";
  67.     callstyle = oidl;           //# forget CORBA stuff (*ev and such)
  68.  
  69.     /*
  70.      * Internal instance variables for XFldDisk:
  71.      *
  72.      */
  73.  
  74.     /*
  75.      * WPDisk methods overridden by XFldDisk:
  76.      *
  77.      */
  78.  
  79.     wpFilterPopupMenu: override;
  80.     wpModifyPopupMenu: override;
  81.     wpMenuItemSelected: override;
  82.     wpMenuItemHelpSelected: override;
  83.  
  84.     wpViewObject: override;
  85.     wpOpen: override;
  86.  
  87.     wpAddSettingsPages: override;
  88.     wpAddDiskDetailsPage: override;
  89.  
  90. #ifdef __PRIVATE__
  91.  
  92. #endif
  93.  
  94.   }; // implementation
  95. #endif /* __SOMIDL__ */
  96. };
  97.  
  98. //#
  99. //#
  100. //# Now define Metaclass.
  101. //# ---------------------
  102. //#
  103.  
  104. interface M_XFldDisk : M_WPDisk
  105. {
  106.  
  107.     /*
  108.      * New class methods for M_XFldDisk:
  109.      *
  110.      */
  111.  
  112. #ifdef __SOMIDL__
  113.   implementation {
  114.  
  115.     /*
  116.      * Class Modifiers:
  117.      *
  118.      */
  119.  
  120.     externalprefix = xfdiskM_;
  121.     externalstem = xfdiskM;
  122.     functionprefix = xfdiskM_;
  123.     majorversion = 1;
  124.     minorversion = 1;
  125.     filestem = xfdisk;           //# specifies the filestem for sc-generated files
  126.     dllname = "xfldr.dll";
  127.     callstyle = oidl;
  128.  
  129.     /*
  130.      * Internal class variables for M_XFldDisk:
  131.      *
  132.      */
  133.  
  134.     /*
  135.      * M_WPDisk methods overridden by M_XFldDisk:
  136.      *
  137.      */
  138.  
  139.     wpclsInitData: override;
  140.  
  141.     wpclsQueryTitle: override;
  142.  
  143.   };
  144. #endif /* __SOMIDL__ */
  145. };
  146.  
  147.  
  148.