Continue working on new ui

This commit is contained in:
Yann Diorcet 2012-06-11 17:23:03 +02:00
parent e8ff650c24
commit f01c973e11
25 changed files with 2974 additions and 1519 deletions

404
Classes/LinphoneApp.xib Normal file
View file

@ -0,0 +1,404 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
<data>
<int key="IBDocument.SystemTarget">1296</int>
<string key="IBDocument.SystemVersion">11E53</string>
<string key="IBDocument.InterfaceBuilderVersion">2182</string>
<string key="IBDocument.AppKitVersion">1138.47</string>
<string key="IBDocument.HIToolboxVersion">569.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">1181</string>
</object>
<array key="IBDocument.IntegratedClassDependencies">
<string>IBUIWindow</string>
<string>IBUICustomObject</string>
<string>IBUIViewController</string>
<string>IBProxyObject</string>
</array>
<array key="IBDocument.PluginDependencies">
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</array>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
<integer value="1" key="NS.object.0"/>
</object>
<array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
<object class="IBProxyObject" id="841351856">
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBProxyObject" id="590933970">
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUICustomObject" id="465836664">
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUIWindow" id="380026005">
<reference key="NSNextResponder"/>
<int key="NSvFlags">1316</int>
<object class="NSPSMatrix" key="NSFrameMatrix"/>
<string key="NSFrameSize">{320, 480}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MSAxIDEAA</bytes>
</object>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBUIResizesToFullScreen">YES</bool>
</object>
<object class="IBUIViewController" id="110348778">
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
<int key="IBUIInterfaceOrientation">1</int>
<int key="interfaceOrientation">1</int>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBUIHorizontal">NO</bool>
</object>
</array>
<object class="IBObjectContainer" key="IBDocument.Objects">
<array class="NSMutableArray" key="connectionRecords">
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">delegate</string>
<reference key="source" ref="841351856"/>
<reference key="destination" ref="465836664"/>
</object>
<int key="connectionID">6</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">rootViewController</string>
<reference key="source" ref="380026005"/>
<reference key="destination" ref="110348778"/>
</object>
<int key="connectionID">10</int>
</object>
</array>
<object class="IBMutableOrderedSet" key="objectRecords">
<array key="orderedObjects">
<object class="IBObjectRecord">
<int key="objectID">0</int>
<array key="object" id="0"/>
<reference key="children" ref="1000"/>
<nil key="parent"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">2</int>
<reference key="object" ref="380026005"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">-1</int>
<reference key="object" ref="841351856"/>
<reference key="parent" ref="0"/>
<string key="objectName">File's Owner</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-2</int>
<reference key="object" ref="590933970"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">4</int>
<reference key="object" ref="465836664"/>
<reference key="parent" ref="0"/>
<string key="objectName">linphoneAppDelegate</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">9</int>
<reference key="object" ref="110348778"/>
<reference key="parent" ref="0"/>
<string key="objectName">PhoneMainView</string>
</object>
</array>
</object>
<dictionary class="NSMutableDictionary" key="flattenedProperties">
<string key="-1.CustomClassName">UIApplication</string>
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="-2.CustomClassName">UIResponder</string>
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<dictionary class="NSMutableDictionary" key="2.IBAttributePlaceholdersKey"/>
<string key="2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="4.CustomClassName">linphoneAppDelegate</string>
<string key="4.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="9.CustomClassName">PhoneMainView</string>
<string key="9.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
<int key="maxID">11</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
<object class="IBPartialClassDescription">
<string key="className">ABPeoplePickerNavigationController</string>
<string key="superclassName">UINavigationController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/ABPeoplePickerNavigationController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">MainScreenWithVideoPreview</string>
<string key="superclassName">UIViewController</string>
<dictionary class="NSMutableDictionary" key="outlets">
<string key="phoneMainView">PhoneViewController</string>
<string key="window">UIWindow</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
<object class="IBToOneOutletInfo" key="phoneMainView">
<string key="name">phoneMainView</string>
<string key="candidateClassName">PhoneViewController</string>
</object>
<object class="IBToOneOutletInfo" key="window">
<string key="name">window</string>
<string key="candidateClassName">UIWindow</string>
</object>
</dictionary>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/MainScreenWithVideoPreview.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">PhoneMainView</string>
<string key="superclassName">UIViewController</string>
<dictionary class="NSMutableDictionary" key="outlets">
<string key="addCallTabBar">UIView</string>
<string key="callTabBar">UIView</string>
<string key="contentView">UIView</string>
<string key="incomingTabBar">UIView</string>
<string key="mainTabBar">UIView</string>
<string key="statusBarView">UIView</string>
<string key="tabBarView">UIView</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
<object class="IBToOneOutletInfo" key="addCallTabBar">
<string key="name">addCallTabBar</string>
<string key="candidateClassName">UIView</string>
</object>
<object class="IBToOneOutletInfo" key="callTabBar">
<string key="name">callTabBar</string>
<string key="candidateClassName">UIView</string>
</object>
<object class="IBToOneOutletInfo" key="contentView">
<string key="name">contentView</string>
<string key="candidateClassName">UIView</string>
</object>
<object class="IBToOneOutletInfo" key="incomingTabBar">
<string key="name">incomingTabBar</string>
<string key="candidateClassName">UIView</string>
</object>
<object class="IBToOneOutletInfo" key="mainTabBar">
<string key="name">mainTabBar</string>
<string key="candidateClassName">UIView</string>
</object>
<object class="IBToOneOutletInfo" key="statusBarView">
<string key="name">statusBarView</string>
<string key="candidateClassName">UIView</string>
</object>
<object class="IBToOneOutletInfo" key="tabBarView">
<string key="name">tabBarView</string>
<string key="candidateClassName">UIView</string>
</object>
</dictionary>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/PhoneMainView.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">PhoneViewController</string>
<string key="superclassName">UIViewController</string>
<dictionary class="NSMutableDictionary" key="outlets">
<string key="address">UITextField</string>
<string key="backToCallView">UIButton</string>
<string key="callLarge">UIButton</string>
<string key="callShort">UIButton</string>
<string key="dialerView">UIView</string>
<string key="eight">UIButton</string>
<string key="erase">UIEraseButton</string>
<string key="five">UIButton</string>
<string key="four">UIButton</string>
<string key="hash">UIButton</string>
<string key="mMainScreenWithVideoPreview">MainScreenWithVideoPreview</string>
<string key="myTabBarController">UITabBarController</string>
<string key="nine">UIButton</string>
<string key="one">UIButton</string>
<string key="seven">UIButton</string>
<string key="six">UIButton</string>
<string key="star">UIButton</string>
<string key="status">UILabel</string>
<string key="statusViewHolder">UIView</string>
<string key="switchCamera">UIButton</string>
<string key="three">UIButton</string>
<string key="two">UIButton</string>
<string key="zero">UIButton</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
<object class="IBToOneOutletInfo" key="address">
<string key="name">address</string>
<string key="candidateClassName">UITextField</string>
</object>
<object class="IBToOneOutletInfo" key="backToCallView">
<string key="name">backToCallView</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="callLarge">
<string key="name">callLarge</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="callShort">
<string key="name">callShort</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="dialerView">
<string key="name">dialerView</string>
<string key="candidateClassName">UIView</string>
</object>
<object class="IBToOneOutletInfo" key="eight">
<string key="name">eight</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="erase">
<string key="name">erase</string>
<string key="candidateClassName">UIEraseButton</string>
</object>
<object class="IBToOneOutletInfo" key="five">
<string key="name">five</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="four">
<string key="name">four</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="hash">
<string key="name">hash</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="mMainScreenWithVideoPreview">
<string key="name">mMainScreenWithVideoPreview</string>
<string key="candidateClassName">MainScreenWithVideoPreview</string>
</object>
<object class="IBToOneOutletInfo" key="myTabBarController">
<string key="name">myTabBarController</string>
<string key="candidateClassName">UITabBarController</string>
</object>
<object class="IBToOneOutletInfo" key="nine">
<string key="name">nine</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="one">
<string key="name">one</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="seven">
<string key="name">seven</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="six">
<string key="name">six</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="star">
<string key="name">star</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="status">
<string key="name">status</string>
<string key="candidateClassName">UILabel</string>
</object>
<object class="IBToOneOutletInfo" key="statusViewHolder">
<string key="name">statusViewHolder</string>
<string key="candidateClassName">UIView</string>
</object>
<object class="IBToOneOutletInfo" key="switchCamera">
<string key="name">switchCamera</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="three">
<string key="name">three</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="two">
<string key="name">two</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="zero">
<string key="name">zero</string>
<string key="candidateClassName">UIButton</string>
</object>
</dictionary>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/PhoneViewController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIEraseButton</string>
<string key="superclassName">UIButton</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/UIEraseButton.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">linphoneAppDelegate</string>
<string key="superclassName">NSObject</string>
<dictionary class="NSMutableDictionary" key="outlets">
<string key="myContentView">UIView</string>
<string key="myPeoplePickerController">ABPeoplePickerNavigationController</string>
<string key="myPhoneViewController">PhoneViewController</string>
<string key="myTabBarController">UITabBarController</string>
<string key="window">UIWindow</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
<object class="IBToOneOutletInfo" key="myContentView">
<string key="name">myContentView</string>
<string key="candidateClassName">UIView</string>
</object>
<object class="IBToOneOutletInfo" key="myPeoplePickerController">
<string key="name">myPeoplePickerController</string>
<string key="candidateClassName">ABPeoplePickerNavigationController</string>
</object>
<object class="IBToOneOutletInfo" key="myPhoneViewController">
<string key="name">myPhoneViewController</string>
<string key="candidateClassName">PhoneViewController</string>
</object>
<object class="IBToOneOutletInfo" key="myTabBarController">
<string key="name">myTabBarController</string>
<string key="candidateClassName">UITabBarController</string>
</object>
<object class="IBToOneOutletInfo" key="window">
<string key="name">window</string>
<string key="candidateClassName">UIWindow</string>
</object>
</dictionary>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/linphoneAppDelegate.h</string>
</object>
</object>
</array>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
<real value="1296" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">1181</string>
</data>
</archive>

View file

@ -17,6 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#import "PhoneMainView.h"
#import "PhoneViewController.h"
#import "linphoneAppDelegate.h"
#import "ContactPickerDelegate.h"
@ -168,7 +169,8 @@ int __aeabi_idiv(int a, int b) {
}
-(void) setupUI {
//as defined in PhoneMainView.xib
/*//as defined in PhoneMainView.xib
//dialer
myPhoneViewController = (PhoneViewController*) [myTabBarController.viewControllers objectAtIndex: DIALER_TAB_INDEX];
myPhoneViewController.myTabBarController = myTabBarController;
@ -206,7 +208,7 @@ int __aeabi_idiv(int a, int b) {
[myTabBarController setViewControllers:newArray animated:NO];
//[window addSubview: myTabBarController.view];
[myCallHistoryTableViewController loadView];
[myContentView addSubview:myCallHistoryTableViewController.view];
// [myContentView addSubview:myCallHistoryTableViewController.view];
//[window addSubview: myContentView];
// [myContentViewController addChildViewController:myCallHistoryTableViewController];
@ -214,7 +216,11 @@ int __aeabi_idiv(int a, int b) {
[[LinphoneManager instance] setCallDelegate:myPhoneViewController];
[UIDevice currentDevice].batteryMonitoringEnabled = YES;
[UIDevice currentDevice].batteryMonitoringEnabled = YES;*/
/*
PhoneMainView *mainView = [[PhoneMainView alloc] initWithNibName:@"PhoneMainView" bundle:[NSBundle mainBundle]];
[self.window addSubview:mainView.view];
[self.window makeKeyAndVisible];*/
}
-(void) setupGSMInteraction {
@ -271,7 +277,7 @@ int __aeabi_idiv(int a, int b) {
}
- (void)dealloc {
[window release];
//[window release];
[myPeoplePickerController release];
[super dealloc];
}

View file

@ -0,0 +1,30 @@
/* LinphoneMainBar.m
*
* Copyright (C) 2012 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 Library 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>
@interface LinphoneMainBar : UIViewController {
UIButton *historyButton;
UIButton *dialerButton;
}
@property (nonatomic, retain) IBOutlet UIButton* historyButton;
@property (nonatomic, retain) IBOutlet UIButton* dialerButton;
-(IBAction) onHistoryClick: (id) event;
@end

View file

@ -0,0 +1,59 @@
/* LinphoneMainBar.m
*
* Copyright (C) 2012 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 Library 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 "LinphoneMainBar.h"
#import "PhoneMainView.h"
@implementation LinphoneMainBar
@synthesize historyButton;
@synthesize dialerButton;
- (void) viewDidLoad {
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLinphoneMainViewChangeEvent:) name:@"LinphoneMainViewChange" object:nil];
}
- (void) receiveLinphoneMainViewChangeEvent: (NSNotification*) notif {
PhoneView view = [[notif.userInfo objectForKey: @"PhoneView"] intValue];
if(view == PhoneView_Main) {
dialerButton.selected = TRUE;
} else {
dialerButton.selected = FALSE;
}
if(view == PhoneView_CallHistory) {
historyButton.selected = TRUE;
} else {
historyButton.selected = FALSE;
}
}
- (void) dealloc {
[[NSNotificationCenter defaultCenter] removeObserver:self];
[super dealloc];
}
- (IBAction) onHistoryClick: (id) sender {
// Change to default view
NSDictionary* dict = [NSDictionary dictionaryWithObject: [NSNumber numberWithInt:PhoneView_CallHistory] forKey:@"PhoneView"];
[[NSNotificationCenter defaultCenter] postNotificationName:@"LinphoneMainViewChange" object:self userInfo:dict];
}
@end

View file

@ -0,0 +1,454 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
<data>
<int key="IBDocument.SystemTarget">1296</int>
<string key="IBDocument.SystemVersion">11E53</string>
<string key="IBDocument.InterfaceBuilderVersion">2182</string>
<string key="IBDocument.AppKitVersion">1138.47</string>
<string key="IBDocument.HIToolboxVersion">569.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">1181</string>
</object>
<array key="IBDocument.IntegratedClassDependencies">
<string>IBProxyObject</string>
<string>IBUIView</string>
<string>IBUIButton</string>
</array>
<array key="IBDocument.PluginDependencies">
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</array>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
<integer value="1" key="NS.object.0"/>
</object>
<array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
<object class="IBProxyObject" id="372490531">
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBProxyObject" id="975951072">
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUIView" id="1018893129">
<reference key="NSNextResponder"/>
<int key="NSvFlags">292</int>
<array class="NSMutableArray" key="NSSubviews">
<object class="IBUIView" id="83510153">
<reference key="NSNextResponder" ref="1018893129"/>
<int key="NSvFlags">-2147483356</int>
<string key="NSFrame">{{0, 7}, {320, 65}}</string>
<reference key="NSSuperview" ref="1018893129"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="617445003"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
<object class="NSColorSpace" key="NSCustomColorSpace">
<int key="NSID">2</int>
</object>
</object>
<int key="IBUITag">-1</int>
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUIButton" id="318948703">
<reference key="NSNextResponder" ref="1018893129"/>
<int key="NSvFlags">292</int>
<string key="NSFrameSize">{64, 72}</string>
<reference key="NSSuperview" ref="1018893129"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="83510153"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="IBUIOpaque">NO</bool>
<object class="IBUIAccessibilityConfiguration" key="IBUIAccessibilityConfiguration">
<string key="IBUIAccessibilityLabel">History</string>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<bool key="IBUIAdjustsImageWhenHighlighted">NO</bool>
<object class="NSColor" key="IBUIHighlightedTitleColor" id="859874036">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
</object>
<object class="NSColor" key="IBUINormalTitleColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
</object>
<object class="NSColor" key="IBUINormalTitleShadowColor" id="260229542">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC41AA</bytes>
</object>
<object class="NSCustomResource" key="IBUIHighlightedBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">history-over.png</string>
</object>
<object class="NSCustomResource" key="IBUISelectedBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">history-selectionne.png</string>
</object>
<object class="NSCustomResource" key="IBUINormalBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">history-actif.png</string>
</object>
<object class="IBUIFontDescription" key="IBUIFontDescription" id="978094057">
<int key="type">2</int>
<double key="pointSize">15</double>
</object>
<object class="NSFont" key="IBUIFont" id="98882926">
<string key="NSName">Helvetica-Bold</string>
<double key="NSSize">15</double>
<int key="NSfFlags">16</int>
</object>
</object>
<object class="IBUIButton" id="617445003">
<reference key="NSNextResponder" ref="1018893129"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{64, 0}, {64, 72}}</string>
<reference key="NSSuperview" ref="1018893129"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="562688945"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="IBUIOpaque">NO</bool>
<object class="IBUIAccessibilityConfiguration" key="IBUIAccessibilityConfiguration">
<string key="IBUIAccessibilityLabel">Contacts</string>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<bool key="IBUIAdjustsImageWhenHighlighted">NO</bool>
<reference key="IBUIHighlightedTitleColor" ref="859874036"/>
<object class="NSColor" key="IBUINormalTitleColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
</object>
<reference key="IBUINormalTitleShadowColor" ref="260229542"/>
<object class="NSCustomResource" key="IBUIHighlightedBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">contacts-over.png</string>
</object>
<object class="NSCustomResource" key="IBUISelectedBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">contacts-selectionne.png</string>
</object>
<object class="NSCustomResource" key="IBUINormalBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">contacts-actif.png</string>
</object>
<reference key="IBUIFontDescription" ref="978094057"/>
<reference key="IBUIFont" ref="98882926"/>
</object>
<object class="IBUIButton" id="562688945">
<reference key="NSNextResponder" ref="1018893129"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{128, 0}, {64, 72}}</string>
<reference key="NSSuperview" ref="1018893129"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="60891552"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="IBUIOpaque">NO</bool>
<object class="IBUIAccessibilityConfiguration" key="IBUIAccessibilityConfiguration">
<string key="IBUIAccessibilityLabel">Dialer</string>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<bool key="IBUIAdjustsImageWhenHighlighted">NO</bool>
<reference key="IBUINormalTitleShadowColor" ref="260229542"/>
<object class="NSCustomResource" key="IBUISelectedBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">dialer-actif.png</string>
</object>
<object class="NSCustomResource" key="IBUINormalBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">dialer-over.png</string>
</object>
<reference key="IBUIFontDescription" ref="978094057"/>
<reference key="IBUIFont" ref="98882926"/>
</object>
<object class="IBUIButton" id="60891552">
<reference key="NSNextResponder" ref="1018893129"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{192, 0}, {64, 72}}</string>
<reference key="NSSuperview" ref="1018893129"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="55915342"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="IBUIOpaque">NO</bool>
<object class="IBUIAccessibilityConfiguration" key="IBUIAccessibilityConfiguration">
<string key="IBUIAccessibilityLabel">Settings</string>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<bool key="IBUIAdjustsImageWhenHighlighted">NO</bool>
<reference key="IBUIHighlightedTitleColor" ref="859874036"/>
<object class="NSColor" key="IBUINormalTitleColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
</object>
<reference key="IBUINormalTitleShadowColor" ref="260229542"/>
<object class="NSCustomResource" key="IBUIHighlightedBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">settings-over.png</string>
</object>
<object class="NSCustomResource" key="IBUISelectedBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">settings-selectionne.png</string>
</object>
<object class="NSCustomResource" key="IBUINormalBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">settings-actif.png</string>
</object>
<reference key="IBUIFontDescription" ref="978094057"/>
<reference key="IBUIFont" ref="98882926"/>
</object>
<object class="IBUIButton" id="55915342">
<reference key="NSNextResponder" ref="1018893129"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{256, 0}, {64, 72}}</string>
<reference key="NSSuperview" ref="1018893129"/>
<reference key="NSWindow"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="IBUIOpaque">NO</bool>
<object class="IBUIAccessibilityConfiguration" key="IBUIAccessibilityConfiguration">
<string key="IBUIAccessibilityLabel">Tchat</string>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<bool key="IBUIAdjustsImageWhenHighlighted">NO</bool>
<reference key="IBUIHighlightedTitleColor" ref="859874036"/>
<object class="NSColor" key="IBUINormalTitleColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
</object>
<reference key="IBUINormalTitleShadowColor" ref="260229542"/>
<object class="NSCustomResource" key="IBUIHighlightedBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">tchat-over.png</string>
</object>
<object class="NSCustomResource" key="IBUISelectedBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">tchat-selectionne.png</string>
</object>
<object class="NSCustomResource" key="IBUINormalBackgroundImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">tchat-actif.png</string>
</object>
<reference key="IBUIFontDescription" ref="978094057"/>
<reference key="IBUIFont" ref="98882926"/>
</object>
</array>
<string key="NSFrameSize">{320, 72}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="318948703"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MCAxIDAuMTkxOTQ1NDc1NSAwAA</bytes>
</object>
<bool key="IBUIAutoresizesSubviews">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
</array>
<object class="IBObjectContainer" key="IBDocument.Objects">
<array class="NSMutableArray" key="connectionRecords">
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">dialerButton</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="562688945"/>
</object>
<int key="connectionID">12</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">historyButton</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="318948703"/>
</object>
<int key="connectionID">13</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">view</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="1018893129"/>
</object>
<int key="connectionID">14</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
<string key="label">onHistoryClick:</string>
<reference key="source" ref="318948703"/>
<reference key="destination" ref="372490531"/>
<int key="IBEventType">1</int>
</object>
<int key="connectionID">15</int>
</object>
</array>
<object class="IBMutableOrderedSet" key="objectRecords">
<array key="orderedObjects">
<object class="IBObjectRecord">
<int key="objectID">0</int>
<array key="object" id="0"/>
<reference key="children" ref="1000"/>
<nil key="parent"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">-1</int>
<reference key="object" ref="372490531"/>
<reference key="parent" ref="0"/>
<string key="objectName">File's Owner</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-2</int>
<reference key="object" ref="975951072"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">3</int>
<reference key="object" ref="1018893129"/>
<array class="NSMutableArray" key="children">
<reference ref="60891552"/>
<reference ref="617445003"/>
<reference ref="562688945"/>
<reference ref="318948703"/>
<reference ref="55915342"/>
<reference ref="83510153"/>
</array>
<reference key="parent" ref="0"/>
<string key="objectName">mainTabBar</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">9</int>
<reference key="object" ref="60891552"/>
<reference key="parent" ref="1018893129"/>
<string key="objectName">settings</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">8</int>
<reference key="object" ref="617445003"/>
<reference key="parent" ref="1018893129"/>
<string key="objectName">contacts</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">7</int>
<reference key="object" ref="562688945"/>
<reference key="parent" ref="1018893129"/>
<string key="objectName">dialer</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">6</int>
<reference key="object" ref="318948703"/>
<reference key="parent" ref="1018893129"/>
<string key="objectName">history</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">5</int>
<reference key="object" ref="55915342"/>
<reference key="parent" ref="1018893129"/>
<string key="objectName">tchat</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">4</int>
<reference key="object" ref="83510153"/>
<reference key="parent" ref="1018893129"/>
<string key="objectName">mask</string>
</object>
</array>
</object>
<dictionary class="NSMutableDictionary" key="flattenedProperties">
<string key="-1.CustomClassName">LinphoneMainBar</string>
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="-2.CustomClassName">UIResponder</string>
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<dictionary class="NSMutableDictionary" key="3.IBAttributePlaceholdersKey"/>
<string key="3.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="4.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="5.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<real value="2" key="5.IBUIButtonInspectorSelectedStateConfigurationMetadataKey"/>
<string key="6.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<real value="2" key="6.IBUIButtonInspectorSelectedStateConfigurationMetadataKey"/>
<string key="7.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<real value="1" key="7.IBUIButtonInspectorSelectedStateConfigurationMetadataKey"/>
<string key="8.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<real value="2" key="8.IBUIButtonInspectorSelectedStateConfigurationMetadataKey"/>
<string key="9.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<real value="2" key="9.IBUIButtonInspectorSelectedStateConfigurationMetadataKey"/>
</dictionary>
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
<int key="maxID">16</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
<object class="IBPartialClassDescription">
<string key="className">LinphoneMainBar</string>
<string key="superclassName">UIViewController</string>
<object class="NSMutableDictionary" key="actions">
<string key="NS.key.0">onHistoryClick:</string>
<string key="NS.object.0">id</string>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
<string key="NS.key.0">onHistoryClick:</string>
<object class="IBActionInfo" key="NS.object.0">
<string key="name">onHistoryClick:</string>
<string key="candidateClassName">id</string>
</object>
</object>
<dictionary class="NSMutableDictionary" key="outlets">
<string key="dialerButton">UIButton</string>
<string key="historyButton">UIButton</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
<object class="IBToOneOutletInfo" key="dialerButton">
<string key="name">dialerButton</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo" key="historyButton">
<string key="name">historyButton</string>
<string key="candidateClassName">UIButton</string>
</object>
</dictionary>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/LinphoneMainBar.h</string>
</object>
</object>
</array>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
<real value="1296" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<dictionary class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
<string key="contacts-actif.png">{127, 144}</string>
<string key="contacts-over.png">{127, 144}</string>
<string key="contacts-selectionne.png">{127, 144}</string>
<string key="dialer-actif.png">{132, 144}</string>
<string key="dialer-over.png">{132, 144}</string>
<string key="history-actif.png">{127, 144}</string>
<string key="history-over.png">{127, 144}</string>
<string key="history-selectionne.png">{127, 144}</string>
<string key="settings-actif.png">{127, 144}</string>
<string key="settings-over.png">{127, 144}</string>
<string key="settings-selectionne.png">{127, 144}</string>
<string key="tchat-actif.png">{127, 144}</string>
<string key="tchat-over.png">{127, 144}</string>
<string key="tchat-selectionne.png">{127, 144}</string>
</dictionary>
<string key="IBCocoaTouchPluginVersion">1181</string>
</data>
</archive>

View file

@ -0,0 +1,27 @@
/* LinphoneStatusBar.h
*
* Copyright (C) 2012 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 Library 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>
@interface LinphoneStatusBar : UIView {
UIView *test;
}
@property (nonatomic, retain) IBOutlet UIView* test;
@end

View file

@ -0,0 +1,34 @@
/* LinphoneStatusBar.m
*
* Copyright (C) 2012 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 Library 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 "LinphoneStatusBar.h"
@implementation LinphoneStatusBar
@synthesize test;
- (id) awakeAfterUsingCoder:(NSCoder*)aDecoder {
NSArray *arrayOfViews = [[NSBundle mainBundle] loadNibNamed:@"LinphoneStatusBar"
owner:nil
options:nil];
if ([arrayOfViews count] >= 1){
[self addSubview:[[arrayOfViews objectAtIndex:0] retain]];
}
return self;
}
@end

View file

@ -0,0 +1,156 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
<data>
<int key="IBDocument.SystemTarget">1296</int>
<string key="IBDocument.SystemVersion">11E53</string>
<string key="IBDocument.InterfaceBuilderVersion">2182</string>
<string key="IBDocument.AppKitVersion">1138.47</string>
<string key="IBDocument.HIToolboxVersion">569.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">1181</string>
</object>
<array key="IBDocument.IntegratedClassDependencies">
<string>IBProxyObject</string>
<string>IBUIView</string>
<string>IBUIImageView</string>
</array>
<array key="IBDocument.PluginDependencies">
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</array>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
<integer value="1" key="NS.object.0"/>
</object>
<array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
<object class="IBProxyObject" id="372490531">
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBProxyObject" id="975951072">
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUIView" id="235459337">
<reference key="NSNextResponder"/>
<int key="NSvFlags">292</int>
<array class="NSMutableArray" key="NSSubviews">
<object class="IBUIImageView" id="335364346">
<reference key="NSNextResponder" ref="235459337"/>
<int key="NSvFlags">274</int>
<string key="NSFrameSize">{320, 23}</string>
<reference key="NSSuperview" ref="235459337"/>
<reference key="NSWindow"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSCustomResource" key="IBUIImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">barre-noire-top.png</string>
</object>
</object>
</array>
<string key="NSFrameSize">{320, 23}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="335364346"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
<object class="NSColorSpace" key="NSCustomColorSpace">
<int key="NSID">2</int>
</object>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
</array>
<object class="IBObjectContainer" key="IBDocument.Objects">
<array class="NSMutableArray" key="connectionRecords"/>
<object class="IBMutableOrderedSet" key="objectRecords">
<array key="orderedObjects">
<object class="IBObjectRecord">
<int key="objectID">0</int>
<array key="object" id="0"/>
<reference key="children" ref="1000"/>
<nil key="parent"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">-1</int>
<reference key="object" ref="372490531"/>
<reference key="parent" ref="0"/>
<string key="objectName">File's Owner</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-2</int>
<reference key="object" ref="975951072"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">3</int>
<reference key="object" ref="235459337"/>
<array class="NSMutableArray" key="children">
<reference ref="335364346"/>
</array>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">4</int>
<reference key="object" ref="335364346"/>
<reference key="parent" ref="235459337"/>
<string key="objectName">background</string>
</object>
</array>
</object>
<dictionary class="NSMutableDictionary" key="flattenedProperties">
<string key="-1.CustomClassName">LinphoneStatusBar</string>
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="-2.CustomClassName">UIResponder</string>
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="3.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="4.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
<int key="maxID">4</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
<object class="IBPartialClassDescription">
<string key="className">LinphoneStatusBar</string>
<string key="superclassName">UIView</string>
<object class="NSMutableDictionary" key="outlets">
<string key="NS.key.0">test</string>
<string key="NS.object.0">UIView</string>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
<string key="NS.key.0">test</string>
<object class="IBToOneOutletInfo" key="NS.object.0">
<string key="name">test</string>
<string key="candidateClassName">UIView</string>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/LinphoneStatusBar.h</string>
</object>
</object>
</array>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
<real value="1296" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
<string key="NS.key.0">barre-noire-top.png</string>
<string key="NS.object.0">{640, 46}</string>
</object>
<string key="IBCocoaTouchPluginVersion">1181</string>
</data>
</archive>

53
Classes/PhoneMainView.h Normal file
View file

@ -0,0 +1,53 @@
/* PhoneMainView.h
*
* Copyright (C) 2012 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>
typedef enum _PhoneView {
PhoneView_Main,
PhoneView_CallHistory,
PhoneView_END
} PhoneView;
@interface PhoneMainView : UIViewController {
UIView *statusBarView;
UIView *contentView;
UIView *tabBarView;
PhoneView currentView;
@private
NSMutableDictionary *viewDescriptions;
NSArray *views;
UIView *callTabBar;
UIViewController *mainTabBar;
UIView *incomingTabBar;
UIView *addCallTabBar;
}
@property (nonatomic, retain) IBOutlet UIView* statusBarView;
@property (nonatomic, retain) IBOutlet UIView* contentView;
@property (nonatomic, retain) IBOutlet UIView* tabBarView;
@property (nonatomic, retain) IBOutlet UIView* callTabBar;
@property (nonatomic, retain) IBOutlet UIViewController* mainTabBar;
@property (nonatomic, retain) IBOutlet UIView* incomingTabBar;
@property (nonatomic, retain) IBOutlet UIView* addCallTabBar;
-(void) changeView: (NSNotification*) notif;
@end

135
Classes/PhoneMainView.m Normal file
View file

@ -0,0 +1,135 @@
/* PhoneMainView.m
*
* Copyright (C) 2012 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 "PhoneMainView.h"
#import "CallHistoryTableViewController.h"
typedef enum _TabBar {
TabBar_Main,
TabBar_END
} TabBar;
@interface ViewsDescription: NSObject{
@public
UIViewController *content;
UIViewController *tabBar;
bool statusEnabled;
}
@end
@implementation ViewsDescription
@end
@implementation PhoneMainView
@synthesize statusBarView;
@synthesize contentView;
@synthesize tabBarView;
@synthesize callTabBar;
@synthesize mainTabBar;
@synthesize incomingTabBar;
@synthesize addCallTabBar;
- (void) changeView: (NSNotification*) notif {
PhoneView view = [[notif.userInfo objectForKey: @"PhoneView"] intValue];
ViewsDescription *description = [viewDescriptions objectForKey:[NSNumber numberWithInt: view]];
for (UIView *view in contentView.subviews) {
[view removeFromSuperview];
}
for (UIView *view in tabBarView.subviews) {
[view removeFromSuperview];
}
[contentView addSubview: description->content.view];
CGRect contentFrame = contentView.frame;
if(description->statusEnabled) {
statusBarView.hidden = false;
contentFrame.origin.y = statusBarView.frame.size.height + statusBarView.frame.origin.y;
} else {
statusBarView.hidden = true;
contentFrame.origin.y = 0;
}
// Resize tabbar
CGRect tabFrame = tabBarView.frame;
tabFrame.origin.y += tabFrame.size.height;
tabFrame.origin.x += tabFrame.size.width;
tabFrame.size.height = description->tabBar.view.frame.size.height;
tabFrame.size.width = description->tabBar.view.frame.size.width;
tabFrame.origin.y -= tabFrame.size.height;
tabFrame.origin.x -= tabFrame.size.width;
tabBarView.frame = tabFrame;
for (UIView *view in description->tabBar.view.subviews) {
if(view.tag == -1) {
contentFrame.size.height = tabFrame.origin.y - contentFrame.origin.y + view.frame.origin.y;
}
}
// contentView.frame = contentFrame;
[tabBarView addSubview: description->tabBar.view];
}
-(void)viewDidLoad {
[super viewDidLoad];
UIView *dumb;
// Init view descriptions
viewDescriptions = [[NSMutableDictionary alloc] init];
// Load Bars
dumb = mainTabBar.view;
// Main View
PhoneViewController* myPhoneViewController = [[PhoneViewController alloc]
initWithNibName:@"PhoneViewController"
bundle:[NSBundle mainBundle]];
[myPhoneViewController loadView];
ViewsDescription *mainViewDescription = [ViewsDescription alloc];
mainViewDescription->content = myPhoneViewController;
mainViewDescription->tabBar = mainTabBar;
mainViewDescription->statusEnabled = true;
[viewDescriptions setObject:mainViewDescription forKey:[NSNumber numberWithInt: PhoneView_Main]];
// Call History View
CallHistoryTableViewController* myCallHistoryTableViewController = [[CallHistoryTableViewController alloc]
initWithNibName:@"CallHistoryTableViewController"
bundle:[NSBundle mainBundle]];
[myCallHistoryTableViewController loadView];
ViewsDescription *callHistoryDescription = [ViewsDescription alloc];
callHistoryDescription->content = myCallHistoryTableViewController;
callHistoryDescription->tabBar = mainTabBar;
callHistoryDescription->statusEnabled = true;
[viewDescriptions setObject:callHistoryDescription forKey:[NSNumber numberWithInt: PhoneView_CallHistory]];
// Set observer
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(changeView:) name:@"LinphoneMainViewChange" object:nil];
// Change to default view
NSDictionary* dict = [NSDictionary dictionaryWithObject: [NSNumber numberWithInt:PhoneView_Main] forKey:@"PhoneView"];
[[NSNotificationCenter defaultCenter] postNotificationName:@"LinphoneMainViewChange" object:self userInfo:dict];
}
- (void)dealloc {
[super dealloc];
[[NSNotificationCenter defaultCenter] removeObserver:self];
}
@end

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
Resources/appeler-actif.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

BIN
Resources/appeler-over.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
Resources/fond-clavier.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

View file

@ -30,7 +30,7 @@
<key>CFBundleVersion</key>
<string>1.3</string>
<key>NSMainNibFile</key>
<string>PhoneMainView</string>
<string>LinphoneApp</string>
<key>NSMainNibFile~ipad</key>
<string>MainScreenWithVideoPreview</string>
<key>UIApplicationExitsOnSuspend</key>

View file

@ -283,6 +283,34 @@
D3832801158100E400FA0D23 /* history-over.png in Resources */ = {isa = PBXBuildFile; fileRef = D38327FD158100E400FA0D23 /* history-over.png */; };
D3832802158100E400FA0D23 /* settings-over.png in Resources */ = {isa = PBXBuildFile; fileRef = D38327FE158100E400FA0D23 /* settings-over.png */; };
D3832803158100E400FA0D23 /* tchat-over.png in Resources */ = {isa = PBXBuildFile; fileRef = D38327FF158100E400FA0D23 /* tchat-over.png */; };
D3ED3E411585FB4A006C0DE4 /* fond-clavier.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E401585FB4A006C0DE4 /* fond-clavier.png */; };
D3ED3E421585FB4A006C0DE4 /* fond-clavier.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E401585FB4A006C0DE4 /* fond-clavier.png */; };
D3ED3E451585FB8C006C0DE4 /* champ-saisie-numero.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E441585FB8C006C0DE4 /* champ-saisie-numero.png */; };
D3ED3E461585FB8C006C0DE4 /* champ-saisie-numero.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E441585FB8C006C0DE4 /* champ-saisie-numero.png */; };
D3ED3E521585FFFD006C0DE4 /* barre-noire-top.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E511585FFFD006C0DE4 /* barre-noire-top.png */; };
D3ED3E531585FFFD006C0DE4 /* barre-noire-top.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E511585FFFD006C0DE4 /* barre-noire-top.png */; };
D3ED3E61158603F5006C0DE4 /* LinphoneStatusBar.xib in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E60158603F5006C0DE4 /* LinphoneStatusBar.xib */; };
D3ED3E62158603F5006C0DE4 /* LinphoneStatusBar.xib in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E60158603F5006C0DE4 /* LinphoneStatusBar.xib */; };
D3ED3E6515860404006C0DE4 /* LinphoneStatusBar.m in Sources */ = {isa = PBXBuildFile; fileRef = D3ED3E6415860404006C0DE4 /* LinphoneStatusBar.m */; };
D3ED3E6615860404006C0DE4 /* LinphoneStatusBar.m in Sources */ = {isa = PBXBuildFile; fileRef = D3ED3E6415860404006C0DE4 /* LinphoneStatusBar.m */; };
D3ED3E6A15861A53006C0DE4 /* add-contact-actif.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E6715861A53006C0DE4 /* add-contact-actif.png */; };
D3ED3E6B15861A53006C0DE4 /* add-contact-actif.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E6715861A53006C0DE4 /* add-contact-actif.png */; };
D3ED3E6C15861A53006C0DE4 /* add-contact-inactif.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E6815861A53006C0DE4 /* add-contact-inactif.png */; };
D3ED3E6D15861A53006C0DE4 /* add-contact-inactif.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E6815861A53006C0DE4 /* add-contact-inactif.png */; };
D3ED3E6E15861A53006C0DE4 /* add-contact-over.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E6915861A53006C0DE4 /* add-contact-over.png */; };
D3ED3E6F15861A53006C0DE4 /* add-contact-over.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E6915861A53006C0DE4 /* add-contact-over.png */; };
D3ED3E7215861ABD006C0DE4 /* appeler-actif.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E7015861ABD006C0DE4 /* appeler-actif.png */; };
D3ED3E7315861ABD006C0DE4 /* appeler-actif.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E7015861ABD006C0DE4 /* appeler-actif.png */; };
D3ED3E7415861ABD006C0DE4 /* appeler-over.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E7115861ABD006C0DE4 /* appeler-over.png */; };
D3ED3E7515861ABD006C0DE4 /* appeler-over.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E7115861ABD006C0DE4 /* appeler-over.png */; };
D3ED3E7815861B1B006C0DE4 /* backspace-actif.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E7615861B1B006C0DE4 /* backspace-actif.png */; };
D3ED3E7915861B1B006C0DE4 /* backspace-actif.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E7615861B1B006C0DE4 /* backspace-actif.png */; };
D3ED3E7A15861B1B006C0DE4 /* backspace-over.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E7715861B1B006C0DE4 /* backspace-over.png */; };
D3ED3E7B15861B1B006C0DE4 /* backspace-over.png in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E7715861B1B006C0DE4 /* backspace-over.png */; };
D3ED3E871586291E006C0DE4 /* LinphoneMainBar.m in Sources */ = {isa = PBXBuildFile; fileRef = D3ED3E851586291B006C0DE4 /* LinphoneMainBar.m */; };
D3ED3E881586291E006C0DE4 /* LinphoneMainBar.m in Sources */ = {isa = PBXBuildFile; fileRef = D3ED3E851586291B006C0DE4 /* LinphoneMainBar.m */; };
D3ED3E891586291E006C0DE4 /* LinphoneMainBar.xib in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E861586291C006C0DE4 /* LinphoneMainBar.xib */; };
D3ED3E8A1586291E006C0DE4 /* LinphoneMainBar.xib in Resources */ = {isa = PBXBuildFile; fileRef = D3ED3E861586291C006C0DE4 /* LinphoneMainBar.xib */; };
D3F83EEC1582021700336684 /* InCallViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D3F83EEA1582021700336684 /* InCallViewController.m */; };
D3F83EED1582021700336684 /* InCallViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D3F83EEA1582021700336684 /* InCallViewController.m */; };
D3F83EEE1582021700336684 /* InCallViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D3F83EEB1582021700336684 /* InCallViewController.xib */; };
@ -391,6 +419,10 @@
D3F83F891582278D00336684 /* contact-actif-add-call.png in Resources */ = {isa = PBXBuildFile; fileRef = D3F83F821582278D00336684 /* contact-actif-add-call.png */; };
D3F83F8A1582278D00336684 /* contact-over-add-call.png in Resources */ = {isa = PBXBuildFile; fileRef = D3F83F831582278D00336684 /* contact-over-add-call.png */; };
D3F83F8B1582278D00336684 /* contact-over-add-call.png in Resources */ = {isa = PBXBuildFile; fileRef = D3F83F831582278D00336684 /* contact-over-add-call.png */; };
D3F83F8E15822ABE00336684 /* PhoneMainView.m in Sources */ = {isa = PBXBuildFile; fileRef = D3F83F8D15822ABD00336684 /* PhoneMainView.m */; };
D3F83F8F15822ABE00336684 /* PhoneMainView.m in Sources */ = {isa = PBXBuildFile; fileRef = D3F83F8D15822ABD00336684 /* PhoneMainView.m */; };
D3F83F9215824D3600336684 /* LinphoneApp.xib in Resources */ = {isa = PBXBuildFile; fileRef = D3F83F9115824D3500336684 /* LinphoneApp.xib */; };
D3F83F9315824D3600336684 /* LinphoneApp.xib in Resources */ = {isa = PBXBuildFile; fileRef = D3F83F9115824D3500336684 /* LinphoneApp.xib */; };
F476004B147AAF2800FFF19B /* liblinphone.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2211DB911475562600DEE054 /* liblinphone.a */; };
F476004C147AAF4600FFF19B /* libmediastreamer.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2211DB8F147555C800DEE054 /* libmediastreamer.a */; };
/* End PBXBuildFile section */
@ -788,6 +820,22 @@
D38327FD158100E400FA0D23 /* history-over.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "history-over.png"; path = "Resources/history-over.png"; sourceTree = "<group>"; };
D38327FE158100E400FA0D23 /* settings-over.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "settings-over.png"; path = "Resources/settings-over.png"; sourceTree = "<group>"; };
D38327FF158100E400FA0D23 /* tchat-over.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "tchat-over.png"; path = "Resources/tchat-over.png"; sourceTree = "<group>"; };
D3ED3E401585FB4A006C0DE4 /* fond-clavier.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "fond-clavier.png"; path = "Resources/fond-clavier.png"; sourceTree = "<group>"; };
D3ED3E441585FB8C006C0DE4 /* champ-saisie-numero.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "champ-saisie-numero.png"; path = "Resources/champ-saisie-numero.png"; sourceTree = "<group>"; };
D3ED3E511585FFFD006C0DE4 /* barre-noire-top.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "barre-noire-top.png"; path = "Resources/barre-noire-top.png"; sourceTree = "<group>"; };
D3ED3E60158603F5006C0DE4 /* LinphoneStatusBar.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LinphoneStatusBar.xib; sourceTree = "<group>"; };
D3ED3E6315860404006C0DE4 /* LinphoneStatusBar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LinphoneStatusBar.h; sourceTree = "<group>"; };
D3ED3E6415860404006C0DE4 /* LinphoneStatusBar.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LinphoneStatusBar.m; sourceTree = "<group>"; };
D3ED3E6715861A53006C0DE4 /* add-contact-actif.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "add-contact-actif.png"; path = "Resources/add-contact-actif.png"; sourceTree = "<group>"; };
D3ED3E6815861A53006C0DE4 /* add-contact-inactif.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "add-contact-inactif.png"; path = "Resources/add-contact-inactif.png"; sourceTree = "<group>"; };
D3ED3E6915861A53006C0DE4 /* add-contact-over.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "add-contact-over.png"; path = "Resources/add-contact-over.png"; sourceTree = "<group>"; };
D3ED3E7015861ABD006C0DE4 /* appeler-actif.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "appeler-actif.png"; path = "Resources/appeler-actif.png"; sourceTree = "<group>"; };
D3ED3E7115861ABD006C0DE4 /* appeler-over.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "appeler-over.png"; path = "Resources/appeler-over.png"; sourceTree = "<group>"; };
D3ED3E7615861B1B006C0DE4 /* backspace-actif.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "backspace-actif.png"; path = "Resources/backspace-actif.png"; sourceTree = "<group>"; };
D3ED3E7715861B1B006C0DE4 /* backspace-over.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "backspace-over.png"; path = "Resources/backspace-over.png"; sourceTree = "<group>"; };
D3ED3E841586291B006C0DE4 /* LinphoneMainBar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LinphoneMainBar.h; sourceTree = "<group>"; };
D3ED3E851586291B006C0DE4 /* LinphoneMainBar.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LinphoneMainBar.m; sourceTree = "<group>"; };
D3ED3E861586291C006C0DE4 /* LinphoneMainBar.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LinphoneMainBar.xib; sourceTree = "<group>"; };
D3F83EE91582021700336684 /* InCallViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InCallViewController.h; sourceTree = "<group>"; };
D3F83EEA1582021700336684 /* InCallViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InCallViewController.m; sourceTree = "<group>"; };
D3F83EEB1582021700336684 /* InCallViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = InCallViewController.xib; sourceTree = "<group>"; };
@ -843,6 +891,9 @@
D3F83F811582278D00336684 /* cancel-over.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "cancel-over.png"; path = "Resources/cancel-over.png"; sourceTree = "<group>"; };
D3F83F821582278D00336684 /* contact-actif-add-call.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "contact-actif-add-call.png"; path = "Resources/contact-actif-add-call.png"; sourceTree = "<group>"; };
D3F83F831582278D00336684 /* contact-over-add-call.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "contact-over-add-call.png"; path = "Resources/contact-over-add-call.png"; sourceTree = "<group>"; };
D3F83F8C158229C500336684 /* PhoneMainView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PhoneMainView.h; sourceTree = "<group>"; };
D3F83F8D15822ABD00336684 /* PhoneMainView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PhoneMainView.m; sourceTree = "<group>"; };
D3F83F9115824D3500336684 /* LinphoneApp.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LinphoneApp.xib; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@ -970,6 +1021,7 @@
D3F83EE91582021700336684 /* InCallViewController.h */,
D3F83EEA1582021700336684 /* InCallViewController.m */,
D3F83EEB1582021700336684 /* InCallViewController.xib */,
D3F83F9115824D3500336684 /* LinphoneApp.xib */,
1D3623240D0F684500981E51 /* LinphoneAppDelegate.h */,
1D3623250D0F684500981E51 /* LinphoneAppDelegate.m */,
2214EB7012F84668002A5394 /* LinphoneUI */,
@ -979,6 +1031,8 @@
22E0A81D111C44E100B04932 /* MoreViewController.h */,
22E0A81C111C44E100B04932 /* MoreViewController.m */,
22E0A81B111C44E100B04932 /* MoreViewController.xib */,
D3F83F8C158229C500336684 /* PhoneMainView.h */,
D3F83F8D15822ABD00336684 /* PhoneMainView.m */,
D34734791580DDF1003C7B8C /* PhoneMainView.xib */,
3422AA5214978352000D4E8A /* PhoneViewController-ipad.xib */,
22F2508B107141E100AC9B3F /* PhoneViewController.h */,
@ -1205,35 +1259,41 @@
2214EB7012F84668002A5394 /* LinphoneUI */ = {
isa = PBXGroup;
children = (
340751E5150F38FC00B89C47 /* UIToggleVideoButton.h */,
340751E6150F38FD00B89C47 /* UIToggleVideoButton.m */,
2248E90C12F7E4CF00220D9C /* UIDigitButton.h */,
2248E90D12F7E4CF00220D9C /* UIDigitButton.m */,
223963151393CFAE001DE689 /* FastAddressBook.h */,
223963161393CFAF001DE689 /* FastAddressBook.m */,
D3ED3E841586291B006C0DE4 /* LinphoneMainBar.h */,
D3ED3E851586291B006C0DE4 /* LinphoneMainBar.m */,
D3ED3E861586291C006C0DE4 /* LinphoneMainBar.xib */,
2248E99D12F801C200220D9C /* LinphoneManager.h */,
2248E99E12F801C200220D9C /* LinphoneManager.m */,
2214EB7812F846B1002A5394 /* UICallButton.h */,
2214EB7912F846B1002A5394 /* UICallButton.m */,
2214EB8712F84EBB002A5394 /* UIHangUpButton.h */,
2214EB8812F84EBB002A5394 /* UIHangUpButton.m */,
2214EB8A12F84FE9002A5394 /* UILinphone.h */,
2214EBD812F8558F002A5394 /* UIToggleButton.h */,
2214EBD912F8558F002A5394 /* UIToggleButton.m */,
2214EBF112F86360002A5394 /* UIMuteButton.h */,
2214EBF212F86360002A5394 /* UIMuteButton.m */,
22968A5D12F875C600588287 /* UISpeakerButton.h */,
22968A5E12F875C600588287 /* UISpeakerButton.m */,
22968A8612F87C2000588287 /* UIDuration.h */,
22968A8712F87C2000588287 /* UIDuration.m */,
D3ED3E6315860404006C0DE4 /* LinphoneStatusBar.h */,
D3ED3E6415860404006C0DE4 /* LinphoneStatusBar.m */,
D3ED3E60158603F5006C0DE4 /* LinphoneStatusBar.xib */,
2218A5C412F9597B0088A667 /* LinphoneUIDelegates.h */,
2218A5CE12F973450088A667 /* LogView.h */,
22C7555E1317E59C007BC101 /* UIBluetoothButton.h */,
22C7555F1317E59C007BC101 /* UIBluetoothButton.m */,
22BB1A67132FF16A005CD7AA /* UIEraseButton.h */,
22BB1A68132FF16A005CD7AA /* UIEraseButton.m */,
223963151393CFAE001DE689 /* FastAddressBook.h */,
223963161393CFAF001DE689 /* FastAddressBook.m */,
2214EB7812F846B1002A5394 /* UICallButton.h */,
2214EB7912F846B1002A5394 /* UICallButton.m */,
22AA8AFF13D83F6300B30535 /* UICamSwitch.h */,
22AA8B0013D83F6300B30535 /* UICamSwitch.m */,
2248E90C12F7E4CF00220D9C /* UIDigitButton.h */,
2248E90D12F7E4CF00220D9C /* UIDigitButton.m */,
22968A8612F87C2000588287 /* UIDuration.h */,
22968A8712F87C2000588287 /* UIDuration.m */,
22BB1A67132FF16A005CD7AA /* UIEraseButton.h */,
22BB1A68132FF16A005CD7AA /* UIEraseButton.m */,
2214EB8712F84EBB002A5394 /* UIHangUpButton.h */,
2214EB8812F84EBB002A5394 /* UIHangUpButton.m */,
2214EB8A12F84FE9002A5394 /* UILinphone.h */,
2214EBF112F86360002A5394 /* UIMuteButton.h */,
2214EBF212F86360002A5394 /* UIMuteButton.m */,
22968A5D12F875C600588287 /* UISpeakerButton.h */,
22968A5E12F875C600588287 /* UISpeakerButton.m */,
2214EBD812F8558F002A5394 /* UIToggleButton.h */,
2214EBD912F8558F002A5394 /* UIToggleButton.m */,
340751E5150F38FC00B89C47 /* UIToggleVideoButton.h */,
340751E6150F38FD00B89C47 /* UIToggleVideoButton.m */,
);
path = LinphoneUI;
sourceTree = "<group>";
@ -1393,14 +1453,6 @@
29B97317FDCFA39411CA2CEA /* Resources */ = {
isa = PBXGroup;
children = (
D3F83F801582278D00336684 /* cancel-actif.png */,
D3F83F811582278D00336684 /* cancel-over.png */,
D3F83F821582278D00336684 /* contact-actif-add-call.png */,
D3F83F831582278D00336684 /* contact-over-add-call.png */,
D3F83F741582253100336684 /* decrocher-actif.png */,
D3F83F751582253100336684 /* decrocher-over.png */,
D3F83F761582253100336684 /* refuser-actif.png */,
D3F83F771582253100336684 /* refuser-over.png */,
D3F83F2C1582223B00336684 /* 0-actif.png */,
D3F83F2D1582223B00336684 /* 0-over.png */,
D3F83F2E1582223B00336684 /* 1-actif.png */,
@ -1421,55 +1473,49 @@
D3F83F3D1582223B00336684 /* 8-over.png */,
D3F83F3E1582223B00336684 /* 9-actif.png */,
D3F83F3F1582223B00336684 /* 9-over.png */,
D3F83F401582223B00336684 /* diese-actif.png */,
D3F83F411582223B00336684 /* diese-over.png */,
D3F83F421582223B00336684 /* etoile-actif.png */,
D3F83F431582223B00336684 /* etoile-over.png */,
D3F83EF0158205A100336684 /* add-call-actif.png */,
D3F83EF1158205A100336684 /* add-call-over.png */,
D3F83EF2158205A100336684 /* dialer-meteo-sortir-actif.png */,
D3F83EF3158205A100336684 /* dialer-meteo-sortir-over.png */,
D3F83EF4158205A100336684 /* micro-OFF-actif.png */,
D3F83EF5158205A100336684 /* micro-OFF-over.png */,
D3F83EF6158205A100336684 /* micro-ON-actif.png */,
D3F83EF7158205A100336684 /* micro-ON-over.png */,
D3F83EF8158205A100336684 /* pause-actif.png */,
D3F83EF9158205A100336684 /* pause-over.png */,
D3F83EFA158205A100336684 /* raccrocher-actif.png */,
D3F83EFB158205A100336684 /* raccrocher-over.png */,
D3F83EFC158205A100336684 /* speacker-OFF-actif.png */,
D3F83EFD158205A100336684 /* speacker-OFF-over.png */,
D3F83EFE158205A100336684 /* speacker-ON-actif.png */,
D3F83EFF158205A100336684 /* speacker-ON-over.png */,
D3F83F00158205A100336684 /* video-OFF-actif.png */,
D3F83F01158205A100336684 /* video-OFF-over.png */,
D3F83F02158205A100336684 /* video-ON-actif.png */,
D3F83F03158205A100336684 /* video-ON-over.png */,
D38327FC158100E400FA0D23 /* contacts-over.png */,
D38327FD158100E400FA0D23 /* history-over.png */,
D38327FE158100E400FA0D23 /* settings-over.png */,
D38327FF158100E400FA0D23 /* tchat-over.png */,
D38327EB1580FE3A00FA0D23 /* contacts-actif.png */,
D38327EC1580FE3A00FA0D23 /* contacts-selectionne.png */,
D38327ED1580FE3A00FA0D23 /* dialer-actif.png */,
D38327EE1580FE3A00FA0D23 /* dialer-over.png */,
D38327EF1580FE3A00FA0D23 /* settings-actif.png */,
D38327F01580FE3A00FA0D23 /* settings-selectionne.png */,
D38327F11580FE3A00FA0D23 /* tchat-actif.png */,
D38327F21580FE3A00FA0D23 /* tchat-selectionne.png */,
D347347C1580E5F8003C7B8C /* history-actif.png */,
D347347D1580E5F8003C7B8C /* history-selectionne.png */,
D3ED3E6715861A53006C0DE4 /* add-contact-actif.png */,
D3ED3E6815861A53006C0DE4 /* add-contact-inactif.png */,
D3ED3E6915861A53006C0DE4 /* add-contact-over.png */,
2211DBCA1476BE7300DEE054 /* ajouter.png */,
D3ED3E7015861ABD006C0DE4 /* appeler-actif.png */,
D3ED3E7115861ABD006C0DE4 /* appeler-over.png */,
D3ED3E7615861B1B006C0DE4 /* backspace-actif.png */,
D3ED3E7715861B1B006C0DE4 /* backspace-over.png */,
D3ED3E511585FFFD006C0DE4 /* barre-noire-top.png */,
D3F83F801582278D00336684 /* cancel-actif.png */,
D3F83F811582278D00336684 /* cancel-over.png */,
D3ED3E441585FB8C006C0DE4 /* champ-saisie-numero.png */,
225CB2E811ABB51000628906 /* clavier-01-106px.png */,
225CB2E911ABB51000628906 /* clavier-01-108px.png */,
225CB2ED11ABB65D00628906 /* clavier-01-160px.png */,
2211DBCB1476BE7300DEE054 /* clavier.png */,
D3F83F821582278D00336684 /* contact-actif-add-call.png */,
D3F83F831582278D00336684 /* contact-over-add-call.png */,
2211DBCC1476BE7300DEE054 /* contact.png */,
34C7646814CD51CD008E9607 /* contact_vide.png */,
D38327EB1580FE3A00FA0D23 /* contacts-actif.png */,
D38327FC158100E400FA0D23 /* contacts-over.png */,
D38327EC1580FE3A00FA0D23 /* contacts-selectionne.png */,
D3F83F741582253100336684 /* decrocher-actif.png */,
D3F83F751582253100336684 /* decrocher-over.png */,
D38327ED1580FE3A00FA0D23 /* dialer-actif.png */,
D3F83EF2158205A100336684 /* dialer-meteo-sortir-actif.png */,
D3F83EF3158205A100336684 /* dialer-meteo-sortir-over.png */,
34C7646A14CD5585008E9607 /* dialer-orange.png */,
D38327EE1580FE3A00FA0D23 /* dialer-over.png */,
D3F83F401582223B00336684 /* diese-actif.png */,
D3F83F411582223B00336684 /* diese-over.png */,
2211DBCD1476BE7300DEE054 /* effacer.png */,
D3F83F421582223B00336684 /* etoile-actif.png */,
D3F83F431582223B00336684 /* etoile-over.png */,
D3ED3E401585FB4A006C0DE4 /* fond-clavier.png */,
2211DBCE1476BE7300DEE054 /* grouper.png */,
D347347C1580E5F8003C7B8C /* history-actif.png */,
34C7646B14CD5585008E9607 /* history-orange.png */,
D38327FD158100E400FA0D23 /* history-over.png */,
D347347D1580E5F8003C7B8C /* history-selectionne.png */,
2211DBD01476BE7300DEE054 /* HP.png */,
2211DBCF1476BE7300DEE054 /* HP_inverse.png */,
22058C70116E305000B08DDD /* icone-linphone-57.png */,
@ -1481,6 +1527,10 @@
8D1107310486CEB800E47090 /* linphone-Info.plist */,
2274550710700509006EC466 /* linphonerc */,
341FCA8D149798210084BC26 /* linphonerc-ipad */,
D3F83EF4158205A100336684 /* micro-OFF-actif.png */,
D3F83EF5158205A100336684 /* micro-OFF-over.png */,
D3F83EF6158205A100336684 /* micro-ON-actif.png */,
D3F83EF7158205A100336684 /* micro-ON-over.png */,
2211DBD21476BE7300DEE054 /* micro.png */,
2211DBD11476BE7300DEE054 /* micro_inverse.png */,
22E19E47138A67A000FBFE87 /* missed_call.png */,
@ -1489,11 +1539,24 @@
2237D4081084D7A9001383EE /* oldphone-mono.wav */,
2242D91510D66BF300E9963F /* out_call.png */,
3485649E152C423F003FE041 /* out_call_video.png */,
D3F83EF8158205A100336684 /* pause-actif.png */,
D3F83EF9158205A100336684 /* pause-over.png */,
2211DBD41476BE7300DEE054 /* pause.png */,
2211DBD31476BE7300DEE054 /* pause_inactif.png */,
D3F83EFA158205A100336684 /* raccrocher-actif.png */,
D3F83EFB158205A100336684 /* raccrocher-over.png */,
D3F83F761582253100336684 /* refuser-actif.png */,
D3F83F771582253100336684 /* refuser-over.png */,
22F254801073D99800AC9B3F /* ringback.wav */,
70571E1913FABCB000CDD3C2 /* rootca.pem */,
34957F3E147D3FBF00DD7A09 /* secured.png */,
D38327EF1580FE3A00FA0D23 /* settings-actif.png */,
D38327FE158100E400FA0D23 /* settings-over.png */,
D38327F01580FE3A00FA0D23 /* settings-selectionne.png */,
D3F83EFC158205A100336684 /* speacker-OFF-actif.png */,
D3F83EFD158205A100336684 /* speacker-OFF-over.png */,
D3F83EFE158205A100336684 /* speacker-ON-actif.png */,
D3F83EFF158205A100336684 /* speacker-ON-over.png */,
3418844C14C6D1CE00EA48C7 /* startcall-gray.png */,
22226C11118197C0000CA27B /* startcall-green.png */,
1AE0A49314AC5C64002C99BD /* stat_sys_signal_0.png */,
@ -1506,7 +1569,14 @@
3418845114C6F66F00EA48C7 /* status_orange.png */,
3418845214C6F66F00EA48C7 /* status_red.png */,
22226C13118197EC000CA27B /* stopcall-red.png */,
D38327F11580FE3A00FA0D23 /* tchat-actif.png */,
D38327FF158100E400FA0D23 /* tchat-over.png */,
D38327F21580FE3A00FA0D23 /* tchat-selectionne.png */,
344ABDE41483E596007420B6 /* unverified.png */,
D3F83F00158205A100336684 /* video-OFF-actif.png */,
D3F83F01158205A100336684 /* video-OFF-over.png */,
D3F83F02158205A100336684 /* video-ON-actif.png */,
D3F83F03158205A100336684 /* video-ON-over.png */,
);
name = Resources;
sourceTree = "<group>";
@ -1728,6 +1798,19 @@
D3F83F861582278D00336684 /* cancel-over.png in Resources */,
D3F83F881582278D00336684 /* contact-actif-add-call.png in Resources */,
D3F83F8A1582278D00336684 /* contact-over-add-call.png in Resources */,
D3F83F9215824D3600336684 /* LinphoneApp.xib in Resources */,
D3ED3E411585FB4A006C0DE4 /* fond-clavier.png in Resources */,
D3ED3E451585FB8C006C0DE4 /* champ-saisie-numero.png in Resources */,
D3ED3E521585FFFD006C0DE4 /* barre-noire-top.png in Resources */,
D3ED3E61158603F5006C0DE4 /* LinphoneStatusBar.xib in Resources */,
D3ED3E6A15861A53006C0DE4 /* add-contact-actif.png in Resources */,
D3ED3E6C15861A53006C0DE4 /* add-contact-inactif.png in Resources */,
D3ED3E6E15861A53006C0DE4 /* add-contact-over.png in Resources */,
D3ED3E7215861ABD006C0DE4 /* appeler-actif.png in Resources */,
D3ED3E7415861ABD006C0DE4 /* appeler-over.png in Resources */,
D3ED3E7815861B1B006C0DE4 /* backspace-actif.png in Resources */,
D3ED3E7A15861B1B006C0DE4 /* backspace-over.png in Resources */,
D3ED3E891586291E006C0DE4 /* LinphoneMainBar.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -1849,6 +1932,19 @@
D3F83F871582278D00336684 /* cancel-over.png in Resources */,
D3F83F891582278D00336684 /* contact-actif-add-call.png in Resources */,
D3F83F8B1582278D00336684 /* contact-over-add-call.png in Resources */,
D3F83F9315824D3600336684 /* LinphoneApp.xib in Resources */,
D3ED3E421585FB4A006C0DE4 /* fond-clavier.png in Resources */,
D3ED3E461585FB8C006C0DE4 /* champ-saisie-numero.png in Resources */,
D3ED3E531585FFFD006C0DE4 /* barre-noire-top.png in Resources */,
D3ED3E62158603F5006C0DE4 /* LinphoneStatusBar.xib in Resources */,
D3ED3E6B15861A53006C0DE4 /* add-contact-actif.png in Resources */,
D3ED3E6D15861A53006C0DE4 /* add-contact-inactif.png in Resources */,
D3ED3E6F15861A53006C0DE4 /* add-contact-over.png in Resources */,
D3ED3E7315861ABD006C0DE4 /* appeler-actif.png in Resources */,
D3ED3E7515861ABD006C0DE4 /* appeler-over.png in Resources */,
D3ED3E7915861B1B006C0DE4 /* backspace-actif.png in Resources */,
D3ED3E7B15861B1B006C0DE4 /* backspace-over.png in Resources */,
D3ED3E8A1586291E006C0DE4 /* LinphoneMainBar.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -1888,6 +1984,9 @@
340751E7150F38FD00B89C47 /* UIToggleVideoButton.m in Sources */,
34216F401547EBCD00EA9777 /* VideoZoomHandler.m in Sources */,
D3F83EEC1582021700336684 /* InCallViewController.m in Sources */,
D3F83F8E15822ABE00336684 /* PhoneMainView.m in Sources */,
D3ED3E6515860404006C0DE4 /* LinphoneStatusBar.m in Sources */,
D3ED3E871586291E006C0DE4 /* LinphoneMainBar.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -1924,6 +2023,9 @@
340751E8150F38FD00B89C47 /* UIToggleVideoButton.m in Sources */,
34216F411547EBCD00EA9777 /* VideoZoomHandler.m in Sources */,
D3F83EED1582021700336684 /* InCallViewController.m in Sources */,
D3F83F8F15822ABE00336684 /* PhoneMainView.m in Sources */,
D3ED3E6615860404006C0DE4 /* LinphoneStatusBar.m in Sources */,
D3ED3E881586291E006C0DE4 /* LinphoneMainBar.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};

1
main.m
View file

@ -18,6 +18,7 @@
*/
#import <UIKit/UIKit.h>
#import "LinphoneAppDelegate.h"
int main(int argc, char *argv[]) {