home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12otk1.exe / include / ODObject.idl < prev    next >
Text File  |  1997-04-02  |  3KB  |  123 lines

  1. /* @(#)Z 1.5 com/src/core/idl/ODObject.idl, odcore, od96os2, odos29712d 97/03/21 17:18:13 (97/02/26 10:10:28) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odcore
  6. //#
  7. //#   CLASSES: none
  8. //#
  9. //#   ORIGINS: 82,27
  10. //#
  11. //#
  12. //#   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  13. //#   All Rights Reserved
  14. //#   Licensed Materials - Property of IBM
  15. //#   US Government Users Restricted Rights - Use, duplication or
  16. //#   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  17. //#       
  18. //#   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  19. //#   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  20. //#   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  21. //#   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  22. //#   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  23. //#   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  24. //#   OR PERFORMANCE OF THIS SOFTWARE.
  25. //#
  26. //#====END_GENERATED_PROLOG========================================
  27. //#
  28.  
  29. //#    Copyright:    (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  30.  
  31. #ifndef _ODOBJECT_
  32. #define _ODOBJECT_
  33.  
  34. #include <somobj.idl>
  35. #include <somcls.idl>
  36.  
  37. #ifndef _ODTYPESM_
  38. #include "ODTypesM.idl"
  39. #endif
  40.  
  41. #ifndef _GEOTYPES_
  42. #include "GeoTypes.idl"
  43. #endif
  44.  
  45. #ifndef _POLYGON_
  46. #include "Polygon.idl"
  47. #endif
  48.  
  49.  
  50. //==============================================================================
  51. // Classes defined in this interface
  52. //==============================================================================
  53.  
  54. interface  ODObject;
  55.  
  56. //==============================================================================
  57. // Classes used by this interface
  58. //==============================================================================
  59.  
  60. interface  ODExtension;
  61.  
  62. //==============================================================================
  63. // ODObject
  64. //==============================================================================
  65.  
  66. interface ODObject  : SOMObject
  67. {
  68.     void InitObject();
  69.       
  70.     ODBoolean HasExtension(in ODType extensionName);
  71.   
  72.     ODExtension AcquireExtension(in ODType extensionName);
  73.   
  74.     void ReleaseExtension(in ODExtension extension);
  75.   
  76.     ODSize  Purge(in ODSize size);
  77.     
  78.     ODBoolean IsEqualTo(in ODObject object);
  79.     
  80.     void SubClassResponsibility();
  81.       
  82. #ifdef __SOMIDL__
  83.  
  84.   implementation
  85.   {
  86.     majorversion = 1; minorversion = 0;
  87.  
  88.       functionprefix = ODObject;
  89.  
  90.     passthru C_h =
  91.     ""
  92.     "#include <ODTypes.h>"
  93.     ""
  94.     "";
  95.  
  96.     passthru C_xh =
  97.     ""
  98.     "#include <ODTypes.h>"
  99.     ""
  100.     "";
  101.  
  102.     override:
  103.         somInit,
  104.         somUninit;
  105.     
  106.     releaseorder:
  107.         InitObject,
  108.         HasExtension,
  109.         AcquireExtension,
  110.         ReleaseExtension,
  111.         Purge,
  112.         IsEqualTo,
  113.         SubClassResponsibility;
  114.         
  115.   };
  116.   
  117. #endif //# __SOMIDL__
  118.  
  119. };
  120.  
  121. #endif // _ODOBJECT_
  122.  
  123.