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

  1.  
  2. /*
  3.  * xclslist.idl:
  4.  *      SOM interface description file for the following
  5.  *      XWorkplace classes (in this order):
  6.  *          XWPClassList
  7.  *      and the respective metaclasses.
  8.  *
  9.  *      See src\classes\xclslist.c for details.
  10.  *
  11.  *      Copyright (C) 1998-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 <wpabs.idl>         // this is SOM for WPAbstract
  24.  
  25. /*
  26.    CLASS: XWPClassList
  27.  
  28.    CLASS HIERARCHY:
  29.  
  30.        SOMObject
  31.          └── WPObject
  32.                └── WPAbstract
  33.                      └── XWPClassList
  34. */
  35.  
  36. interface M_XWPClassList;               // forward reference to metaclass
  37.  
  38. interface XWPClassList : WPAbstract
  39. {
  40.     /*
  41.      * New instance methods for XWPClassList:
  42.      *
  43.      */
  44.  
  45.     ULONG xwpAddXWPClassListPages(in HWND hwndDlg);
  46.         /*@@ xwpAddXWPClassListPages:
  47.            this actually adds the new pages into the
  48.            "WPS Class List" notebook. */
  49.  
  50. #ifdef __SOMIDL__
  51.   implementation {
  52.  
  53.     releaseorder: xwpAddXWPClassListPages;
  54.  
  55.     /*
  56.      * Class Modifiers:
  57.      *
  58.      */
  59.  
  60.     externalprefix = xwlist_;
  61.     externalstem = xwlist;
  62.     majorversion = 1;
  63.     minorversion = 1;
  64.     filestem = xclslist;           //# specifies the filestem for sc-generated files
  65.     metaclass = M_XWPClassList;
  66.     dllname = "xfldr.dll";
  67.     callstyle = oidl;           //# forget CORBA stuff (*ev and such)
  68.  
  69.     /*
  70.      * Internal instance variables for XWPClassList:
  71.      *
  72.      */
  73.  
  74.     BOOL    fShowSOMObject;     // TRUE: display tree from SOMObject
  75.                                 // FALSE: display tree from WPObject
  76.     BOOL    fShowMethods;       // show methods subwindow? (three or only two subwindows)
  77.     ULONG   ulSortID;           // menu item ID of current cnr sort function
  78.     ULONG   ulMethodsRadioB;    // ID of currently selected radio button
  79.                                 // (ID_XLDI_RADIO_INSTANCEMETHODS or ID_XLDI_RADIO_CLASSMETHODS)
  80.     HWND    hwndOpenView;       // window handle of currently open view or NULLHANDLE
  81.  
  82.     BOOL    fMenuCnrWhitespace; // if TRUE, menu has been requested on cnr whitespace
  83.  
  84.     /*
  85.      * WPAbstract methods overridden by XWPClassList:
  86.      *
  87.      */
  88.  
  89.     wpInitData: override;
  90.  
  91.     wpSaveState: override;
  92.     wpRestoreState: override;
  93.  
  94.     wpModifyPopupMenu: override;
  95.     wpMenuItemSelected: override;
  96.  
  97.     wpQueryDefaultView: override;
  98. //#    wpQueryDefaultHelp: override;    replaced with class method V0.9.20 (2002-07-12) [umoeller]
  99.  
  100.     wpOpen: override;
  101.  
  102.     wpAddObjectWindowPage: override;
  103.     wpAddSettingsPages: override;
  104.  
  105.   }; // implementation
  106. #endif /* __SOMIDL__ */
  107. };
  108.  
  109. //#
  110. //#
  111. //# Now define Metaclass.
  112. //# ---------------------
  113. //#
  114.  
  115. interface M_XWPClassList : M_WPAbstract
  116. {
  117.  
  118. #ifdef __SOMIDL__
  119.   implementation {
  120.  
  121.     /*
  122.      * Class Modifiers:
  123.      *
  124.      */
  125.  
  126.     externalprefix = xwlistM_;
  127.     externalstem = xwlistM;
  128.     functionprefix = xwlistM_;
  129.     majorversion = 1;
  130.     minorversion = 1;
  131.     filestem = xclslist;           //# specifies the filestem for sc-generated files
  132.     dllname = "xfldr.dll";
  133.     callstyle = oidl;
  134.  
  135.     /*
  136.      * Internal class variables:
  137.      *
  138.      */
  139.  
  140.     /*
  141.      * M_WPAbstract methods overridden by M_XWPClassList:
  142.      *
  143.      */
  144.  
  145.     wpclsInitData: override;
  146.  
  147.     wpclsQueryStyle: override;
  148.     wpclsQueryTitle: override;
  149.     wpclsQueryDefaultHelp: override;
  150.  
  151.     wpclsQueryIconData: override;
  152.   };
  153. #endif /* __SOMIDL__ */
  154. };
  155.  
  156.  
  157.