Fix header issues.

This commit is contained in:
Gregory John Casamento 2020-01-21 22:58:17 -05:00
parent 2c5d75cb8f
commit 1dcda30d27
4 changed files with 37 additions and 32 deletions

View file

@ -28,6 +28,9 @@
#import <Foundation/Foundation.h>
#import "GNUstepGUI/GSXibKeyedUnarchiver.h"
#import "GNUstepGUI/GSNibLoading.h"
#import "GNUstepGUI/GSXibLoading.h"
#import "GNUstepGUI/GSXibElement.h"
@class GSXibElement;
@ -45,3 +48,31 @@
- (NSRange) decodeRangeForKey: (NSString*)key;
@end
@interface NSWindowTemplate5 : NSWindowTemplate
{
BOOL _visibleAtLaunch;
NSToolbar *_toolbar;
}
@end
@interface NSCustomObject5 : NSCustomObject
{
NSString *_userLabel;
}
- (NSString*) userLabel;
@end
@interface IBActionConnection5 : IBActionConnection
{
NSString *trigger;
}
@end
@interface IBOutletConnection5 : IBOutletConnection
@end
@interface IBUserDefinedRuntimeAttribute5 : IBUserDefinedRuntimeAttribute
@end

View file

@ -584,6 +584,7 @@ GSWindowDecorationView.h \
GSXibElement.h \
GSXibLoading.h \
GSXibKeyedUnarchiver.h \
GSXib5KeyedUnarchiver.h \
GSXibObjectContainer.h \
GSHelpAttachment.h

View file

@ -28,10 +28,7 @@
Boston, MA 02110-1301, USA.
*/
#import "GSXib5KeyedUnarchiver.h"
#import "GNUstepGUI/GSNibLoading.h"
#import "GNUstepGUI/GSXibLoading.h"
#import "GNUstepGUI/GSXibElement.h"
#import "GNUstepGUI/GSXib5KeyedUnarchiver.h"
#import "AppKit/NSApplication.h"
#import "AppKit/NSBox.h"
@ -63,14 +60,6 @@
#define DEBUG_XIB5 0
@interface NSCustomObject5 : NSCustomObject
{
NSString *_userLabel;
}
- (NSString*) userLabel;
@end
@implementation NSCustomObject5
static NSString *ApplicationClass = nil;
@ -111,12 +100,9 @@ static NSString *ApplicationClass = nil;
return _userLabel;
}
@end
@interface NSWindowTemplate5 : NSWindowTemplate
- (NSString *) description
{
BOOL _visibleAtLaunch;
NSToolbar *_toolbar;
return [[super description] stringByAppendingFormat: @"%@ - %@", _userLabel, _className];
}
@end
@ -166,12 +152,6 @@ static NSString *ApplicationClass = nil;
@end
@interface IBActionConnection5 : IBActionConnection
{
NSString *trigger;
}
@end
@implementation IBActionConnection5
- (instancetype) initWithCoder: (NSCoder *)coder
@ -250,9 +230,6 @@ static NSString *ApplicationClass = nil;
@end
@interface IBOutletConnection5 : IBOutletConnection
@end
@implementation IBOutletConnection5
- (instancetype) initWithCoder: (NSCoder *)coder
@ -279,10 +256,6 @@ static NSString *ApplicationClass = nil;
@end
@interface IBUserDefinedRuntimeAttribute5 : IBUserDefinedRuntimeAttribute
@end
@implementation IBUserDefinedRuntimeAttribute5
- (id) initWithCoder: (NSCoder *)coder
@ -640,7 +613,7 @@ static NSArray *XmlBoolDefaultYes = nil;
if (parentId == nil)
{
NSLog(@"Missing parent Id for connection on parent @%", parent);
NSLog(@"Missing parent Id for connection on parent %@", parent);
// Fake an id for parent
parentId = [[NSUUID UUID] UUIDString];
[parent setAttribute: parentId forKey: @"id"];

View file

@ -44,7 +44,7 @@
#import "GNUstepGUI/GSNibLoading.h"
#import "GNUstepGUI/GSXibLoading.h"
#import "GNUstepGUI/GSXibKeyedUnarchiver.h"
#import "GSXib5KeyedUnarchiver.h"
#import "GNUstepGUI/GSXib5KeyedUnarchiver.h"
@interface NSApplication (NibCompatibility)
- (void) _setMainMenu: (NSMenu*)aMenu;