Alexandre Lision | c514805 | 2015-03-04 15:10:35 -0500 | [diff] [blame] | 1 | /* |
Alexandre Lision | 9fe374b | 2016-01-06 10:17:31 -0500 | [diff] [blame] | 2 | * Copyright (C) 2015-2016 Savoir-faire Linux Inc. |
Alexandre Lision | c514805 | 2015-03-04 15:10:35 -0500 | [diff] [blame] | 3 | * 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 Lision | c514805 | 2015-03-04 15:10:35 -0500 | [diff] [blame] | 18 | */ |
Alexandre Lision | c514805 | 2015-03-04 15:10:35 -0500 | [diff] [blame] | 19 | |
Alexandre Lision | 9fe374b | 2016-01-06 10:17:31 -0500 | [diff] [blame] | 20 | |
Alexandre Lision | c514805 | 2015-03-04 15:10:35 -0500 | [diff] [blame] | 21 | #import <Cocoa/Cocoa.h> |
| 22 | |
Alexandre Lision | 58cab67 | 2015-06-09 15:25:40 -0400 | [diff] [blame] | 23 | #import "views/CallView.h" |
Olivier Soldano | 994971f | 2017-12-05 16:30:12 -0500 | [diff] [blame] | 24 | #import <api/account.h> |
Alexandre Lision | c514805 | 2015-03-04 15:10:35 -0500 | [diff] [blame] | 25 | |
Kateryna Kostiuk | 4db6109 | 2019-10-17 16:57:40 -0400 | [diff] [blame] | 26 | #import "ChooseContactVC.h" |
agsantos | cfaf290 | 2021-04-20 16:21:24 -0400 | [diff] [blame^] | 27 | #import "ChoosePluginHandlerVC.h" |
Kateryna Kostiuk | 4db6109 | 2019-10-17 16:57:40 -0400 | [diff] [blame] | 28 | #import "CallInConferenceVC.h" |
Kateryna Kostiuk | 1705a5a | 2020-08-26 09:48:00 -0400 | [diff] [blame] | 29 | #import "views/ConferenceOverlayView.h" |
Kateryna Kostiuk | 4db6109 | 2019-10-17 16:57:40 -0400 | [diff] [blame] | 30 | |
Kateryna Kostiuk | 5d90c3b | 2019-07-18 12:03:52 -0400 | [diff] [blame] | 31 | namespace lrc { |
| 32 | namespace api { |
| 33 | class AVModel; |
agsantos | cfaf290 | 2021-04-20 16:21:24 -0400 | [diff] [blame^] | 34 | class PluginModel; |
Kateryna Kostiuk | 5d90c3b | 2019-07-18 12:03:52 -0400 | [diff] [blame] | 35 | } |
| 36 | } |
| 37 | |
Kateryna Kostiuk | 133364b | 2018-10-31 11:36:08 -0400 | [diff] [blame] | 38 | @protocol CallViewControllerDelegate |
| 39 | |
Kateryna Kostiuk | c867eb9 | 2020-03-08 13:15:17 -0400 | [diff] [blame] | 40 | -(void) conversationInfoUpdatedFor:(const QString&) conversationID; |
Kateryna Kostiuk | 1705a5a | 2020-08-26 09:48:00 -0400 | [diff] [blame] | 41 | -(void) chooseConversation:(const lrc::api::conversation::Info&)conv model:(lrc::api::ConversationModel*)model; |
Kateryna Kostiuk | 4db6109 | 2019-10-17 16:57:40 -0400 | [diff] [blame] | 42 | -(void) callFinished; |
Kateryna Kostiuk | 133364b | 2018-10-31 11:36:08 -0400 | [diff] [blame] | 43 | |
| 44 | @end |
| 45 | |
Kateryna Kostiuk | 1705a5a | 2020-08-26 09:48:00 -0400 | [diff] [blame] | 46 | @interface CurrentCallVC : NSViewController <NSSplitViewDelegate, CallDelegate, ChooseContactVCDelegate, CallInConferenceVCDelegate, ConferenceLayoutDelegate> { |
Alexandre Lision | c514805 | 2015-03-04 15:10:35 -0500 | [diff] [blame] | 47 | |
| 48 | } |
Kateryna Kostiuk | 133364b | 2018-10-31 11:36:08 -0400 | [diff] [blame] | 49 | @property (retain, nonatomic) id <CallViewControllerDelegate> delegate; |
Alexandre Lision | 0f66bd3 | 2016-01-18 11:30:45 -0500 | [diff] [blame] | 50 | -(void) initFrame; |
Kateryna Kostiuk | 4f37d95 | 2018-12-04 13:19:17 -0500 | [diff] [blame] | 51 | -(void) cleanUp; |
Andreas Traczyk | ecdc4fa | 2018-03-22 16:11:47 -0400 | [diff] [blame] | 52 | -(void) showWithAnimation:(BOOL)animate; |
| 53 | -(void) hideWithAnimation:(BOOL)animate; |
Kateryna Kostiuk | c867eb9 | 2020-03-08 13:15:17 -0400 | [diff] [blame] | 54 | -(void) setCurrentCall:(const QString&)callUid |
| 55 | conversation:(const QString&)convUid |
Kateryna Kostiuk | 5d90c3b | 2019-07-18 12:03:52 -0400 | [diff] [blame] | 56 | account:(const lrc::api::account::Info*)account |
agsantos | cfaf290 | 2021-04-20 16:21:24 -0400 | [diff] [blame^] | 57 | avModel:(lrc::api::AVModel *)avModel |
| 58 | pluginModel:(lrc::api::PluginModel*)pluginModel; |
Alexandre Lision | c514805 | 2015-03-04 15:10:35 -0500 | [diff] [blame] | 59 | @end |