blob: e9b5cde52121547a69c2ad3bdd99534cae7b28d6 [file] [log] [blame]
Alexandre Lision0f66bd32016-01-18 11:30:45 -05001/*
Anthony Léonarde7d62ed2018-01-25 10:51:47 -05002 * Copyright (C) 2016-2018 Savoir-faire Linux Inc.
Alexandre Lision0f66bd32016-01-18 11:30:45 -05003 * Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
Anthony Léonarde7d62ed2018-01-25 10:51:47 -05004 * Author: Anthony Léonard <anthony.leonard@savoirfairelinux.com>
Alexandre Lision0f66bd32016-01-18 11:30:45 -05005 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21#import <Cocoa/Cocoa.h>
Kateryna Kostiuk58276bc2017-06-07 08:50:48 -040022#import "MessageBubbleView.h"
Alexandre Lision0f66bd32016-01-18 11:30:45 -050023
24@interface IMTableCellView : NSTableCellView
25
26@property (nonatomic, strong) IBOutlet NSImageView* photoView;
27@property (nonatomic, strong) IBOutlet NSTextView* msgView;
Kateryna Kostiuk58276bc2017-06-07 08:50:48 -040028@property (nonatomic, strong) IBOutlet MessageBubbleView* msgBackground;
Anthony Léonarde7d62ed2018-01-25 10:51:47 -050029@property (nonatomic, strong) IBOutlet NSButton* acceptButton;
30@property (nonatomic, strong) IBOutlet NSButton* declineButton;
31@property (nonatomic, strong) IBOutlet NSProgressIndicator* progressIndicator;
32@property (nonatomic, strong) IBOutlet NSTextField* statusLabel;
Alexandre Lision0f66bd32016-01-18 11:30:45 -050033
Anthony Léonarde7d62ed2018-01-25 10:51:47 -050034
35- (uint64_t) interaction;
36- (void) setupForInteraction:(uint64_t)inter;
Alexandre Lision0f66bd32016-01-18 11:30:45 -050037- (void) updateWidthConstraint:(CGFloat) newWidth;
38
39@end