home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warphead.zip / H / SUCLONE.H < prev    next >
C/C++ Source or Header  |  1997-02-28  |  2KB  |  89 lines

  1. /* @(#)Z 1.4 com/src/bento/SUClone.h, odstorage, od96os2, odos29646d 96/11/15 15:29:29 (96/10/29 09:13:30) */
  2. /*====START_GENERATED_PROLOG======================================
  3.  */
  4. /*
  5.  *   COMPONENT_NAME: odstorage
  6.  *
  7.  *   CLASSES:   SUCloneHelper
  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. /*
  30.     File:        SUClone.h
  31.  
  32.     Contains:    SUCloneHelper header
  33.  
  34.     Written by:    Vincent Lo
  35.  
  36.     Copyright:    ⌐ 1995 by Apple Computer, Inc., all rights reserved.
  37.  
  38.     Change History (most recent first):
  39.  
  40.          <1>     1/26/95    VL        first checked in
  41.     To Do:
  42.     
  43. */
  44.  
  45. #ifndef _SUCLONE_
  46. #define _SUCLONE_
  47.  
  48. #ifndef _ODTYPES_
  49. #include <ODTypes.h>
  50. #endif
  51.  
  52. #ifndef _ODMEMORY_
  53. #include <ODMemory.h>
  54. #endif
  55.  
  56. //==============================================================================
  57. // Classes defined in this interface
  58. //==============================================================================
  59. class SUCloneHelper;
  60.  
  61. //==============================================================================
  62. // Classes used by this interface
  63. //==============================================================================
  64. class ScopeIDList;
  65.  
  66. //==============================================================================
  67. // SUCloneHelper
  68. //==============================================================================
  69. class SUCloneHelper
  70. {
  71. public:
  72.  
  73.     SUCloneHelper();
  74.     
  75.     ~SUCloneHelper();
  76.     
  77.     ODBoolean ShouldClone(ODDraftKey key, ODID id);
  78.  
  79. private:
  80.  
  81.     ScopeIDList*    fScopeIDList;
  82.     ODDraftKey        fKey;
  83.     ODMemoryHeapID    fHeap;
  84.     
  85.     ODMemoryHeapID    GetHeap() {return fHeap;}
  86. };
  87.  
  88. #endif    // _SUCLONE_
  89.