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

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