// Copyright 1997-1999 Omni Development, Inc.  All rights reserved.
//
// $Header: /Network/Source/CVS/OmniGroup/OmniHTML/View.subproj/OHHTMLOwner.h,v 1.4 1999/06/19 00:50:39 kc Exp $

#import <OmniFoundation/OFObject.h>

@class NSTextStorage;
@class OHHTMLDocument;
@class OHHTMLView;

@interface OHHTMLOwner : OFObject
{
    OHHTMLDocument *nonretainedHTMLDocument;
    OHHTMLView *htmlView;
    
}

- initWithHTMLViewClass:(Class)htmlViewClass htmlDocument:(OHHTMLDocument *)htmlDocument;
    // designated initializer when using this class, not a subclass

- (OHHTMLDocument *)htmlDocument;

- (NSTextStorage *)htmlStorage;
- (OHHTMLView *)htmlView;
- (void)documentDidDeactivate:(OHHTMLView *)document;

@end
