UniqueWindowController.h
author Jens Alfke <jens@mooseyard.com>
Thu May 14 20:44:32 2009 -0700 (2009-05-14)
changeset 31 2068331949ee
parent 6 2d492d8c2053
permissions -rw-r--r--
* Optimized Olivier's MYDirectoryWatcher fix (by caching the watcher's standardized path)
* Added -[NSData my_UTF8ToString] to CollectionUtils.
     1 //
     2 //  UniqueWindowController.h
     3 //  MYUtilities
     4 //
     5 //  Created by Jens Alfke on 3/14/08.
     6 //  Copyright 2008 Jens Alfke. All rights reserved.
     7 //
     8 
     9 #import <Cocoa/Cocoa.h>
    10 
    11 
    12 @interface UniqueWindowController : NSWindowController
    13 
    14 + (UniqueWindowController*) instanceWith: (id)model;
    15 + (UniqueWindowController*) openWith: (id)model;
    16 
    17 + (BOOL) isModel: (id)model1 equalToModel: (id)model2;
    18 
    19 - (void) reopenWith: (id)model;
    20 
    21 @end
    22 
    23 
    24 @interface UniqueWindowController (Abstract)
    25 
    26 - (id) initWith: (id)model;
    27 @property (readonly) id model;
    28 
    29 @end