| 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 <Foundation/Foundation.h> |
| 26 | |
| 27 | // Local includes |
| 28 | #import "PBXCoder.h" |
| 29 | #import "PBXFileReference.h" |
| 30 | |
| 31 | @class PBXNativeTarget; |
| 32 | |
| 33 | @interface PBXBuildFile : NSObject |
| 34 | { |
| 35 | PBXFileReference *_fileRef; |
| 36 | NSMutableDictionary *_settings; |
| 37 | PBXNativeTarget *_target; |
| 38 | NSString *_platformFilter; |
| 39 | |
| 40 | NSUInteger _totalFiles; |
| 41 | NSUInteger _currentFile; |
| 42 | } |
| 43 | |
| 44 | // Methods.... |
| 45 | - (PBXFileReference *) fileRef; // getter |
| 46 | - (void) setFileRef: (PBXFileReference *)object; // setter |
| 47 | - (NSMutableDictionary *) settings; // getter |
| 48 | - (void) setSettings: (NSMutableDictionary *)object; // setter |
| 49 | - (void) setPlatformFilter: (NSString *)f; |
| 50 | - (void) setTarget: (PBXNativeTarget *)t; |
| 51 | |
| 52 | - (void) setTotalFiles: (NSUInteger)t; |
| 53 | - (void) setCurrentFile: (NSUInteger)n; |
| 54 | |
| 55 | - (NSString *) path; |
| 56 | - (NSString *) buildPath; |
| 57 | - (BOOL) build; |
| 58 | - (BOOL) generate; |
| 59 | |
| 60 | @end |