Debian Codegraph @

XCode/GSXCGenerator.m

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