blob: 22ddbff4681fe5958a469d2cec65c3e10661f1aa [file] [log] [blame]
Alexandre Lisionc5148052015-03-04 15:10:35 -05001/*
Alexandre Lision9fe374b2016-01-06 10:17:31 -05002 * Copyright (C) 2015-2016 Savoir-faire Linux Inc.
Alexandre Lisionc5148052015-03-04 15:10:35 -05003 * Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Alexandre Lisionc5148052015-03-04 15:10:35 -050018 */
Alexandre Lisionc5148052015-03-04 15:10:35 -050019
Alexandre Lision9fe374b2016-01-06 10:17:31 -050020
Alexandre Lisionc5148052015-03-04 15:10:35 -050021#import <Cocoa/Cocoa.h>
22
Alexandre Lision58cab672015-06-09 15:25:40 -040023#import "views/CallView.h"
24
Olivier Soldano994971f2017-12-05 16:30:12 -050025// LRC
26#import <api/account.h>
27#import <api/call.h>
28
Alexandre Lisionc5148052015-03-04 15:10:35 -050029class Call;
30
Kateryna Kostiuk133364b2018-10-31 11:36:08 -040031@protocol CallViewControllerDelegate
32
33-(void) conversationInfoUpdatedFor:(const std::string&) conversationID;
34
35@end
36
Alexandre Lisiona1eee3c2015-08-10 13:44:51 -040037@interface CurrentCallVC : NSViewController <NSSplitViewDelegate, CallDelegate> {
Alexandre Lisionc5148052015-03-04 15:10:35 -050038
39}
Kateryna Kostiuk133364b2018-10-31 11:36:08 -040040@property (retain, nonatomic) id <CallViewControllerDelegate> delegate;
Alexandre Lision0f66bd32016-01-18 11:30:45 -050041-(void) initFrame;
Andreas Traczykecdc4fa2018-03-22 16:11:47 -040042-(void) showWithAnimation:(BOOL)animate;
43-(void) hideWithAnimation:(BOOL)animate;
Olivier Soldano994971f2017-12-05 16:30:12 -050044-(void) setCurrentCall:(const std::string&)callUid
45 conversation:(const std::string&)convUid
46 account:(const lrc::api::account::Info*)account;
Alexandre Lisionc5148052015-03-04 15:10:35 -050047@end