mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
32 lines
885 B
Objective-C
32 lines
885 B
Objective-C
//
|
|
// SideMenuViewController.m
|
|
// linphone
|
|
//
|
|
// Created by Gautier Pelloux-Prayer on 28/07/15.
|
|
//
|
|
//
|
|
|
|
#import "SideMenuViewController.h"
|
|
#import "LinphoneManager.h"
|
|
#import "PhoneMainView.h"
|
|
|
|
@implementation SideMenuViewController
|
|
|
|
#pragma mark - Lifecycle Functions
|
|
|
|
- (id)init {
|
|
return [super initWithNibName:@"SideMenuViewController" bundle:[NSBundle mainBundle]];
|
|
}
|
|
|
|
- (void)viewWillAppear:(BOOL)animated {
|
|
LinphoneProxyConfig *default_proxy = linphone_core_get_default_proxy_config([LinphoneManager getLc]);
|
|
linphone_proxy_config_get [FastAddressBook setDisplayNameLabel:_nameLabel forAddress:@"toto replace me"];
|
|
[FastAddressBook setDisplayNameLabel:_addressLabel forAddress:@"yolo"];
|
|
[FastAddressBook getContactImage:nil thumbnail:NO];
|
|
}
|
|
|
|
- (IBAction)onLateralSwipe:(id)sender {
|
|
LOGI(@"Swipe!");
|
|
[[PhoneMainView instance].mainViewController hideSideMenu:YES];
|
|
}
|
|
@end
|