1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
// Released under the terms of LGPLv2.1, please see COPYING.LIB
#import <Foundation/NSObject.h>
#import <GNUstepBase/NSObject+GNUstepBase.h>
#import "GSXCGenerator.h"
#import "GSXCCommon.h"
#import "PBXTarget.h"
@implementation GSXCGenerator
- (instancetype) initWithTarget: (PBXTarget *)target
{
self = [super init];
if (self != nil)
{
[self setTarget: target];
}
return self;
}
- (void) dealloc
{
RELEASE(_target);
[super dealloc];
}
- (void) setTarget: (PBXTarget *)target
{
ASSIGN(_target, target);
}
- (PBXTarget *) target
{
return _target;
}
- (BOOL) generate
{
return ([self notImplemented: _cmd] != nil);
}
@end
|