mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 11:21:04 +00:00
Indendation changes; removed a useless @class NSArray; declaration
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10268 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fabc394c4a
commit
e257334240
1 changed files with 29 additions and 28 deletions
|
@ -28,7 +28,7 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
#import <AppKit/NSNibDeclarations.h>
|
||||
|
||||
@class NSWindow, NSDocument, NSArray;
|
||||
@class NSWindow, NSDocument;
|
||||
|
||||
@interface NSWindowController : NSObject <NSCoding>
|
||||
{
|
||||
|
@ -39,39 +39,40 @@
|
|||
NSDocument *_document;
|
||||
NSArray *_topLevelObjects;
|
||||
id _owner;
|
||||
struct ___wcFlags {
|
||||
unsigned int shouldCloseDocument:1;
|
||||
unsigned int shouldCascade:1;
|
||||
unsigned int nibIsLoaded:1;
|
||||
unsigned int RESERVED:29;
|
||||
struct ___wcFlags
|
||||
{
|
||||
unsigned int shouldCloseDocument:1;
|
||||
unsigned int shouldCascade:1;
|
||||
unsigned int nibIsLoaded:1;
|
||||
unsigned int RESERVED:29;
|
||||
} _wcFlags;
|
||||
void *_reserved1;
|
||||
void *_reserved2;
|
||||
}
|
||||
|
||||
- (id)initWithWindowNibName:(NSString *)windowNibName; // self is the owner
|
||||
- (id)initWithWindowNibName:(NSString *)windowNibName owner:(id)owner;
|
||||
- (id)initWithWindow:(NSWindow *)window;
|
||||
- (id) initWithWindowNibName: (NSString *)windowNibName; // self is the owner
|
||||
- (id) initWithWindowNibName: (NSString *)windowNibName owner: (id)owner;
|
||||
- (id) initWithWindow: (NSWindow *)window;
|
||||
|
||||
- (NSString *)windowNibName;
|
||||
- (id)owner;
|
||||
- (void)setDocument:(NSDocument *)document;
|
||||
- (id)document;
|
||||
- (void)setWindowFrameAutosaveName:(NSString *)name;
|
||||
- (NSString *)windowFrameAutosaveName;
|
||||
- (void)setShouldCloseDocument:(BOOL)flag;
|
||||
- (BOOL)shouldCloseDocument;
|
||||
- (void)setShouldCascadeWindows:(BOOL)flag;
|
||||
- (BOOL)shouldCascadeWindows;
|
||||
- (void)close;
|
||||
- (NSWindow *)window;
|
||||
- (IBAction)showWindow:(id)sender;
|
||||
- (NSString *)windowTitleForDocumentDisplayName:(NSString *)displayName;
|
||||
- (BOOL)isWindowLoaded;
|
||||
- (void)windowDidLoad;
|
||||
- (void)windowWillLoad;
|
||||
- (void)loadWindow;
|
||||
- (NSString *) windowNibName;
|
||||
- (id) owner;
|
||||
- (void) setDocument: (NSDocument *)document;
|
||||
- (id) document;
|
||||
- (void) setWindowFrameAutosaveName: (NSString *)name;
|
||||
- (NSString *) windowFrameAutosaveName;
|
||||
- (void) setShouldCloseDocument: (BOOL)flag;
|
||||
- (BOOL) shouldCloseDocument;
|
||||
- (void) setShouldCascadeWindows: (BOOL)flag;
|
||||
- (BOOL) shouldCascadeWindows;
|
||||
- (void) close;
|
||||
- (NSWindow *) window;
|
||||
- (IBAction) showWindow: (id)sender;
|
||||
- (NSString *) windowTitleForDocumentDisplayName: (NSString *)displayName;
|
||||
- (BOOL) isWindowLoaded;
|
||||
- (void) windowDidLoad;
|
||||
- (void) windowWillLoad;
|
||||
- (void) loadWindow;
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
#endif /* _GNUstep_H_NSWindowController */
|
||||
|
|
Loading…
Reference in a new issue