// Copyright 1997-1999 Omni Development, Inc.  All rights reserved.
//
// $Header: /Network/Source/CVS/OmniGroup/OmniHTML/Forms.subproj/OHFormArchive.h,v 1.2 1999/06/19 00:50:07 kc Exp $

#import <OmniFoundation/OFObject.h>

@class NSMutableArray, NSString;
@class OHForm;
@class OWAddress;

#import "OHFormElementProtocol.h"

@interface OHFormArchive : OFObject
{
    NSString *name;
    OWAddress *address;

    NSMutableArray *archivedElements;
}

+ (NSArray *)formArchivesForForms:(NSArray *)forms;
+ (void)resetForms:(NSArray *)forms fromFormArchives:(NSArray *)formArchives;

//
- initWithForm:(OHForm *)form;
- initWithPropertyList:plist;

// API
- (void)resetForm:(OHForm *)form;

- propertyList;

@end
