You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

198 lines
5.0KB

  1. /* ---- Reddit v3 & v4 ---- */
  2. /* -- Comment Interfaces -- */
  3. @interface Comment
  4. //v4
  5. @property(strong,nonatomic) id pk;
  6. @property(strong, nonatomic) NSString *bodyText;
  7. @property(strong, nonatomic) NSString *author;
  8. @property(strong, nonatomic) id bodyRichTextAttributed;
  9. @property(strong, nonatomic) id bodyAttributedText;
  10. //v3
  11. -(id)pkWithoutPrefix;
  12. @end
  13. @interface CommentsViewController : NSObject
  14. -(void) reloadCommentsWithNewCommentsHighlight:(BOOL) arg1 autoScroll:(BOOL) arg2 animated:(BOOL) arg3;
  15. -(void) reloadCommentsSection:(BOOL) arg1;
  16. -(void) reloadPostSection:(BOOL) arg1;
  17. -(void) feedPostViewDidUpdatePost:(id) arg1 shouldReloadFeed:(BOOL) arg2;
  18. -(void) updateFloatingViews;
  19. @end
  20. @interface CommentActionSheetViewController : UIViewController
  21. @property(strong,nonatomic) Comment *comment;
  22. @property(strong,nonatomic) id commentTreeNode;
  23. @property(strong,nonatomic) CommentsViewController *commentActionSheetDelegate;
  24. -(id)animationControllerForDismissedController:(id) arg1;
  25. @end
  26. /* ---- Reddit v4 ---- */
  27. /* -- Comment Interfaces -- */
  28. @interface CommentTreeNode
  29. @property(strong,nonatomic) Comment *comment;
  30. //custom elements
  31. @property(strong,nonatomic) id commentTreeHeaderNode;
  32. @property(strong,nonatomic) id commentTreeCommandBarNode;
  33. @end
  34. @interface CommentTreeDisplayNode
  35. @property(strong,nonatomic) id commentNode;
  36. @end
  37. @interface CommentTreeHeaderNode
  38. @property(strong,nonatomic) id commentTreeNode;
  39. -(void) updateContentViewsForData:(id)arg1;
  40. @end
  41. @interface CommentTreeCommandBarNode
  42. @property(strong,nonatomic) id commentTreeNode;
  43. @property(strong,nonatomic) id delegate;
  44. @property(strong,nonatomic) UIView* view;
  45. @property(strong,nonatomic) id overflowButtonNode;
  46. @property(assign,nonatomic) CGRect frame;
  47. @end
  48. @interface CommentTreeHeaderView
  49. @property(strong,nonatomic) id commentTreeNode;
  50. -(void) updateContentViewsForData:(id) arg1;
  51. @end
  52. /* -- Post Interfaces -- */
  53. @interface Post
  54. @property(strong,nonatomic) NSString *author;
  55. @property(strong,nonatomic) NSString *selfText;
  56. @property(strong,nonatomic) id selfTextAttributed;
  57. @property(strong,nonatomic) id selfPostRichTextAttributed;
  58. @property(strong,nonatomic) id previewFeedPostTextString;
  59. @property(assign,nonatomic) BOOL isSelfPost;
  60. @property(strong,nonatomic) NSString *pk;
  61. @end
  62. @interface PostDetailViewController
  63. @property(strong,nonatomic) id selfTextNode;
  64. -(void) configureSelfTextNode;
  65. //custom elements
  66. @property(strong,nonatomic) id feedPostTextWithThumbnailNode;
  67. @property(strong,nonatomic) id feedPostDetailCellNode;
  68. @end
  69. @interface PostActionSheetViewController : UIViewController
  70. @property(strong,nonatomic) Post *post;
  71. @property(strong,nonatomic) id postActionSheetDelegate;
  72. @end
  73. @interface PostDetailNavigationItemHandler
  74. @property(strong,nonatomic) id controller;
  75. @property(strong,nonatomic) id presenter;
  76. @end
  77. @interface FeedPostDetailCellNode
  78. @property(strong,nonatomic) id textNode;
  79. @property(strong,nonatomic) id delegate;
  80. @property(strong,nonatomic) id contentNode;
  81. @property(strong,nonatomic) id titleNode;
  82. @end
  83. @interface FeedPostTitleNode
  84. @property(strong,nonatomic) id delegate;
  85. -(void) configureNodes;
  86. @end
  87. @interface FeedPostDetailDelegator
  88. @property(strong,nonatomic) id viewController;
  89. @end
  90. @interface FeedPostContentNode
  91. -(void) configureSelfTextNode;
  92. @end
  93. /* -- Other Interfaces -- */
  94. @interface RichTextDisplayNode
  95. @property(strong,nonatomic) id attributedText;
  96. @end
  97. @interface RUIActionSheetItem : NSObject
  98. @property(strong,nonatomic) id leftIconImage;
  99. -(id) initWithLeftIconImage:(id) arg1 text:(id) arg2 identifier:(id) arg3 context:(id) arg4;
  100. @end
  101. @interface RUITheme
  102. @property(strong,nonatomic) id bodyTextColor;
  103. @end
  104. @interface NSAttributedStringMarkdownParser
  105. +(id) currentConfig;
  106. +(id) attributedStringUsingCurrentConfig:(id) arg1;
  107. -(id) attributedStringFromMarkdownString:(id) arg1;
  108. -(id) initWithConfig:(id) arg1;
  109. @end
  110. @interface ThemeManager
  111. +(id) sharedManager;
  112. // >= 4.45.0
  113. @property(strong,nonatomic) id darkTheme;
  114. @property(strong,nonatomic) id lightTheme;
  115. -(id) initWithAppSettings:(id) arg1;
  116. // < 4.45.0
  117. @property(strong,nonatomic) id dayTheme;
  118. @property(strong,nonatomic) id nightTheme;
  119. -(id) initWithTraitCollection:(id) arg1 appSettings:(id) arg2;
  120. @end
  121. @interface AppSettings
  122. +(id) sharedSettings;
  123. @end
  124. @interface AccountManager
  125. @property(assign,nonatomic) id defaults;
  126. +(id) sharedManager;
  127. @end
  128. /* ---- Reddit v3 ---- */
  129. /* -- Comment Interfaces -- */
  130. @interface CommentCell : UIView
  131. -(id) delegate;
  132. -(id) comment;
  133. -(id) commentView;
  134. @end
  135. @interface CommentView
  136. -(void) configureSubviews;
  137. -(void) layoutSubviews;
  138. -(id) commandView;
  139. -(id) comment;
  140. -(id) delegate;
  141. @end
  142. @interface CommentCommandView
  143. @property (strong, nonatomic) id undeleteButton;
  144. -(id)overflowButton;
  145. -(id) comment;
  146. -(id) delegate;
  147. @end
  148. /* -- Other Interfaces -- */
  149. @interface MarkDownParser
  150. +(id)attributedStringFromMarkdownString:(id)arg1;
  151. @end