Add Alien Blue support

This commit is contained in:
lint
2019-12-02 01:41:43 -05:00
parent ab771d8317
commit 2ce6b7f3f8
23 changed files with 4853 additions and 7 deletions

60
tweak/AlienBlue.h Normal file
View File

@ -0,0 +1,60 @@
/* -- Voteable Interfaces -- */
@interface VoteableElement
@property(strong, nonatomic) NSString *ident;
@property(strong, nonatomic) NSString *author;
@end
@interface Comment : VoteableElement
@property(strong, nonatomic) NSString *body;
@property(strong, nonatomic) NSString *bodyHTML;
@end
@interface Post : VoteableElement
@property(strong, nonatomic) NSString *selftext;
@property(strong, nonatomic) NSString *selftextHtml;
@property(assign, nonatomic) BOOL selfPost;
@end
/* -- UI Interfaces -- */
@interface NCommentCell
@property(strong, nonatomic) Comment *comment;
@end
@interface NCommentPostHeaderCell
@property(strong, nonatomic) Post *post;
@property(strong, nonatomic) id node;
@end
@interface CommentsViewController
-(void) respondToStyleChange;
@end
@interface CommentPostHeaderNode
@property(strong, nonatomic) Comment *comment;
@property(strong, nonatomic) Post *post;
@end
@interface CommentOptionsDrawerView
@property(strong, nonatomic) NSMutableArray *buttons;
@property(assign, nonatomic) BOOL isPostHeader;
@property(strong, nonatomic) id delegate;
-(void) addButton:(id) arg1;
//custom elements
@property(strong, nonatomic) Comment *comment;
@property(strong, nonatomic) Post *post;
@property(strong, nonatomic) CommentPostHeaderNode *commentNode;
@end
/* -- Other Interfaces -- */
@interface MarkupEngine
+(id) markDownHTML:(id) arg1 forSubreddit:(id) arg2;
@end
@interface Resources
+(BOOL) isNight;
@end