// Copyright 1998-2000 Omni Development, Inc.  All rights reserved.
//
// This software may only be used and reproduced according to the
// terms in the file OmniSourceLicense.html, which should be
// distributed with this project and can also be found at
// http://www.omnigroup.com/DeveloperResources/OmniSourceLicense.html.
//
// $Header: /Network/Source/CVS/OmniGroup/Frameworks/OmniHTML/Support.subproj/OWAddress-OHActions.h,v 1.3 2000/01/20 00:27:59 kc Exp $

#import <OWF/OWAddress.h>

#import <Foundation/NSGeometry.h> // For NSPoint

@interface OWAddress (AppSupport)

- (void)addToBookmarks;
    // This method posts an OWAddressAddToBookmarksNotification to cause the address to be bookmarked.

- (void)openDocumentInNewWindow;
    // This method posts an OWAddressOpenInNewWindowNotification to cause the address to be opened in a new window.

- (void)openDocumentInNewWindowAtScreenPoint:(NSPoint)aPoint;
    // This method posts an OWAddressOpenInNewWindowNotification to cause the address to be opened in a new window at the specified screen point.

@end

#import "FrameworkDefines.h"

OmniHTML_EXTERN NSString *OWAddressAddToBookmarksNotification;
    // This notification is posted by the -addToBookmarks method to actually add the address to the user's bookmarks.

OmniHTML_EXTERN NSString *OWAddressOpenDocumentInNewWindowNotification;
    // This notification is posted by the -openDocumentInNewWindow and -openDocumentInNewWindowAtScreenPoint: methods.  The application should be listening for this notification, and open the window as requested.

OmniHTML_EXTERN NSString *OWAddressOpenDocumentInNewWindowScreenPointKey;
    // The new window's screen point is held in an NSValue under this key.  (If this key isn't present, no specific screen point was requested.)

