home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12osr1.exe / src / FocusOwn.cpp < prev    next >
C/C++ Source or Header  |  1997-03-21  |  4KB  |  115 lines

  1. /* @(#)Z 1.8 com/src/ui/FocusOwn.cpp, odui, od96os2, odos29712d 97/03/21 17:20:19 (96/07/15 18:26:41) */
  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. /*
  29.     File:           FocusOwn.cpp
  30.  
  31.     Contains:       Implementation of ODFocusOwnerIterator
  32.  
  33.     Owned by:       Richard Rodseth
  34.  
  35.     Copyright:      ⌐ 1994 - 1995 by Apple Computer, Inc., all rights reserved.
  36.  
  37.     Change History (most recent first):
  38.  
  39.          <5>     8/15/95        RR              #1276680 Removed redundant fields, and
  40.                                     uninit overrides.
  41.          <4>      8/3/95        RR              #1257260: Collapse B classes. Remove
  42.                                     somInit methods. Don't call IsInitialized
  43.                                     or SubclassResponsibility
  44.          <3>     5/26/95        RR              #1251403: Multithreading naming support
  45.          <2>      4/7/95        RR              #1216618 Added SOM_TRY etc.
  46.          <1>     9/26/94        RR              first checked in
  47.  
  48.     To Do:
  49. */
  50.  
  51.  
  52. /*
  53.  *  This file was generated by the SOM Compiler.
  54.  *  Generated using:
  55.  *      SOM Emitter emitxtm.dll: somc/smmain.c
  56.  */
  57.  
  58. #define ODFocusOwnerIterator_Class_Source
  59. #define VARIABLE_MACROS
  60. #include <FocusOwn.xih>
  61.  
  62. #ifndef SOM_Module_OpenDoc_Foci_defined
  63. #include "Foci.xh"
  64. #endif
  65.  
  66.  
  67.  
  68. #include "ODDebug.h"
  69.  
  70.  
  71. SOM_Scope void  SOMLINK ODFocusOwnerIteratorInitFocusOwnerIterator(ODFocusOwnerIterator *somSelf, Environment *ev,
  72.         ODTypeToken focus,
  73.         ODFocusModule* focusModule)
  74. {
  75.     //ODFocusOwnerIteratorData *somThis = ODFocusOwnerIteratorGetData(somSelf);
  76.     ODFocusOwnerIteratorMethodDebug("ODFocusOwnerIterator","ODFocusOwnerIteratorInitFocusOwnerIterator");
  77.  
  78.     SOM_TRY
  79.             
  80.         somSelf->InitObject(ev);
  81.         
  82.     SOM_CATCH_ALL
  83.     SOM_ENDTRY
  84. }
  85.  
  86. SOM_Scope ODFrame*  SOMLINK ODFocusOwnerIteratorFirst(ODFocusOwnerIterator *somSelf, Environment *ev)
  87. {
  88.     //ODFocusOwnerIteratorData *somThis = ODFocusOwnerIteratorGetData(somSelf);
  89.     ODFocusOwnerIteratorMethodDebug("ODFocusOwnerIterator","ODFocusOwnerIteratorFirst");
  90.  
  91.     WARNMSG(WARN_INDEX(AMSG_520),"A subclass should have overridden this method!");
  92.     ODSetSOMException(ev,kODErrSubClassResponsibility, "SubClass Responsibility");
  93.     return kODNULL;
  94. }
  95.  
  96. SOM_Scope ODFrame*  SOMLINK ODFocusOwnerIteratorNext(ODFocusOwnerIterator *somSelf, Environment *ev)
  97. {
  98.     //ODFocusOwnerIteratorData *somThis = ODFocusOwnerIteratorGetData(somSelf);
  99.     ODFocusOwnerIteratorMethodDebug("ODFocusOwnerIterator","ODFocusOwnerIteratorNext");
  100.  
  101.     WARNMSG(WARN_INDEX(AMSG_520),"A subclass should have overridden this method!");
  102.     ODSetSOMException(ev,kODErrSubClassResponsibility, "SubClass Responsibility");
  103.     return kODNULL;
  104. }
  105.  
  106. SOM_Scope ODBoolean  SOMLINK ODFocusOwnerIteratorIsNotComplete(ODFocusOwnerIterator *somSelf, Environment *ev)
  107. {
  108.     //ODFocusOwnerIteratorData *somThis = ODFocusOwnerIteratorGetData(somSelf);
  109.     ODFocusOwnerIteratorMethodDebug("ODFocusOwnerIterator","ODFocusOwnerIteratorIsNotComplete");
  110.  
  111.     WARNMSG(WARN_INDEX(AMSG_520),"A subclass should have overridden this method!");
  112.     ODSetSOMException(ev,kODErrSubClassResponsibility, "SubClass Responsibility");
  113.     return kODFalse;
  114. }
  115.