From 6cb8bf429017eb00312c04d1edf5e3dcb8a7999b Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Mon, 29 Apr 2013 05:50:41 +0000 Subject: Re #1655: Removed old ipjsua project and add svn ignore property git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4510 74dad513-b988-da41-8d7b-12977e46ad98 --- .../src/ipjsua/Classes/ConfigViewController.h | 32 - .../src/ipjsua/Classes/ConfigViewController.m | 158 ---- .../src/ipjsua/Classes/FirstViewController.h | 37 - .../src/ipjsua/Classes/FirstViewController.m | 107 --- pjsip-apps/src/ipjsua/Classes/TabBarController.h | 26 - pjsip-apps/src/ipjsua/Classes/TabBarController.m | 30 - pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.h | 37 - pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m | 252 ------ pjsip-apps/src/ipjsua/MainWindow.xib | 780 ------------------ .../src/ipjsua/Resources-iPad/MainWindow-iPad.xib | 913 --------------------- .../src/ipjsua/Resources-iPad/SecondView-iPad.xib | 561 ------------- pjsip-apps/src/ipjsua/SecondView.xib | 501 ----------- pjsip-apps/src/ipjsua/config.cfg | 2 - pjsip-apps/src/ipjsua/ipjsua-Info.plist | 39 - .../src/ipjsua/ipjsua.xcodeproj/project.pbxproj | 492 ----------- pjsip-apps/src/ipjsua/ipjsua_Prefix.pch | 8 - pjsip-apps/src/ipjsua/main.m | 27 - .../src/pjsua/ios/ipjsua.xcodeproj/project.pbxproj | 40 +- 18 files changed, 20 insertions(+), 4022 deletions(-) delete mode 100644 pjsip-apps/src/ipjsua/Classes/ConfigViewController.h delete mode 100644 pjsip-apps/src/ipjsua/Classes/ConfigViewController.m delete mode 100644 pjsip-apps/src/ipjsua/Classes/FirstViewController.h delete mode 100644 pjsip-apps/src/ipjsua/Classes/FirstViewController.m delete mode 100644 pjsip-apps/src/ipjsua/Classes/TabBarController.h delete mode 100644 pjsip-apps/src/ipjsua/Classes/TabBarController.m delete mode 100644 pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.h delete mode 100644 pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m delete mode 100644 pjsip-apps/src/ipjsua/MainWindow.xib delete mode 100644 pjsip-apps/src/ipjsua/Resources-iPad/MainWindow-iPad.xib delete mode 100644 pjsip-apps/src/ipjsua/Resources-iPad/SecondView-iPad.xib delete mode 100644 pjsip-apps/src/ipjsua/SecondView.xib delete mode 100644 pjsip-apps/src/ipjsua/config.cfg delete mode 100644 pjsip-apps/src/ipjsua/ipjsua-Info.plist delete mode 100644 pjsip-apps/src/ipjsua/ipjsua.xcodeproj/project.pbxproj delete mode 100644 pjsip-apps/src/ipjsua/ipjsua_Prefix.pch delete mode 100644 pjsip-apps/src/ipjsua/main.m (limited to 'pjsip-apps') diff --git a/pjsip-apps/src/ipjsua/Classes/ConfigViewController.h b/pjsip-apps/src/ipjsua/Classes/ConfigViewController.h deleted file mode 100644 index cfb4844d..00000000 --- a/pjsip-apps/src/ipjsua/Classes/ConfigViewController.h +++ /dev/null @@ -1,32 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * 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 - - -@interface ConfigViewController : UIViewController { - IBOutlet UITextView *textView; - IBOutlet UIButton *button1; - IBOutlet UIButton *button2; -} - -@property (nonatomic, retain) IBOutlet UITextView *textView; -@property (nonatomic, retain) IBOutlet UIButton *button1; -@property (nonatomic, retain) IBOutlet UIButton *button2; - -@end diff --git a/pjsip-apps/src/ipjsua/Classes/ConfigViewController.m b/pjsip-apps/src/ipjsua/Classes/ConfigViewController.m deleted file mode 100644 index df71993c..00000000 --- a/pjsip-apps/src/ipjsua/Classes/ConfigViewController.m +++ /dev/null @@ -1,158 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * 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 "ConfigViewController.h" -#import "ipjsuaAppDelegate.h" - - -@implementation ConfigViewController -@synthesize textView; -@synthesize button1; -@synthesize button2; - -bool kshow = false; - -/* - // The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad. -- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { - if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { - // Custom initialization - } - return self; -} -*/ - -/* -// Implement loadView to create a view hierarchy programmatically, without using a nib. -- (void)loadView { -} -*/ - -- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event -{ - // Dismiss the keyboard when the view outside the text view is touched. - [textView resignFirstResponder]; - [super touchesBegan:touches withEvent:event]; -} - -// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. -- (void)viewDidLoad { - [super viewDidLoad]; - - [textView setFont:[UIFont fontWithName:@"Courier" size:10]]; - ipjsuaAppDelegate *appd = (ipjsuaAppDelegate *)[[UIApplication sharedApplication] delegate]; - appd.cfgView = self; - - /* Load config file and display it in the text view */ - NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); - NSString *cfgPath = [[paths objectAtIndex:0] stringByAppendingPathComponent:@"/config.cfg"]; - textView.text = [NSMutableString stringWithContentsOfFile:cfgPath encoding:NSASCIIStringEncoding error:NULL]; - - /* Add keyboard show/hide notifications so that we can resize the text view */ - kshow = false; - NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; - [nc addObserver:self selector:@selector(keyboardWillShow:) name: UIKeyboardWillShowNotification object:nil]; - [nc addObserver:self selector:@selector(keyboardWillHide:) name: UIKeyboardWillHideNotification object:nil]; - - /* Add button press event-handlers */ - [self.button1 addTarget:self action:@selector(button1Pressed:) forControlEvents:(UIControlEvents)UIControlEventTouchDown]; - [self.button2 addTarget:self action:@selector(button2Pressed:) forControlEvents:(UIControlEvents)UIControlEventTouchDown]; -} - --(void) keyboardWillShow:(NSNotification *) note -{ - if (kshow) return; - - /* Shrink the text view area when the keyboard appears */ - [UIView beginAnimations:nil context:NULL]; - [UIView setAnimationDuration:0.3]; - CGRect r = self.textView.frame, t; - [[note.userInfo valueForKey:UIKeyboardBoundsUserInfoKey] getValue: &t]; - r.size.height -= t.size.height - 51; - self.textView.frame = r; - [UIView commitAnimations]; - kshow = true; - - [self.button1 setEnabled:true]; - [self.button1.titleLabel setEnabled:true]; - [self.button2 setEnabled:true]; - [self.button2.titleLabel setEnabled:true]; -} - --(void) keyboardWillHide:(NSNotification *) note -{ - CGRect r = self.textView.frame, t; - [[note.userInfo valueForKey:UIKeyboardBoundsUserInfoKey] getValue: &t]; - r.size.height += t.size.height - 51; - self.textView.frame = r; - kshow = false; -} - -- (void)button1Pressed:(id)sender { - /* Save the config file */ - NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); - NSString *cfgPath = [[paths objectAtIndex:0] stringByAppendingPathComponent:@"/config.cfg"]; - [self.textView.text writeToFile:cfgPath atomically:NO encoding:NSASCIIStringEncoding error:NULL]; - - [self.textView resignFirstResponder]; - [self.button1 setEnabled:false]; - [self.button1.titleLabel setEnabled:false]; - [self.button2 setEnabled:false]; - [self.button2.titleLabel setEnabled:false]; -} - -- (void)button2Pressed:(id)sender { - /* Reload the config file */ - NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); - NSString *cfgPath = [[paths objectAtIndex:0] stringByAppendingPathComponent:@"/config.cfg"]; - self.textView.text = [NSMutableString stringWithContentsOfFile:cfgPath encoding:NSASCIIStringEncoding error:NULL]; - - [self.textView resignFirstResponder]; - [self.button1 setEnabled:false]; - [self.button1.titleLabel setEnabled:false]; - [self.button2 setEnabled:false]; - [self.button2.titleLabel setEnabled:false]; -} - -/* -// Override to allow orientations other than the default portrait orientation. -- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { - // Return YES for supported orientations - return (interfaceOrientation == UIInterfaceOrientationPortrait); -} -*/ - -- (void)didReceiveMemoryWarning { - // Releases the view if it doesn't have a superview. - [super didReceiveMemoryWarning]; - - // Release any cached data, images, etc that aren't in use. -} - -- (void)viewDidUnload { - // Release any retained subviews of the main view. - // e.g. self.myOutlet = nil; -} - - -- (void)dealloc { - [super dealloc]; -} - - -@end diff --git a/pjsip-apps/src/ipjsua/Classes/FirstViewController.h b/pjsip-apps/src/ipjsua/Classes/FirstViewController.h deleted file mode 100644 index d199a31f..00000000 --- a/pjsip-apps/src/ipjsua/Classes/FirstViewController.h +++ /dev/null @@ -1,37 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * 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 - - -@interface FirstViewController : UIViewController { - IBOutlet UITextField *textField; - IBOutlet UITextView *textView; - IBOutlet UIButton *button1; - - NSString *text; - bool hasInput; -} - -@property (nonatomic, retain) IBOutlet UITextField *textField; -@property (nonatomic, retain) IBOutlet UITextView *textView; -@property (nonatomic, retain) IBOutlet UIButton *button1; -@property (nonatomic, retain) NSString *text; -@property (nonatomic) bool hasInput; - -@end diff --git a/pjsip-apps/src/ipjsua/Classes/FirstViewController.m b/pjsip-apps/src/ipjsua/Classes/FirstViewController.m deleted file mode 100644 index b3878ab4..00000000 --- a/pjsip-apps/src/ipjsua/Classes/FirstViewController.m +++ /dev/null @@ -1,107 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * 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 "FirstViewController.h" -#import "ipjsuaAppDelegate.h" - - -@implementation FirstViewController -@synthesize textField; -@synthesize textView; -@synthesize button1; -@synthesize text; -@synthesize hasInput; - -- (BOOL)textFieldShouldReturn:(UITextField *)theTextField { - // When the user presses return, take focus away from the text field so that the keyboard is dismissed. - if (theTextField == textField) { - [self.textField resignFirstResponder]; - self.hasInput = true; - self.text = [textField.text stringByAppendingString:@"\n"]; - textField.text = @""; - } - return YES; -} - - -- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event -{ - // Dismiss the keyboard when the view outside the text field is touched. - [textField resignFirstResponder]; - [super touchesBegan:touches withEvent:event]; -} - -/* -// The designated initializer. Override to perform setup that is required before the view is loaded. -- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { - if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { - // Custom initialization - } - return self; -} -*/ - -/* -// Implement loadView to create a view hierarchy programmatically, without using a nib. -- (void)loadView { -} -*/ - -// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. -- (void)viewDidLoad { - [super viewDidLoad]; - - [[UIApplication sharedApplication] beginReceivingRemoteControlEvents]; - - ipjsuaAppDelegate *appd = (ipjsuaAppDelegate *)[[UIApplication sharedApplication] delegate]; - appd.mainView = self; - textField.delegate = self; - [self.textView setFont:[UIFont fontWithName:@"Courier New" size:8.9]]; - [self.textField setEnabled: false]; - [button1 addTarget:self action:@selector(button1Pressed:) forControlEvents:(UIControlEvents)UIControlEventTouchDown]; -} - -- (void)button1Pressed:(id)sender { - /* Clear the text view */ - self.textView.text = @""; -} - -// Override to allow orientations other than the default portrait orientation. -- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { - // Return YES for supported orientations - return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); -} - -- (void)didReceiveMemoryWarning { - // Releases the view if it doesn't have a superview. - [super didReceiveMemoryWarning]; - - // Release any cached data, images, etc that aren't in use. -} - -- (void)viewDidUnload { - // Release any retained subviews of the main view. - // e.g. self.myOutlet = nil; -} - - -- (void)dealloc { - [super dealloc]; -} - -@end diff --git a/pjsip-apps/src/ipjsua/Classes/TabBarController.h b/pjsip-apps/src/ipjsua/Classes/TabBarController.h deleted file mode 100644 index 343bed02..00000000 --- a/pjsip-apps/src/ipjsua/Classes/TabBarController.h +++ /dev/null @@ -1,26 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * 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 - - -@interface TabBarController : UITabBarController { - -} - -@end diff --git a/pjsip-apps/src/ipjsua/Classes/TabBarController.m b/pjsip-apps/src/ipjsua/Classes/TabBarController.m deleted file mode 100644 index f9e44c01..00000000 --- a/pjsip-apps/src/ipjsua/Classes/TabBarController.m +++ /dev/null @@ -1,30 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * 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 "TabBarController.h" - - -@implementation TabBarController - -// Override to allow orientations other than the default portrait orientation. -- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { - // Return YES for supported orientations - return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); -} - -@end diff --git a/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.h b/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.h deleted file mode 100644 index 624f7c24..00000000 --- a/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.h +++ /dev/null @@ -1,37 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * 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 -#import "ConfigViewController.h" -#import "FirstViewController.h" -#import "TabBarController.h" - -@interface ipjsuaAppDelegate : NSObject { - UIWindow *window; - ConfigViewController *cfgView; - FirstViewController *mainView; - TabBarController *tabBarController; -} - -@property (nonatomic, retain) IBOutlet UIWindow *window; -@property (nonatomic, retain) IBOutlet TabBarController *tabBarController; -@property (nonatomic, retain) IBOutlet ConfigViewController *cfgView; -@property (nonatomic, retain) FirstViewController *mainView; - - -@end diff --git a/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m b/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m deleted file mode 100644 index d462ae44..00000000 --- a/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m +++ /dev/null @@ -1,252 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * 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 -#import -#import "ipjsuaAppDelegate.h" - -extern pj_log_func *log_cb; - -@implementation ipjsuaAppDelegate -@synthesize window; -@synthesize tabBarController; -@synthesize mainView; -@synthesize cfgView; - -/* Sleep interval duration */ -#define SLEEP_INTERVAL 0.5 -/* Determine whether we should print the messages in the debugger - * console as well - */ -#define DEBUGGER_PRINT 1 -/* Whether we should show pj log messages in the text area */ -#define SHOW_LOG 1 -#define PATH_LENGTH PJ_MAXPATH -#define KEEP_ALIVE_INTERVAL 600 - -extern pj_bool_t app_restart; - -char argv_buf[PATH_LENGTH]; -char *argv[] = {"", "--config-file", argv_buf}; - -ipjsuaAppDelegate *app; - -bool app_running; -bool thread_quit; -NSMutableString *mstr; -pj_thread_desc a_thread_desc; -pj_thread_t *a_thread; -pjsua_call_id ccall_id; - -pj_status_t app_init(int argc, char *argv[]); -pj_status_t app_main(void); -pj_status_t app_destroy(void); -void keepAliveFunction(int timeout); - -void showMsg(const char *format, ...) -{ - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - va_list arg; - - va_start(arg, format); - NSString *str = [[NSString alloc] initWithFormat:[NSString stringWithFormat:@"%s", format] arguments: arg]; -#if DEBUGGER_PRINT - NSLog(@"%@", str); -#endif - va_end(arg); - - [mstr appendString:str]; - [pool release]; -} - -char * getInput(char *s, int n, FILE *stream) -{ - if (stream != stdin) { - return fgets(s, n, stream); - } - - app.mainView.hasInput = false; - [app.mainView.textField setEnabled: true]; - [app performSelectorOnMainThread:@selector(displayMsg:) withObject:mstr waitUntilDone:YES]; - [mstr setString:@""]; - - while (!thread_quit && !app.mainView.hasInput) { - int ctr = 0; - [NSThread sleepForTimeInterval:SLEEP_INTERVAL]; - if (ctr == 4) { - [app performSelectorOnMainThread:@selector(displayMsg:) withObject:mstr waitUntilDone:YES]; - [mstr setString:@""]; - ctr = 0; - } - ctr++; - } - - [app.mainView.text getCString:s maxLength:n encoding:NSASCIIStringEncoding]; - [app.mainView.textField setEnabled: false]; - [app performSelectorOnMainThread:@selector(displayMsg:) withObject:app.mainView.text waitUntilDone:NO]; - - return s; -} - -void showLog(int level, const char *data, int len) -{ - showMsg("%s", data); -} - -pj_bool_t showNotification(pjsua_call_id call_id) -{ -#ifdef __IPHONE_4_0 - ccall_id = call_id; - - // Create a new notification - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - UILocalNotification* alert = [[[UILocalNotification alloc] init] autorelease]; - if (alert) - { - alert.repeatInterval = 0; - alert.alertBody = @"Incoming call received..."; - alert.alertAction = @"Answer"; - - [[UIApplication sharedApplication] presentLocalNotificationNow:alert]; - } - - [pool release]; - - return PJ_FALSE; -#else - return PJ_TRUE; -#endif -} - -- (void)answer_call { - if (!pj_thread_is_registered()) - { - pj_thread_register("ipjsua", a_thread_desc, &a_thread); - } - pjsua_call_answer(ccall_id, 200, NULL, NULL); -} - -#ifdef __IPHONE_4_0 -- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification { - [app performSelectorOnMainThread:@selector(answer_call) withObject:nil waitUntilDone:YES]; -} - -- (void)keepAlive { - if (!pj_thread_is_registered()) - { - pj_thread_register("ipjsua", a_thread_desc, &a_thread); - } - keepAliveFunction(KEEP_ALIVE_INTERVAL); -} - -- (void)applicationDidEnterBackground:(UIApplication *)application -{ - [app performSelectorOnMainThread:@selector(keepAlive) withObject:nil waitUntilDone:YES]; - [application setKeepAliveTimeout:KEEP_ALIVE_INTERVAL handler: ^{ - [app performSelectorOnMainThread:@selector(keepAlive) withObject:nil waitUntilDone:YES]; - }]; -} - -#endif - -- (void)start_app { - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - /* Wait until the view is ready */ - while (self.mainView == nil) { - [NSThread sleepForTimeInterval:SLEEP_INTERVAL]; - } - - [NSThread setThreadPriority:1.0]; - mstr = [NSMutableString stringWithCapacity:4196]; -#if SHOW_LOG - pj_log_set_log_func(&showLog); - log_cb = &showLog; -#endif - - do { - app_restart = PJ_FALSE; - if (app_init(3, argv) != PJ_SUCCESS) { - NSString *str = @"Failed to initialize pjsua\n"; - [app performSelectorOnMainThread:@selector(displayMsg:) withObject:str waitUntilDone:YES]; - } else { - app_running = true; - app_main(); - - app_destroy(); - /* This is on purpose */ - app_destroy(); - } - - [app performSelectorOnMainThread:@selector(displayMsg:) withObject:mstr waitUntilDone:YES]; - [mstr setString:@""]; - } while (app_restart); - - [pool release]; -} - -- (void)displayMsg:(NSString *)str { - self.mainView.textView.text = [self.mainView.textView.text stringByAppendingString:str]; - [self.mainView.textView scrollRangeToVisible:NSMakeRange([self.mainView.textView.text length] - 1, 1)]; -} - -- (void)applicationDidFinishLaunching:(UIApplication *)application { - /* If there is no config file in the document dir, copy the default config file into the directory */ - NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); - NSString *cfgPath = [[paths objectAtIndex:0] stringByAppendingPathComponent:@"/config.cfg"]; - if (![[NSFileManager defaultManager] fileExistsAtPath:cfgPath]) { - NSString *resPath = [[NSBundle mainBundle] pathForResource:@"config" ofType:@"cfg"]; - NSString *cfg = [NSString stringWithContentsOfFile:resPath encoding:NSASCIIStringEncoding error:NULL]; - [cfg writeToFile:cfgPath atomically:NO encoding:NSASCIIStringEncoding error:NULL]; - } - [cfgPath getCString:argv[2] maxLength:PATH_LENGTH encoding:NSASCIIStringEncoding]; - - // Add the tab bar controller's current view as a subview of the window - [window addSubview:tabBarController.view]; - [window makeKeyAndVisible]; - - app = self; - app_running = false; - thread_quit = false; - /* Start pjsua thread */ - [NSThread detachNewThreadSelector:@selector(start_app) toTarget:self withObject:nil]; -} - -/* -// Optional UITabBarControllerDelegate method -- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController { -} -*/ - -/* -// Optional UITabBarControllerDelegate method -- (void)tabBarController:(UITabBarController *)tabBarController didEndCustomizingViewControllers:(NSArray *)viewControllers changed:(BOOL)changed { -} -*/ - - -- (void)dealloc { - thread_quit = true; - [NSThread sleepForTimeInterval:SLEEP_INTERVAL]; - - [tabBarController release]; - [window release]; - [super dealloc]; -} - -@end - diff --git a/pjsip-apps/src/ipjsua/MainWindow.xib b/pjsip-apps/src/ipjsua/MainWindow.xib deleted file mode 100644 index dfdc90fa..00000000 --- a/pjsip-apps/src/ipjsua/MainWindow.xib +++ /dev/null @@ -1,780 +0,0 @@ - - - - 784 - 10C540 - 740 - 1038.25 - 458.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 62 - - - YES - - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - YES - - YES - - - YES - - - - YES - - IBFilesOwner - - - IBFirstResponder - - - - - 1316 - - {320, 480} - - 1 - MSAxIDEAA - - NO - NO - - YES - - - - - 2 - NO - - - 2 - - YES - - - - 274 - - YES - - - 306 - {{0, 34}, {480, 217}} - - - 1 - MC45ODE5Mjc3MTA4IDAuOTYzODU1NDIxNyAxIDAAA - - NO - YES - YES - NO - NO - 0.0 - 0.0 - NO - NO - - - - - - 292 - {{7, 0}, {323, 31}} - - NO - NO - 0 - - 3 - Insert command here - - 3 - MAA - - 2 - - - YES - 17 - - 1 - 1 - 1 - - 1 - - - - 292 - {{351, 0}, {90, 32}} - - NO - NO - 0 - 0 - - Helvetica-Bold - 15 - 16 - - 1 - Clear view - - 3 - MQA - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - 3 - MC41AA - - - - {480, 251} - - - 1 - MC42NDQxOTgyNzA4IDAuNzgwNDMyODUxOSAwLjg2NDEzMDQzNDgAA - - NO - - - ipjsua - - - - - - YES - - - - Config - - - - SecondView - - - - - 266 - {{129, 330}, {163, 49}} - - 3 - MCAwAA - - NO - - - - - - YES - - - window - - - - 9 - - - - delegate - - - - 99 - - - - tabBarController - - - - 113 - - - - textField - - - - 129 - - - - textView - - - - 135 - - - - delegate - - - - 136 - - - - button1 - - - - 140 - - - - - YES - - 0 - - - - - - 2 - - - YES - - - - - -1 - - - File's Owner - - - 3 - - - - - 106 - - - YES - - - - - - - - 107 - - - - - 108 - - - YES - - - - - - - 109 - - - YES - - - - - - 110 - - - - - 111 - - - - - -2 - - - - - 119 - - - YES - - - - - - - - 123 - - - - - 126 - - - - - 139 - - - - - - - YES - - YES - -1.CustomClassName - -2.CustomClassName - 106.CustomClassName - 106.IBEditorWindowLastContentRect - 106.IBPluginDependency - 107.IBPluginDependency - 108.CustomClassName - 108.IBPluginDependency - 109.CustomClassName - 109.IBPluginDependency - 110.IBPluginDependency - 111.IBPluginDependency - 119.IBPluginDependency - 123.IBPluginDependency - 126.IBPluginDependency - 139.IBPluginDependency - 2.IBAttributePlaceholdersKey - 2.IBEditorWindowLastContentRect - 2.IBPluginDependency - 3.CustomClassName - 3.IBPluginDependency - - - YES - UIApplication - UIResponder - TabBarController - {{702, 231}, {480, 320}} - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - FirstViewController - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - ConfigViewController - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - YES - - - YES - - - {{229, 373}, {320, 480}} - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - ipjsuaAppDelegate - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 140 - - - - YES - - ConfigViewController - UIViewController - - YES - - YES - button1 - button2 - textView - - - YES - UIButton - UIButton - UITextView - - - - IBProjectSource - Classes/ConfigViewController.h - - - - FirstViewController - UIViewController - - YES - - YES - button1 - textField - textView - - - YES - UIButton - UITextField - UITextView - - - - IBProjectSource - Classes/FirstViewController.h - - - - TabBarController - UITabBarController - - IBProjectSource - Classes/TabBarController.h - - - - ipjsuaAppDelegate - NSObject - - YES - - YES - cfgView - tabBarController - window - - - YES - ConfigViewController - TabBarController - UIWindow - - - - IBProjectSource - Classes/ipjsuaAppDelegate.h - - - - - YES - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSNetServices.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPort.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSStream.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSXMLParser.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIAccessibility.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UINibLoading.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIResponder.h - - - - UIApplication - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIApplication.h - - - - UIBarItem - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIBarItem.h - - - - UIButton - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UIButton.h - - - - UIControl - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIControl.h - - - - UIResponder - NSObject - - - - UIScrollView - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIScrollView.h - - - - UISearchBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UISearchBar.h - - - - UISearchDisplayController - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UISearchDisplayController.h - - - - UITabBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UITabBar.h - - - - UITabBarController - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITabBarController.h - - - - UITabBarItem - UIBarItem - - IBFrameworkSource - UIKit.framework/Headers/UITabBarItem.h - - - - UITextField - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UITextField.h - - - - UITextView - UIScrollView - - IBFrameworkSource - UIKit.framework/Headers/UITextView.h - - - - UIView - - - - UIView - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIView.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UINavigationController.h - - - - UIViewController - - - - UIViewController - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIViewController.h - - - - UIWindow - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIWindow.h - - - - - 0 - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - ipjsua.xcodeproj - 3 - 3.1 - - diff --git a/pjsip-apps/src/ipjsua/Resources-iPad/MainWindow-iPad.xib b/pjsip-apps/src/ipjsua/Resources-iPad/MainWindow-iPad.xib deleted file mode 100644 index ca7f70a7..00000000 --- a/pjsip-apps/src/ipjsua/Resources-iPad/MainWindow-iPad.xib +++ /dev/null @@ -1,913 +0,0 @@ - - - - 800 - 10C540 - 788 - 1038.25 - 458.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 117 - - - YES - - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - YES - - YES - - - YES - - - - YES - - IBFilesOwner - IBIPadFramework - - - IBFirstResponder - IBIPadFramework - - - IBIPadFramework - - - - 1316 - - {768, 1024} - - 1 - MSAxIDEAA - - NO - NO - - 2 - - IBIPadFramework - YES - YES - - - - - 2 - NO - - - 2 - - - 3 - - IBIPadFramework - YES - - - Config - IBIPadFramework - - - - SecondView-iPad - - 1 - - IBIPadFramework - NO - - - YES - - - - 274 - - YES - - - 306 - {{8, 57}, {1001, 622}} - - - 1 - MC45ODE5Mjc3MTA4IDAuOTYzODU1NDIxNyAxIDAAA - - NO - YES - YES - IBIPadFramework - NO - NO - 0.0 - 0.0 - NO - NO - - - IBCocoaTouchFramework - - - - - 292 - {{8, 8}, {844, 31}} - - NO - NO - IBIPadFramework - 0 - - 3 - Insert command here - - 3 - MAA - - 2 - - - YES - 17 - - 1 - 1 - 1 - IBCocoaTouchFramework - - 1 - - - - 292 - {{882, 7}, {127, 32}} - - NO - NO - IBIPadFramework - 0 - 0 - - Helvetica-Bold - 15 - 16 - - 1 - Clear view - - 3 - MQA - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - 3 - MC41AA - - - - {1024, 699} - - 1 - MC42NDQxOTgyNzA4IDAuNzgwNDMyODUxOSAwLjg2NDEzMDQzNDgAA - - NO - IBIPadFramework - - - ipjsua - IBIPadFramework - - - - - 1 - - IBIPadFramework - NO - - - - - - 266 - {{129, 330}, {163, 49}} - - 3 - MCAwAA - - NO - {{1.38778e-17, 0}, {1, 1}} - IBIPadFramework - - - - - - YES - - - window - - - - 9 - - - - delegate - - - - 99 - - - - tabBarController - - - - 113 - - - - textView - - - - 135 - - - - delegate - - - - 136 - - - - button1 - - - - 141 - - - - textField - - - - 142 - - - - - YES - - 0 - - - - - - 2 - - - YES - - - - - -1 - - - File's Owner - - - 3 - - - - - 106 - - - YES - - - - - - - - 107 - - - - - 108 - - - YES - - - - - - - 109 - - - YES - - - - - - 110 - - - - - 111 - - - - - -2 - - - - - 119 - - - YES - - - - - - - - 123 - - - - - 126 - - - - - 139 - - - - - - - YES - - YES - -1.CustomClassName - -2.CustomClassName - 106.CustomClassName - 106.IBEditorWindowLastContentRect - 106.IBLastUsedUIStatusBarStylesToTargetRuntimesMap - 106.IBPluginDependency - 107.IBPluginDependency - 108.CustomClassName - 108.IBPluginDependency - 109.CustomClassName - 109.IBPluginDependency - 110.IBPluginDependency - 111.IBPluginDependency - 119.IBPluginDependency - 123.IBPluginDependency - 126.IBPluginDependency - 139.IBPluginDependency - 2.IBAttributePlaceholdersKey - 2.IBEditorWindowLastContentRect - 2.IBLastUsedUIStatusBarStylesToTargetRuntimesMap - 2.IBPluginDependency - 3.CustomClassName - 3.IBPluginDependency - - - YES - UIApplication - UIResponder - TabBarController - {{197, 109}, {1039, 747}} - - IBCocoaTouchFramework - - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - FirstViewController - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - ConfigViewController - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - YES - - - YES - - - {{528, 373}, {320, 480}} - - IBCocoaTouchFramework - - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - ipjsuaAppDelegate - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 142 - - - - YES - - ConfigViewController - UIViewController - - YES - - YES - button1 - button2 - textView - - - YES - UIButton - UIButton - UITextView - - - - YES - - YES - button1 - button2 - textView - - - YES - - button1 - UIButton - - - button2 - UIButton - - - textView - UITextView - - - - - IBProjectSource - Classes/ConfigViewController.h - - - - FirstViewController - UIViewController - - YES - - YES - button1 - textField - textView - - - YES - UIButton - UITextField - UITextView - - - - YES - - YES - button1 - textField - textView - - - YES - - button1 - UIButton - - - textField - UITextField - - - textView - UITextView - - - - - IBProjectSource - Classes/FirstViewController.h - - - - TabBarController - UITabBarController - - IBProjectSource - Classes/TabBarController.h - - - - ipjsuaAppDelegate - NSObject - - YES - - YES - cfgView - tabBarController - window - - - YES - ConfigViewController - TabBarController - UIWindow - - - - YES - - YES - cfgView - tabBarController - window - - - YES - - cfgView - ConfigViewController - - - tabBarController - TabBarController - - - window - UIWindow - - - - - IBProjectSource - Classes/ipjsuaAppDelegate.h - - - - - YES - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSNetServices.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPort.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSStream.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSXMLParser.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIAccessibility.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UINibLoading.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIResponder.h - - - - UIApplication - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIApplication.h - - - - UIBarItem - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIBarItem.h - - - - UIButton - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UIButton.h - - - - UIControl - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIControl.h - - - - UIResponder - NSObject - - - - UIScrollView - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIScrollView.h - - - - UISearchBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UISearchBar.h - - - - UISearchDisplayController - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UISearchDisplayController.h - - - - UITabBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UITabBar.h - - - - UITabBarController - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITabBarController.h - - - - UITabBarItem - UIBarItem - - IBFrameworkSource - UIKit.framework/Headers/UITabBarItem.h - - - - UITextField - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UITextField.h - - - - UITextView - UIScrollView - - IBFrameworkSource - UIKit.framework/Headers/UITextView.h - - - - UIView - - - - UIView - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIView.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UINavigationController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UIPopoverController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UISplitViewController.h - - - - UIViewController - - - - UIViewController - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIViewController.h - - - - UIWindow - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIWindow.h - - - - - 0 - IBIPadFramework - - com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS - - - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - ../ipjsua.xcodeproj - 3 - 117 - - diff --git a/pjsip-apps/src/ipjsua/Resources-iPad/SecondView-iPad.xib b/pjsip-apps/src/ipjsua/Resources-iPad/SecondView-iPad.xib deleted file mode 100644 index 9b59476d..00000000 --- a/pjsip-apps/src/ipjsua/Resources-iPad/SecondView-iPad.xib +++ /dev/null @@ -1,561 +0,0 @@ - - - - 800 - 10C540 - 788 - 1038.25 - 458.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 117 - - - YES - - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - YES - - YES - - - YES - - - - YES - - IBFilesOwner - IBIPadFramework - - - IBFirstResponder - IBIPadFramework - - - - 274 - - YES - - - 306 - {{20, 15}, {825, 664}} - - - 1 - MSAwLjkzNzA0OTE0MTggMC45NDg5MTUzMDc3AA - - NO - YES - YES - IBIPadFramework - NO - NO - NO - 0.0 - 0.0 - NO - Config - - 1 - 1 - IBCocoaTouchFramework - - - - - 292 - {{853, 15}, {151, 37}} - - NO - NO - IBIPadFramework - 0 - 0 - - Helvetica-Bold - 15 - 16 - - 1 - Save - - 3 - MQA - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - 3 - MC41AA - - - - - 292 - {{853, 75}, {151, 37}} - - NO - NO - IBIPadFramework - 0 - 0 - - 1 - Revert - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - - - {1024, 699} - - - 1 - MC41NjQxMjQ1MDA4IDAuNzUyMzk5ODQ5NyAwLjg1NzE0Mjg1NzEAA - - - 2 - - - - 3 - - IBIPadFramework - - - - - YES - - - view - - - - 3 - - - - textView - - - - 8 - - - - button1 - - - - 11 - - - - button2 - - - - 12 - - - - - YES - - 0 - - - - - - 1 - - - YES - - - - - - - - -1 - - - File's Owner - - - -2 - - - - - 7 - - - - - 9 - - - - - 10 - - - - - - - YES - - YES - -1.CustomClassName - -2.CustomClassName - 1.IBEditorWindowLastContentRect - 1.IBLastUsedUIStatusBarStylesToTargetRuntimesMap - 1.IBPluginDependency - 10.IBPluginDependency - 7.IBPluginDependency - 9.IBPluginDependency - - - YES - ConfigViewController - UIResponder - {{41, 113}, {1116, 709}} - - IBCocoaTouchFramework - - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 12 - - - - YES - - ConfigViewController - UIViewController - - YES - - YES - button1 - button2 - textView - - - YES - UIButton - UIButton - UITextView - - - - YES - - YES - button1 - button2 - textView - - - YES - - button1 - UIButton - - - button2 - UIButton - - - textView - UITextView - - - - - IBProjectSource - Classes/ConfigViewController.h - - - - - YES - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSNetServices.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPort.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSStream.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSXMLParser.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIAccessibility.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UINibLoading.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIResponder.h - - - - UIButton - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UIButton.h - - - - UIControl - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIControl.h - - - - UIResponder - NSObject - - - - UIScrollView - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIScrollView.h - - - - UISearchBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UISearchBar.h - - - - UISearchDisplayController - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UISearchDisplayController.h - - - - UITextView - UIScrollView - - IBFrameworkSource - UIKit.framework/Headers/UITextView.h - - - - UIView - - IBFrameworkSource - UIKit.framework/Headers/UITextField.h - - - - UIView - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIView.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UINavigationController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UIPopoverController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UISplitViewController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITabBarController.h - - - - UIViewController - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIViewController.h - - - - - 0 - IBIPadFramework - - com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS - - - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - ipjsua.xcodeproj - 3 - 117 - - diff --git a/pjsip-apps/src/ipjsua/SecondView.xib b/pjsip-apps/src/ipjsua/SecondView.xib deleted file mode 100644 index dc43b74a..00000000 --- a/pjsip-apps/src/ipjsua/SecondView.xib +++ /dev/null @@ -1,501 +0,0 @@ - - - - 784 - 10C540 - 740 - 1038.25 - 458.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 62 - - - YES - - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - YES - - YES - - - YES - - - - YES - - IBFilesOwner - - - IBFirstResponder - - - - 274 - - YES - - - 306 - {375, 251} - - - 1 - MSAwLjkzNzA0OTE0MTggMC45NDg5MTUzMDc3AA - - NO - YES - YES - NO - NO - NO - 0.0 - 0.0 - NO - Config - - 1 - 1 - - - - - 292 - {{376, 6}, {104, 37}} - - NO - NO - 0 - 0 - - Helvetica-Bold - 15 - 16 - - 1 - Save - - 3 - MQA - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - 3 - MC41AA - - - - - 292 - {{376, 51}, {104, 37}} - - NO - NO - 0 - 0 - - 1 - Revert - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - - - {480, 251} - - - 1 - MC41NjQxMjQ1MDA4IDAuNzUyMzk5ODQ5NyAwLjg1NzE0Mjg1NzEAA - - - - - - - - YES - - - view - - - - 3 - - - - textView - - - - 8 - - - - button1 - - - - 11 - - - - button2 - - - - 12 - - - - - YES - - 0 - - - - - - 1 - - - YES - - - - - - - - -1 - - - File's Owner - - - -2 - - - - - 7 - - - - - 9 - - - - - 10 - - - - - - - YES - - YES - -1.CustomClassName - -2.CustomClassName - 1.IBEditorWindowLastContentRect - 1.IBPluginDependency - 10.IBPluginDependency - 7.IBPluginDependency - 9.IBPluginDependency - - - YES - ConfigViewController - UIResponder - {{530, 459}, {480, 320}} - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 12 - - - - YES - - ConfigViewController - UIViewController - - YES - - YES - button1 - button2 - textView - - - YES - UIButton - UIButton - UITextView - - - - IBProjectSource - Classes/ConfigViewController.h - - - - - YES - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSNetServices.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPort.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSStream.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSXMLParser.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIAccessibility.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UINibLoading.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIResponder.h - - - - UIButton - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UIButton.h - - - - UIControl - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIControl.h - - - - UIResponder - NSObject - - - - UIScrollView - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIScrollView.h - - - - UISearchBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UISearchBar.h - - - - UISearchDisplayController - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UISearchDisplayController.h - - - - UITextView - UIScrollView - - IBFrameworkSource - UIKit.framework/Headers/UITextView.h - - - - UIView - - IBFrameworkSource - UIKit.framework/Headers/UITextField.h - - - - UIView - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIView.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UINavigationController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITabBarController.h - - - - UIViewController - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIViewController.h - - - - - 0 - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - ipjsua.xcodeproj - 3 - 3.1 - - diff --git a/pjsip-apps/src/ipjsua/config.cfg b/pjsip-apps/src/ipjsua/config.cfg deleted file mode 100644 index 776fb035..00000000 --- a/pjsip-apps/src/ipjsua/config.cfg +++ /dev/null @@ -1,2 +0,0 @@ ---auto-answer=200 ---clock-rate=8000 diff --git a/pjsip-apps/src/ipjsua/ipjsua-Info.plist b/pjsip-apps/src/ipjsua/ipjsua-Info.plist deleted file mode 100644 index b57ad6d6..00000000 --- a/pjsip-apps/src/ipjsua/ipjsua-Info.plist +++ /dev/null @@ -1,39 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleDisplayName - ${PRODUCT_NAME} - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIconFile - - CFBundleIdentifier - com.teluu.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleVersion - 1.0 - LSRequiresIPhoneOS - - NSMainNibFile - MainWindow - NSMainNibFile~ipad - MainWindow-iPad - UIBackgroundModes - - audio - voip - - UIInterfaceOrientation - UIInterfaceOrientationLandscapeRight - - diff --git a/pjsip-apps/src/ipjsua/ipjsua.xcodeproj/project.pbxproj b/pjsip-apps/src/ipjsua/ipjsua.xcodeproj/project.pbxproj deleted file mode 100644 index fe5e11b7..00000000 --- a/pjsip-apps/src/ipjsua/ipjsua.xcodeproj/project.pbxproj +++ /dev/null @@ -1,492 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 45; - objects = { - -/* Begin PBXBuildFile section */ - 1D3623260D0F684500981E51 /* ipjsuaAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D3623250D0F684500981E51 /* ipjsuaAppDelegate.m */; }; - 1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; }; - 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; - 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; - 28216C970DB411BC00E5133A /* FirstViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28216C960DB411BC00E5133A /* FirstViewController.m */; }; - 282CCBFE0DB6C98000C4EA27 /* SecondView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 282CCBFD0DB6C98000C4EA27 /* SecondView.xib */; }; - 288765080DF74369002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765070DF74369002DB57D /* CoreGraphics.framework */; }; - 28AD73880D9D96C1002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD73870D9D96C1002E5188 /* MainWindow.xib */; }; - 3A0D789F121E324E009D5030 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A0D789E121E324E009D5030 /* CFNetwork.framework */; }; - 3A0D7ECD123DD46C009D5030 /* MainWindow-iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3A0D7ECC123DD46C009D5030 /* MainWindow-iPad.xib */; }; - 3A0D7F20123F2254009D5030 /* SecondView-iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3A0D7F1F123F2254009D5030 /* SecondView-iPad.xib */; }; - 3AE06674138E6C25008EE71A /* libpjmedia-videodev-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06673138E6C25008EE71A /* libpjmedia-videodev-arm-apple-darwin9.a */; }; - 3AE06681138E6F88008EE71A /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06680138E6F88008EE71A /* AVFoundation.framework */; }; - 3AE06693138E7056008EE71A /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06692138E7056008EE71A /* OpenGLES.framework */; }; - 3AE06695138E70B9008EE71A /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06694138E70B9008EE71A /* libz.dylib */; }; - 3AE06699138E70F0008EE71A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06696138E70F0008EE71A /* CoreGraphics.framework */; }; - 3AE0669A138E70F0008EE71A /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06697138E70F0008EE71A /* CoreMedia.framework */; }; - 3AE0669B138E70F0008EE71A /* CoreVideo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06698138E70F0008EE71A /* CoreVideo.framework */; }; - 3AE0669D138E710C008EE71A /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE0669C138E710C008EE71A /* QuartzCore.framework */; }; - 3AE9099D11587BB900FAEAA5 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE9099C11587BB900FAEAA5 /* AudioToolbox.framework */; }; - 3AE90A2D1158B52500FAEAA5 /* pjsua_app.c in Sources */ = {isa = PBXBuildFile; fileRef = 3AE90A2C1158B52500FAEAA5 /* pjsua_app.c */; }; - 3AE90A6A1158C6B400FAEAA5 /* libgsmcodec-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A691158C6B400FAEAA5 /* libgsmcodec-arm-apple-darwin9.a */; }; - 3AE90A6C1158C6B400FAEAA5 /* libpj-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A6B1158C6B400FAEAA5 /* libpj-arm-apple-darwin9.a */; }; - 3AE90A6E1158C6B400FAEAA5 /* libpjlib-util-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A6D1158C6B400FAEAA5 /* libpjlib-util-arm-apple-darwin9.a */; }; - 3AE90A701158C6B400FAEAA5 /* libpjmedia-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A6F1158C6B400FAEAA5 /* libpjmedia-arm-apple-darwin9.a */; }; - 3AE90A721158C6B400FAEAA5 /* libpjmedia-audiodev-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A711158C6B400FAEAA5 /* libpjmedia-audiodev-arm-apple-darwin9.a */; }; - 3AE90A741158C6B400FAEAA5 /* libpjmedia-codec-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A731158C6B400FAEAA5 /* libpjmedia-codec-arm-apple-darwin9.a */; }; - 3AE90A761158C6B400FAEAA5 /* libpjnath-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A751158C6B400FAEAA5 /* libpjnath-arm-apple-darwin9.a */; }; - 3AE90A781158C6B400FAEAA5 /* libpjsip-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A771158C6B400FAEAA5 /* libpjsip-arm-apple-darwin9.a */; }; - 3AE90A7A1158C6B400FAEAA5 /* libpjsip-simple-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A791158C6B400FAEAA5 /* libpjsip-simple-arm-apple-darwin9.a */; }; - 3AE90A7C1158C6B400FAEAA5 /* libpjsip-ua-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A7B1158C6B400FAEAA5 /* libpjsip-ua-arm-apple-darwin9.a */; }; - 3AE90A7E1158C6B400FAEAA5 /* libpjsua-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A7D1158C6B400FAEAA5 /* libpjsua-arm-apple-darwin9.a */; }; - 3AE90A801158C6B400FAEAA5 /* libresample-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A7F1158C6B400FAEAA5 /* libresample-arm-apple-darwin9.a */; }; - 3AE90AC01158F0C400FAEAA5 /* config.cfg in Resources */ = {isa = PBXBuildFile; fileRef = 3AE90ABF1158F0C400FAEAA5 /* config.cfg */; }; - 3AE90C51115A35BB00FAEAA5 /* TabBarController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3AE90C50115A35BB00FAEAA5 /* TabBarController.m */; }; - 3AE90DAD115BB1CF00FAEAA5 /* ConfigViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3AE90DAC115BB1CF00FAEAA5 /* ConfigViewController.m */; }; - 3AE90EB7115F7BCE00FAEAA5 /* libg7221codec-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90EB1115F7BCE00FAEAA5 /* libg7221codec-arm-apple-darwin9.a */; }; - 3AE90EB8115F7BCE00FAEAA5 /* libilbccodec-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90EB2115F7BCE00FAEAA5 /* libilbccodec-arm-apple-darwin9.a */; }; - 3AE90EB9115F7BCE00FAEAA5 /* libmilenage-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90EB3115F7BCE00FAEAA5 /* libmilenage-arm-apple-darwin9.a */; }; - 3AE90EBA115F7BCE00FAEAA5 /* libpjsdp-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90EB4115F7BCE00FAEAA5 /* libpjsdp-arm-apple-darwin9.a */; }; - 3AE90EBB115F7BCE00FAEAA5 /* libspeex-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90EB5115F7BCE00FAEAA5 /* libspeex-arm-apple-darwin9.a */; }; - 3AE90EBC115F7BCE00FAEAA5 /* libsrtp-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90EB6115F7BCE00FAEAA5 /* libsrtp-arm-apple-darwin9.a */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 1D3623240D0F684500981E51 /* ipjsuaAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ipjsuaAppDelegate.h; sourceTree = ""; }; - 1D3623250D0F684500981E51 /* ipjsuaAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ipjsuaAppDelegate.m; sourceTree = ""; }; - 1D6058910D05DD3D006BFB54 /* ipjsua.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ipjsua.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - 28216C950DB411BC00E5133A /* FirstViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FirstViewController.h; sourceTree = ""; }; - 28216C960DB411BC00E5133A /* FirstViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FirstViewController.m; sourceTree = ""; }; - 282CCBFD0DB6C98000C4EA27 /* SecondView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = SecondView.xib; sourceTree = ""; }; - 288765070DF74369002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - 28A0AB4B0D9B1048005BE974 /* ipjsua_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ipjsua_Prefix.pch; sourceTree = ""; }; - 28AD73870D9D96C1002E5188 /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow.xib; sourceTree = ""; }; - 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 3A0D789E121E324E009D5030 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; - 3A0D7ECC123DD46C009D5030 /* MainWindow-iPad.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "MainWindow-iPad.xib"; path = "Resources-iPad/MainWindow-iPad.xib"; sourceTree = ""; }; - 3A0D7F1F123F2254009D5030 /* SecondView-iPad.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "SecondView-iPad.xib"; path = "Resources-iPad/SecondView-iPad.xib"; sourceTree = ""; }; - 3AE06673138E6C25008EE71A /* libpjmedia-videodev-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjmedia-videodev-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjmedia-videodev-arm-apple-darwin9.a"; sourceTree = ""; }; - 3AE06680138E6F88008EE71A /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; - 3AE06692138E7056008EE71A /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; }; - 3AE06694138E70B9008EE71A /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; }; - 3AE06696138E70F0008EE71A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - 3AE06697138E70F0008EE71A /* CoreMedia.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMedia.framework; path = System/Library/Frameworks/CoreMedia.framework; sourceTree = SDKROOT; }; - 3AE06698138E70F0008EE71A /* CoreVideo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreVideo.framework; path = System/Library/Frameworks/CoreVideo.framework; sourceTree = SDKROOT; }; - 3AE0669C138E710C008EE71A /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; - 3AE9099C11587BB900FAEAA5 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; - 3AE90A2C1158B52500FAEAA5 /* pjsua_app.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pjsua_app.c; path = ../pjsua/pjsua_app.c; sourceTree = SOURCE_ROOT; }; - 3AE90A691158C6B400FAEAA5 /* libgsmcodec-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libgsmcodec-arm-apple-darwin9.a"; path = "../../../third_party/lib/libgsmcodec-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A6B1158C6B400FAEAA5 /* libpj-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpj-arm-apple-darwin9.a"; path = "../../../pjlib/lib/libpj-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A6D1158C6B400FAEAA5 /* libpjlib-util-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjlib-util-arm-apple-darwin9.a"; path = "../../../pjlib-util/lib/libpjlib-util-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A6F1158C6B400FAEAA5 /* libpjmedia-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjmedia-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjmedia-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A711158C6B400FAEAA5 /* libpjmedia-audiodev-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjmedia-audiodev-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjmedia-audiodev-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A731158C6B400FAEAA5 /* libpjmedia-codec-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjmedia-codec-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjmedia-codec-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A751158C6B400FAEAA5 /* libpjnath-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjnath-arm-apple-darwin9.a"; path = "../../../pjnath/lib/libpjnath-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A771158C6B400FAEAA5 /* libpjsip-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsip-arm-apple-darwin9.a"; path = "../../../pjsip/lib/libpjsip-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A791158C6B400FAEAA5 /* libpjsip-simple-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsip-simple-arm-apple-darwin9.a"; path = "../../../pjsip/lib/libpjsip-simple-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A7B1158C6B400FAEAA5 /* libpjsip-ua-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsip-ua-arm-apple-darwin9.a"; path = "../../../pjsip/lib/libpjsip-ua-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A7D1158C6B400FAEAA5 /* libpjsua-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsua-arm-apple-darwin9.a"; path = "../../../pjsip/lib/libpjsua-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A7F1158C6B400FAEAA5 /* libresample-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libresample-arm-apple-darwin9.a"; path = "../../../third_party/lib/libresample-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90ABF1158F0C400FAEAA5 /* config.cfg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = config.cfg; sourceTree = ""; }; - 3AE90B131159D38400FAEAA5 /* gui.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = gui.h; path = ../pjsua/gui.h; sourceTree = SOURCE_ROOT; }; - 3AE90C4F115A35BB00FAEAA5 /* TabBarController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TabBarController.h; sourceTree = ""; }; - 3AE90C50115A35BB00FAEAA5 /* TabBarController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TabBarController.m; sourceTree = ""; }; - 3AE90DAB115BB1CF00FAEAA5 /* ConfigViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConfigViewController.h; sourceTree = ""; }; - 3AE90DAC115BB1CF00FAEAA5 /* ConfigViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ConfigViewController.m; sourceTree = ""; }; - 3AE90EB1115F7BCE00FAEAA5 /* libg7221codec-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libg7221codec-arm-apple-darwin9.a"; path = "../../../third_party/lib/libg7221codec-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90EB2115F7BCE00FAEAA5 /* libilbccodec-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libilbccodec-arm-apple-darwin9.a"; path = "../../../third_party/lib/libilbccodec-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90EB3115F7BCE00FAEAA5 /* libmilenage-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libmilenage-arm-apple-darwin9.a"; path = "../../../third_party/lib/libmilenage-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90EB4115F7BCE00FAEAA5 /* libpjsdp-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsdp-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjsdp-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90EB5115F7BCE00FAEAA5 /* libspeex-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libspeex-arm-apple-darwin9.a"; path = "../../../third_party/lib/libspeex-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90EB6115F7BCE00FAEAA5 /* libsrtp-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libsrtp-arm-apple-darwin9.a"; path = "../../../third_party/lib/libsrtp-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 8D1107310486CEB800E47090 /* ipjsua-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "ipjsua-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */, - 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */, - 288765080DF74369002DB57D /* CoreGraphics.framework in Frameworks */, - 3AE9099D11587BB900FAEAA5 /* AudioToolbox.framework in Frameworks */, - 3AE90A6A1158C6B400FAEAA5 /* libgsmcodec-arm-apple-darwin9.a in Frameworks */, - 3AE90A6C1158C6B400FAEAA5 /* libpj-arm-apple-darwin9.a in Frameworks */, - 3AE90A6E1158C6B400FAEAA5 /* libpjlib-util-arm-apple-darwin9.a in Frameworks */, - 3AE90A701158C6B400FAEAA5 /* libpjmedia-arm-apple-darwin9.a in Frameworks */, - 3AE90A721158C6B400FAEAA5 /* libpjmedia-audiodev-arm-apple-darwin9.a in Frameworks */, - 3AE90A741158C6B400FAEAA5 /* libpjmedia-codec-arm-apple-darwin9.a in Frameworks */, - 3AE90A761158C6B400FAEAA5 /* libpjnath-arm-apple-darwin9.a in Frameworks */, - 3AE90A781158C6B400FAEAA5 /* libpjsip-arm-apple-darwin9.a in Frameworks */, - 3AE90A7A1158C6B400FAEAA5 /* libpjsip-simple-arm-apple-darwin9.a in Frameworks */, - 3AE90A7C1158C6B400FAEAA5 /* libpjsip-ua-arm-apple-darwin9.a in Frameworks */, - 3AE90A7E1158C6B400FAEAA5 /* libpjsua-arm-apple-darwin9.a in Frameworks */, - 3AE90A801158C6B400FAEAA5 /* libresample-arm-apple-darwin9.a in Frameworks */, - 3AE90EB7115F7BCE00FAEAA5 /* libg7221codec-arm-apple-darwin9.a in Frameworks */, - 3AE90EB8115F7BCE00FAEAA5 /* libilbccodec-arm-apple-darwin9.a in Frameworks */, - 3AE90EB9115F7BCE00FAEAA5 /* libmilenage-arm-apple-darwin9.a in Frameworks */, - 3AE90EBA115F7BCE00FAEAA5 /* libpjsdp-arm-apple-darwin9.a in Frameworks */, - 3AE90EBB115F7BCE00FAEAA5 /* libspeex-arm-apple-darwin9.a in Frameworks */, - 3AE90EBC115F7BCE00FAEAA5 /* libsrtp-arm-apple-darwin9.a in Frameworks */, - 3A0D789F121E324E009D5030 /* CFNetwork.framework in Frameworks */, - 3AE06674138E6C25008EE71A /* libpjmedia-videodev-arm-apple-darwin9.a in Frameworks */, - 3AE06681138E6F88008EE71A /* AVFoundation.framework in Frameworks */, - 3AE06693138E7056008EE71A /* OpenGLES.framework in Frameworks */, - 3AE06695138E70B9008EE71A /* libz.dylib in Frameworks */, - 3AE06699138E70F0008EE71A /* CoreGraphics.framework in Frameworks */, - 3AE0669A138E70F0008EE71A /* CoreMedia.framework in Frameworks */, - 3AE0669B138E70F0008EE71A /* CoreVideo.framework in Frameworks */, - 3AE0669D138E710C008EE71A /* QuartzCore.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 080E96DDFE201D6D7F000001 /* Classes */ = { - isa = PBXGroup; - children = ( - 3AE90DAB115BB1CF00FAEAA5 /* ConfigViewController.h */, - 3AE90DAC115BB1CF00FAEAA5 /* ConfigViewController.m */, - 28216C950DB411BC00E5133A /* FirstViewController.h */, - 28216C960DB411BC00E5133A /* FirstViewController.m */, - 3AE90C4F115A35BB00FAEAA5 /* TabBarController.h */, - 3AE90C50115A35BB00FAEAA5 /* TabBarController.m */, - 1D3623240D0F684500981E51 /* ipjsuaAppDelegate.h */, - 1D3623250D0F684500981E51 /* ipjsuaAppDelegate.m */, - ); - path = Classes; - sourceTree = ""; - }; - 19C28FACFE9D520D11CA2CBB /* Products */ = { - isa = PBXGroup; - children = ( - 1D6058910D05DD3D006BFB54 /* ipjsua.app */, - ); - name = Products; - sourceTree = ""; - }; - 29B97314FDCFA39411CA2CEA /* ipjsua */ = { - isa = PBXGroup; - children = ( - 080E96DDFE201D6D7F000001 /* Classes */, - 29B97315FDCFA39411CA2CEA /* Other Sources */, - 29B97317FDCFA39411CA2CEA /* Resources */, - 3A0D7ECB123DD46C009D5030 /* Resources-iPad */, - 29B97323FDCFA39411CA2CEA /* Frameworks */, - 3AE909B211587D2700FAEAA5 /* Libraries */, - 19C28FACFE9D520D11CA2CBB /* Products */, - ); - name = ipjsua; - sourceTree = ""; - }; - 29B97315FDCFA39411CA2CEA /* Other Sources */ = { - isa = PBXGroup; - children = ( - 3AE90B131159D38400FAEAA5 /* gui.h */, - 3AE90ABF1158F0C400FAEAA5 /* config.cfg */, - 3AE90A2C1158B52500FAEAA5 /* pjsua_app.c */, - 28A0AB4B0D9B1048005BE974 /* ipjsua_Prefix.pch */, - 29B97316FDCFA39411CA2CEA /* main.m */, - ); - name = "Other Sources"; - sourceTree = ""; - }; - 29B97317FDCFA39411CA2CEA /* Resources */ = { - isa = PBXGroup; - children = ( - 282CCBFD0DB6C98000C4EA27 /* SecondView.xib */, - 28AD73870D9D96C1002E5188 /* MainWindow.xib */, - 8D1107310486CEB800E47090 /* ipjsua-Info.plist */, - ); - name = Resources; - sourceTree = ""; - }; - 29B97323FDCFA39411CA2CEA /* Frameworks */ = { - isa = PBXGroup; - children = ( - 3AE06694138E70B9008EE71A /* libz.dylib */, - 3AE0669C138E710C008EE71A /* QuartzCore.framework */, - 3AE06696138E70F0008EE71A /* CoreGraphics.framework */, - 3AE06697138E70F0008EE71A /* CoreMedia.framework */, - 3AE06698138E70F0008EE71A /* CoreVideo.framework */, - 3AE06692138E7056008EE71A /* OpenGLES.framework */, - 3AE06680138E6F88008EE71A /* AVFoundation.framework */, - 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */, - 1D30AB110D05D00D00671497 /* Foundation.framework */, - 288765070DF74369002DB57D /* CoreGraphics.framework */, - 3AE9099C11587BB900FAEAA5 /* AudioToolbox.framework */, - 3A0D789E121E324E009D5030 /* CFNetwork.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 3A0D7ECB123DD46C009D5030 /* Resources-iPad */ = { - isa = PBXGroup; - children = ( - 3A0D7F1F123F2254009D5030 /* SecondView-iPad.xib */, - 3A0D7ECC123DD46C009D5030 /* MainWindow-iPad.xib */, - ); - name = "Resources-iPad"; - sourceTree = ""; - }; - 3AE909B211587D2700FAEAA5 /* Libraries */ = { - isa = PBXGroup; - children = ( - 3AE90EB1115F7BCE00FAEAA5 /* libg7221codec-arm-apple-darwin9.a */, - 3AE90EB2115F7BCE00FAEAA5 /* libilbccodec-arm-apple-darwin9.a */, - 3AE90EB3115F7BCE00FAEAA5 /* libmilenage-arm-apple-darwin9.a */, - 3AE90EB4115F7BCE00FAEAA5 /* libpjsdp-arm-apple-darwin9.a */, - 3AE90EB5115F7BCE00FAEAA5 /* libspeex-arm-apple-darwin9.a */, - 3AE90EB6115F7BCE00FAEAA5 /* libsrtp-arm-apple-darwin9.a */, - 3AE90A691158C6B400FAEAA5 /* libgsmcodec-arm-apple-darwin9.a */, - 3AE90A6B1158C6B400FAEAA5 /* libpj-arm-apple-darwin9.a */, - 3AE90A6D1158C6B400FAEAA5 /* libpjlib-util-arm-apple-darwin9.a */, - 3AE90A6F1158C6B400FAEAA5 /* libpjmedia-arm-apple-darwin9.a */, - 3AE90A711158C6B400FAEAA5 /* libpjmedia-audiodev-arm-apple-darwin9.a */, - 3AE90A731158C6B400FAEAA5 /* libpjmedia-codec-arm-apple-darwin9.a */, - 3AE06673138E6C25008EE71A /* libpjmedia-videodev-arm-apple-darwin9.a */, - 3AE90A751158C6B400FAEAA5 /* libpjnath-arm-apple-darwin9.a */, - 3AE90A771158C6B400FAEAA5 /* libpjsip-arm-apple-darwin9.a */, - 3AE90A791158C6B400FAEAA5 /* libpjsip-simple-arm-apple-darwin9.a */, - 3AE90A7B1158C6B400FAEAA5 /* libpjsip-ua-arm-apple-darwin9.a */, - 3AE90A7D1158C6B400FAEAA5 /* libpjsua-arm-apple-darwin9.a */, - 3AE90A7F1158C6B400FAEAA5 /* libresample-arm-apple-darwin9.a */, - ); - name = Libraries; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 1D6058900D05DD3D006BFB54 /* ipjsua */ = { - isa = PBXNativeTarget; - buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "ipjsua" */; - buildPhases = ( - 1D60588D0D05DD3D006BFB54 /* Resources */, - 1D60588E0D05DD3D006BFB54 /* Sources */, - 1D60588F0D05DD3D006BFB54 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = ipjsua; - productName = ipjsua; - productReference = 1D6058910D05DD3D006BFB54 /* ipjsua.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 29B97313FDCFA39411CA2CEA /* Project object */ = { - isa = PBXProject; - attributes = { - ORGANIZATIONNAME = "Teluu Inc. (http://www.teluu.com)"; - }; - buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "ipjsua" */; - compatibilityVersion = "Xcode 3.1"; - developmentRegion = English; - hasScannedForEncodings = 1; - knownRegions = ( - en, - ); - mainGroup = 29B97314FDCFA39411CA2CEA /* ipjsua */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 1D6058900D05DD3D006BFB54 /* ipjsua */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 1D60588D0D05DD3D006BFB54 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 28AD73880D9D96C1002E5188 /* MainWindow.xib in Resources */, - 282CCBFE0DB6C98000C4EA27 /* SecondView.xib in Resources */, - 3AE90AC01158F0C400FAEAA5 /* config.cfg in Resources */, - 3A0D7ECD123DD46C009D5030 /* MainWindow-iPad.xib in Resources */, - 3A0D7F20123F2254009D5030 /* SecondView-iPad.xib in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 1D60588E0D05DD3D006BFB54 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 1D60589B0D05DD56006BFB54 /* main.m in Sources */, - 1D3623260D0F684500981E51 /* ipjsuaAppDelegate.m in Sources */, - 28216C970DB411BC00E5133A /* FirstViewController.m in Sources */, - 3AE90A2D1158B52500FAEAA5 /* pjsua_app.c in Sources */, - 3AE90C51115A35BB00FAEAA5 /* TabBarController.m in Sources */, - 3AE90DAD115BB1CF00FAEAA5 /* ConfigViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 1D6058940D05DD3E006BFB54 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ipjsua_Prefix.pch; - GCC_PREPROCESSOR_DEFINITIONS = ( - "PJ_AUTOCONF=1", - USE_GUI, - ); - INFOPLIST_FILE = "ipjsua-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 3.2; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/../../../third_party/lib\"", - "\"$(SRCROOT)/../../../pjlib/lib\"", - "\"$(SRCROOT)/../../../pjlib-util/lib\"", - "\"$(SRCROOT)/../../../pjmedia/lib\"", - "\"$(SRCROOT)/../../../pjnath/lib\"", - "\"$(SRCROOT)/../../../pjsip/lib\"", - "\"$(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/AVFoundation.framework\"", - "\"$(SRCROOT)/../../../../../Library/Developer/Xcode/DerivedData/SDLiPhoneOS-fyjdxvchuwlpnghehmebkvasdrke/Build/Products/Debug-iphoneos\"", - "\"$(SRCROOT)/../../../../video/ffmpeg-iphone/lib\"", - ); - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = ipjsua; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 1D6058950D05DD3E006BFB54 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - COPY_PHASE_STRIP = YES; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ipjsua_Prefix.pch; - GCC_PREPROCESSOR_DEFINITIONS = ( - "PJ_AUTOCONF=1", - USE_GUI, - ); - INFOPLIST_FILE = "ipjsua-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 3.2; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/../../../third_party/lib\"", - "\"$(SRCROOT)/../../../pjlib/lib\"", - "\"$(SRCROOT)/../../../pjlib-util/lib\"", - "\"$(SRCROOT)/../../../pjmedia/lib\"", - "\"$(SRCROOT)/../../../pjnath/lib\"", - "\"$(SRCROOT)/../../../pjsip/lib\"", - "\"$(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/AVFoundation.framework\"", - "\"$(SRCROOT)/../../../../../Library/Developer/Xcode/DerivedData/SDLiPhoneOS-fyjdxvchuwlpnghehmebkvasdrke/Build/Products/Debug-iphoneos\"", - "\"$(SRCROOT)/../../../../video/ffmpeg-iphone/lib\"", - ); - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = ipjsua; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - C01FCF4F08A954540054247B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_PREPROCESSOR_DEFINITIONS = USE_GUI; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - ../../../pjsip/include, - ../../../pjlib/include, - "../../../pjlib-util/include", - ../../../pjnath/include, - ../../../pjmedia/include, - ); - LIBRARY_SEARCH_PATHS = ( - ../../../pjlib/lib, - "../../../pjlib-util/lib", - ../../../pjnath/lib, - ../../../pjmedia/lib, - ../../../pjsip/lib, - ../../../third_party/lib, - ); - ONLY_ACTIVE_ARCH = NO; - OTHER_CFLAGS = ""; - PREBINDING = NO; - SDKROOT = iphoneos; - }; - name = Debug; - }; - C01FCF5008A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_PREPROCESSOR_DEFINITIONS = USE_GUI; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - ../../../pjsip/include, - ../../../pjlib/include, - "../../../pjlib-util/include", - ../../../pjnath/include, - ../../../pjmedia/include, - ); - LIBRARY_SEARCH_PATHS = ( - ../../../pjlib/lib, - "../../../pjlib-util/lib", - ../../../pjnath/lib, - ../../../pjmedia/lib, - ../../../pjsip/lib, - ../../../third_party/lib, - ); - ONLY_ACTIVE_ARCH = NO; - OTHER_CFLAGS = ""; - PREBINDING = NO; - SDKROOT = iphoneos; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "ipjsua" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1D6058940D05DD3E006BFB54 /* Debug */, - 1D6058950D05DD3E006BFB54 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C01FCF4E08A954540054247B /* Build configuration list for PBXProject "ipjsua" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C01FCF4F08A954540054247B /* Debug */, - C01FCF5008A954540054247B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; -} diff --git a/pjsip-apps/src/ipjsua/ipjsua_Prefix.pch b/pjsip-apps/src/ipjsua/ipjsua_Prefix.pch deleted file mode 100644 index 2fe18564..00000000 --- a/pjsip-apps/src/ipjsua/ipjsua_Prefix.pch +++ /dev/null @@ -1,8 +0,0 @@ -// -// Prefix header for all source files of the 'ipjsua' target in the 'ipjsua' project -// - -#ifdef __OBJC__ - #import - #import -#endif diff --git a/pjsip-apps/src/ipjsua/main.m b/pjsip-apps/src/ipjsua/main.m deleted file mode 100644 index 11f211e2..00000000 --- a/pjsip-apps/src/ipjsua/main.m +++ /dev/null @@ -1,27 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * 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 - -int main(int argc, char *argv[]) { - NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; - int retVal = UIApplicationMain(argc, argv, nil, nil); - [pool release]; - return retVal; -} - diff --git a/pjsip-apps/src/pjsua/ios/ipjsua.xcodeproj/project.pbxproj b/pjsip-apps/src/pjsua/ios/ipjsua.xcodeproj/project.pbxproj index 0f938686..8d1f9d3b 100644 --- a/pjsip-apps/src/pjsua/ios/ipjsua.xcodeproj/project.pbxproj +++ b/pjsip-apps/src/pjsua/ios/ipjsua.xcodeproj/project.pbxproj @@ -10,11 +10,11 @@ 3A92068F16F1DE7100D49F96 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A92068E16F1DE7100D49F96 /* AudioToolbox.framework */; }; 3A92069316F1DEA500D49F96 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A92069216F1DEA500D49F96 /* CFNetwork.framework */; }; 3ADCCD171715338D0007BE8E /* pjsua.png in Resources */ = {isa = PBXBuildFile; fileRef = 3ADCCD161715338D0007BE8E /* pjsua.png */; }; - 3ADCCD231726D1920007BE8E /* pjsua_app_cli.c in Sources */ = {isa = PBXBuildFile; fileRef = 3ADCCD1E1726D1920007BE8E /* pjsua_app_cli.c */; }; - 3ADCCD241726D1920007BE8E /* pjsua_app_common.c in Sources */ = {isa = PBXBuildFile; fileRef = 3ADCCD1F1726D1920007BE8E /* pjsua_app_common.c */; }; - 3ADCCD251726D1920007BE8E /* pjsua_app_config.c in Sources */ = {isa = PBXBuildFile; fileRef = 3ADCCD201726D1920007BE8E /* pjsua_app_config.c */; }; - 3ADCCD261726D1920007BE8E /* pjsua_app_legacy.c in Sources */ = {isa = PBXBuildFile; fileRef = 3ADCCD211726D1920007BE8E /* pjsua_app_legacy.c */; }; - 3ADCCD271726D1920007BE8E /* pjsua_app.c in Sources */ = {isa = PBXBuildFile; fileRef = 3ADCCD221726D1920007BE8E /* pjsua_app.c */; }; + 3ADCCD2D172E40120007BE8E /* pjsua_app_cli.c in Sources */ = {isa = PBXBuildFile; fileRef = 3ADCCD28172E40120007BE8E /* pjsua_app_cli.c */; }; + 3ADCCD2E172E40120007BE8E /* pjsua_app_common.c in Sources */ = {isa = PBXBuildFile; fileRef = 3ADCCD29172E40120007BE8E /* pjsua_app_common.c */; }; + 3ADCCD2F172E40120007BE8E /* pjsua_app_config.c in Sources */ = {isa = PBXBuildFile; fileRef = 3ADCCD2A172E40120007BE8E /* pjsua_app_config.c */; }; + 3ADCCD30172E40120007BE8E /* pjsua_app_legacy.c in Sources */ = {isa = PBXBuildFile; fileRef = 3ADCCD2B172E40120007BE8E /* pjsua_app_legacy.c */; }; + 3ADCCD31172E40120007BE8E /* pjsua_app.c in Sources */ = {isa = PBXBuildFile; fileRef = 3ADCCD2C172E40120007BE8E /* pjsua_app.c */; }; 3AF0580916F050770046B835 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AF0580816F050770046B835 /* UIKit.framework */; }; 3AF0580B16F050770046B835 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AF0580A16F050770046B835 /* Foundation.framework */; }; 3AF0580D16F050770046B835 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AF0580C16F050770046B835 /* CoreGraphics.framework */; }; @@ -52,11 +52,11 @@ 3A92068E16F1DE7100D49F96 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; 3A92069216F1DEA500D49F96 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; 3ADCCD161715338D0007BE8E /* pjsua.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = pjsua.png; sourceTree = ""; }; - 3ADCCD1E1726D1920007BE8E /* pjsua_app_cli.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pjsua_app_cli.c; sourceTree = ""; }; - 3ADCCD1F1726D1920007BE8E /* pjsua_app_common.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pjsua_app_common.c; sourceTree = ""; }; - 3ADCCD201726D1920007BE8E /* pjsua_app_config.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pjsua_app_config.c; sourceTree = ""; }; - 3ADCCD211726D1920007BE8E /* pjsua_app_legacy.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pjsua_app_legacy.c; sourceTree = ""; }; - 3ADCCD221726D1920007BE8E /* pjsua_app.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pjsua_app.c; sourceTree = ""; }; + 3ADCCD28172E40120007BE8E /* pjsua_app_cli.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pjsua_app_cli.c; path = ../../pjsua_app_cli.c; sourceTree = ""; }; + 3ADCCD29172E40120007BE8E /* pjsua_app_common.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pjsua_app_common.c; path = ../../pjsua_app_common.c; sourceTree = ""; }; + 3ADCCD2A172E40120007BE8E /* pjsua_app_config.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pjsua_app_config.c; path = ../../pjsua_app_config.c; sourceTree = ""; }; + 3ADCCD2B172E40120007BE8E /* pjsua_app_legacy.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pjsua_app_legacy.c; path = ../../pjsua_app_legacy.c; sourceTree = ""; }; + 3ADCCD2C172E40120007BE8E /* pjsua_app.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pjsua_app.c; path = ../../pjsua_app.c; sourceTree = ""; }; 3AF0580416F050770046B835 /* ipjsua.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ipjsua.app; sourceTree = BUILT_PRODUCTS_DIR; }; 3AF0580816F050770046B835 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 3AF0580A16F050770046B835 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; @@ -133,11 +133,11 @@ 3A92068D16F1D1A100D49F96 /* pjsua */ = { isa = PBXGroup; children = ( - 3ADCCD1E1726D1920007BE8E /* pjsua_app_cli.c */, - 3ADCCD1F1726D1920007BE8E /* pjsua_app_common.c */, - 3ADCCD201726D1920007BE8E /* pjsua_app_config.c */, - 3ADCCD211726D1920007BE8E /* pjsua_app_legacy.c */, - 3ADCCD221726D1920007BE8E /* pjsua_app.c */, + 3ADCCD28172E40120007BE8E /* pjsua_app_cli.c */, + 3ADCCD29172E40120007BE8E /* pjsua_app_common.c */, + 3ADCCD2A172E40120007BE8E /* pjsua_app_config.c */, + 3ADCCD2B172E40120007BE8E /* pjsua_app_legacy.c */, + 3ADCCD2C172E40120007BE8E /* pjsua_app.c */, ); name = pjsua; sourceTree = ""; @@ -300,11 +300,11 @@ 3AF0581516F050780046B835 /* main.m in Sources */, 3AF0581916F050780046B835 /* ipjsuaAppDelegate.m in Sources */, 3AF0582216F050780046B835 /* ipjsuaViewController.m in Sources */, - 3ADCCD231726D1920007BE8E /* pjsua_app_cli.c in Sources */, - 3ADCCD241726D1920007BE8E /* pjsua_app_common.c in Sources */, - 3ADCCD251726D1920007BE8E /* pjsua_app_config.c in Sources */, - 3ADCCD261726D1920007BE8E /* pjsua_app_legacy.c in Sources */, - 3ADCCD271726D1920007BE8E /* pjsua_app.c in Sources */, + 3ADCCD2D172E40120007BE8E /* pjsua_app_cli.c in Sources */, + 3ADCCD2E172E40120007BE8E /* pjsua_app_common.c in Sources */, + 3ADCCD2F172E40120007BE8E /* pjsua_app_config.c in Sources */, + 3ADCCD30172E40120007BE8E /* pjsua_app_legacy.c in Sources */, + 3ADCCD31172E40120007BE8E /* pjsua_app.c in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; -- cgit v1.2.3