mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
85 lines
3.1 KiB
Objective-C
85 lines
3.1 KiB
Objective-C
/* InCallViewController.h
|
|
*
|
|
* Copyright (C) 2009 Belledonne Comunications, Grenoble, France
|
|
*
|
|
* 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 2 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, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import <AddressBookUI/ABPeoplePickerNavigationController.h>
|
|
|
|
#import "ConferenceCallDetailView.h"
|
|
#import "UIVideoButton.h"
|
|
#import "VideoZoomHandler.h"
|
|
#import "UILinphone.h"
|
|
#import "CallDelegate.h"
|
|
|
|
#include "linphonecore.h"
|
|
|
|
@class VideoViewController;
|
|
|
|
@interface InCallViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, CallActionSheetDelegate, UIGestureRecognizerDelegate> {
|
|
|
|
UITableView* callTableView;
|
|
|
|
UIView* videoGroup;
|
|
UIView* videoView;
|
|
UIView* videoPreview;
|
|
#ifdef TEST_VIDEO_VIEW_CHANGE
|
|
UIView* testVideoView;
|
|
#endif
|
|
UICamSwitch* videoCameraSwitch;
|
|
UIActivityIndicatorView* videoWaitingForFirstImage;
|
|
|
|
NSTimer *durationRefreasher;
|
|
NSTimer *glowingTimer;
|
|
|
|
float glow;
|
|
NSIndexPath* activePath;
|
|
|
|
ABPeoplePickerNavigationController* myPeoplePickerController;
|
|
|
|
UITableViewCell* activeCallCell;
|
|
|
|
VideoViewController* mVideoViewController;
|
|
ConferenceCallDetailView* conferenceDetail;
|
|
BOOL mVideoShown;
|
|
BOOL mVideoIsPending;
|
|
|
|
UIImage* verified, *unverified;
|
|
UIActionSheet* visibleActionSheet;
|
|
|
|
NSTimer* hideControlsTimer;
|
|
VideoZoomHandler* videoZoomHandler;
|
|
}
|
|
|
|
+ (LinphoneCall*)retrieveCallAtIndex: (NSInteger) index inConference:(bool) conf;
|
|
//+ (void)updateCellImageView:(UIImageView*)imageView Label:(UILabel*)label DetailLabel:(UILabel*)detailLabel AndAccessoryView:(UIView*)accessoryView withCall:(LinphoneCall*) call;
|
|
|
|
@property (nonatomic, retain) IBOutlet UIViewController* conferenceDetail;
|
|
@property (nonatomic, retain) IBOutlet UITableView* callTableView;
|
|
|
|
@property (nonatomic, retain) IBOutlet VideoViewController* videoViewController;
|
|
|
|
@property (nonatomic, retain) IBOutlet UIView* videoGroup;
|
|
@property (nonatomic, retain) IBOutlet UIView* videoView;
|
|
#ifdef TEST_VIDEO_VIEW_CHANGE
|
|
@property (nonatomic, retain) IBOutlet UIView* testVideoView;
|
|
#endif
|
|
@property (nonatomic, retain) IBOutlet UIView* videoPreview;
|
|
@property (nonatomic, retain) IBOutlet UICamSwitch* videoCameraSwitch;
|
|
@property (nonatomic, retain) IBOutlet UIActivityIndicatorView* videoWaitingForFirstImage;
|
|
|
|
@end
|