//
//  FSRepositoryWarningWindowController.h
//  Sync
//
//  Created by Stefan on 28.04.13.
//  Copyright (c) 2013 Stefan. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class FSManagedObjectContext;

@interface FSRepositoryWarningWindowController : NSWindowController

+ (id) windowControllerWithManagedObjectContext:(FSManagedObjectContext*)context;
+ (id) beginSheetForWindow:(NSWindow*)window context:(FSManagedObjectContext*)context;
- (void) beginSheetForWindow:(NSWindow*)window;

-(IBAction)disableSyncAction:(id)sender;

@property (nonatomic, copy) void (^windowDidCloseBlock)();
@property (nonatomic) BOOL loading;

- (void) close;
@end
