home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / ODDESC.IDL < prev    next >
Text File  |  1995-12-13  |  2KB  |  63 lines

  1. /********************************************************************/
  2. /*  Licensed Materials - Property of IBM                            */
  3. /*                                                                  */
  4. /*                                                                  */
  5. /* Copyright (C) International Business Machines Corp., 1994.       */
  6. /* Copyright (C) Apple Computer, Inc., 1994                         */
  7. /*                                                                  */
  8. /*  US Government Users Restricted Rights -                         */
  9. /*  Use, duplication, or disclosure restricted                      */
  10. /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  11. /*                                                                  */
  12. /*                                                                  */
  13. /********************************************************************/
  14.  
  15. #ifndef _ODDESC_
  16. #define _ODDESC_
  17.  
  18. #ifndef _ODOBJECT_
  19. #include "ODObject.idl"
  20. #endif
  21.  
  22. //==============================================================================
  23. // Classes defined in this interface
  24. //==============================================================================
  25.  
  26. interface  ODDesc;
  27.  
  28. interface  ODObject;
  29.  
  30. //==============================================================================
  31. // ODDesc
  32. //==============================================================================
  33.  
  34. interface ODDesc : ODObject
  35. {
  36.   void InitODDesc();
  37.   void SetDescType(in ODDescType descType);
  38.   void SetRawData(in  ODByteArray  data);
  39.   ODDescType GetDescType();
  40.   ODByteArray GetRawData();
  41.  
  42. #ifdef  __SOMIDL__
  43.   implementation
  44.   {
  45.       functionprefix = ODDesc;
  46.  
  47.     override:
  48.       somInit,
  49.       somUninit;
  50.     releaseorder:
  51.       somInit,
  52.       somUninit,
  53.       InitODDesc,
  54.       SetDescType,
  55.       SetRawData,
  56.       GetDescType,
  57.       GetRawData;
  58.   };
  59. #endif
  60. };
  61.  
  62. #endif  //  _ODDESC_
  63.