home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / WINITER.IDL < prev    next >
Text File  |  1995-12-13  |  2KB  |  75 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 _WINITER_
  16. #define _WINITER_
  17.  
  18. #ifndef _ODOBJECT_
  19. #include "ODObject.idl"
  20. #endif
  21.  
  22. //=====================================================================================
  23. // Classes defined in this interface
  24. //=====================================================================================
  25.  
  26. interface  ODWindowIterator;        // An iterator for all windows
  27.  
  28. //=====================================================================================
  29. // Classes used by this interface
  30. //=====================================================================================
  31.  
  32. interface  ODWindowState;
  33. interface  ODWindow;
  34.  
  35.  
  36. //=====================================================================================
  37. // Class ODWindowIterator
  38. //=====================================================================================
  39.  
  40. interface ODWindowIterator : ODObject
  41. {
  42.  
  43.    ODWindow First();
  44.  
  45.   ODWindow Next();
  46.  
  47.   ODWindow Last();
  48.  
  49.   ODWindow Previous();
  50.  
  51.   ODBoolean IsNotComplete();
  52.  
  53. #ifdef __SOMIDL__
  54.   implementation
  55.   {
  56.       functionprefix = ODWindowIterator;
  57.  
  58.   override:
  59.     somInit,
  60.       somUninit;
  61.     releaseorder:
  62.         InitWindowIterator,
  63.         First,
  64.         Next,
  65.         Last,
  66.         Previous,
  67.         IsNotComplete;
  68.  
  69.  
  70.     };
  71. #endif
  72. };
  73.  
  74. #endif // _WINITER_
  75.