| 1 |
/* |
| 2 |
Copyright (C) 2018, 2019, 2020, 2021 Free Software Foundation, Inc. |
| 3 |
|
| 4 |
Written by: Gregory John Casamento <[email protected]> |
| 5 |
Date: 2022 |
| 6 |
|
| 7 |
This file is part of the GNUstep XCode Library |
| 8 |
|
| 9 |
This library is free software; you can redistribute it and/or |
| 10 |
modify it under the terms of the GNU Lesser General Public |
| 11 |
License as published by the Free Software Foundation; either |
| 12 |
version 2 of the License, or (at your option) any later version. |
| 13 |
|
| 14 |
This library is distributed in the hope that it will be useful, |
| 15 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 |
Lesser General Public License for more details. |
| 18 |
|
| 19 |
You should have received a copy of the GNU Lesser General Public |
| 20 |
License along with this library; if not, write to the Free |
| 21 |
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 22 |
Boston, MA 02110 USA. |
| 23 |
*/ |
| 24 |
|
| 25 |
#import "PBXCommon.h" |
| 26 |
#import "PBXReferenceProxy.h" |
| 27 |
|
| 28 |
@implementation PBXReferenceProxy |
| 29 |
|
| 30 |
- (void) dealloc |
| 31 |
{ |
| 32 |
RELEASE(sourceTree); |
| 33 |
RELEASE(fileType); |
| 34 |
RELEASE(remoteRef); |
| 35 |
RELEASE(path); |
| 36 |
|
| 37 |
[super dealloc]; |
| 38 |
} |
| 39 |
|
| 40 |
// Methods.... |
| 41 |
- (NSString *) sourceTree // getter |
| 42 |
{ |
| 43 |
return sourceTree; |
| 44 |
} |
| 45 |
|
| 46 |
- (void) setSourceTree: (NSString *)object; // setter |
| 47 |
{ |
| 48 |
ASSIGN(sourceTree,object); |
| 49 |
} |
| 50 |
|
| 51 |
- (NSString *) fileType // getter |
| 52 |
{ |
| 53 |
return fileType; |
| 54 |
} |
| 55 |
|
| 56 |
- (void) setFileType: (NSString *)object; // setter |
| 57 |
{ |
| 58 |
ASSIGN(fileType,object); |
| 59 |
} |
| 60 |
|
| 61 |
- (PBXContainerItemProxy *) remoteRef // getter |
| 62 |
{ |
| 63 |
return remoteRef; |
| 64 |
} |
| 65 |
|
| 66 |
- (void) setRemoteRef: (PBXContainerItemProxy *)object; // setter |
| 67 |
{ |
| 68 |
ASSIGN(remoteRef,object); |
| 69 |
} |
| 70 |
|
| 71 |
- (NSString *) path // getter |
| 72 |
{ |
| 73 |
return path; |
| 74 |
} |
| 75 |
|
| 76 |
- (void) setPath: (NSString *)object; // setter |
| 77 |
{ |
| 78 |
ASSIGN(path,object); |
| 79 |
} |
| 80 |
|
| 81 |
|
| 82 |
@end |