Last change
on this file since 635 was 604, checked in by Nicholas Riley, 15 years ago |
No need for NSWindowCollectionBehavior if we're compiling under the 10.5 SDK or later.
|
File size:
579 bytes
|
Rev | Line | |
---|
[522] | 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 |
|
---|
[604] | 9 | #if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5
|
---|
| 10 |
|
---|
[522] | 11 | #import <AppKit/AppKit.h>
|
---|
| 12 |
|
---|
| 13 | enum {
|
---|
| 14 | NSWindowCollectionBehaviorDefault = 0,
|
---|
| 15 | NSWindowCollectionBehaviorCanJoinAllSpaces = 1 << 0,
|
---|
| 16 | NSWindowCollectionBehaviorMoveToActiveSpace = 1 << 1
|
---|
| 17 | };
|
---|
| 18 | typedef unsigned NSWindowCollectionBehavior;
|
---|
| 19 |
|
---|
| 20 | @interface NSWindow (NSWindowCollectionBehavior)
|
---|
| 21 | - (void)setCollectionBehavior:(NSWindowCollectionBehavior)behavior;
|
---|
| 22 | @end
|
---|
[604] | 23 |
|
---|
| 24 | #endif |
---|
Note:
See
TracBrowser
for help on using the repository browser.