Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/Classes/NSWindowControllerAdditions.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 117 - (show annotations) (download) (as text)
Sun Oct 1 03:33:45 2017 UTC (6 years, 7 months ago) by toshinagata1964
File MIME type: text/x-chdr
File size: 1357 byte(s)
Sizes of the integer types are reconsidered.
1 //
2 // NSWindowControllerAdditions.h
3 //
4 // Created by Toshi Nagata on Mon Nov 08 2004.
5 //
6 /*
7 Copyright (c) 2004-2011 Toshi Nagata. All rights reserved.
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation version 2 of the License.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17 */
18
19 #import <Cocoa/Cocoa.h>
20
21 extern NSString *gTrackWindowType;
22 extern NSString *gGraphicWindowType;
23 extern NSString *gListWindowType;
24
25 @interface NSWindowController (MyWindowControllerAddition)
26 + (BOOL)canContainMultipleTracks;
27 + (Class)classForWindowType: (NSString *)windowType;
28 - (NSMutableDictionary *)encodeWindow;
29 - (void)decodeWindowWithDictionary: (NSDictionary *)dictionary;
30 - (NSString *)windowType;
31 - (BOOL)containsTrack: (int)trackNum;
32 - (void)addTrack: (int)trackNum;
33 - (void)setFocusFlag: (BOOL) flag onTrack: (int)trackNum extending: (BOOL)extendFlag;
34 - (BOOL)isFocusTrack: (int)trackNum;
35 - (void)reloadSelection;
36 + (NSLayoutManager *)sharedLayoutManager;
37 @end
38
39 @interface NSWindowController (viewWithTag)
40 - (id)viewWithTag: (NSInteger)tag;
41 @end

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26