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