| 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/NSObject.h> |
| 26 | |
| 27 | @class NSString; |
| 28 | |
| 29 | @interface XCFileRef : NSObject |
| 30 | { |
| 31 | NSString *_location; |
| 32 | NSString *_workspaceLink; |
| 33 | NSString *_workspaceIncludes; |
| 34 | NSString *_workspaceLibs; |
| 35 | } |
| 36 | |
| 37 | + (instancetype) fileRef; |
| 38 | |
| 39 | - (NSString *) workspaceIncludes; |
| 40 | - (void) setWorkspaceIncludes: (NSString *)wsInc; |
| 41 | - (NSString *) workspaceLink; |
| 42 | - (void) setWorkspaceLink: (NSString *)wsLink; |
| 43 | - (NSString *) workspaceLibs; |
| 44 | - (void) setWorkspaceLibs: (NSString *)wsLibs; |
| 45 | - (NSString *) location; |
| 46 | - (void) setLocation: (NSString *)loc; |
| 47 | - (NSArray *) targets; |
| 48 | |
| 49 | - (BOOL) build; |
| 50 | - (BOOL) clean; |
| 51 | - (BOOL) install; |
| 52 | - (BOOL) link; |
| 53 | |
| 54 | @end |