Debian Codegraph @

XCode/PBXCoder.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 #import <Foundation/Foundation.h>
26
27 @class XCAbstractDelegate;
28
29 @interface PBXCoder : NSObject
30 {
31 // Objects...
32 NSString *_fileName;
33 NSString *_projectRoot;
34 NSMutableDictionary *_dictionary;
35 NSMutableDictionary *_objects;
36 NSMutableDictionary *_objectCache;
37 NSMutableDictionary *_parents;
38
39 XCAbstractDelegate *_delegate;
40
41 // Archiving...
42 id _rootObject;
43 }
44
45 // Unarchiving...
46 + (instancetype) unarchiveWithProjectFile: (NSString *)name;
47
48 - (instancetype) initWithProjectFile: (NSString *)name;
49
50 - (instancetype) initWithContentsOfFile: (NSString *)name;
51
52 - (id) unarchive;
53
54 - (id) unarchiveObjectForKey: (NSString *)key;
55
56 - (id) unarchiveFromDictionary: (NSDictionary *)dictionary;
57
58 - (NSMutableArray *) resolveArrayMembers: (NSMutableArray *)array;
59
60 - (id) applyKeysAndValuesFromDictionary: (NSDictionary *)dictionary
61 toObject: (id)object;
62 - (NSString *) projectRoot;
63
64 // Delegate
65 - (XCAbstractDelegate *) delegate;
66
67 - (void) setDelegate: (XCAbstractDelegate *)delegate;
68
69 // Archiving...
70 + (instancetype) archiveWithRootObject: (id)obj;
71
72 - (instancetype) initWithRootObject: (id)obj;
73
74 - (id) archive;
75
76 @end