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

  1. /* @(#)Z 1.3 com/src/layout/FacetNod.h, odlayout, od96os2, odos29646d 96/11/15 15:29:19 (96/07/15 18:32:17) */
  2. /*====START_GENERATED_PROLOG======================================
  3.  */
  4. /*
  5.  *   COMPONENT_NAME: odlayout
  6.  *
  7.  *   CLASSES:   FacetNode
  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:       FacetNod.h
  30.  
  31.    Contains:   Definition of class FacetNode
  32.  
  33.    Written by: Joshua Susser
  34.  
  35.    Copyright:  ⌐ 1992-94 by Apple Computer, Inc., all rights reserved.
  36.  
  37.    Change History (most recent first):
  38.  
  39.         <1>     6/29/94    JBS     first checked in
  40.         <0>     6/29/94    SV      SOMverted
  41.         <2>     3/15/94    MB      Changes to support SCpp/ASLM builds,
  42.                                    #1150864.
  43.         <1>     3/11/94    JBS     first checked in
  44.         <3>      2/3/94    JA      Tiger Team Makeover!
  45.         <2>    11/12/93    JBS     use Facets
  46.         <1>     9/23/93    JBS     first checked in
  47. */
  48.  
  49. #ifndef _FACETNOD_
  50. #define _FACETNOD_
  51.  
  52. #ifndef _PLFMDEF_
  53. #include "PlfmDef.h"
  54. #endif
  55.  
  56. #ifndef _ODTYPES_
  57. #include <ODTypes.h>
  58. #endif
  59.  
  60. #ifndef _NODE_
  61. #include "Node.h"
  62. #endif
  63.  
  64. //==============================================================================
  65. // Theory of Operation
  66. //==============================================================================
  67.  
  68. /*
  69.  
  70. FacetNode-s stitch Facet-s together into a tree structure.  Each Facet has a
  71. FacetNode which holds its place in the visible frame structure for the document.
  72.  
  73. */
  74.  
  75. //=====================================================================================
  76. // Classes defined in this interface
  77. //=====================================================================================
  78.  
  79. class FacetNode;
  80.  
  81. //=====================================================================================
  82. // Classes used by this interface
  83. //=====================================================================================
  84.  
  85. class Node;
  86. class ODFacet;
  87.  
  88. //=====================================================================================
  89. // FacetNode
  90. //=====================================================================================
  91.  
  92. class FacetNode : public Node
  93. {
  94.  
  95. public:
  96.  
  97.    FacetNode(ODFacet* facet);
  98.  
  99.    ODVMethod ~  FacetNode();
  100.  
  101.    ODVMethod ODFacet* GetFacet();
  102.  
  103. private:
  104.  
  105.    ODFacet* fFacet;
  106. };
  107.  
  108. #endif // _FACETNOD_
  109.