UniqueWindowController.h
author Jens Alfke <jens@mooseyard.com>
Fri Apr 18 09:25:10 2008 -0700 (2008-04-18)
changeset 6 2d492d8c2053
parent 3 8fad19466c59
child 11 e5976864dfe9
permissions -rw-r--r--
Added -reopenWith:.
jens@1
     1
//
jens@1
     2
//  UniqueWindowController.h
jens@1
     3
//  Cloudy
jens@1
     4
//
jens@1
     5
//  Created by Jens Alfke on 3/14/08.
jens@1
     6
//  Copyright 2008 __MyCompanyName__. All rights reserved.
jens@1
     7
//
jens@1
     8
jens@1
     9
#import <Cocoa/Cocoa.h>
jens@1
    10
jens@1
    11
jens@1
    12
@interface UniqueWindowController : NSWindowController
jens@1
    13
jens@1
    14
+ (UniqueWindowController*) instanceWith: (id)model;
jens@1
    15
+ (UniqueWindowController*) openWith: (id)model;
jens@1
    16
jens@3
    17
+ (BOOL) isModel: (id)model1 equalToModel: (id)model2;
jens@3
    18
jens@6
    19
- (void) reopenWith: (id)model;
jens@6
    20
jens@1
    21
@end
jens@1
    22
jens@1
    23
jens@1
    24
@interface UniqueWindowController (Abstract)
jens@1
    25
jens@1
    26
- (id) initWith: (id)model;
jens@1
    27
@property (readonly) id model;
jens@1
    28
jens@1
    29
@end