blob: 5807f4772bfcdc1d369ffe407603e5ff40558e53 [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"
Olivier Soldano994971f2017-12-05 16:30:12 -050024#import <api/account.h>
Alexandre Lisionc5148052015-03-04 15:10:35 -050025
Kateryna Kostiuk4db61092019-10-17 16:57:40 -040026#import "ChooseContactVC.h"
27#import "CallInConferenceVC.h"
28
Kateryna Kostiuk5d90c3b2019-07-18 12:03:52 -040029namespace lrc {
30 namespace api {
31 class AVModel;
32 }
33}
34
Kateryna Kostiuk133364b2018-10-31 11:36:08 -040035@protocol CallViewControllerDelegate
36
Kateryna Kostiukc867eb92020-03-08 13:15:17 -040037-(void) conversationInfoUpdatedFor:(const QString&) conversationID;
Kateryna Kostiuk4db61092019-10-17 16:57:40 -040038-(void) callFinished;
Kateryna Kostiuk133364b2018-10-31 11:36:08 -040039
40@end
41
Kateryna Kostiuk4db61092019-10-17 16:57:40 -040042@interface CurrentCallVC : NSViewController <NSSplitViewDelegate, CallDelegate, ChooseContactVCDelegate, CallInConferenceVCDelegate> {
Alexandre Lisionc5148052015-03-04 15:10:35 -050043
44}
Kateryna Kostiuk133364b2018-10-31 11:36:08 -040045@property (retain, nonatomic) id <CallViewControllerDelegate> delegate;
Alexandre Lision0f66bd32016-01-18 11:30:45 -050046-(void) initFrame;
Kateryna Kostiuk4f37d952018-12-04 13:19:17 -050047-(void) cleanUp;
Andreas Traczykecdc4fa2018-03-22 16:11:47 -040048-(void) showWithAnimation:(BOOL)animate;
49-(void) hideWithAnimation:(BOOL)animate;
Kateryna Kostiukc867eb92020-03-08 13:15:17 -040050-(void) setCurrentCall:(const QString&)callUid
51 conversation:(const QString&)convUid
Kateryna Kostiuk5d90c3b2019-07-18 12:03:52 -040052 account:(const lrc::api::account::Info*)account
53 avModel:(lrc::api::AVModel *)avModel;
Alexandre Lisionc5148052015-03-04 15:10:35 -050054@end