home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / TYPELIST.IDL < prev    next >
Text File  |  1995-12-13  |  2KB  |  72 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.  
  16. #ifndef _TYPELIST_
  17. #define _TYPELIST_
  18.  
  19. #ifndef _ODOBJECT_
  20. #include "ODObject.idl"
  21. #endif
  22.  
  23. //=====================================================================================
  24. // Classes defined in this interface
  25. //=====================================================================================
  26. interface  ODTypeList;
  27.  
  28. //=====================================================================================
  29. // Classes used by this interface
  30. //=====================================================================================
  31. interface ODTypeListIterator;
  32.  
  33. //=====================================================================================
  34. // Class ODTypeList
  35. //=====================================================================================
  36.  
  37. interface ODTypeList : ODObject
  38. {
  39.   void AddLast(in ODType type);
  40.  
  41.   void Remove(in ODType type);
  42.  
  43.   ODBoolean Contains(in ODType type);
  44.  
  45.   ODULong Count();
  46.  
  47.   ODTypeListIterator CreateTypeListIterator();
  48.  
  49.  
  50. #ifdef __SOMIDL__
  51.   implementation
  52.   {
  53.     functionprefix = ODTypeList;
  54.     override:
  55.       somInit,
  56.       somUninit;
  57.     releaseorder:
  58.       reserved1,
  59.       reserved2,
  60.       AddLast,
  61.       Remove,
  62.       Contains,
  63.       Count,
  64.       CreateTypeListIterator;
  65.  
  66.  
  67.   };
  68. #endif
  69. };
  70.  
  71. #endif  // _TYPELIST_
  72.