| 1 | /* Definition of class GSXCBuildTask |
| 2 | Copyright (C) 2022 Free Software Foundation, Inc. |
| 3 | |
| 4 | By: Gregory John Casamento |
| 5 | Date: 24-01-2022 |
| 6 | |
| 7 | This file is part of GNUstep. |
| 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.1 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 | #ifndef _GSXCBuildTask_h_INCLUDE |
| 26 | #define _GSXCBuildTask_h_INCLUDE |
| 27 | |
| 28 | #import <Foundation/NSOperation.h> |
| 29 | #import "GSXCCommon.h" |
| 30 | |
| 31 | @class PBXBuildFile; |
| 32 | |
| 33 | #if defined(__cplusplus) |
| 34 | extern "C" { |
| 35 | #endif |
| 36 | |
| 37 | @interface GSXCBuildOperation : NSOperation |
| 38 | { |
| 39 | PBXBuildFile *_file; |
| 40 | } |
| 41 | |
| 42 | + (instancetype) operationWithFile: (PBXBuildFile *)file; |
| 43 | |
| 44 | - (instancetype) initWithFile: (PBXBuildFile *)file; |
| 45 | - (PBXBuildFile *) file; |
| 46 | - (void) setFile: (PBXBuildFile *)file; |
| 47 | |
| 48 | @end |
| 49 | |
| 50 | #if defined(__cplusplus) |
| 51 | } |
| 52 | #endif |
| 53 | |
| 54 | #endif /* _GSXCBuildTask_h_INCLUDE */ |
| 55 |