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

  1. /* @(#)Z 1.2 com/src/ui/localidl/ExcFocus.idl, odui, od96os2, odos29712d 97/03/21 17:20:50 (96/07/15 18:29:21) */
  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:        ExcFocus.idl
  31. //#
  32. //#    Contains:    Class definition for ODExclusiveFocusModule
  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. //#         <8>     8/15/95    RR        #1275241 IDL Review
  41. //#         <7>      8/3/95    RR        #1257260: Collapse B classes. Remove
  42. //#                                    somInit methods. Don't call IsInitialized
  43. //#                                    or SubclassResponsibility
  44. //#         <6>     5/25/95    VL        1251403: Multithreading naming support.
  45. //#         <5>      3/7/95    RR        # 1220929 Added fSelectionFocus
  46. //#         <4>    10/18/94    RR        Added fSession. Override BRF, CRF, ARF.
  47. //#         <3>      9/2/94    RR        Override TransferFocusOwnership #1184275
  48. //#                                    Pass transferringFrame and newOwner to
  49. //#                                    focusModule::TransferFocus
  50. //#         <2>     6/23/94    RR        Added function prefix
  51. //#         <1>      6/8/94    RR        first checked in
  52. //#         <2>      6/7/94    RR        Privatise change log
  53. //#
  54. //#    To Do:
  55. //#
  56. #else
  57. //#    Copyright:    (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  58. #endif
  59.  
  60. #ifndef _EXCFOCUS_
  61. #define _EXCFOCUS_
  62.  
  63. #ifndef _FOCUSMOD_
  64. #include "FocusMod.idl"
  65. #endif
  66.  
  67. //=====================================================================================
  68. // Classes defined in this interface
  69. //=====================================================================================
  70.  
  71. interface  ODExclusiveFocusModule;
  72.  
  73. //=====================================================================================
  74. // Classes used by this interface
  75. //=====================================================================================
  76.  
  77. interface ODSession;
  78.  
  79. #ifdef __PRIVATE__
  80. interface ODFrame;
  81. #endif
  82.  
  83. //=====================================================================================
  84. // Class ODExclusiveFocusModule
  85. //=====================================================================================
  86.  
  87. interface ODExclusiveFocusModule : ODFocusModule
  88. {
  89.     void InitExclusiveFocusModule(in ODSession session);
  90.  
  91. #ifdef __SOMIDL__
  92.     implementation
  93.       {
  94.         majorversion = 1; minorversion = 0;
  95.  
  96.         functionprefix = ODExclusiveFocusModule;
  97.     
  98.         override:
  99.             somUninit,
  100.             IsFocusExclusive,
  101.             SetFocusOwnership,
  102.             UnsetFocusOwnership,
  103.             TransferFocusOwnership,
  104.             AcquireFocusOwner,
  105.             BeginRelinquishFocus,
  106.             CommitRelinquishFocus,
  107.             AbortRelinquishFocus;
  108.             
  109.         releaseorder:
  110.             InitExclusiveFocusModule;
  111.         
  112.         #ifdef __PRIVATE__
  113.             ODFrame  fFrame;
  114.             ODSession  fSession;
  115.             ODTypeToken fSelectionFocus;
  116.             ODTypeToken fKeyFocus;
  117.         #endif
  118.  
  119.       };
  120. #endif //# __SOMIDL__
  121. };
  122.  
  123. #endif //# _EXCFOCUS_
  124.  
  125.