summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/oc/50700-cmt_insert.m
blob: ec94c42bb3dad7ba394172ea61f676b43c6703ec (plain)
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/**
 * @file cmt_insert.m
 * Description
 *
 * $Id$
 */
@protocol spacingProtocol

@property NSInteger spacing;

@end

@interface cmt_insert

+ (cmt_insert*) shareInstance;

@property (readonly) BOOL isAvailable;

@property (copy) NSArray<NSString*>* contents;

- (void) updateContents:(NSArray<NSString*>*) inContents andRefresh:(BOOL) inRefresh;

@end

@implementation cmt_insert

/**
 * +[cmt_insert sharedInstance]
 *
 * @return TODO
 */
+ (cmt_insert*) sharedInstance {
	return nil;
}

/**
 * -[cmt_insert isAvailable]
 *
 * @return TODO
 */
- (BOOL) isAvailable {
	return YES;
}

/**
 * -[cmt_insert contents]
 *
 * @return TODO
 */
- (NSArray<NSString*>*) contents {
	return @[];
}

/**
 * -[cmt_insert setContents:]
 *
 * @param inContents TODO
 */
- (void) setContents:(NSArray<NSString*>*) inContents {
}

/**
 * -[cmt_insert updateContents:andRefresh:]
 *
 * @param inContents TODO
 * @param inRefresh TODO
 */
- (void) updateContents:(NSArray<NSString*>*) inContents andRefresh:(BOOL) inRefresh {
}

@end

@interface cmt_insert_with_protocol (spacingProtocol)
@end

@implementation cmt_insert_with_protocol (spacingProtocol)

/**
 * -[cmt_insert_with_protocol(spacingProtocol) spacing]
 *
 * @return TODO
 */
- (NSInteger) spacing {
	return 0;
}

/**
 * -[cmt_insert_with_protocol(spacingProtocol) setSpacing:]
 *
 * @param inSpacing TODO
 */
- (void) setSpacing:(NSInteger) inSpacing {
}

@end