source: trunk/Cocoa/Pester/Source/NSWindowCollectionBehavior.h @ 604

Last change on this file since 604 was 604, checked in by Nicholas Riley, 10 years ago

No need for NSWindowCollectionBehavior if we're compiling under the 10.5 SDK or later.

File size: 579 bytes
Line 
1//
2//  NSWindowCollectionBehavior.h
3//  Pester
4//
5//  Created by Nicholas Riley on 12/8/07.
6//  Copyright 2007 Nicholas Riley. All rights reserved.
7//
8
9#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5
10
11#import <AppKit/AppKit.h>
12
13enum {
14    NSWindowCollectionBehaviorDefault = 0,
15    NSWindowCollectionBehaviorCanJoinAllSpaces = 1 << 0,
16    NSWindowCollectionBehaviorMoveToActiveSpace = 1 << 1
17};
18typedef unsigned NSWindowCollectionBehavior;
19
20@interface NSWindow (NSWindowCollectionBehavior)
21- (void)setCollectionBehavior:(NSWindowCollectionBehavior)behavior;
22@end
23
24#endif
Note: See TracBrowser for help on using the repository browser.