props-on-prots.m
1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
typedef signed char BOOL;
@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
@protocol NSObject
- (BOOL) isEqual:(id) object;
@end
@protocol NSCoding
- (void) encodeWithCoder:(NSCoder *) aCoder;
@end
@interface NSObject < NSObject > {} @end
typedef float CGFloat;
@interface NSResponder:NSObject < NSCoding > {} @end
@class XCElementView;
typedef struct _XCElementInset {} XCElementInset;
@protocol XCElementP < NSObject >
-(id) vertical;
@end
@protocol XCElementDisplayDelegateP;
@protocol XCElementTabMarkerP;
typedef NSObject < XCElementTabMarkerP > XCElementTabMarker;
@protocol XCElementTabberP < XCElementP >
-(void) setMarker:(XCElementTabMarker *) marker;
@end
typedef NSObject < XCElementTabberP > XCElementTabber;
@protocol XCElementTabMarkerP < NSObject >
@property(nonatomic)
BOOL variableSized;
@end
@protocol XCElementJustifierP < XCElementP >
-(void) setHJustification:(CGFloat) hJust;
@end
typedef NSObject < XCElementJustifierP > XCElementJustifier;
@interface XCElementImp:NSObject < XCElementP > {}
@end
@class XCElementImp;
@interface XCElementTabberImp:XCElementImp < XCElementTabberP > {
XCElementTabMarker *_marker;
}
@end
@implementation XCElementTabberImp
- (void) setMarker:(XCElementTabMarker *) marker {
if (_marker && _marker.variableSized) {
}
}
- (id)vertical { return self; }
- (BOOL)isEqual:x { return 1; }
@end