2020-10-14 17:18:58 +03:00
|
|
|
/**
|
|
|
|
* @copyright Copyright (c) 2020 Ivan Sein <ivan@nextcloud.com>
|
|
|
|
*
|
|
|
|
* @author Ivan Sein <ivan@nextcloud.com>
|
|
|
|
*
|
|
|
|
* @license GNU GPL version 3 or any later version
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*/
|
2018-06-04 16:13:23 +03:00
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
2020-04-08 17:25:30 +03:00
|
|
|
static CGFloat kChatCellStatusViewHeight = 20.0;
|
|
|
|
|
|
|
|
typedef enum ChatMessageDeliveryState {
|
|
|
|
ChatMessageDeliveryStateSent = 0,
|
2020-12-22 13:23:15 +03:00
|
|
|
ChatMessageDeliveryStateRead,
|
2020-04-15 19:32:55 +03:00
|
|
|
ChatMessageDeliveryStateSending,
|
|
|
|
ChatMessageDeliveryStateFailed
|
2020-04-08 17:25:30 +03:00
|
|
|
} ChatMessageDeliveryState;
|
|
|
|
|
2018-06-04 16:13:23 +03:00
|
|
|
@interface ChatTableViewCell : UITableViewCell
|
|
|
|
|
|
|
|
@property (nonatomic, assign) NSInteger messageId;
|
|
|
|
|
|
|
|
@end
|