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

  1.  
  2. /*
  3.  * xwpvcard.idl:
  4.  *      SOM interface description file for the following
  5.  *      XWorkplace classes (in this order):
  6.  *          XWPVCard
  7.  *      and the respective metaclasses.
  8.  *
  9.  *      See src\classes\xwpvcard.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 <wpdataf.idl>          // this is SOM for WPDataFile
  24.  
  25. /*
  26.    CLASS: XWPVCard
  27.  
  28.    CLASS HIERARCHY:
  29.  
  30.        SOMObject
  31.          └── WPObject = XFldObject
  32.                └── WPFileSystem
  33.                      └── WPDataFile
  34.                            └──  XWPVCard
  35. */
  36.  
  37. interface M_XWPVCard;            // forward reference to metaclass
  38.  
  39. interface XWPVCard : WPDataFile
  40. {
  41.  
  42.     /*
  43.      * New instance methods for XWPVCard:
  44.      *
  45.      */
  46.  
  47. #ifdef __SOMIDL__
  48.   implementation {
  49.  
  50.     //# releaseorder:
  51.  
  52.     /*
  53.      * Class Modifiers:
  54.      *
  55.      */
  56.  
  57.     externalprefix = xvc_;
  58.     externalstem = xvc;
  59.     majorversion = 1;
  60.     minorversion = 1;
  61.     filestem = xwpvcard;           //# specifies the filestem for sc-generated files
  62.     metaclass = M_XWPVCard;
  63.     dllname = "xfldr.dll";
  64.     callstyle = oidl;           //# forget CORBA stuff (*ev and such)
  65.  
  66.     /*
  67.      * Internal instance variables for XWPVCard:
  68.      *
  69.      */
  70.  
  71.     PVOID       pvCard;             // PVCARD ptr
  72.  
  73.     /*
  74.      * The following is forced into the .H file:
  75.      *
  76.      */
  77.  
  78.     /*
  79.      * WPDataFile methods overridden by XWPVCard:
  80.      *
  81.      */
  82.  
  83.     wpInitData: override;
  84.     wpUnInitData: override;
  85.  
  86.     wpFilterPopupMenu: override;
  87.  
  88.     wpAddSettingsPages: override;
  89.  
  90. //#    wpQueryDefaultHelp: override;    replaced with class method V0.9.20 (2002-07-12) [umoeller]
  91.  
  92.     wpCreateFromTemplate: override;
  93.  
  94. #ifdef __PRIVATE__
  95.  
  96. #endif
  97.  
  98.   }; // implementation
  99. #endif /* __SOMIDL__ */
  100. };
  101.  
  102. //#
  103. //#
  104. //# Now define Metaclass.
  105. //# ---------------------
  106. //#
  107.  
  108. interface M_XWPVCard : M_WPDataFile
  109. {
  110.  
  111. #ifdef __SOMIDL__
  112.   implementation {
  113.  
  114.     /*
  115.      * Class Modifiers:
  116.      *
  117.      */
  118.  
  119.     externalprefix = xvcM_;
  120.     externalstem = xvcM;
  121.     functionprefix = xvcM_;
  122.     majorversion = 1;
  123.     minorversion = 1;
  124.     filestem = xwpvcard;           //# specifies the filestem for sc-generated files
  125.     dllname = "xfldr.dll";
  126.     callstyle = oidl;
  127.  
  128.     /*
  129.      * Internal class variables for M_XWPVCard:
  130.      *
  131.      */
  132.  
  133.     /*
  134.      * M_WPDataFile methods overridden by M_XWPVCard:
  135.      *
  136.      */
  137.  
  138.     wpclsInitData: override;
  139.  
  140.     wpclsCreateDefaultTemplates: override;
  141.  
  142.     wpclsQueryTitle: override;
  143.  
  144.     wpclsQueryDefaultView: override;
  145.     wpclsQueryDefaultHelp: override;
  146.  
  147.     wpclsQueryIconData: override;
  148.  
  149.     wpclsQueryInstanceFilter: override;
  150.     wpclsQueryInstanceType: override;
  151.  
  152.   };
  153. #endif /* __SOMIDL__ */
  154. };
  155.  
  156.  
  157.