home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12osr1.exe / src / FocusSet.idl < prev    next >
Text File  |  1997-03-21  |  5KB  |  159 lines

  1. /* @(#)Z 1.3 com/src/ui/idl/FocusSet.idl, odui, od96os2, odos29712d 97/03/21 17:20:48 (96/07/15 18:28:47) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odui
  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. #ifdef __PRIVATE__
  29. //#
  30. //#     File:           FocusSet.idl
  31. //#
  32. //#     Contains:       Class definition for ODFocusSet
  33. //#
  34. //#     Owned by:       Richard Rodseth
  35. //#
  36. //#     Copyright:      (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  37. //#
  38. //#     Change History (most recent first):
  39. //#
  40. //#              <6>     8/15/95        RR              #1275241 IDL Review
  41. //#              <5>      8/3/95        RR              #1257260: Collapse B classes. Remove
  42. //#                                                                     somInit methods. Don't call IsInitialized
  43. //#                                                                     or SubclassResponsibility
  44. //#              <4>     2/22/95        RR              #1209427 Changed private api between
  45. //#                                                                     iterator and iteratee
  46. //#              <3>     1/23/95        RR              # 1203066 Make Init methid private
  47. //#              <2>     6/16/94        RR              Added function prefix
  48. //#              <1>      6/8/94        RR              first checked in
  49. //#              <4>      6/7/94        RR              Privatise change log
  50. //#
  51. //#     To Do:
  52. //#
  53. #else
  54. //#     Copyright:      (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  55. #endif
  56.  
  57. #ifndef _FOCUSSET_
  58. #define _FOCUSSET_
  59.  
  60. #ifndef _ODOBJECT_
  61. #include "ODObject.idl"
  62. #endif
  63.  
  64. //=====================================================================================
  65. // Classes defined in this interface
  66. //=====================================================================================
  67.  
  68. interface  ODFocusSet;
  69.  
  70. //=====================================================================================
  71. // Classes used by this interface
  72. //=====================================================================================
  73.  
  74. interface  ODFocusSetIterator;
  75.  
  76. #ifdef __PRIVATE__
  77. //=====================================================================================
  78. // Implementation Types
  79. //=====================================================================================
  80.  
  81. typedef somToken LinkedList;
  82. #endif
  83.  
  84. //=====================================================================================
  85. // ODFocusSet
  86. //=====================================================================================
  87.  
  88. interface ODFocusSet : ODObject
  89. {
  90.  
  91.     void Add(in ODTypeToken focus);
  92.  
  93.     void Remove(in ODTypeToken focus);
  94.  
  95.     ODBoolean Contains(in ODTypeToken focus);
  96.  
  97.     ODFocusSetIterator  CreateIterator();
  98.  
  99. #ifdef __PRIVATE__
  100.  
  101.     void InitFocusSet();
  102.  
  103.     ODULong AddIterator(in ODFocusSetIterator iterator);
  104.  
  105.     ODTypeToken First(in ODULong iteratorID);
  106.  
  107.     ODTypeToken Next(in ODULong iteratorID);
  108.  
  109.     ODBoolean IsNotComplete(in ODULong iteratorID);
  110.     
  111.     void RemoveIterator(in ODULong iteratorID);
  112.  
  113. #endif
  114.  
  115. #ifdef __SOMIDL__
  116.     implementation
  117.     {
  118.         majorversion = 1; minorversion = 0;
  119.  
  120.         functionprefix = ODFocusSet;
  121.  
  122.         override:
  123.             somUninit;
  124.             
  125.         releaseorder:
  126.             Add,
  127.             Remove,
  128.             Contains,
  129.             CreateIterator,
  130.         #ifdef __PRIVATE__
  131.             InitFocusSet,
  132.             AddIterator,
  133.             First,
  134.             Next,
  135.             IsNotComplete,
  136.             RemoveIterator;
  137.         #else
  138.             reserved1,
  139.             reserved2,
  140.             reserved3,
  141.             reserved4,
  142.             reserved5,
  143.             reserved6;
  144.         #endif //# __PRIVATE__
  145.         
  146.         #ifdef __PRIVATE__
  147.         passthru C_xih = 
  148.         ""
  149.         "class LinkedList;"
  150.         "";
  151.           LinkedList*  fImplementation;
  152.         #endif //# __PRIVATE__
  153.  
  154.   };
  155. #endif //# __SOMIDL__
  156. };
  157.  
  158. #endif //# _FOCUSSET_
  159.