Debian Codegraph @

XCode/PBXFileReference.h

raw symbols SCIP
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 #ifndef __PBXFileReference_h_GNUSTEP_INCLUDE
26 #define __PBXFileReference_h_GNUSTEP_INCLUDE
27
28 #import <Foundation/Foundation.h>
29
30 // Local includes
31 #import "PBXCoder.h"
32
33 @class PBXNativeTarget;
34
35 @interface PBXFileReference : NSObject
36 {
37 NSString *_sourceTree;
38 NSString *_lastKnownFileType;
39 NSString *_path;
40 NSString *_fileEncoding;
41 NSString *_explicitFileType;
42 NSString *_usesTabs;
43 NSString *_indentWidth;
44 NSString *_tabWidth;
45 NSString *_name;
46 NSString *_includeInIndex;
47 NSString *_comments;
48 NSString *_plistStructureDefinitionIdentifier;
49 NSString *_xcLanguageSpecificationIdentifier;
50 NSString *_lineEnding;
51 NSString *_wrapsLines;
52 PBXNativeTarget *_target;
53
54 NSUInteger _totalFiles;
55 NSUInteger _currentFile;
56 }
57
58 + (NSString *) fileTypeFromPath: (NSString *)path;
59 + (NSString *) extForFileType: (NSString *)type;
60 - (instancetype) initWithPath: (NSString *)path;
61
62 - (void) setTotalFiles: (NSUInteger)t;
63 - (void) setCurrentFile: (NSUInteger)n;
64
65 - (NSString *) sourceTree; // getter
66 - (void) setSourceTree: (NSString *)object; // setter
67 - (NSString *) lastKnownFileType; // getter
68 - (void) setLastKnownFileType: (NSString *)object; // setter
69 - (NSString *) path; // getter
70 - (void) setPath: (NSString *)object; // setter
71 - (NSString *) fileEncoding; // getter
72 - (void) setFileEncoding: (NSString *)object; // setter
73 - (NSString *) explicitFileType;
74 - (void) setExplicitFileType: (NSString *)object;
75 - (NSString *) name;
76 - (void) setName: (NSString *)object;
77 - (void) setPlistStructureDefinitionIdentifier: (NSString *)object;
78 - (NSString *) xcLanguageSpecificationIdentifier;
79 - (void) setXcLanguageSpecificationIdentifier: (NSString *)object;
80 - (NSString *) lineEnding;
81 - (void) setLineEnding: (NSString *)object;
82 - (void) setTarget: (PBXNativeTarget *)t;
83 - (void) setWrapsLines: (NSString *)o;
84 - (NSString *) includeInIndex;
85 - (void) setIncludeInIndex: (NSString *)includeInIndex;
86 - (NSString *) productName;
87
88 // Build methods...
89 - (NSString *) buildPath;
90 - (BOOL) build;
91 - (BOOL) generate;
92
93 @end
94
95 #endif