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.

62 lines
1.6KB

  1. #import <UIKit/UIKit.h>
  2. /* -- Votable Interfaces -- */
  3. @interface BRVotable
  4. @property(strong, nonatomic) NSString *serverID;
  5. @property(strong, nonatomic) NSAttributedString *attributedDescriptionString;
  6. @property(assign, nonatomic) CGSize cellSize;
  7. @end
  8. @interface BRComment : BRVotable
  9. @property(strong, nonatomic) NSString *author;
  10. @property(strong, nonatomic) NSString *body;
  11. @property(strong, nonatomic) NSString *body_html;
  12. @end
  13. @interface BRStory : BRVotable
  14. @property(strong, nonatomic) NSString *author;
  15. @property(strong, nonatomic) NSString *selftext;
  16. @property(strong, nonatomic) NSString *selftext_html;
  17. @property(assign, nonatomic) BOOL is_selfValue;
  18. @end
  19. /* -- Comment Interfaces -- */
  20. @interface CommentCell
  21. @property(strong, nonatomic) id cellView;
  22. @end
  23. @interface CommentCellView
  24. @property(strong, nonatomic) id comment;
  25. @property(strong, nonatomic) id parentDelegate;
  26. @end
  27. @interface BRComposeCommentViewController : NSObject
  28. @property(assign, nonatomic) BOOL editComment;
  29. @end
  30. /* -- Post Interfaces -- */
  31. @interface StoryDetailView
  32. @property(strong, nonatomic) UITableView *tableView;
  33. - (void)refreshTouched;
  34. @end
  35. @interface StoryDetailViewController
  36. @property(strong, nonatomic) id story;
  37. @property(strong, nonatomic) id detailPage;
  38. //custom elements
  39. - (void)handleUndeleteCommentAction;
  40. - (void)handleUndeletePostAction;
  41. @end
  42. /* -- Other Interfaces -- */
  43. @interface BRUtils
  44. + (id)attributedDescriptionForComment:(id)arg1;
  45. + (id)createAttributedStringFromHTML:(id)arg1 options:(id)arg2;
  46. @end