RecentsDataSource: Remove InviteRecentTableViewCell dependency

This commit is contained in:
giomfo
2016-04-28 16:26:37 +02:00
parent 1b2b5ab475
commit 32b61335fc
11 changed files with 97 additions and 92 deletions
@@ -18,6 +18,25 @@
#import "RecentTableViewCell.h"
/**
Action identifier used when the user pressed 'preview' button displayed on room invitation.
The `userInfo` dictionary contains an `MXRoom` object under the `kInviteRecentTableViewCellRoomKey` key, representing the room of the invitation.
*/
extern NSString *const kInviteRecentTableViewCellPreviewButtonPressed;
/**
Action identifier used when the user pressed 'decline' button displayed on room invitation.
The `userInfo` dictionary contains an `MXRoom` object under the `kInviteRecentTableViewCellRoomKey` key, representing the room of the invitation.
*/
extern NSString *const kInviteRecentTableViewCellDeclineButtonPressed;
/**
Notifications `userInfo` keys
*/
extern NSString *const kInviteRecentTableViewCellRoomKey;
/**
`InviteRecentTableViewCell` instances display an invite to a room in the context of the recents list.
*/
@@ -26,14 +45,4 @@
@property (weak, nonatomic) IBOutlet UIButton *leftButton;
@property (weak, nonatomic) IBOutlet UIButton *rightButton;
/**
The user tap on the reject button
*/
@property (nonatomic, copy) void (^onRejectClick)();
/**
The user tap on the join button
*/
@property (nonatomic, copy) void (^onJoinClick)();
@end