diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/cmt_insert.m')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/cmt_insert.m | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/cmt_insert.m b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/cmt_insert.m new file mode 100644 index 00000000..58a4c894 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/cmt_insert.m @@ -0,0 +1,53 @@ +@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 nil; +} + +- (BOOL) isAvailable { +return YES; +} + +- (NSArray<NSString*>*) contents { +return @[]; +} + +- (void) setContents:(NSArray<NSString*>*) inContents { +} + +- (void) updateContents:(NSArray<NSString*>*) inContents andRefresh:(BOOL) inRefresh { +} + +@end + +@interface cmt_insert_with_protocol (spacingProtocol) +@end + +@implementation cmt_insert_with_protocol (spacingProtocol) + +- (NSInteger) spacing { +return 0; +} + +- (void) setSpacing:(NSInteger) inSpacing { +} + +@end |