| 1 |
#ifndef SOMEKIT_H |
| 2 |
#define SOMEKIT_H |
| 3 |
|
| 4 |
#define ROOT_CLASS __attribute__((objc_root_class)) |
| 5 |
|
| 6 |
ROOT_CLASS |
| 7 |
@interface A |
| 8 |
-(A*)transform:(A*)input; |
| 9 |
-(A*)transform:(A*)input integer:(int)integer; |
| 10 |
|
| 11 |
@property (nonatomic, readonly, retain) A* someA; |
| 12 |
@property (nonatomic, retain) A* someOtherA; |
| 13 |
|
| 14 |
@property (nonatomic) int intValue; |
| 15 |
@end |
| 16 |
|
| 17 |
@interface B : A |
| 18 |
@end |
| 19 |
|
| 20 |
@interface C : A |
| 21 |
- (instancetype)init; |
| 22 |
- (instancetype)initWithA:(A*)a; |
| 23 |
@end |
| 24 |
|
| 25 |
|
| 26 |
@interface MyClass : A |
| 27 |
- Inst; |
| 28 |
+ Clas; |
| 29 |
@end |
| 30 |
|
| 31 |
struct CGRect { |
| 32 |
float origin; |
| 33 |
float size; |
| 34 |
}; |
| 35 |
typedef struct CGRect NSRect; |
| 36 |
|
| 37 |
@interface I |
| 38 |
- (void) Meth : (NSRect[4])exposedRects; |
| 39 |
- (void) Meth1 : (const I*)exposedRects; |
| 40 |
- (void) Meth2 : (const I*)exposedRects; |
| 41 |
- (void) Meth3 : (I*)exposedRects; |
| 42 |
- (const I*) Meth4; |
| 43 |
- (const I*) Meth5 : (int) Arg1 : (const I*)Arg2 : (double)Arg3 : (const I*) Arg4 :(const volatile id) Arg5; |
| 44 |
- (volatile const I*) Meth6 : (const char *)Arg1 : (const char *)Arg2 : (double)Arg3 : (const I*) Arg4 :(const volatile id) Arg5; |
| 45 |
@end |
| 46 |
|
| 47 |
@class NSURL, NSArray, NSError; |
| 48 |
@interface INTF_BLOCKS |
| 49 |
+ (void)getNonLocalVersionsOfItemAtURL:(NSURL *)url completionHandler:(void (^)(NSArray *nonLocalFileVersions, NSError *error))completionHandler; |
| 50 |
+ (void *)getNonLocalVersionsOfItemAtURL2:(NSURL *)url completionHandler:(void (^)(NSArray *nonLocalFileVersions, NSError *error))completionHandler; |
| 51 |
+ (NSError **)getNonLocalVersionsOfItemAtURL3:(int)url completionHandler:(void (^)(NSArray *nonLocalFileVersions, NSError *error))completionHandler; |
| 52 |
+ (id)getNonLocalVersionsOfItemAtURL4:(NSURL *)url completionHandler:(void (^)(int nonLocalFileVersions, NSError *error, NSURL*))completionHandler; |
| 53 |
@end |
| 54 |
|
| 55 |
#endif |