//
//  MCPGSchemaUpdateGroup.h
//  MCPostgresPersistence
//
//  Created by Sebastien Boisvert on 17/09/2009.
//  Copyright 2009 Marketcircle, Inc. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface MCPGSchemaUpdateGroup : NSObject {
	NSDictionary *_updates;
}

-(MCPGSchemaUpdateGroup *)initWithUpdates:(NSDictionary *)updates;
-(void)dealloc;

-(BOOL)isOfflineSafe;
-(int)updateCount;
-(NSString *)latestVersion;
-(NSNumber *)latestSchemaNumber;
-(NSEnumerator *)schemaEnumerator;
-(NSArray *)allSchemas;
-(NSNumber *)totalUpdates;

@end
