implemented setStartURL

ver1_5_1
Hank Ramsey 2004-12-25 19:06:56 +00:00
parent af1d7eba27
commit 1f8aa535f8
3 changed files with 7 additions and 1 deletions

View File

@ -59,6 +59,7 @@
-(void)forward;
- (NSString *) currentURL;
-(void)goToUrl:(NSString *)url;
-(void)setStartURL:(NSString *)url;
-(unsigned int) getLocationFilter;
-(void) setLocationFilter: (unsigned int) filter;
-(void)runScript:(NSString *)fileName;

View File

@ -481,6 +481,11 @@ static NSMutableDictionary* tagDict;
appCore->goToUrl([url stdString]);
}
-(void)setStartURL:(NSString *)url
{
appCore->setStartURL([url stdString]);
}
-(unsigned int) getLocationFilter
{
return appCore->getSimulation()->getActiveObserver()->getLocationFilter();

View File

@ -216,7 +216,7 @@ NSString* fatalErrorMessage;
// paste URL if pending
if (pendingUrl != nil )
{
[ appCore goToUrl: pendingUrl ];
[ appCore setStartURL: pendingUrl ];
}
ready = YES;