| 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 "PBXBuildRule.h" |
| 27 |
|
| 28 |
@implementation PBXBuildRule |
| 29 |
|
| 30 |
- (void) dealloc |
| 31 |
{ |
| 32 |
RELEASE(_fileType); |
| 33 |
RELEASE(_isEditable); |
| 34 |
RELEASE(_outputFiles); |
| 35 |
RELEASE(_compilerSpec); |
| 36 |
RELEASE(_script); |
| 37 |
RELEASE(_inputFiles); |
| 38 |
|
| 39 |
[super dealloc]; |
| 40 |
} |
| 41 |
|
| 42 |
// Methods.... |
| 43 |
- (NSString *) fileType // getter |
| 44 |
{ |
| 45 |
return _fileType; |
| 46 |
} |
| 47 |
|
| 48 |
- (void) setFileType: (NSString *)object; // setter |
| 49 |
{ |
| 50 |
ASSIGN(_fileType,object); |
| 51 |
} |
| 52 |
|
| 53 |
- (NSString *) isEditable // getter |
| 54 |
{ |
| 55 |
return _isEditable; |
| 56 |
} |
| 57 |
|
| 58 |
- (void) setIsEditable: (NSString *)object; // setter |
| 59 |
{ |
| 60 |
ASSIGN(_isEditable,object); |
| 61 |
} |
| 62 |
|
| 63 |
- (NSMutableArray *) outputFiles // getter |
| 64 |
{ |
| 65 |
return _outputFiles; |
| 66 |
} |
| 67 |
|
| 68 |
- (void) setOutputFiles: (NSMutableArray *)object; // setter |
| 69 |
{ |
| 70 |
ASSIGN(_outputFiles,object); |
| 71 |
} |
| 72 |
|
| 73 |
|
| 74 |
- (NSMutableArray *) inputFiles // getter |
| 75 |
{ |
| 76 |
return _inputFiles; |
| 77 |
} |
| 78 |
|
| 79 |
- (void) setInputFiles: (NSMutableArray *)object; // setter |
| 80 |
{ |
| 81 |
ASSIGN(_inputFiles,object); |
| 82 |
} |
| 83 |
|
| 84 |
- (NSString *) compilerSpec // getter |
| 85 |
{ |
| 86 |
return _compilerSpec; |
| 87 |
} |
| 88 |
|
| 89 |
- (void) setCompilerSpec: (NSString *)object; // setter |
| 90 |
{ |
| 91 |
ASSIGN(_compilerSpec,object); |
| 92 |
} |
| 93 |
|
| 94 |
- (NSString *) script // getter |
| 95 |
{ |
| 96 |
return _compilerSpec; |
| 97 |
} |
| 98 |
|
| 99 |
- (void) setScript: (NSString *)object; // setter |
| 100 |
{ |
| 101 |
ASSIGN(_script,object); |
| 102 |
} |
| 103 |
|
| 104 |
- (NSString *) filePatterns // getter |
| 105 |
{ |
| 106 |
return _filePatterns; |
| 107 |
} |
| 108 |
|
| 109 |
- (void) setFilePatterns: (NSString *)object; // setter |
| 110 |
{ |
| 111 |
ASSIGN(_filePatterns,object); |
| 112 |
} |
| 113 |
|
| 114 |
@end |